2
0
Эх сурвалжийг харах

* made test more verbose

git-svn-id: trunk@40283 -
florian 7 жил өмнө
parent
commit
c45806c84f

+ 6 - 2
tests/webtbs/tw13628b.pp

@@ -29,7 +29,11 @@ var
 begin
 begin
   hdl := loadlibrary(libname);
   hdl := loadlibrary(libname);
   if (hdl=nilhandle) then
   if (hdl=nilhandle) then
-    halt(1);
+    begin
+      writeln(GetLoadErrorStr);
+      halt(1);
+    end;
   if not UnloadLibrary(hdl) then
   if not UnloadLibrary(hdl) then
-    halt(2);;
+    halt(2);
+  writeln('ok');
 end.
 end.