|
32 | 32 |
|
33 | 33 | # flags should work with preset queries
|
34 | 34 | run aspect query --output location foo //foo
|
35 |
| - assert_output --partial "aspect_silo/foo/BUILD:1:8: genrule rule //foo:foo" |
| 35 | + assert_output --partial "foo/BUILD:1:8: genrule rule //foo:foo" |
36 | 36 | run aspect query --output=location foo //foo
|
37 |
| - assert_output --partial "aspect_silo/foo/BUILD:1:8: genrule rule //foo:foo" |
| 37 | + assert_output --partial "foo/BUILD:1:8: genrule rule //foo:foo" |
38 | 38 | run aspect query foo //foo --output location
|
39 |
| - assert_output --partial "aspect_silo/foo/BUILD:1:8: genrule rule //foo:foo" |
| 39 | + assert_output --partial "foo/BUILD:1:8: genrule rule //foo:foo" |
40 | 40 | run aspect query foo //foo --output=location
|
41 |
| - assert_output --partial "aspect_silo/foo/BUILD:1:8: genrule rule //foo:foo" |
| 41 | + assert_output --partial "foo/BUILD:1:8: genrule rule //foo:foo" |
42 | 42 | }
|
43 | 43 |
|
44 | 44 | @test 'passthrough query' {
|
|
55 | 55 |
|
56 | 56 | # flags should work with passthrough queries
|
57 | 57 | run aspect query --output location 'deps(//bar)'
|
58 |
| - assert_output --partial "aspect_silo/bar/BUILD:1:8: genrule rule //bar:bar" |
| 58 | + assert_output --partial "bar/BUILD:1:8: genrule rule //bar:bar" |
59 | 59 | run aspect query --output=location 'deps(//bar)'
|
60 |
| - assert_output --partial "aspect_silo/bar/BUILD:1:8: genrule rule //bar:bar" |
| 60 | + assert_output --partial "bar/BUILD:1:8: genrule rule //bar:bar" |
61 | 61 | run aspect query 'deps(//bar)' --output location
|
62 |
| - assert_output --partial "aspect_silo/bar/BUILD:1:8: genrule rule //bar:bar" |
| 62 | + assert_output --partial "bar/BUILD:1:8: genrule rule //bar:bar" |
63 | 63 | run aspect query 'deps(//bar)' --output=location
|
64 |
| - assert_output --partial "aspect_silo/bar/BUILD:1:8: genrule rule //bar:bar" |
| 64 | + assert_output --partial "bar/BUILD:1:8: genrule rule //bar:bar" |
65 | 65 | }
|
66 | 66 |
|
67 | 67 | @test 'passthrough cquery' {
|
|
0 commit comments