diff options
author | John Hodge <tpg@mutabah.net> | 2016-10-08 15:31:51 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-10-08 15:31:51 +0800 |
commit | d00fc03c88548fa201c8b317c811a04ea587d6dd (patch) | |
tree | 718ba3c116179e1a1920187aeb06ead869e07f74 | |
parent | b0dff9731a56ca33d0d6326d402af6d4c54963ec (diff) | |
download | mrust-d00fc03c88548fa201c8b317c811a04ea587d6dd.tar.gz |
Makefile - Add the `hello` test
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -143,13 +143,16 @@ rust_tests-run-pass: $(call DEF_RUST_TESTS,run-pass) rust_tests-run-fail: $(call DEF_RUST_TESTS,run-fail) rust_tests-compile-fail: $(call DEF_RUST_TESTS,compile-fail) +output/rust/test_run-pass_hello: $(RUST_TESTS_DIR)run-pass/hello.rs output/libstd.hir $(BIN) + $(DBG) $(BIN) $< -o $@ $(PIPECMD) + output/rust/%.o: $(RUST_TESTS_DIR)%.rs $(RUSTCSRC) $(BIN) @mkdir -p $(dir $@) $(BIN) $< -o $@ --stop-after parse > $@.txt 2>&1 touch $@ .PHONY: test test_rustos -test: $(RUSTCSRC) output/libcore.hir output/liballoc.hir output/libcollections.hir output/libstd.hir $(BIN) +test: $(RUSTCSRC) output/libcore.hir output/liballoc.hir output/libcollections.hir output/libstd.hir output/rust/test_run-pass_hello $(BIN) # |