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:
Alessandro Arzilli 2018-01-24 20:42:35 +01:00 committed by Derek Parker
parent bec6a65b15
commit 550e7d384d
2 changed files with 2 additions and 2 deletions

@ -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)