diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-05 22:23:34 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-05 23:43:02 +0200 |
commit | c374f169fdf79428d258faf59c1cdd800974994d (patch) | |
tree | 7e77b992c52ac9e7dca90065d1680d01630ec8bf /Makefile | |
parent | worker: actually stay offline (diff) | |
download | cimple-c374f169fdf79428d258faf59c1cdd800974994d.tar.gz cimple-c374f169fdf79428d258faf59c1cdd800974994d.zip |
test: add a 2000-iteration basic repository test
Diffstat (limited to '')
-rw-r--r-- | Makefile | 29 |
1 files changed, 23 insertions, 6 deletions
@@ -45,21 +45,38 @@ build: install: build cmake --install '$(call escape,$(cmake_dir))' -.PHONY: test -test: +.PHONY: test/sanity +test/sanity: @echo ----------------------------------------------------------------- - @echo Running tests + @echo Running sanity tests @echo ----------------------------------------------------------------- ctest --test-dir '$(call escape,$(cmake_dir))' \ - --verbose --exclude-regex python_tests_valgrind + --verbose --tests-regex python_tests_sanity .PHONY: test/valgrind test/valgrind: @echo ----------------------------------------------------------------- - @echo Running tests w/ Valgrind + @echo Running sanity tests w/ Valgrind @echo ----------------------------------------------------------------- ctest --test-dir '$(call escape,$(cmake_dir))' \ --verbose --tests-regex python_tests_valgrind +.PHONY: test/stress +test/stress: + @echo ----------------------------------------------------------------- + @echo Running stress tests + @echo ----------------------------------------------------------------- + ctest --test-dir '$(call escape,$(cmake_dir))' \ + --verbose --tests-regex python_tests_stress + +.PHONY: test/docker +test/docker: test/sanity + +.PHONY: test/local +test/local: test/sanity test/stress + +.PHONY: test +test: test/local + .PHONY: test/all -test/all: test test/valgrind +test/all: test/sanity test/stress test/valgrind |