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:
12
b2/Makefile
12
b2/Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user