]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix TestHeaders unit tests
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 20 Feb 2015 08:24:22 +0000 (00:24 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 20 Feb 2015 08:24:22 +0000 (00:24 -0800)
src/TestHeaders.am

index ecb223f123a6da3300664a6bea64bd01625688ed..01861b8f718948dbe353516e37b19fa2fdcb681f 100644 (file)
@@ -14,7 +14,7 @@ TESTS += testHeaders
 ## .h dependency test script
 ## aborts build process on errors; XXX: even with "make -k"
 testHeaders: $(srcdir)/*.h
-       $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(srcdir)" || exit 1
+       $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
 
 ## XXX: this is only needed because testheaders.sh creates a dummy file called
 ## testHeaders and distclean does not know about it.