diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2018-11-06 13:40:59 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2018-11-06 13:40:59 +0800 |
commit | 4b2cd555743d63034faab9732757857e3122a1be (patch) | |
tree | 1daa8aa46d084cf565cd8020b4dfa6833081a49e | |
parent | 4aa35a22846d1eb7824b970a651d9d0e6467cbad (diff) | |
download | tangerine-mcl-4b2cd555743d63034faab9732757857e3122a1be.tar.gz tangerine-mcl-4b2cd555743d63034faab9732757857e3122a1be.tar.zst tangerine-mcl-4b2cd555743d63034faab9732757857e3122a1be.zip |
add test_ci for travis-ci
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | Makefile | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 2e1239e..211c10c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ addons: packages: - libgmp-dev script: - - make test DEBUG=1 -j3 + - make test_ci DEBUG=1 -j3 - make clean - make test_go @@ -269,6 +269,8 @@ SAMPLE_EXE=$(addprefix $(EXE_DIR)/,$(addsuffix .exe,$(basename $(SAMPLE_SRC)))) sample: $(SAMPLE_EXE) $(MCL_LIB) TEST_EXE=$(addprefix $(EXE_DIR)/,$(TEST_SRC:.cpp=.exe)) +test_ci: + @sh -ec 'for i in $(TEST_EXE); do echo $$i; $$i; done' test: $(TEST_EXE) @echo test $(TEST_EXE) @sh -ec 'for i in $(TEST_EXE); do $$i|grep "ctest:name"; done' > result.txt |