about summary refs log tree commit diff stats
path: root/subx/run
diff options
context:
space:
mode:
Diffstat (limited to 'subx/run')
-rwxr-xr-xsubx/run9
1 files changed, 8 insertions, 1 deletions
diff --git a/subx/run b/subx/run
index bc55c720..332d5786 100755
--- a/subx/run
+++ b/subx/run
@@ -7,4 +7,11 @@ then
   exit 1
 fi
 
-CFLAGS=-g subx run teensy/test$1
+if [[ $1 == 'test'* ]]
+then
+  CFLAGS=-g subx run teensy/$1
+  exit $?
+fi
+
+CFLAGS=-g subx run $1
+exit $?