about summary refs log tree commit diff stats
path: root/linux
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-05-14 08:17:14 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-05-14 09:06:06 -0700
commit2df1d1a73046a0a7b6523552b53f407651ed36df (patch)
tree85e2fcf01ced9eda9f0a279625c212a0c3c0d527 /linux
parent63a9263affbdc2fd7bd90c1eaa99abd3e3ddbf5d (diff)
downloadmu-2df1d1a73046a0a7b6523552b53f407651ed36df.tar.gz
.
Diffstat (limited to 'linux')
-rwxr-xr-xlinux/test_apps31
-rwxr-xr-xlinux/test_apps_emulated26
2 files changed, 4 insertions, 53 deletions
diff --git a/linux/test_apps b/linux/test_apps
index 42dd7da3..9d8e5683 100755
--- a/linux/test_apps
+++ b/linux/test_apps
@@ -216,25 +216,7 @@ bootstrap/bootstrap translate [01]*.subx random.subx  -o random
 
 # Phases of the self-hosted SubX translator.
 
-for phase in hex survey_elf pack assort dquotes tests
-do
-  echo $phase
-  bootstrap/bootstrap translate [01]*.subx subx-params.subx $phase.subx -o $phase
-  test "$1" = 'record'  ||  git diff --exit-code $phase
-  {
-    bootstrap/bootstrap run $phase test
-    echo
-  }
-  {
-    chmod +x $phase
-    ./$phase test
-    echo
-  }
-done
-
-# One phase variant for translating SubX to baremetal. (Other phases are reused.)
-
-for phase in survey_baremetal
+for phase in hex survey_elf survey_baremetal pack assort dquotes tests
 do
   echo $phase
   bootstrap/bootstrap translate [01]*.subx subx-params.subx $phase.subx -o $phase
@@ -332,16 +314,7 @@ done
 
 # Phases of the self-hosted SubX translator.
 
-for app in hex survey_elf pack assort dquotes tests
-do
-  echo $app
-  ./translate_subx [01]*.subx subx-params.subx $app.subx
-  diff $app a.elf
-done
-
-# One phase variant for translating SubX to baremetal. (Other phases are reused.)
-
-for app in survey_baremetal
+for app in hex survey_elf survey_baremetal pack assort dquotes tests
 do
   echo $app
   ./translate_subx [01]*.subx subx-params.subx $app.subx
diff --git a/linux/test_apps_emulated b/linux/test_apps_emulated
index 2945a992..cb74c1ae 100755
--- a/linux/test_apps_emulated
+++ b/linux/test_apps_emulated
@@ -137,20 +137,7 @@ bootstrap/bootstrap translate [01]*.subx random.subx  -o random
 
 # Phases of the self-hosted SubX translator.
 
-for phase in hex survey_elf pack assort dquotes tests
-do
-  echo $phase
-  bootstrap/bootstrap translate [01]*.subx subx-params.subx $phase.subx -o $phase
-  test "$1" = 'record'  ||  git diff --exit-code $phase
-  {
-    bootstrap/bootstrap run $phase test
-    echo
-  }
-done
-
-# One phase variant for translating SubX to baremetal. (Other phases are reused.)
-
-for phase in survey_baremetal
+for phase in hex survey_elf survey_baremetal pack assort dquotes tests
 do
   echo $phase
   bootstrap/bootstrap translate [01]*.subx subx-params.subx $phase.subx -o $phase
@@ -224,16 +211,7 @@ done
 
 # Phases of the self-hosted SubX translator.
 
-for app in hex survey_elf pack assort dquotes tests
-do
-  echo $app
-  ./translate_subx_emulated [01]*.subx subx-params.subx $app.subx
-  diff $app a.elf
-done
-
-# One phase variant for translating SubX to baremetal. (Other phases are reused.)
-
-for app in survey_baremetal
+for app in hex survey_elf survey_baremetal pack assort dquotes tests
 do
   echo $app
   ./translate_subx_emulated [01]*.subx subx-params.subx $app.subx