From ca116647a8962f3989f4cfddd8ad9feb8282004f Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 10 Mar 2017 13:12:56 -0600 Subject: [PATCH] tools/testbuild.sh: Add debug option (-d) --- tools/testbuild.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/testbuild.sh b/tools/testbuild.sh index 0d10702c75..e0ceb13bb1 100755 --- a/tools/testbuild.sh +++ b/tools/testbuild.sh @@ -57,6 +57,7 @@ function showusage { echo " -s Use C++ unsigned long size_t in new operator. Default unsigned int" echo " -a provides the relative path to the apps/ directory. Default ../apps" echo " -n provides the relative path to the NxWidgets/ directory. Default ../NxWidgets" + echo " -d enables script debug output" echo " -h will show this help test and terminate" echo " selects the list of configurations to test. No default" echo "" @@ -80,6 +81,9 @@ while [ ! -z "$1" ]; do host=windows wenv=cygwin ;; + -d ) + set -x + ;; -u ) host=windows wenv=ubuntu