pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2015-12-10
2015-12-10 16:17:08 by Martin Nilsson <nilsson@fastmail.com>
220413bcc2ed27d18c37583d3d198d0d4435eb52 (
15
lines) (+
10
/-
5
)
[
Show
|
Annotate
]
Branch:
8.1
Fix some of the more weird tests that leak error printouts.
3846:
mixed f (string p) {return ({global::p, p});}")()->f ("l"); ]], ({"g", "l"}))
-
test_
eval
_error([[
-
compile_
string
(#"
-
string
pp =
\
"
g\
";
-
mixed f (string p) {return global::p;}
");
+
test_
compile
_error([[
+
string pp = "
g
";
+
mixed f (string p) {return global::p;}
]]) test_equal([[
10341:
]]) // <<<<<<<
-
test_
eval
_
error
( cpp("<<<<<<<") )
+
test_
any([[
+
master()->set
_
inhibit_compile_errors
(
1);
+
int x = !!catch(
cpp("<<<<<<<")
);
+
master(
)
->set_inhibit_compile_errors(0);
+
return x;
+
]], 1)
test_compile_error([[ #if 0 <<<<<<<