aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--test/src/Makefile7
2 files changed, 6 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 51554b9..7df44e2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -32,11 +32,9 @@ before_install:
- sudo tar --strip-components=1 -C ${DATADIR} -xzvf seadata.tgz data/
script: # Test, clean, build for release
- - ( while true; do echo "beep"; sleep 60; done ) &
- TEST=1 make unittest
- TEST=1 make clean
- make -j2
- - killĀ $!
after_success:
- bash <(curl -s https://codecov.io/bash)
diff --git a/test/src/Makefile b/test/src/Makefile
index 12d8483..2724260 100644
--- a/test/src/Makefile
+++ b/test/src/Makefile
@@ -24,7 +24,12 @@ TESTS = $(patsubst %.c,%, $(TEST_SRC))
ECGEN_SRC = $(wildcard ../../src/*/*.c)
ECGEN_OBJ = $(patsubst %.c,%.o, $(ECGEN_SRC))
-all: test_ecgen
+all: unittest
+
+unittest: test_ecgen
+ LD_LIBRARY_PATH=../lib/criterion/build ./test_ecgen --verbose=1 --filter \!\(brainpool_rfc/test_brainpool_rfc_params\)
+
+fulltest: test_ecgen
LD_LIBRARY_PATH=../lib/criterion/build ./test_ecgen --verbose=1
test_ecgen: $(TEST_OBJ) $(ECGEN_OBJ)