Przeglądaj źródła

* explicitely ignore the TestIntfMethods test if TVirtualInterface is not supported

git-svn-id: trunk@42710 -
svenbarth 6 lat temu
rodzic
commit
16f47fbee3
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/rtl-objpas/tests/tests.rtti.impl.pas

+ 1 - 1
packages/rtl-objpas/tests/tests.rtti.impl.pas

@@ -569,7 +569,7 @@ begin
     intf := TVirtualInterface.Create(PTypeInfo(TypeInfo(ITestInterface)), {$ifdef fpc}@{$endif}OnHandleIntfMethod) as ITestInterface;
     intf := TVirtualInterface.Create(PTypeInfo(TypeInfo(ITestInterface)), {$ifdef fpc}@{$endif}OnHandleIntfMethod) as ITestInterface;
   except
   except
     on e: ENotImplemented do
     on e: ENotImplemented do
-      Exit;
+      Ignore('TVirtualInterface not supported for ' + {$I %FPCTARGETCPU%} + '-' + {$I %FPCTARGETOS%});
   end;
   end;
   Check(Assigned(intf), 'ITestInterface instance is Nil');
   Check(Assigned(intf), 'ITestInterface instance is Nil');