From: Michal Sojka Date: Mon, 21 Oct 2013 20:49:16 +0000 (+0200) Subject: Make all warnings fatal under when testing X-Git-Tag: 20140513~79 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/novaboot.git/commitdiff_plain/692012eca088cd951e179b58c8b0de6f7750011b Make all warnings fatal under when testing --- diff --git a/novaboot b/novaboot index 4b9bceb..e25ff2e 100755 --- a/novaboot +++ b/novaboot @@ -15,6 +15,7 @@ use strict; use warnings; +use warnings (exists $ENV{NOVABOOT_TEST} ? (FATAL => 'all') : ()); use Getopt::Long qw(GetOptionsFromString); use Pod::Usage; use File::Basename; diff --git a/tests/wvtest.sh b/tests/wvtest.sh index a2e40a7..f3fa327 100644 --- a/tests/wvtest.sh +++ b/tests/wvtest.sh @@ -145,3 +145,4 @@ WVSTART() } WV_BASE_DIR="$PWD" +export NOVABOOT_TEST=1