public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Run gdb.base/sizeof.exp with board having gdb, noinferiorio
@ 2015-12-03 17:23 sergiodj+buildbot
  2015-12-03 17:23 ` Failures on Debian-s390x-native-gdbserver-m64, branch master sergiodj+buildbot
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: sergiodj+buildbot @ 2015-12-03 17:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 41d0efca578f03db2787246a4e0c7bf9b085007c ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 41d0efca578f03db2787246a4e0c7bf9b085007c

Run gdb.base/sizeof.exp with board having gdb,noinferiorio

In my remote cross testing (x86_64 host and aarch64 target), the test
gdb.base/sizeof.exp is skipped because gdb,noinferiorio is defined in
my gdbserver board file.  Tests are skipped because the test checks
the expected value from the program's output, but I don't see why must
do it this way.  With my patch applied, we can save the result in variable
in the program, and check the variable then.  Then, the test doesn't rely
on inferiorio.

gdb/testsuite:

2015-12-03  Yao Qi  <yao.qi@linaro.org>

	* gdb.base/sizeof.c: Don't include stdio.h and
	../lib/unbuffer_output.c.
	(main): New variable 'size' and 'value'.  Remove printf and
	gdb_unbuffer_output.  Assign return value to size and value.
	* gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
	at the beginning.
	(check_sizeof): Check the result by printing variable 'size'.
	(check_valueof): Check the result by printing variable 'value'.


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

end of thread, other threads:[~2015-12-11  5:58 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-03 17:23 [binutils-gdb] Run gdb.base/sizeof.exp with board having gdb, noinferiorio sergiodj+buildbot
2015-12-03 17:23 ` Failures on Debian-s390x-native-gdbserver-m64, branch master sergiodj+buildbot
2015-12-03 17:26 ` Failures on RHEL-s390x-m64, " sergiodj+buildbot
2015-12-03 17:28 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
2015-12-03 17:28 ` Failures on Fedora-i686, " sergiodj+buildbot
2015-12-03 17:35 ` Failures on Fedora-x86_64-m32, " sergiodj+buildbot
2015-12-03 17:41 ` Failures on Debian-i686, " sergiodj+buildbot
2015-12-03 17:42 ` Failures on Debian-s390x-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-12-03 17:43 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-12-03 17:44 ` Failures on Fedora-x86_64-native-gdbserver-m32, " sergiodj+buildbot
2015-12-03 17:46 ` Failures on AIX-POWER7-plain, " sergiodj+buildbot
2015-12-03 17:50 ` Failures on Debian-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-12-03 17:54 ` Failures on Fedora-s390x-m64, " sergiodj+buildbot
2015-12-03 18:19 ` Failures on Debian-i686-native-gdbserver, " sergiodj+buildbot
2015-12-03 19:14 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot
2015-12-10  2:06 ` Failures on Fedora-ppc64be-m64, " sergiodj+buildbot
2015-12-10  2:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-12-11  5:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-12-11  5:42 ` Failures on Fedora-ppc64le-cc-with-index, " sergiodj+buildbot
2015-12-11  5:59 ` Failures on Fedora-ppc64le-m64, " sergiodj+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).