summaryrefslogtreecommitdiff
path: root/test-suite/standalone
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2014-04-08 10:06:40 +0200
committerAndy Wingo <wingo@pobox.com>2014-04-08 10:06:40 +0200
commit1d8b325994e4062e215c2501b7aa615f3672214d (patch)
tree12024cc6728c9dcda1590d848c8f2b0da2979fb1 /test-suite/standalone
parent85270a8c895f5912d688d764b686fdaeba0157d5 (diff)
downloadguile-1d8b325994e4062e215c2501b7aa615f3672214d.tar.gz
Compile some standalone tests to bytecode
* test-suite/standalone/test-out-of-memory: * test-suite/standalone/test-stack-overflow: Compile these files before running them. That way, recursion can check the stack-overflow mechanism instead of the memory allocation mechanism. We compile beforehand as a prepass so as not to impose an rlimit on a Guile that previously ran auto-compilation.
Diffstat (limited to 'test-suite/standalone')
-rwxr-xr-xtest-suite/standalone/test-out-of-memory1
-rwxr-xr-xtest-suite/standalone/test-stack-overflow1
2 files changed, 2 insertions, 0 deletions
diff --git a/test-suite/standalone/test-out-of-memory b/test-suite/standalone/test-out-of-memory
index bf55a4113..2ae3ee69b 100755
--- a/test-suite/standalone/test-out-of-memory
+++ b/test-suite/standalone/test-out-of-memory
@@ -1,4 +1,5 @@
#!/bin/sh
+guild compile "$0"
exec guile -q -s "$0" "$@"
!#
diff --git a/test-suite/standalone/test-stack-overflow b/test-suite/standalone/test-stack-overflow
index 5a0b77799..3b979a99e 100755
--- a/test-suite/standalone/test-stack-overflow
+++ b/test-suite/standalone/test-stack-overflow
@@ -1,4 +1,5 @@
#!/bin/sh
+guild compile "$0"
exec guile -q -s "$0" "$@"
!#