CheckPackages.ps1 checks only the Release configuration of each .dproj
Brought to you by:
twm
packages/CheckPackages.ps1 takes the defines, unit scope names and unit aliases from the Base and Release configuration groups of each .dproj only. It never builds a package with its Debug settings, so it does not notice
{$IFDEF DEBUG} and are missing from containsThe second case exists: the Debug configuration of packages/delphi2007/dzComponentsR.dproj fails with F1026 File not found: 'dzlib.inc' ([bugs:#89]), and the script passes that package.
It could compile every configuration the .dproj defines, or at least Debug and Release.