1.0.17.21: LIST-FILL* return value (regression 1.0.12.16)
[sbcl/pkhuong.git] / tests / stress-gc.sh
blob36ef3364ce7a1d7783b1f8e440d246a6b9499b42
1 #!/bin/sh
3 # This software is part of the SBCL system. See the README file for
4 # more information.
6 # While most of SBCL is derived from the CMU CL system, the test
7 # files (like this one) were written from scratch after the fork
8 # from CMU CL.
10 # This software is in the public domain and is provided with
11 # absolutely no warranty. See the COPYING and CREDITS files for
12 # more information.
14 . ./subr.sh
16 run_sbcl <<EOF
17 (compile-file "./stress-gc.lisp")
18 (load *)
19 (time (stress-gc ${1:-100000} ${2:-3000}))
20 (format t "~&test completed successfully~%")
21 (quit :unix-status $EXIT_LISP_WIN)
22 EOF
23 check_status_maybe_lose "stress-gc" $?
24 exit $EXIT_TEST_WIN