rename SB-SIMPLE-STREAMS utility function
[sbcl.git] / tests / stress-gc.sh
blob386e903deb84b986106b6b64bb719b9c1ee2e267
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 (exit :code $EXIT_LISP_WIN)
22 EOF
23 check_status_maybe_lose "stress-gc" $?
24 exit $EXIT_TEST_WIN