about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-05-22 16:34:33 -0700
committerKartik Agaram <vc@akkartik.com>2020-05-22 16:34:33 -0700
commitcea79ae180c683e7e60cb09977cdc501b8737632 (patch)
treef905e8dd761d5b3f6aacd3ea3b175045a4e03a2b
parent48e314c69b4953729b526e0343b29df3aac666b0 (diff)
downloadmu-cea79ae180c683e7e60cb09977cdc501b8737632.tar.gz
handles don't seem to have slowed down test_apps
At least the non-native first phase which takes longer. But maybe a shorter
baseline is the right thing to check. I need to resize some buffers to
get Mu natively translating again.
-rwxr-xr-xtest_apps8
1 files changed, 4 insertions, 4 deletions
diff --git a/test_apps b/test_apps
index 6cca4292..a8c8eabe 100755
--- a/test_apps
+++ b/test_apps
@@ -245,7 +245,7 @@ done
 
 echo sigils
 ./bootstrap translate init.$OS 0*.subx apps/subx-params.subx apps/sigils.subx  -o apps/sigils
-[ "$1" != record ]  &&  git diff --exit-code apps/sigils
+test "$1" = 'record'  ||  git diff --exit-code apps/sigils
 test $EMULATED  &&  {
   ./bootstrap run apps/sigils test
   echo
@@ -260,7 +260,7 @@ test $NATIVE  ||  { echo 'there are more tests, but you need Linux to run them';
 echo calls
 cat init.$OS 0*.subx apps/subx-params.subx apps/calls.subx  |  apps/sigils  > a.sigils
 ./bootstrap translate a.sigils -o apps/calls
-[ "$1" != record ]  &&  git diff --exit-code apps/calls
+test "$1" = 'record'  ||  git diff --exit-code apps/calls
 test $EMULATED  &&  {
   ./bootstrap run apps/calls test
   echo
@@ -273,7 +273,7 @@ test `uname` = 'Linux'  &&  {
 echo braces
 cat init.$OS 0*.subx apps/subx-params.subx apps/braces.subx  |  apps/calls  |  apps/sigils  > a.sigils
 ./bootstrap translate a.sigils -o apps/braces
-[ "$1" != record ]  &&  git diff --exit-code apps/braces
+test "$1" = 'record'  ||  git diff --exit-code apps/braces
 test $EMULATED  &&  {
   ./bootstrap run apps/braces test
   echo
@@ -286,7 +286,7 @@ test `uname` = 'Linux'  &&  {
 echo mu
 cat init.$OS [0-9]*.subx apps/mu.subx  |  apps/braces  |  apps/calls  |  apps/sigils  > a.sigils
 ./bootstrap translate a.sigils -o apps/mu
-[ "$1" != record ]  &&  git diff --exit-code apps/mu
+test "$1" = 'record'  ||  git diff --exit-code apps/mu
 test $EMULATED  &&  {
   ./bootstrap run apps/mu test
   echo