about summary refs log tree commit diff stats
path: root/subx/test_layers
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-09-30 22:49:24 -0700
committerKartik Agaram <vc@akkartik.com>2018-09-30 23:12:54 -0700
commit1dcd9350ce975fb05ed99a5ffc864b0d65c8bab3 (patch)
tree14ae2237d5b164ef7db4604567cd29b3b32cfa73 /subx/test_layers
parent2e693f723de721fff35f74ef1194132d48222615 (diff)
downloadmu-1dcd9350ce975fb05ed99a5ffc864b0d65c8bab3.tar.gz
4624
Start requiring a '-o' flag to designate the output binary when translating.

Things currently get funky if you pass in multiple inputs, but that's ok.
This is the first step to supporting multiple input files for a single
output binary.
Diffstat (limited to 'subx/test_layers')
-rwxr-xr-xsubx/test_layers2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/test_layers b/subx/test_layers
index 12867b21..b1a2b3a6 100755
--- a/subx/test_layers
+++ b/subx/test_layers
@@ -15,7 +15,7 @@ for f in examples/ex*.subx apps/*.subx
 do
   echo checking $f
   target=`echo $f |sed 's/\..*//'`
-  CFLAGS=-g ./subx translate $f $target
+  CFLAGS=-g ./subx translate $f -o $target
   git diff --quiet $target  ||  exit 1
   echo $target generated as expected
 done