diff options
| author | John Hodge <tpg@ucc.asn.au> | 2018-10-06 18:12:24 +0800 |
|---|---|---|
| committer | John Hodge <tpg@ucc.asn.au> | 2019-02-09 08:56:47 +0800 |
| commit | 7d728e447d70d79e93c01a7c51efbd61be09d68f (patch) | |
| tree | b33adb78c873ea6c4579a3fdd006f07f4ed9f1cf | |
| parent | 0992c4af5242fc95e8cc028c5af7fb86424e624c (diff) | |
| download | mrust-7d728e447d70d79e93c01a7c51efbd61be09d68f.tar.gz | |
Makefile - Add libcore-test
| -rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -236,6 +236,7 @@ LIB_TESTS := collections #std rust_tests-libs: $(patsubst %,output/lib%-test_out.txt, $(LIB_TESTS)) RUNTIME_ARGS_output/libcollections-test := --test-threads 1 +#RUNTIME_ARGS_output/libcore-test := --test-threads 1 RUNTIME_ARGS_output/libstd-test := --test-threads 1 RUNTIME_ARGS_output/libstd-test += --skip ::collections::hash::map::test_map::test_index_nonexistent RUNTIME_ARGS_output/libstd-test += --skip ::collections::hash::map::test_map::test_drops @@ -243,6 +244,13 @@ RUNTIME_ARGS_output/libstd-test += --skip ::collections::hash::map::test_map::te RUNTIME_ARGS_output/libstd-test += --skip ::collections::hash::map::test_map::test_placement_panic RUNTIME_ARGS_output/libstd-test += --skip ::io::stdio::tests::panic_doesnt_poison # Unbounded execution +output/libcore-test: $(RUSTCSRC)src/libcore/tests/lib.rs $(TEST_DEPS) + @echo "--- [MRUSTC] --test -o $@" + @mkdir -p output/ + @rm -f $@ + $(DBG) $(ENV_$@) $(BIN) --test $< -o $@ $(RUST_FLAGS) $(ARGS_$@) $(PIPECMD) +# # HACK: Work around gdb returning success even if the program crashed + @test -e $@ output/lib%-test: $(RUSTCSRC)src/lib%/lib.rs $(TEST_DEPS) @echo "--- [MRUSTC] --test -o $@" @mkdir -p output/ |
