do we have an easy way to limit filetests to a single thread? I don't see any CLI flag for clif-util...
+cc @Dan Gohman
you can run a single clif test with clif-util test foo.clif
but otherwise, I don't know
that doesn't work in this case b/c I'm getting a panic while running the filetests and I can't figure out which clif file is triggering it :sweat_smile:
was hoping that running them one at a time would help me figure out which one it is
In the fullness of time, we really should remove the bespoke multi-threaded test runner and just structure everything as tests that cargo test
can run in parallel
+1
I've had good experiences using build.rs
to expand directories of test files into rust #[test]
s and let the normal test runner deal with parallelizing them. like what wasmtime does with the wasm spec tests.
in the meantime, I figured out where the filetest runner spawns threads, and I'll hack in an env var. expect a pr soon ;)
Last updated: Nov 22 2024 at 16:03 UTC