Skip to content

Commit cb85642

Browse files
fmt
1 parent 542abe8 commit cb85642

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/gen_program.ml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)