added oct package for long-long arith
[CommonLispStat.git] / external / lift / test / test-timeout.lisp
blob7e3abb14578b211522cc8a62af29a2e395156567
1 (in-package #:lift-test)
3 (deftestsuite test-lift-timeouts (lift-test)
4 ())
6 (deftestsuite test-timeout-helper ()
7 ()
8 :timeout 1)
10 (addtest (test-timeout-helper)
11 success-1
12 (ensure t))
14 (addtest (test-timeout-helper)
15 timeout-1
16 (sleep 2)
17 (ensure t))
24 (deftestsuite test-timeout ()
26 (:timeout 1))
28 (addtest (test-timeout)
29 test-should-pass
30 (sleep 0.5)
31 (ensure t))
33 (addtest (test-timeout)
34 test-should-fail
35 (sleep 1.5)
36 (ensure t))