From e18913d175cf1f21b1a8393e45c188342370b160 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Tue, 24 Aug 2021 12:45:38 +0200 Subject: Tests: started to replace the test system - moving from shell scripts to Ruby tests --- Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3