* explicitely ignore the TestIntfMethods test if TVirtualInterface is not supported

git-svn-id: trunk@42710 -
This commit is contained in:
svenbarth 2019-08-16 15:43:09 +00:00
parent 95b60bc6b2
commit 16f47fbee3

View File

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