Skip to content
Snippets Groups Projects
Commit a57170f5 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

new feature: check ever N tests

Rev: bin/test_pike.pike:1.47
parent b088ab22
Branches
Tags
No related merge requests found
#!/usr/local/bin/pike #!/usr/local/bin/pike
/* $Id: test_pike.pike,v 1.46 2000/04/05 20:33:16 grubba Exp $ */ /* $Id: test_pike.pike,v 1.47 2000/04/15 05:03:41 hubbe Exp $ */
import Stdio; import Stdio;
...@@ -355,7 +355,16 @@ int main(int argc, array(string) argv) ...@@ -355,7 +355,16 @@ int main(int argc, array(string) argv)
object o; object o;
mixed a,b; mixed a,b;
if(check) _verify_internals(); if(check)
{
if(check < 0)
{
if(!(e % -check))
_verify_internals();
}else{
_verify_internals();
}
}
if(check>3) { if(check>3) {
gc(); gc();
_verify_internals(); _verify_internals();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment