summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2020-03-22 13:00:03 +0200
committerAdrian Thurston <thurston@colm.net>2020-03-22 13:03:10 +0200
commitd5b745ef0f7a5b42674918ac204973c582de2297 (patch)
treef5b58f6669e73a3c106d375eff3e050b75b9cd13 /test
parent197fdd7e939855e229ff6755b76fe8c52756cbf0 (diff)
downloadcolm-d5b745ef0f7a5b42674918ac204973c582de2297.tar.gz
use a static link with libcolm.a when running out of the source tree
A dynamic link is proving complicated on OSX. When the package is configured to install to a new install location, but make install hasn't happened yet the link fails This may indicate we are not getting the code we think we are. We can eschew all these risks with a static link and reserve dynamic linking for when we are running from the installed location. This patch also includes some testing fixes
Diffstat (limited to 'test')
-rwxr-xr-xtest/dist.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dist.sh b/test/dist.sh
index 823d16f9..738a7938 100755
--- a/test/dist.sh
+++ b/test/dist.sh
@@ -10,7 +10,7 @@ trap "rm -f $DIST" EXIT
make dist
WORKDIR=`mktemp -d /tmp/colm.XXXXXX`
-#trap "rm -Rf $DIST $WORKDIR" EXIT
+trap "rm -Rf $DIST $WORKDIR" EXIT
tar -C $WORKDIR -xzvf $DIST
cd $WORKDIR/${DIST%.tar.gz}