From 47899a1a14919579f02985c31f759abb692a9a9b Mon Sep 17 00:00:00 2001 From: Colin Patrick McCabe Date: Fri, 25 Mar 2011 15:59:58 -0700 Subject: [PATCH] Add go-test.sh Signed-off-by: Colin McCabe --- go-test.sh | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) create mode 100755 go-test.sh diff --git a/go-test.sh b/go-test.sh new file mode 100755 index 0000000..b14ec13 --- /dev/null +++ b/go-test.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +die() { + echo $@ + exit 1 +} + +which 6g >/dev/null || die "6g not installed" +which 6l >/dev/null || die "6l not installed" + +PFILE="${1}" +[ -e "${PFILE}" ] || die "couldn't find file \"${PFILE}\"" +6g "${PFILE}" || die "6g failed" +6l "${PFILE}" || die "6g failed" +exit 0 -- 1.6.6.rc1.39.g9a42