]> Cypherpunks repositories - gostls13.git/commit
runtime: only check the existence of variables in gdb info locals test
authorMartin Möhrmann <moehrmann@google.com>
Thu, 1 Nov 2018 10:20:11 +0000 (11:20 +0100)
committerMartin Möhrmann <martisch@uos.de>
Fri, 2 Nov 2018 00:52:46 +0000 (00:52 +0000)
commit914a25c0eb8aacdbb5cddd3e7d5e6ee7b019f88f
treec6f1b3f289af88b17c72922a2f4e890ad8a46ba8
parent484fc06849fa54d168af1d513c37d1b22bf38e7c
runtime: only check the existence of variables in gdb info locals test

As discussed in golang.org/cl/28499:
Only test that all expected variables are listed in 'info locals' since
different versions of gdb print variables in different order and with
differing amount of information and formats.

Fixes #28499

Change-Id: I76627351170b5fdf2bf8cbf143e54f628b45dc4e
Reviewed-on: https://go-review.googlesource.com/c/146598
Reviewed-by: Heschi Kreinick <heschi@google.com>
src/runtime/runtime-gdb_test.go