core_test: fix TestCoreFpRegisters on go1.9 (#1082)
* core_test: fix TestCoreFpRegisters on go1.9 It was broken by 7bec20e5fca48552b004fc8776dd9e6502a11706 * travis-ci: switch to VM builders for linux
This commit is contained in:
parent
bec6a65b15
commit
550e7d384d
@ -1,5 +1,5 @@
|
||||
language: go
|
||||
sudo: false
|
||||
sudo: required
|
||||
|
||||
os:
|
||||
- linux
|
||||
|
||||
@ -243,7 +243,7 @@ func TestCoreFpRegisters(t *testing.T) {
|
||||
if frames[i].Current.Fn == nil {
|
||||
continue
|
||||
}
|
||||
if frames[i].Current.Fn.Name == "runtime.crash" {
|
||||
if frames[i].Current.Fn.Name == "main.main" {
|
||||
regs, err = thread.Registers(true)
|
||||
if err != nil {
|
||||
t.Fatalf("Could not get registers for thread %x, %v", thread.ThreadID(), err)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user