diff options
author | Luis Machado <lgustavo@codesourcery.com> | 2016-12-01 14:41:23 -0600 |
---|---|---|
committer | Luis Machado <lgustavo@codesourcery.com> | 2016-12-01 14:41:23 -0600 |
commit | cdc7edd7b17dddd3558bd04d9b2fb5a73dc75f1c (patch) | |
tree | f55a5c186bddaa1303dd8bdd1fcb9d8ad7a0bbc4 /gdb/testsuite/gdb.base/floatn.exp | |
parent | bc6c7af4a2f23c48a38139fc7e0ed2ac7b12bb69 (diff) | |
download | gdb-cdc7edd7b17dddd3558bd04d9b2fb5a73dc75f1c.zip gdb-cdc7edd7b17dddd3558bd04d9b2fb5a73dc75f1c.tar.gz gdb-cdc7edd7b17dddd3558bd04d9b2fb5a73dc75f1c.tar.bz2 |
Fix test names starting with uppercase using gdb_test on a single line.
Changes in v3:
Fixed incorrect substitutions.
This fixes offender testcases that have test names starting with uppercase
when using gdb_test in a single line construct.
gdb/testsuite/ChangeLog
2016-12-01 Luis Machado <lgustavo@codesourcery.com>
Fix test names starting with uppercase throughout the files.
* gdb.arch/i386-mpx-simple_segv.exp
* gdb.arch/i386-mpx.exp
* gdb.arch/i386-permbkpt.exp
* gdb.arch/pa-nullify.exp
* gdb.arch/powerpc-d128-regs.exp
* gdb.arch/vsx-regs.exp
* gdb.base/bfp-test.exp
* gdb.base/break.exp
* gdb.base/breakpoint-shadow.exp
* gdb.base/callfuncs.exp
* gdb.base/charset.exp
* gdb.base/commands.exp
* gdb.base/completion.exp
* gdb.base/dfp-test.exp
* gdb.base/echo.exp
* gdb.base/ending-run.exp
* gdb.base/eval.exp
* gdb.base/expand-psymtabs.exp
* gdb.base/float128.exp
* gdb.base/floatn.exp
* gdb.base/foll-exec-mode.exp
* gdb.base/gdb1056.exp
* gdb.base/gdb11531.exp
* gdb.base/kill-after-signal.exp
* gdb.base/multi-forks.exp
* gdb.base/overlays.exp
* gdb.base/pending.exp
* gdb.base/sepdebug.exp
* gdb.base/testenv.exp
* gdb.base/valgrind-db-attach.exp
* gdb.base/watch_thread_num.exp
* gdb.base/watchpoint-cond-gone.exp
* gdb.base/watchpoint.exp
* gdb.base/watchpoints.exp
* gdb.cp/arg-reference.exp
* gdb.cp/baseenum.exp
* gdb.cp/operator.exp
* gdb.cp/shadow.exp
* gdb.dwarf2/dw2-op-out-param.exp
* gdb.dwarf2/dw2-reg-undefined.exp
* gdb.go/chan.exp
* gdb.go/hello.exp
* gdb.go/integers.exp
* gdb.go/methods.exp
* gdb.go/package.exp
* gdb.guile/scm-parameter.exp
* gdb.guile/scm-progspace.exp
* gdb.guile/scm-value.exp
* gdb.mi/mi-pending.exp
* gdb.mi/user-selected-context-sync.exp
* gdb.multi/multi-attach.exp
* gdb.multi/tids.exp
* gdb.opt/clobbered-registers-O2.exp
* gdb.pascal/floats.exp
* gdb.pascal/integers.exp
* gdb.python/py-block.exp
* gdb.python/py-events.exp
* gdb.python/py-parameter.exp
* gdb.python/py-symbol.exp
* gdb.python/py-symtab.exp
* gdb.python/py-type.exp
* gdb.python/py-value.exp
* gdb.python/py-xmethods.exp
* gdb.python/python.exp
* gdb.reverse/break-precsave.exp
* gdb.reverse/consecutive-precsave.exp
* gdb.reverse/finish-precsave.exp
* gdb.reverse/i386-precsave.exp
* gdb.reverse/machinestate-precsave.exp
* gdb.reverse/sigall-precsave.exp
* gdb.reverse/solib-precsave.exp
* gdb.reverse/step-precsave.exp
* gdb.reverse/until-precsave.exp
* gdb.reverse/watch-precsave.exp
* gdb.server/ext-attach.exp
* gdb.server/ext-restart.exp
* gdb.server/ext-run.exp
* gdb.server/ext-wrapper.exp
* gdb.stabs/gdb11479.exp
* gdb.stabs/weird.exp
* gdb.threads/attach-many-short-lived-threads.exp
* gdb.threads/kill.exp
* gdb.threads/watchpoint-fork.exp
Diffstat (limited to 'gdb/testsuite/gdb.base/floatn.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/floatn.exp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/gdb/testsuite/gdb.base/floatn.exp b/gdb/testsuite/gdb.base/floatn.exp index 0a8b4ff..aa8fddc 100644 --- a/gdb/testsuite/gdb.base/floatn.exp +++ b/gdb/testsuite/gdb.base/floatn.exp @@ -42,19 +42,19 @@ gdb_breakpoint [gdb_get_line_number "return"] gdb_continue_to_breakpoint "return" # Print the original values of f32, f64, f128, f32x, f64x. -gdb_test "print f32" ".* = 1\\.5.*" "The original value of f32 is 1.5" -gdb_test "print f64" ".* = 2\\.25.*" "The original value of f64 is 2.25" -gdb_test "print f128" ".* = 3\\.375.*" "The original value of f128 is 3.375" -gdb_test "print f32x" ".* = 10\\.5.*" "The original value of f32x is 10.5" -gdb_test "print f64x" ".* = 20\\.25.*" "The original value of f64x is 20.25" +gdb_test "print f32" ".* = 1\\.5.*" "the original value of f32 is 1.5" +gdb_test "print f64" ".* = 2\\.25.*" "the original value of f64 is 2.25" +gdb_test "print f128" ".* = 3\\.375.*" "the original value of f128 is 3.375" +gdb_test "print f32x" ".* = 10\\.5.*" "the original value of f32x is 10.5" +gdb_test "print f64x" ".* = 20\\.25.*" "the original value of f64x is 20.25" # Test that gdb could correctly recognize float constant expression with a suffix. # FIXME: gdb does not yet recognize the suffix for _FloatN/_FloatNx types. -gdb_test "print f32=-1.5" ".* = -1\\.5.*" "Try to change f32 to -1.5 with 'print f32=-1.5'" -gdb_test "print f64=-2.25" ".* = -2\\.25.*" "Try to change f64 to -2.25 with 'print f64=-2.25'" -gdb_test "print f128=-3.375" ".* = -3\\.375.*" "Try to change f128 to -3.375 with 'print f128=-3.375'" -gdb_test "print f32x=-10.5" ".* = -10\\.5.*" "Try to change f32x to -10.5 with 'print f32=-1.5x'" -gdb_test "print f64x=-20.25" ".* = -20\\.25.*" "Try to change f64x to -20.25 with 'print f64=-2.25x'" +gdb_test "print f32=-1.5" ".* = -1\\.5.*" "try to change f32 to -1.5 with 'print f32=-1.5'" +gdb_test "print f64=-2.25" ".* = -2\\.25.*" "try to change f64 to -2.25 with 'print f64=-2.25'" +gdb_test "print f128=-3.375" ".* = -3\\.375.*" "try to change f128 to -3.375 with 'print f128=-3.375'" +gdb_test "print f32x=-10.5" ".* = -10\\.5.*" "try to change f32x to -10.5 with 'print f32=-1.5x'" +gdb_test "print f64x=-20.25" ".* = -20\\.25.*" "try to change f64x to -20.25 with 'print f64=-2.25x'" # Test that gdb could handle the above correctly with "set var" command. set test "set variable f32 = 10.5" @@ -107,18 +107,18 @@ gdb_test_multiple "set var f64x=200.25" "$test" { } } -gdb_test "print f32" ".* = 10\\.5.*" "The value of f32 is changed to 10.5" -gdb_test "print f64" ".* = 20\\.25.*" "The value of f64 is changed to 20.25" -gdb_test "print f128" ".* = 30\\.375.*" "The value of f128 is changed to 30.375" -gdb_test "print f32x" ".* = 100\\.5.*" "The value of f32x is changed to 100.5" -gdb_test "print f64x" ".* = 200\\.25.*" "The value of f64x is changed to 200.25" +gdb_test "print f32" ".* = 10\\.5.*" "the value of f32 is changed to 10.5" +gdb_test "print f64" ".* = 20\\.25.*" "the value of f64 is changed to 20.25" +gdb_test "print f128" ".* = 30\\.375.*" "the value of f128 is changed to 30.375" +gdb_test "print f32x" ".* = 100\\.5.*" "the value of f32x is changed to 100.5" +gdb_test "print f64x" ".* = 200\\.25.*" "the value of f64x is changed to 200.25" # Print the original values of c32, c64, c128, c32x, c64x. -gdb_test "print c32" ".* = 1\\.5 \\+ 1 \\* I.*" "The original value of c32 is 1.5 + 1 * I" -gdb_test "print c64" ".* = 2\\.25 \\+ 1 \\* I.*" "The original value of c64 is 2.25 + 1 * I" -gdb_test "print c128" ".* = 3\\.375 \\+ 1 \\* I.*" "The original value of c128 is 3.375 + 1 * I" -gdb_test "print c32x" ".* = 10\\.5 \\+ 1 \\* I.*" "The original value of c32x is 10.5 + 1 * I" -gdb_test "print c64x" ".* = 20\\.25 \\+ 1 \\* I.*" "The original value of c64x is 20.25 + 1 * I" +gdb_test "print c32" ".* = 1\\.5 \\+ 1 \\* I.*" "the original value of c32 is 1.5 + 1 * I" +gdb_test "print c64" ".* = 2\\.25 \\+ 1 \\* I.*" "the original value of c64 is 2.25 + 1 * I" +gdb_test "print c128" ".* = 3\\.375 \\+ 1 \\* I.*" "the original value of c128 is 3.375 + 1 * I" +gdb_test "print c32x" ".* = 10\\.5 \\+ 1 \\* I.*" "the original value of c32x is 10.5 + 1 * I" +gdb_test "print c64x" ".* = 20\\.25 \\+ 1 \\* I.*" "the original value of c64x is 20.25 + 1 * I" # FIXME: GDB cannot parse non-trivial complex constants yet. |