Skip to content
Snippets Groups Projects
Commit 2583b4dd authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Improved FALSE test output.

Rev: bin/test_pike.pike:1.16
parent 83e10ecc
No related branches found
No related tags found
No related merge requests found
#!/usr/local/bin/pike #!/usr/local/bin/pike
/* $Id: test_pike.pike,v 1.15 1999/01/21 09:11:42 hubbe Exp $ */ /* $Id: test_pike.pike,v 1.16 1999/02/20 20:22:30 grubba Exp $ */
#include <simulate.h> #include <simulate.h>
...@@ -227,7 +227,16 @@ int main(int argc, string *argv) ...@@ -227,7 +227,16 @@ int main(int argc, string *argv)
switch(type) switch(type)
{ {
case "FALSE": case "FALSE":
a=!a; if(a)
{
werror(fname + " failed.\n");
werror(test+"\n");
werror(sprintf("o->a(): %O\n",a));
errors++;
}else{
successes++;
}
break;
case "TRUE": case "TRUE":
if(!a) if(!a)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment