pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
1998-02-10
1998-02-10 14:38:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>
96ad5ba87a3e1e938895a347afda4d8c0f1f42ba (
6
lines) (+
5
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added a compiler-test.
Rev: src/testsuite.in:1.71
1:
-
test_true([["$Id: testsuite.in,v 1.
70
1998/
01
/
29
23
:
37
:
05
hubbe
Exp $"]])
+
test_true([["$Id: testsuite.in,v 1.
71
1998/
02
/
10
14
:
38
:
06
grubba
Exp $"]])
test_eq(1e1,10.0) test_eq(1E1,10.0) test_eq(1e+1,10.0)
1758:
// - throw test_eq(20,catch(throw(a())))
+
// - catch compile-errors
+
test_any([[ master()->set_inhibit_compile_errors(lambda(){});mixed res = catch{compile_string("dfasfqw123");};master()->set_inhibit_compile_errors(0); return arrayp(res); ]], 1)
+
// - time test_true(intp(time()))