diff options
-rw-r--r-- | .travis.yml | 10 | ||||
-rw-r--r-- | Makefile | 4 |
2 files changed, 6 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml index 9919ed7b..0f7d4819 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,14 +12,10 @@ addons: install: # Build mrustc - - CC=gcc-6 && CXX=g++-6 make -# # Build libstd (and hello world). Also downloads the source -# - make test -# # Create the test dependencies testlibstd (and hello world). Also downloads the source -# - make test_deps_run-pass.mk + - CC=gcc-6 CXX=g++-6 make # Tests! (check that they parse, and keep going) script: - - make test - - make output/librustc_typeck.hir output/librustc_mir.hir output/librustc_trans.hir + - make test TAIL_COUNT=2 + - make output/librustc_typeck.hir output/librustc_mir.hir output/librustc_trans.hir output/libsyntax_ext.hir TAIL_COUNT=2 # - make rust_tests-run-pass RUST_TESTS_FINAL_STAGE=expand -k @@ -15,6 +15,8 @@ EXESUF ?= CXX ?= g++ V ?= @ +TAIL_COUNT ?= 45 + .SUFFIXES: # - Final stage for tests run as part of the rust_tests target. @@ -105,7 +107,7 @@ clean: $(RM) -r $(BIN) $(OBJ) -PIPECMD ?= 2>&1 | tee $@_dbg.txt | tail -n 45 ; test $${PIPESTATUS[0]} -eq 0 +PIPECMD ?= 2>&1 | tee $@_dbg.txt | tail -n $(TAIL_COUNT) ; test $${PIPESTATUS[0]} -eq 0 output/%.ast: samples/%.rs $(BIN) @mkdir -p output/ |