aboutsummaryrefslogtreecommitdiff
path: root/test-bootstrap-jim
diff options
context:
space:
mode:
Diffstat (limited to 'test-bootstrap-jim')
-rwxr-xr-xtest-bootstrap-jim10
1 files changed, 10 insertions, 0 deletions
diff --git a/test-bootstrap-jim b/test-bootstrap-jim
new file mode 100755
index 0000000..ed5a67a
--- /dev/null
+++ b/test-bootstrap-jim
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+echo "Building bootstrap jimsh"
+./make-bootstrap-jim >jimsh_bootstrap.c
+${CC:-cc} -o jimsh_bootstrap jimsh_bootstrap.c
+echo "Testing bootstrap jimsh"
+( cd tests; ../jimsh_bootstrap runall.tcl )
+echo "All tests passed"
+rm jimsh_bootstrap jimsh_bootstrap.c