pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2016-01-18
2016-01-18 00:07:22 by Martin Nilsson <nilsson@fastmail.com>
866ee99867e3a58b97d41f0e5c0188f7a6ef2474 (
6
lines) (+
2
/-
4
)
[
Show
|
Annotate
]
Branch:
8.1
Don't use random_seed anymore.
5156:
test_compile_error_any(master()->add_precompiled_program(\"/test\",compile_string(\"int foo() { return 17; }\",\"62\")))
-
test_any([[function f=
random_seed
; int t; foreach(allocate(1),t) f(t); return 1;]],1)
+
test_any([[function f=
time
; int t; foreach(allocate(1),t) f(t); return 1;]],1)
test_compile([[while(0)if(0)continue;else;]]) test_compile([[do { break; } while (0);]]) test_program([[int b=1,c; int a() { c=b+2; return c==3; }]])
11602:
return x; ]], "\0"*16)
-
// - random_seed
-
test_do(int p; foreach(({1,2,3,4,5}),p) random_seed(p))
-
+
// - random_string test_eq( sizeof(random_string(47)), 47 ) test_eq( random_string(0), "" )