commit 3f22306b5a7f29c1be85b2fcac8e846d390be4b5
parent 160be4806d4a6f42c0530d31c3a9fe644de59818
Author: kyle <kyle@0x30.net>
Date: Wed, 18 Jan 2017 23:10:33 -0700
tt: don't end to end test without an installed package
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/tt/openbsd.subr b/tt/openbsd.subr
@@ -18,6 +18,12 @@ workdir=`make -C $portdir show=WRKDIR`
workdir_inst="${workdir}-citrun"
workdist_inst=`make -C $portdir WRKDIR=$workdir_inst show=WRKDIST`
+# Release testing must be done on installed package.
+if ! pkg_info -e citrun-9999; then
+ echo "C It Run not found."
+ exit 1
+fi
+
# This is used by the OpenBSD /usr/ports/infrastructure/.
portpath="/usr/local/share/citrun:$workdir_inst/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin"