projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.16.37: fix bug #206 -- SB-FLUID build works once more
[sbcl.git]
/
tests
/
compiler.test.sh
diff --git
a/tests/compiler.test.sh
b/tests/compiler.test.sh
index
5b891d2
..
48aa64e
100644
(file)
--- a/
tests/compiler.test.sh
+++ b/
tests/compiler.test.sh
@@
-13,9
+13,9
@@
. ./expect.sh
. ./expect.sh
-base_tmpfilename="compiler-test-$$-tmp"
-tmpfilename="$base_tmpfilename.lisp"
-compiled_tmpfilename="$base_tmpfilename.fasl"
+use_test_subdirectory
+
+tmpfilename="$TEST_FILESTEM.lisp"
# This should fail, as type inference should show that the call to FOO
# will return something of the wrong type.
# This should fail, as type inference should show that the call to FOO
# will return something of the wrong type.
@@
-372,8
+372,12
@@
cat > $tmpfilename <<EOF
EOF
expect_clean_compile $tmpfilename
EOF
expect_clean_compile $tmpfilename
-rm $tmpfilename
-rm $compiled_tmpfilename
+cat > $tmpfilename <<EOF
+(defun something (x) x)
+...
+(defun something-more (x) x)
+EOF
+expect_aborted_compile $tmpfilename
# success
# success
-exit 104
+exit $EXIT_TEST_WIN