aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/ChangeLog
diff options
context:
space:
mode:
authorSergio Durigan Junior <sergiodj@redhat.com>2017-03-31 13:24:36 -0400
committerSergio Durigan Junior <sergiodj@redhat.com>2017-04-28 20:29:20 -0400
commit45ce1b47e4490993b5c1a04f4a8acb62d9ec5039 (patch)
tree6e5b17242751395075b522d12c1681cf875ceaef /gdb/testsuite/ChangeLog
parenta93866c8bfd4ad4b32c81e73e6a73aa9d831d350 (diff)
downloadgdb-45ce1b47e4490993b5c1a04f4a8acb62d9ec5039.zip
gdb-45ce1b47e4490993b5c1a04f4a8acb62d9ec5039.tar.gz
gdb-45ce1b47e4490993b5c1a04f4a8acb62d9ec5039.tar.bz2
Make environ.exp run on all platforms (and create info-program.exp)
This has been on my TODO list for a while. There's a really old bug about this (PR testsuite/8595), and there was no reason for environ.exp to be specific for hppa* targets. So this patch removes this constraint, modernizes the testcase, and cleans up some things. Most of the tests remained, and some were rewritten (especially the one that checks if "show environment" works, which is something kind of hard to do). As a bonus, I'm adding a separated info-program.exp file containing all the tests related to "info program" that were present on environ.exp. Tested locally, everything still passes. gdb/testsuite/ChangeLog: 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com> PR testsuite/8595 * gdb.base/environ.exp: Make test available in all architectures. Move bits related to "info program" testing to gdb.base/info-program.exp. Rewrite tests to use the two new procedures mentione below. (test_set_show_env_var) New procedure. (test_set_show_env_var_equal): Likewise. * gdb.base/info-program.exp: New file.
Diffstat (limited to 'gdb/testsuite/ChangeLog')
-rw-r--r--gdb/testsuite/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index a835a40..2f24d47 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,14 @@
+2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ PR testsuite/8595
+ * gdb.base/environ.exp: Make test available in all architectures.
+ Move bits related to "info program" testing to
+ gdb.base/info-program.exp. Rewrite tests to use the two new
+ procedures mentione below.
+ (test_set_show_env_var) New procedure.
+ (test_set_show_env_var_equal): Likewise.
+ * gdb.base/info-program.exp: New file.
+
2017-04-27 Keith Seitz <keiths@redhat.com>
* gdb.cp/oranking.cc (test15): New function.