Fix make-array transforms.
[sbcl.git] / tests / stress-gc.sh
1 #!/bin/sh
2
3 # This software is part of the SBCL system. See the README file for
4 # more information.
5 #
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.
9 #
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.
13
14 . ./subr.sh
15
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