From: Sandro Santilli Date: Mon, 4 May 2015 10:02:15 +0000 (+0000) Subject: Properly handle tear-down with --sfcgal X-Git-Tag: 2.2.0rc1~527 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95c195f9ba042e2c896552bd5c8ce1aa3efd2345;p=postgis Properly handle tear-down with --sfcgal git-svn-id: http://svn.osgeo.org/postgis/trunk@13476 b70326c6-7e19-0410-871a-916f4a2858ee --- 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);