summaryrefslogtreecommitdiff
path: root/test/dist.sh
diff options
context:
space:
mode:
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