aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPjotr Prins2021-08-24 12:45:38 +0200
committerPjotr Prins2021-08-24 12:45:38 +0200
commite18913d175cf1f21b1a8393e45c188342370b160 (patch)
treea815ed96a35f25f9fa5859bb98e0ac46f308f254 /Makefile
parent71553f5e5626e1d791b5be24c84ea6b17ae81cc7 (diff)
downloadpangemma-e18913d175cf1f21b1a8393e45c188342370b160.tar.gz
Tests: started to replace the test system - moving from shell scripts to Ruby tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index fd0e55b..a671e46 100644
--- a/Makefile
+++ b/Makefile
@@ -234,9 +234,13 @@ unittests: all ./bin/unittests-gemma
./bin/unittests-gemma
fast-check: all unittests
+ rm -vf output/*
+ ruby -Eutf-8 -Itest ./test/dev_tests.rb | tee ./dev_test.log
+
+old-check: all unittests
rm -vf test/output/*
- cd test && ./dev_test_suite.sh | tee ../dev_test.log
- grep -q 'success rate: 100%' dev_test.log
+ cd test && ./dev_test_suite.sh | tee ../test.log
+ grep -q 'success rate: 100%' test.log
slow-check: all
rm -vf test/output/*
@@ -248,9 +252,7 @@ lengthy-check: all
cd test && ./lengthy_test_suite.sh | tee ../lengthy_test.log
grep -q 'success rate: 100%' lengthy_test.log
-check: fast-check slow-check
-
-check-all: check lengthy-check
+check: fast-check
clean:
rm -vf $(SRC_DIR)/*.o