aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile
blob: cc92441ffbba43c9bb54950e41e471c22aad5a53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
PROGRAM_EXEC=../src/$(PROGRAM_NAME)

.PHONY: all

all:
	for t in [0-9]*.sh ; do \
	  echo $$t; \
	  bash ./$$t ../src/diff-dd; \
	  # Testing of the return value must return true on the test failure. \
	  # If the return value is zero, it means a successful test. \
	  [ $$? -ne 0 ] && exit 1 || true; \
	done