3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 20:18:18 +00:00

fix test build

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-03-19 10:41:42 -07:00
parent afb12fe6c3
commit 8602c52bc9
2 changed files with 4 additions and 5 deletions

View file

@ -4,3 +4,6 @@ set
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
cmake -G "NMake Makefiles" ../ cmake -G "NMake Makefiles" ../
nmake nmake
nmake test-z3
git pull https://github.com/z3prover/z3test z3test
cd z3test

View file

@ -92,16 +92,12 @@ void tst_sat_local_search(char ** argv, int argc, int& i) {
switch (argv[i + 1][1]) { switch (argv[i + 1][1]) {
case 's': // seed case 's': // seed
v = atoi(argv[i + 2]); v = atoi(argv[i + 2]);
local_search.config().set_seed(v); local_search.config().set_random_seed(v);
break; break;
case 't': // cutoff_time case 't': // cutoff_time
v = atoi(argv[i + 2]); v = atoi(argv[i + 2]);
cutoff_time = v; cutoff_time = v;
break; break;
case 'i': // strategy_id
v = atoi(argv[i + 2]);
local_search.config().set_strategy_id(v);
break;
case 'b': // best_known_value case 'b': // best_known_value
v = atoi(argv[i + 2]); v = atoi(argv[i + 2]);
local_search.config().set_best_known_value(v); local_search.config().set_best_known_value(v);