[6.0] fe3cef561 Rework to avoid running the tests twice

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Aug 16 08:52:35 UTC 2018


commit fe3cef56158d26b4d6cfd6e22d7232c084c0e514
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Thu Apr 5 11:00:48 2018 +0100

    Rework to avoid running the tests twice

diff --git a/bin/varnishtest/Makefile.am b/bin/varnishtest/Makefile.am
index 06f2259fe..392b02a13 100644
--- a/bin/varnishtest/Makefile.am
+++ b/bin/varnishtest/Makefile.am
@@ -77,11 +77,10 @@ EXTRA_DIST = $(top_srcdir)/bin/varnishtest/tests/*.vtc \
 	$(top_srcdir)/bin/varnishtest/sequences \
 	$(top_srcdir)/bin/varnishtest/teken.3
 
+teken.c: teken_state.h
+
 teken_state.h:	$(srcdir)/sequences $(srcdir)/gensequences
 	awk -f $(srcdir)/gensequences $(srcdir)/sequences \
 	    > $(builddir)/teken_state.h
 
-BUILT_SOURCES = teken_state.h
-
-CLEANFILES = $(BUILT_SOURCES)
-
+CLEANFILES = $(builddir)/teken_state.h


More information about the varnish-commit mailing list