Given:
packages/Delphi12/ZeosDboDev.groupproj build all fails to compile test/component/ZTestEvents.pas:
[dcc32 Error] ZTestEvents.pas(214): E2003 Undeclared identifier: 'TZTestInterbaseEventAlert'
[dcc32 Error] ZTestEvents.pas(214): E2250 There is no overloaded version of 'RegisterTest' that can be called with these arguments
[dcc32 Error] ZTestEvents.pas(214): E2029 'END' expected but ')' found
[dcc32 Fatal Error] ZTestAll.dpr(101): F2063 Could not compile used unit 'ZTestEvents.pas'
The error is due to:
{$IF defined(DISABLE_INTERBASE_AND_FIREBIRD) and defined(ZEOS_DISABLE_POSTGRESQL)}
{$DEFINE ZEOS_DISABLE_TEST_ALERTER}
Which leaves just this code in the unit:
initialization
RegisterTest('component',TZTestInterbaseEventAlert.Suite);
Commenting out ZEOS_DISABLE_INTERBASE (and ZEOS_DISABLE_SQLITE due to testsuite/10) succeeds.
ZTestAll should be able to validate a lean build for a specific driver.