19 lines
410 B
Makefile
19 lines
410 B
Makefile
|
|
TOPDIR = ../../../../..
|
||
|
|
|
||
|
|
OUTPUT = test-out.txt
|
||
|
|
REFERENCE = test-expected.txt
|
||
|
|
|
||
|
|
include $(TOPDIR)/make/proj.mk
|
||
|
|
include $(TOPDIR)/make/test-jw-pkg.mk
|
||
|
|
|
||
|
|
all:
|
||
|
|
|
||
|
|
$(OUTPUT): Makefile test.sh
|
||
|
|
bash ./test.sh $(TEST_CMD_LINE) > $(OUTPUT).tmp
|
||
|
|
diff $(REFERENCE) $(OUTPUT).tmp
|
||
|
|
mv $(OUTPUT).tmp $(OUTPUT)
|
||
|
|
|
||
|
|
test: $(OUTPUT)
|
||
|
|
clean: test.integration.in-tree.clean
|
||
|
|
test.integration.in-tree.clean:
|
||
|
|
rm -f $(OUTPUT) $(OUTPUT).tmp
|