From 692012eca088cd951e179b58c8b0de6f7750011b Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Mon, 21 Oct 2013 22:49:16 +0200 Subject: [PATCH] Make all warnings fatal under when testing --- novaboot | 1 + tests/wvtest.sh | 1 + 2 files changed, 2 insertions(+) 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 -- 2.39.2