Adds support to make check

The regression and unit tests are now integrated with `make check`.
It is possible to use make check -jN to have multiple tests running
in parallel.
This commit is contained in:
Felipe Zimmerle
2016-06-14 09:45:15 -03:00
parent 2e3da7ea24
commit f0155e3f32
8 changed files with 510 additions and 98 deletions

11
test/test-suite.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
TEST=$1 1> /dev/null
cd test 1> /dev/null
if [[ $TEST == *"test-cases/regression/"* ]]
then
./regression_tests ../$*
else
./unit_tests ../$*
fi
cd - 1> /dev/null