First pass at adding opengl interface
[clnl] / bin / diagnose-test
index 23b1603947cf013c61958fed9613958ff55a942d..52d7c4c9b07ff188aebf85fcb0a0283f42f4d239 100755 (executable)
@@ -17,6 +17,11 @@ runtestfn() {
 
 scalaprog=$(runtestfn "test-scala-prog")
 
+if [ -z $scalaprog ] ; then
+  echo "Scala prog empty, so use view diagnosis rather than this one"
+  exit 1
+fi
+
 scalafile=$(mktemp -u -p . --suffix .scala.dat)
 clfile=$(mktemp -u -p . --suffix .cl.dat)