瀏覽代碼

* made test more verbose

git-svn-id: trunk@40283 -
florian 7 年之前
父節點
當前提交
c45806c84f
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      tests/webtbs/tw13628b.pp

+ 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.