about summary refs log tree commit diff stats
path: root/translate_subx_baremetal
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-01-15 20:51:02 -0800
committerKartik Agaram <vc@akkartik.com>2021-01-15 21:11:30 -0800
commit8ed27ce4319eb843ee021ca0b1cb46d275c2f89d (patch)
tree67439343bb4be931cd712120aafe69b8023892ed /translate_subx_baremetal
parent6e36ce06dd035408d43a6599b75b933a0709cc78 (diff)
downloadmu-8ed27ce4319eb843ee021ca0b1cb46d275c2f89d.tar.gz
7522 - bring back a few tests in .subx files
Even though baremetal has tests in SubX, they can only run in Mu
programs since the test harness is currently in a Mu layer. Baremetal
isn't really intended for running SubX programs at the moment. Is this a
step down the slippery slope towards C compilers that I complained about
in http://akkartik.name/akkartik-convivial-20200607.pdf?
Diffstat (limited to 'translate_subx_baremetal')
-rwxr-xr-xtranslate_subx_baremetal6
1 files changed, 6 insertions, 0 deletions
diff --git a/translate_subx_baremetal b/translate_subx_baremetal
index 32859648..7058003c 100755
--- a/translate_subx_baremetal
+++ b/translate_subx_baremetal
@@ -1,6 +1,12 @@
 #!/bin/sh
 # Translate given SubX files to 'baremetal', a raw disk image that can boot and
 # run without any OS.
+#
+# A couple of gotchas:
+# * Many phases here have no error-checking. Perhaps I should use a
+#   version of translate_subx_debug for baremetal.
+# * Don't pass in numbered .subx files without translated .mu files. Our test
+#   harness is in test.mu, and only Mu programs can run tests in baremetal.
 
 set -e