Adjust self tests to cope with GDB built as a C++ program
authorPedro Alves <palves@redhat.com>
Wed, 22 Oct 2014 14:14:41 +0000 (15:14 +0100)
committerPedro Alves <palves@redhat.com>
Fri, 27 Feb 2015 17:41:44 +0000 (17:41 +0000)
commita37bfa30016370992c59105fb4fd97cd3a264149
treec6eeac4d85918851c999b94773e20753e3cab7c6
parente992c591afd3e4f047ecad5afa49bdbde6c33eac
Adjust self tests to cope with GDB built as a C++ program

gdb/testsuite/
2015-02-27  Pedro Alves  <palves@redhat.com>

* gdb.gdb/complaints.exp (test_initial_complaints): Also accept
"true" for boolean result.
* gdb.gdb/selftest.exp (test_with_self): Also accept full
prototype of main.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.gdb/complaints.exp
gdb/testsuite/gdb.gdb/selftest.exp