aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-05 22:23:34 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-05 23:43:02 +0200
commitc374f169fdf79428d258faf59c1cdd800974994d (patch)
tree7e77b992c52ac9e7dca90065d1680d01630ec8bf /Makefile
parentworker: actually stay offline (diff)
downloadcimple-c374f169fdf79428d258faf59c1cdd800974994d.tar.gz
cimple-c374f169fdf79428d258faf59c1cdd800974994d.zip
test: add a 2000-iteration basic repository test
Diffstat (limited to '')
-rw-r--r--Makefile29
1 files changed, 23 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index e5fdbc9..7072726 100644
--- a/Makefile
+++ b/Makefile
@@ -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