10 use lib
"$FindBin::Bin/lib/lib/perl5";
12 unless(-d
"distros") {
13 plan
( skip_all
=> 'need distros directory to run, please run from the project root' );
16 use_ok
("TestUtils") or BAIL_OUT
("fatal error in TestUtils");
20 for my $file (glob("distros/Makefile.*")) {
21 my $conf = TestUtils
::read_config
($file);
22 isnt
($conf, undef, "read config from $file");
23 $all_confs->{$file} = $conf;
24 for my $key (keys %{$all_confs->{$file}}) {
25 $all_keys->{$key} = 1;
29 for my $file (keys %{$all_confs}) {
30 for my $key (keys %{$all_keys}) {
31 next if $key eq 'ARCH'; # arch is debian specific
32 next if $key eq 'CONFIG_SITE'; # CONFIG_SITE is OpenSuSE specific
33 ok
(exists($all_confs->{$file}->{$key}), "$file: $key");