mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
3c0f4622cd
The warning about missing entries in that file then doesn't require that the Makefile has been regenerated which was confusing. The scan for the test num is a little more error prone than before (since now it doesn't actually verify that it is legitimate Makefile syntax), but I think it is good enough. Closes #7177
48 lines
1.6 KiB
Makefile
48 lines
1.6 KiB
Makefile
#***************************************************************************
|
|
# _ _ ____ _
|
|
# Project ___| | | | _ \| |
|
|
# / __| | | | |_) | |
|
|
# | (__| |_| | _ <| |___
|
|
# \___|\___/|_| \_\_____|
|
|
#
|
|
# Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
#
|
|
# This software is licensed as described in the file COPYING, which
|
|
# you should have received as part of this distribution. The terms
|
|
# are also available at https://curl.se/docs/copyright.html.
|
|
#
|
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
# copies of the Software, and permit persons to whom the Software is
|
|
# furnished to do so, under the terms of the COPYING file.
|
|
#
|
|
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
# KIND, either express or implied.
|
|
#
|
|
###########################################################################
|
|
iall:
|
|
install:
|
|
test:
|
|
|
|
# TESTCASES are taken from Makefile.inc
|
|
include Makefile.inc
|
|
|
|
EXTRA_DIST = $(TESTCASES) DISABLED CMakeLists.txt
|
|
|
|
filecheck:
|
|
@mkdir test-place; \
|
|
cp "$(top_srcdir)"/tests/data/test[0-9]* test-place/; \
|
|
rm -f 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
|