public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb/testsuite: do minor clean-up in gdb.cp/rvalue-ref-overload.exp
@ 2019-12-06  8:34 gdb-buildbot
  2019-12-06  8:33 ` Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, branch master gdb-buildbot
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gdb-buildbot @ 2019-12-06  8:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c7d12402bd6cdedc5f09c2a46285fbcb0f7f0557 ***

commit c7d12402bd6cdedc5f09c2a46285fbcb0f7f0557
Author:     Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
AuthorDate: Tue Nov 12 16:06:29 2019 +0100
Commit:     Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
CommitDate: Fri Dec 6 08:05:04 2019 +0100

    gdb/testsuite: do minor clean-up in gdb.cp/rvalue-ref-overload.exp
    
    Simplify the expected test outputs.  This is a minor cleanup; no
    functional change is intended.
    
    gdb/testsuite/ChangeLog:
    2019-12-06  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
    
            * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
    
    Change-Id: Ie760a2856cae3be0eeed5496765a5f1cd102d6b7

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index adbbd9c9d8..f7447dcb2b 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2019-12-06  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+	* gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
+
 2019-12-06  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
 
 	* gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
diff --git a/gdb/testsuite/gdb.cp/rvalue-ref-overload.exp b/gdb/testsuite/gdb.cp/rvalue-ref-overload.exp
index 693c7cad20..e92e90139a 100644
--- a/gdb/testsuite/gdb.cp/rvalue-ref-overload.exp
+++ b/gdb/testsuite/gdb.cp/rvalue-ref-overload.exp
@@ -53,20 +53,16 @@ cp_test_ptype_class "foo_rr_instance1" "" "class" "foo" \
 	{ method public "int overloadConst(const foo &&);" }
     }
 
-gdb_test "print foo_rr_instance1.overload1arg(arg)" \
-    "\\$\[0-9\]+ = 1" \
-    "print call overloaded func foo & arg"
+gdb_test "print foo_rr_instance1.overload1arg(arg)" "1"
 
-gdb_test "print foo_rr_instance1.overload1arg(static_cast<foo&&>(arg))" \
-    "\\$\[0-9\]+ = 2" \
-    "print call overloaded func foo && arg"
+gdb_test "print foo_rr_instance1.overload1arg(static_cast<foo&&>(arg))" "2"
 
 gdb_test "print foo_rr_instance1.overloadConst(arg)" "3"
 
 # Test lvalue vs rvalue function overloads
-gdb_test "print f (i)" "= 1" "lvalue reference overload"
+gdb_test "print f (i)" "1" "lvalue reference overload"
 
-gdb_test "print f (ci)" "= 2" "lvalue reference to const overload"
+gdb_test "print f (ci)" "2" "lvalue reference to const overload"
 
 setup_kfail "c++/15372" "*-*-*"
-gdb_test "print f (3)" "= 3" "rvalue reference overload"
+gdb_test "print f (3)" "3" "rvalue reference overload"


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-12-06 10:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-06  8:34 [binutils-gdb] gdb/testsuite: do minor clean-up in gdb.cp/rvalue-ref-overload.exp gdb-buildbot
2019-12-06  8:33 ` Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, branch master gdb-buildbot
2019-12-06  9:08 ` Failures on Ubuntu-Aarch64-native-gdbserver-m64, " gdb-buildbot
2019-12-06  9:09 ` Failures on Fedora-x86_64-m32, " gdb-buildbot
2019-12-06  9:31 ` Failures on Fedora-x86_64-cc-with-index, " gdb-buildbot
2019-12-06 10:05 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot
2019-12-06 10:15 ` Failures on Fedora-x86_64-native-gdbserver-m32, " gdb-buildbot
2019-12-06 18:21 ` Failures on Fedora-x86_64-native-gdbserver-m64, " gdb-buildbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).