about summary refs log tree commit diff stats
path: root/test_apps
diff options
context:
space:
mode:
Diffstat (limited to 'test_apps')
-rwxr-xr-xtest_apps17
1 files changed, 17 insertions, 0 deletions
diff --git a/test_apps b/test_apps
index eb376356..1d538fa3 100755
--- a/test_apps
+++ b/test_apps
@@ -234,6 +234,23 @@ do
   }
 done
 
+# One phase variant for translating SubX to baremetal. (Other phases are reused.)
+
+for phase in survey_baremetal
+do
+  echo $phase
+  ./bootstrap_bin translate init.linux [01]*.subx apps/subx-params.subx apps/$phase.subx -o apps/$phase
+  test "$1" = 'record'  ||  git diff --exit-code apps/$phase
+  {
+    ./bootstrap_bin run apps/$phase test
+    echo
+  }
+  {
+    apps/$phase test
+    echo
+  }
+done
+
 # Higher-level syntax.
 
 # Certain phases of translation run native beyond this point. We're starting