about summary refs log tree commit diff stats
path: root/subx/run
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-07-06 22:49:55 -0700
committerKartik Agaram <vc@akkartik.com>2018-07-06 22:49:55 -0700
commitf0b99910f3558a426bcc80e2aff54c5d0428e5bb (patch)
tree351abe9676ea14106127e65ce78d16633e0ac92b /subx/run
parent5f1de34a679ab0b9c59067f7924f1c953917b53e (diff)
downloadmu-f0b99910f3558a426bcc80e2aff54c5d0428e5bb.tar.gz
4313 - some helpers for managing test binaries
I'm getting sick of hitting the <Tab> key.
Diffstat (limited to 'subx/run')
-rwxr-xr-xsubx/run10
1 files changed, 10 insertions, 0 deletions
diff --git a/subx/run b/subx/run
new file mode 100755
index 00000000..bc55c720
--- /dev/null
+++ b/subx/run
@@ -0,0 +1,10 @@
+#!/usr/bin/env zsh
+# Simulate a specific example using subx.
+
+if [ $# -eq 0 ]
+then
+  echo "run <suffix>"
+  exit 1
+fi
+
+CFLAGS=-g subx run teensy/test$1