mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 14:35:03 -05:00
476499c75c
This change allows runtests.pl to be run from the CMake builddir: export srcdir=/tmp/curl/tests; perl -I$srcdir $srcdir/runtests.pl -l In order to make this possible, all test cases have been moved from Makefile.am to Makefile.inc. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
30 lines
598 B
Makefile
30 lines
598 B
Makefile
iall:
|
|
install:
|
|
test:
|
|
|
|
# TESTCASES are taken from Makefile.inc
|
|
include Makefile.inc
|
|
|
|
EXTRA_DIST = $(TESTCASES) DISABLED
|
|
|
|
filecheck:
|
|
@mkdir test-place; \
|
|
cp "$(top_srcdir)"/tests/data/test[0-9]* test-place/; \
|
|
rm test-place/*~; \
|
|
for f in $(EXTRA_DIST); do \
|
|
if test -f "$(top_srcdir)/tests/data/$$f"; then \
|
|
rm -f "test-place/$$f"; \
|
|
else \
|
|
echo "$$f is listed but missing!"; \
|
|
fi \
|
|
done; \
|
|
echo "Local files not present in EXTRA_DIST:" ; \
|
|
ls test-place; \
|
|
! ls test-place | grep . >/dev/null ; \
|
|
RC=$$? ; \
|
|
rm -rf test-place ; \
|
|
exit $$RC
|
|
|
|
show:
|
|
@echo $(EXTRA_DIST)
|