summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2019-08-18 17:11:28 -0700
committerGuy Harris <guy@alum.mit.edu>2019-08-18 17:11:28 -0700
commit5edd532e932d97e6c37ffca90b59f7d3cee1b1e0 (patch)
treeb740c29d6c21b3706586f551d937f37e16f7f938 /Makefile.in
parent9b995599d89e9b715c82ee74cd3470aee1713af6 (diff)
downloadtcpdump-5edd532e932d97e6c37ffca90b59f7d3cee1b1e0.tar.gz
Clean up "make check".
No need to make a "tests" directory under the build directory any more, so don't do so. As we're not cd'ing in the command line run from the Makefile (just in a command run for command substitution), there's no need to put it in a parenthesized subshell. Again, as we're not cd'ing to the tests directory, if SRCDIR isn't set, assume the source directory is the current directory. In the shell scripts we're running, look for TESTonce, the input files, the output files, and the -E input files from ${srcdir}/tests. Make sure we set srcdir in those shell scripts.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 6f4c166f..adbaa03e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -443,7 +443,7 @@ distclean:
rm -rf autom4te.cache tests/DIFF tests/NEW
check: tcpdump
- (mkdir -p tests && export SRCDIR=`cd ${srcdir}; pwd` && $${SRCDIR}/tests/TESTrun.sh )
+ export SRCDIR=`cd ${srcdir}; pwd` && $${SRCDIR}/tests/TESTrun.sh
extags: $(TAGFILES)
ctags $(TAGFILES)