avr-libc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-commit] [2533] Add a -v option to turn on shell command execut


From: j
Subject: [avr-libc-commit] [2533] Add a -v option to turn on shell command execution tracing.
Date: Tue, 6 Dec 2016 23:01:54 +0000 (UTC)

Revision: 2533
          http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2533
Author:   joerg_wunsch
Date:     2016-12-06 23:01:54 +0000 (Tue, 06 Dec 2016)
Log Message:
-----------
Add a -v option to turn on shell command execution tracing.
Useful to re-examine details of failed tests.

Modified Paths:
--------------
    trunk/avr-libc/tests/simulate/runtest.sh

Modified: trunk/avr-libc/tests/simulate/runtest.sh
===================================================================
--- trunk/avr-libc/tests/simulate/runtest.sh    2016-12-06 21:40:12 UTC (rev 
2532)
+++ trunk/avr-libc/tests/simulate/runtest.sh    2016-12-06 23:01:54 UTC (rev 
2533)
@@ -74,11 +74,12 @@
   -T          Pass at host only
   -s          Stop at any error, temparary files will save
   -h          Print this help
+  -v          Verbose mode; echo shell commands being executed
 If FILE is not specified, the full test list is used.
 EOF
 }
 
-while getopts "a:icg:ktTsh" opt ; do
+while getopts "a:icg:ktTshv" opt ; do
     case $opt in
        a)      AVRDIR="$OPTARG" ;;
        i)      AVRDIR= ;;
@@ -89,6 +90,7 @@
        T)      HOST_ONLY=1 ; HOST_PASS=1 ;;
        s)      FLAG_STOP=1 ;;
        h)      Usage `basename $myname` ; exit 0 ;;
+       v)      set -x ;;
        *)      Errx "Invalid option(s). Try '-h' for more info."
     esac
 done




reply via email to

[Prev in Thread] Current Thread [Next in Thread]