]> granicus.if.org Git - postgis/commitdiff
Fix support for overriding RUNTESTFLAGS via env variable
authorSandro Santilli <strk@kbt.io>
Mon, 22 Oct 2018 08:02:50 +0000 (08:02 +0000)
committerSandro Santilli <strk@kbt.io>
Mon, 22 Oct 2018 08:02:50 +0000 (08:02 +0000)
otherwise --sfcgal gets missing

git-svn-id: http://svn.osgeo.org/postgis/trunk@16936 b70326c6-7e19-0410-871a-916f4a2858ee

regress/sfcgal/Makefile.in

index fda785b1e1f28272ada9e81e98b2b7a209e35068..d1a6d12fe2e1b59a1cfcf99dc3cd346e6c8a75a5 100644 (file)
@@ -45,13 +45,11 @@ TESTS = \
                wmsservers.sql \
                approximatemedialaxis.sql
 
-RUNTESTFLAGS += --sfcgal
-
 test check:
-       $(PERL) ../run_test.pl $(RUNTESTFLAGS) $(TESTS)
+       $(PERL) ../run_test.pl --sfcgal $(RUNTESTFLAGS) $(TESTS)
        # only run upgrade test if RUNTESTFLAGS was not already doing that
        if echo "$(RUNTESTFLAGS)" | grep -vq -- --upgrade; then \
-               $(PERL) ../run_test.pl --upgrade $(RUNTESTFLAGS) $(TESTS); \
+               $(PERL) ../run_test.pl --sfcgal --upgrade $(RUNTESTFLAGS) $(TESTS); \
        fi
 
 else