tools/testbuild.sh: Add debug option (-d)

This commit is contained in:
Gregory Nutt 2017-03-10 13:12:56 -06:00
parent 03f2c05fb6
commit ca116647a8

View File

@ -57,6 +57,7 @@ function showusage {
echo " -s Use C++ unsigned long size_t in new operator. Default unsigned int" echo " -s Use C++ unsigned long size_t in new operator. Default unsigned int"
echo " -a <appsdir> provides the relative path to the apps/ directory. Default ../apps" echo " -a <appsdir> provides the relative path to the apps/ directory. Default ../apps"
echo " -n <nxdir> provides the relative path to the NxWidgets/ directory. Default ../NxWidgets" echo " -n <nxdir> 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 " -h will show this help test and terminate"
echo " <testlist-file> selects the list of configurations to test. No default" echo " <testlist-file> selects the list of configurations to test. No default"
echo "" echo ""
@ -80,6 +81,9 @@ while [ ! -z "$1" ]; do
host=windows host=windows
wenv=cygwin wenv=cygwin
;; ;;
-d )
set -x
;;
-u ) -u )
host=windows host=windows
wenv=ubuntu wenv=ubuntu