aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/compiler/compiler_test.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-09-13 15:34:21 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-09-15 16:02:37 +0200
commit18e96021edb8f4de80626d7f50240964e37d570e (patch)
tree920bc3f7d064868bc4bfb21c8e6663bff1797c0d /pkg/compiler/compiler_test.go
parent4a7f7fab1ecf47d82fc2b403b57d3cf9b5836398 (diff)
sys: move linux descriptions to sys/linux
Diffstat (limited to 'pkg/compiler/compiler_test.go')
-rw-r--r--pkg/compiler/compiler_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/compiler/compiler_test.go b/pkg/compiler/compiler_test.go
index d6d139161..d82dd4775 100644
--- a/pkg/compiler/compiler_test.go
+++ b/pkg/compiler/compiler_test.go
@@ -15,11 +15,11 @@ func TestCompileAll(t *testing.T) {
eh := func(pos ast.Pos, msg string) {
t.Logf("%v: %v", pos, msg)
}
- desc := ast.ParseGlob(filepath.Join("..", "..", "sys", "*.txt"), eh)
+ desc := ast.ParseGlob(filepath.Join("..", "..", "sys", "linux", "*.txt"), eh)
if desc == nil {
t.Fatalf("parsing failed")
}
- glob := filepath.Join("..", "..", "sys", "*_"+runtime.GOARCH+".const")
+ glob := filepath.Join("..", "..", "sys", "linux", "*_"+runtime.GOARCH+".const")
consts := DeserializeConstsGlob(glob, eh)
if consts == nil {
t.Fatalf("reading consts failed")