1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2025-04-21 12:27:27 +03:00

add regression test infrastructure

This commit is contained in:
Werner Almesberger
2012-05-30 12:02:14 -03:00
parent 60de30cea0
commit 88ad25e42c
2 changed files with 76 additions and 0 deletions

View File

@@ -93,3 +93,15 @@ spotless: clean
try:
$(VALGRIND) ./boom HIERARCHY -c CHAR -x CURR -p PROVIDER -i INV \
-s SUBST
# ----- Tests -----------------------------------------------------------------
test tests: all
LANG= sh -c \
'passed=0 && cd test && \
for n in [a-z]*; do \
[ $$n != core ] && SCRIPT=$$n . ./$$n; done; \
echo "Passed all $$passed tests"'
valgrind:
VALGRIND="valgrind -q" $(MAKE) tests