about summary refs log tree commit diff stats
path: root/subx/test_layers
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-10-01 12:22:59 -0700
committerKartik Agaram <vc@akkartik.com>2018-10-01 12:27:39 -0700
commit57628c0e4461b8bb6e6024135bf1e7f46f650030 (patch)
tree52a9f28ac189dee50b63ceeb723d7a872701dab3 /subx/test_layers
parent5ece295328f872fa368e7852f62f363eb701c0f9 (diff)
downloadmu-57628c0e4461b8bb6e6024135bf1e7f46f650030.tar.gz
4638 - extract some common libraries from apps
I'm still trying to figure out what the defaults should be. At the moment
you have to explicitly pass in every file you want loaded into the output
binary. Maybe that control is a good thing. The examples need no libraries
so far.
Diffstat (limited to 'subx/test_layers')
-rwxr-xr-xsubx/test_layers9
1 files changed, 8 insertions, 1 deletions
diff --git a/subx/test_layers b/subx/test_layers
index fa801c10..2afa6dab 100755
--- a/subx/test_layers
+++ b/subx/test_layers
@@ -11,10 +11,17 @@ do
 done
 
 ./clean top
-for f in examples/ex*.subx apps/*.subx
+for f in examples/*.subx
 do
   echo $f
   target=`echo $f |sed 's/\..*//'`
   CFLAGS=-g ./subx translate $f -o $target
   git diff --quiet $target  ||  exit 1
 done
+for f in apps/*.subx
+do
+  echo $f
+  target=`echo $f |sed 's/\..*//'`
+  CFLAGS=-g ./subx translate *.subx $f -o $target
+  git diff --quiet $target  ||  exit 1
+done