From e852455308e4cbe67161482802edbb819097d228 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 11 Aug 2017 01:00:27 +0200 Subject: [PATCH] tests/run.sh: add support for -W to turn warnings into errors --- tests/run.sh | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/tests/run.sh b/tests/run.sh index 2a1266e7d..1a73f097c 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -15,6 +15,24 @@ set -e export SHELL=/bin/sh export HOME=/dev/null +# Parse options. +usage() { + cat >&2 < ERROR running $f <==="