summaryrefslogtreecommitdiff
path: root/test/dist.sh
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2019-11-18 15:51:57 -0800
committerAdrian Thurston <thurston@colm.net>2019-11-24 15:42:23 -0800
commit501767464ebc1a0cd4f1d01c18acb8134727954c (patch)
tree6e52308bb4d401752efb4ea1bc4f26540e4f0555 /test/dist.sh
parent365d61749fdf450bd2142e427aadc4244e716355 (diff)
downloadcolm-501767464ebc1a0cd4f1d01c18acb8134727954c.tar.gz
fixes for running the test suite out of a "make dist" tarball
Currently disabled the test dirs that are not automake based because they do not work with make dist.
Diffstat (limited to 'test/dist.sh')
-rw-r--r--test/dist.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/dist.sh b/test/dist.sh
new file mode 100644
index 00000000..5fa26523
--- /dev/null
+++ b/test/dist.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+#
+
+# Make the dist, build from the dist it, install, then run the test suite
+# against what's been installed.
+
+set -ex
+
+make dist
+
+rm -Rf colm-suite-1.0.1
+
+tar -zxvf colm-suite-1.0.1.tar.gz
+
+cd colm-suite-1.0.1
+
+./configure --prefix=/tmp/colm-suite \
+ --with-crack=/home/thurston/pkgs/crack --enable-manual --enable-debug
+
+make
+
+cd test
+
+./runtests