mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-08 23:08:08 +00:00
remove exemplars from repo; switch to storing on test data server
This commit is contained in:
-1500
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+5
-5
@@ -11,7 +11,7 @@ set RUN_TORTURE=1
|
|||||||
:: Make test data directories
|
:: Make test data directories
|
||||||
if not exist local mkdir local
|
if not exist local mkdir local
|
||||||
pushd local
|
pushd local
|
||||||
if not exist test_inputs mkdir test_inputs
|
if not exist test_data mkdir test_data
|
||||||
popd
|
popd
|
||||||
|
|
||||||
:: Check if we need new test data version
|
:: Check if we need new test data version
|
||||||
@@ -34,10 +34,10 @@ popd
|
|||||||
if "%need_test_data%"=="1" (
|
if "%need_test_data%"=="1" (
|
||||||
echo Downloading test data...
|
echo Downloading test data...
|
||||||
pushd local
|
pushd local
|
||||||
pushd test_inputs
|
pushd test_data
|
||||||
curl -s -o test_inputs.zip https://data.raddbg.com/public/raddbg_test_inputs.zip
|
curl -s -o test_data.zip https://data.raddbg.com/public/raddbg_test_data.zip
|
||||||
tar -xf test_inputs.zip
|
tar -xf test_data.zip
|
||||||
del test_inputs.zip
|
del test_data.zip
|
||||||
popd
|
popd
|
||||||
copy /y test_data_version_latest.txt test_data_version_current.txt
|
copy /y test_data_version_latest.txt test_data_version_current.txt
|
||||||
popd
|
popd
|
||||||
|
|||||||
@@ -1272,14 +1272,14 @@ t_entry_point(CmdLine *cmdline)
|
|||||||
{
|
{
|
||||||
String8 binary_dir_path = get_process_info()->binary_path;
|
String8 binary_dir_path = get_process_info()->binary_path;
|
||||||
String8 root_dir_path = str8_chop_last_slash(binary_dir_path);
|
String8 root_dir_path = str8_chop_last_slash(binary_dir_path);
|
||||||
g_exemplar_dir = str8f(scratch.arena, "%S/data/test_exemplars/%S", root_dir_path, test->label);
|
g_exemplar_dir = str8f(scratch.arena, "%S/local/test_data/exemplars/%S", root_dir_path, test->label);
|
||||||
}
|
}
|
||||||
|
|
||||||
// rjf: find input data directory
|
// rjf: find input data directory
|
||||||
{
|
{
|
||||||
String8 binary_dir_path = get_process_info()->binary_path;
|
String8 binary_dir_path = get_process_info()->binary_path;
|
||||||
String8 root_dir_path = str8_chop_last_slash(binary_dir_path);
|
String8 root_dir_path = str8_chop_last_slash(binary_dir_path);
|
||||||
g_input_data_dir = str8f(scratch.arena, "%S/local/test_inputs", root_dir_path);
|
g_input_data_dir = str8f(scratch.arena, "%S/local/test_data/inputs", root_dir_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
// setup output directory
|
// setup output directory
|
||||||
|
|||||||
Reference in New Issue
Block a user