Add -Werror to reduced configs test scripts

This commit is contained in:
Manuel Pégourié-Gonnard 2015-10-23 08:53:34 +02:00
parent 5baec9050e
commit fe3affdad2
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ for my $kex (@kexes) {
and abort "Failed to disable $k\n"; and abort "Failed to disable $k\n";
} }
system( "make lib" ) and abort "Failed to build lib: $kex\n"; system( "make lib CFLAGS='-Os -Werror'" ) and abort "Failed to build lib: $kex\n";
} }
system( "mv $config_h.bak $config_h" ) and die "$config_h not restored\n"; system( "mv $config_h.bak $config_h" ) and die "$config_h not restored\n";

View File

@ -57,7 +57,7 @@ while( my ($conf, $args) = each %configs ) {
system( "cp configs/$conf $config_h" ) system( "cp configs/$conf $config_h" )
and abort "Failed to activate $conf\n"; and abort "Failed to activate $conf\n";
system( "make" ) and abort "Failed to build: $conf\n"; system( "make CFLAGS='-Os -Werror'" ) and abort "Failed to build: $conf\n";
system( "make test" ) and abort "Failed test suite: $conf\n"; system( "make test" ) and abort "Failed test suite: $conf\n";
if( $args ) if( $args )