From 95c195f9ba042e2c896552bd5c8ce1aa3efd2345 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 4 May 2015 10:02:15 +0000 Subject: [PATCH] Properly handle tear-down with --sfcgal git-svn-id: http://svn.osgeo.org/postgis/trunk@13476 b70326c6-7e19-0410-871a-916f4a2858ee --- regress/run_test.pl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/regress/run_test.pl b/regress/run_test.pl index bdb96f1c3..5cd0e69e1 100755 --- a/regress/run_test.pl +++ b/regress/run_test.pl @@ -1355,6 +1355,13 @@ sub drop_spatial_extensions $rv = system($cmd); $ok = 0 if $rv; } + + if ( $OPT_WITH_SFCGAL ) + { + $cmd = "psql $psql_opts -c \"DROP EXTENSION postgis_sfcgal;\" $DB >> $REGRESS_LOG 2>&1"; + $rv = system($cmd); + $ok = 0 if $rv; + } $cmd = "psql $psql_opts -c \"DROP EXTENSION postgis\" $DB >> $REGRESS_LOG 2>&1"; $rv = system($cmd); -- 2.50.1