diff options
author | Ben Elliston <bje@gnu.org> | 2016-03-15 20:39:58 +1100 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2016-03-15 20:39:58 +1100 |
commit | 907370274c00ea124b038e43fc534805c2f45661 (patch) | |
tree | 1dbf8fdbdff879f534cd8ed4d77caa7e162fdd18 /testsuite | |
parent | 1cc6e6b78f1357b8c7483b11e27057378444628c (diff) | |
download | dejagnu-907370274c00ea124b038e43fc534805c2f45661.zip dejagnu-907370274c00ea124b038e43fc534805c2f45661.tar.gz dejagnu-907370274c00ea124b038e43fc534805c2f45661.tar.bz2 |
* testsuite/runtest.all/options.exp: Add more tests.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/runtest.all/options.exp | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/testsuite/runtest.all/options.exp b/testsuite/runtest.all/options.exp index 8cac12e..8fa8f6c 100644 --- a/testsuite/runtest.all/options.exp +++ b/testsuite/runtest.all/options.exp @@ -1,5 +1,5 @@ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, -# 20001, 2002, 2003 Free Software Foundation, Inc. +# 2001, 2002, 2003, 2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # @@ -50,20 +50,27 @@ set tests { { "-v -v -v" "Verbose level is 3" "Verbose set correctly" } { "-V" "DejaGnu version is.*Expect version is.*Tcl version is.*" "--version" } { "-v --target m68k-vxworks" "Target is m68k-vxworks" "--target option" } + { "-v --target_board flash" "Running target flash" "--target_board option" } { "-v --host sparc-sun-sunos4.1.9" "Native configuration is sparc-sun-sunos4.1.9" "--host option" } { "-v -a" "Print all test output to screen" "--all option" } + { "-v --all" "Print all test output to screen" "--all option" } + { "-v --ignore foo.exp" "Ignoring test foo.exp" "--ignore option" } { "-v --objdir xXx" "Using test binaries in xXx" "--objdir option" } { "-v --tool xXx" "Testing xXx" "--tool option" } { "-v --debug" "Expect Debugging is ON" "--debug option" } + { "-v --reboot" "Will reboot the target" "--reboot option" } { "-v --strace 1" "Source Trace level is now 1.* 1 if" "--strace option" } { "-v --D0" "Tcl debugger is ON" "--D0 option" } + { "-v -V" "DejaGnu version is" "-V option" } + { "-v --version" "DejaGnu version is" "--version option" } + { "-v --xml" "XML logging turned on" "--xml option" } } -foreach i $tests { - if [util_test "$RUNTEST" "[lindex $i 0] -srcdir ${srcdir}/runtest.all" "" "[lindex $i 1]"] { - fail "[lindex $i 2]" +foreach t $tests { + if [util_test "$RUNTEST" "[lindex $t 0] -srcdir ${srcdir}/runtest.all" "" "[lindex $t 1]"] { + fail "[lindex $t 2]" } else { - pass "[lindex $i 2]" + pass "[lindex $t 2]" } } |