1.0.14.28: small FGEN improvements
[sbcl/jsnell.git] / tests / stress-gc.sh
blob32321b925a0bd84549755373761a212c76052c34
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 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