瀏覽代碼

* avoid failure on dummy test

pierre 22 年之前
父節點
當前提交
3897bcb765
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      tests/test/tlibrary2.pp

+ 5 - 1
tests/test/tlibrary2.pp

@@ -27,4 +27,8 @@ procedure test;external libname name 'TestName';
 begin
   test;
 end.
-{$endif supported}
+{$else not supported}
+begin
+  Writeln('Dummy test because target does not support libraries');
+end.
+{$endif not supported}