File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -180,8 +180,7 @@ let run_random config () =
180180 let thread_f = Step. gen ~config ~fuel: config.operations_count in
181181 let threads = List. init config.thread_count (fun _ -> thread_f () ) in
182182 let program = ({ globals; threads } : Program.t ) in
183- if config.print_tests then
184- Program. print program;
183+ if config.print_tests then Program. print program;
185184
186185 let random = Program. run ~impl: (`Random 100 ) program in
187186 let dpor = Program. run ~impl: `Dpor program in
@@ -214,7 +213,7 @@ let _ =
214213 ( " -test-count" ,
215214 Arg. Set_int test_count,
216215 " number of programs to generate and test" );
217- (" -print-tests" , Arg. Set print_tests, " print all tests" );
216+ (" -print-tests" , Arg. Set print_tests, " print all tests" );
218217 ( " -global-vars-count" ,
219218 Arg. Set_int globals_count,
220219 " number of shared atomic variables (the more, the higher the reduction)"
@@ -243,7 +242,7 @@ let _ =
243242 operations_count = ! operations_count;
244243 thread_count = ! thread_count;
245244 generate_conditionals = ! generate_conditionals;
246- print_tests = ! print_tests
245+ print_tests = ! print_tests;
247246 }
248247 : config)
249248 in
You can’t perform that action at this time.
0 commit comments