1 # Test-suite makefile for sst
7 @$(MAKE) -e PYTHON=python2 regress | ./tapview
9 @$(MAKE) -e PYTHON=python3 regress | ./tapview
10 @echo "No diff output is good news."
17 TESTLOADS := $(shell ls *.log | sed '/.log/s///')
19 @for test in $(TESTLOADS); do \
20 if [ ! -f $${test}.tst ] ; \
22 echo "Remaking $${test}.chk"; \
23 rm -f $${test}.chk && ../sst -r $${test}.log >$${test}.chk 2>&1; \
27 echo "1..$$(ls *.log | wc -l)"
28 @for test in $(TESTLOADS); \
30 if [ ! -f $${test}.tst ] ; \
32 legend=$$(sed -n -e '/# Test/s//Test/p' <$${test}.log); \
33 ../sst -r "$${test}.log" | ./tapdiffer "$${legend}" "$${test}.chk"; \