about summary refs log tree commit diff stats
path: root/subx/test_apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-11-24 23:20:54 -0800
committerKartik Agaram <vc@akkartik.com>2018-11-24 23:26:14 -0800
commit33fdc60b168a04ca26b4924ecde2adb7c8059a13 (patch)
tree22238a4ef7b598a51aed1426ca89db00e6ab43f5 /subx/test_apps
parent31ff94214bb9ae2f60b10bb9fa5ea468b141f752 (diff)
downloadmu-33fdc60b168a04ca26b4924ecde2adb7c8059a13.tar.gz
4775
Start with an exactly corresponding version to Crenshaw 2-1: single-digit
numbers. The only change: we assume the number is in hex.

The next version now supports multi-digit hex numbers.
Diffstat (limited to 'subx/test_apps')
-rwxr-xr-xsubx/test_apps10
1 files changed, 10 insertions, 0 deletions
diff --git a/subx/test_apps b/subx/test_apps
index 8c97c521..2bb7adec 100755
--- a/subx/test_apps
+++ b/subx/test_apps
@@ -150,4 +150,14 @@ test `uname` = 'Linux'  &&  {
   echo
 }
 
+echo crenshaw2-1b
+CFLAGS=-g ./subx translate *.subx apps/crenshaw2-1b.subx  -o apps/crenshaw2-1b
+[ "$1" != record ]  &&  git diff --quiet apps/crenshaw2-1b
+CFLAGS=-g ./subx run apps/crenshaw2-1b test
+echo
+test `uname` = 'Linux'  &&  {
+  apps/crenshaw2-1b test
+  echo
+}
+
 exit 0