Browse Source

* Use different exit codes to increase verbosity when the test fails.

git-svn-id: trunk@28171 -
sergei 11 years ago
parent
commit
3f1d368373
1 changed files with 4 additions and 4 deletions
  1. 4 4
      tests/webtbs/tw18013.pp

+ 4 - 4
tests/webtbs/tw18013.pp

@@ -7,10 +7,10 @@ begin
   ws := [1..3];
   ws := [1..3];
   if (wa <= ws) and (wa <> ws) then writeln('True') else begin writeln('False'); halt(1) end;
   if (wa <= ws) and (wa <> ws) then writeln('True') else begin writeln('False'); halt(1) end;
   if (wa <= ws) then
   if (wa <= ws) then
-    if (wa <> ws) then writeln('True') else begin writeln('False'); halt(1); end
-  else halt(1);
-  if (wa <= ws) then writeln('True') else begin writeln('False'); halt(1); end;
-  if (wa <> ws) then writeln('True') else begin writeln('False'); halt(1); end;
+    if (wa <> ws) then writeln('True') else begin writeln('False'); halt(2); end
+  else halt(3);
+  if (wa <= ws) then writeln('True') else begin writeln('False'); halt(4); end;
+  if (wa <> ws) then writeln('True') else begin writeln('False'); halt(5); end;
 
 
 end.
 end.