mirror of
https://github.com/go-delve/delve.git
synced 2025-10-30 18:27:37 +08:00
dwarf/line: enable TestGrafana on Windows (#3289)
This commit is contained in:
@ -10,7 +10,6 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"runtime"
|
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
pdwarf "github.com/go-delve/delve/pkg/dwarf"
|
pdwarf "github.com/go-delve/delve/pkg/dwarf"
|
||||||
@ -36,9 +35,6 @@ func TestGrafana(t *testing.T) {
|
|||||||
// of grafana to the output generated using debug/dwarf.LineReader on the
|
// of grafana to the output generated using debug/dwarf.LineReader on the
|
||||||
// same section.
|
// same section.
|
||||||
|
|
||||||
if runtime.GOOS == "windows" {
|
|
||||||
t.Skip("filepath.Join ruins this test on windows")
|
|
||||||
}
|
|
||||||
debugBytes, err := slurpGzip("_testdata/debug.grafana.debug.gz")
|
debugBytes, err := slurpGzip("_testdata/debug.grafana.debug.gz")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
|
|||||||
Reference in New Issue
Block a user