Fix ninja arguments order

works better when replacing 'ninja' with the alternate implementation 'samurai'
This commit is contained in:
Louis Gesbert 2022-07-19 12:45:35 +02:00
parent 39139816ff
commit 5b1a6a2217

View File

@ -647,7 +647,9 @@ let driver
Nj.format fmt
(add_root_test_build ninja ctx.all_file_names
ctx.all_test_builds));
let ninja_cmd = "ninja " ^ ninja_flags ^ " test -f " ^ ninja_output in
let ninja_cmd =
"ninja -f " ^ ninja_output ^ " " ^ ninja_flags ^ " test"
in
Cli.debug_print "executing '%s'..." ninja_cmd;
Sys.command ninja_cmd
with Sys_error e ->