public inbox for gdb-testers@sourceware.org help / color / mirror / Atom feed
From: sergiodj+buildbot@sergiodj.net To: gdb-testers@sourceware.org Subject: [binutils-gdb] Add counter-cases for trace-condition.exp tests Date: Mon, 30 May 2016 17:04:00 -0000 [thread overview] Message-ID: <7faeb45ae36426b827c49457cf7186d73756cccc@gdb-build> (raw) *** TEST RESULTS FOR COMMIT 7faeb45ae36426b827c49457cf7186d73756cccc *** Author: Antoine Tremblay <antoine.tremblay@ericsson.com> Branch: master Commit: 7faeb45ae36426b827c49457cf7186d73756cccc Add counter-cases for trace-condition.exp tests In trace-condition.exp, tests are done by doing a conditional tracepoint and validating that the trace contains all the frames that could be collected if that condition is true. E.g. test_tracepoints $trace_command "21 + 21 == 42" 10 This will always return true and collect the 10 frames possible to collect with the test program. However, if the condition evaluation is broken such that the condition is unconditional we will not notice this problem. This patch adds counter-cases to such conditions like so: $trace_command "21 + 11 == 42" 0 This way such a problem would be noticed. gdb/testsuite/ChangeLog: * gdb.trace/trace-condition.exp: Add counter-case tests.
next reply other threads:[~2016-05-30 17:04 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-05-30 17:04 sergiodj+buildbot [this message] 2016-05-30 17:09 ` *** COMPILATION FAILED *** Failures on AIX-POWER7-plain, branch master *** BREAKAGE *** sergiodj+buildbot 2016-05-30 17:11 ` Failures on Fedora-ppc64be-cc-with-index, branch master sergiodj+buildbot 2016-05-30 17:13 ` Failures on Fedora-x86_64-native-gdbserver-m64, " sergiodj+buildbot 2016-05-30 17:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot 2016-05-30 17:26 ` Failures on Fedora-x86_64-native-gdbserver-m32, " sergiodj+buildbot 2016-05-30 17:27 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot 2016-05-30 17:28 ` Failures on Debian-x86_64-m64, " sergiodj+buildbot 2016-05-30 17:30 ` Failures on Fedora-ppc64le-cc-with-index, " sergiodj+buildbot 2016-05-30 17:39 ` Failures on Fedora-ppc64be-m64, " sergiodj+buildbot 2016-05-30 17:45 ` Failures on Fedora-ppc64le-native-gdbserver-m64, " sergiodj+buildbot 2016-05-30 17:54 ` Failures on Fedora-i686, " sergiodj+buildbot 2016-05-30 17:54 ` Failures on Debian-i686, " sergiodj+buildbot 2016-05-30 17:54 ` Failures on Fedora-ppc64le-m64, " sergiodj+buildbot 2016-05-30 17:55 ` Failures on Debian-s390x-native-extended-gdbserver-m64, " sergiodj+buildbot 2016-05-30 18:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot 2016-05-30 18:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot 2016-05-30 18:54 ` Failures on Fedora-s390x-m64, " sergiodj+buildbot
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=7faeb45ae36426b827c49457cf7186d73756cccc@gdb-build \ --to=sergiodj+buildbot@sergiodj.net \ --cc=gdb-testers@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).