Skip to content

Commit f352115

Browse files
committed
Auto merge of #5540 - ehuss:fix-build-plan-tests, r=alexcrichton
Fix tests when CARGO_TARGET_DIR is set. Fixes #5536
2 parents cafc37f + 7318014 commit f352115

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/testsuite/build_plan.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fn cargo_build_plan_simple() {
2323
"invocations": [
2424
{
2525
"args": "{...}",
26-
"cwd": "[..][/]target[/]cit[/][..][/]foo",
26+
"cwd": "[..][/]cit[/][..][/]foo",
2727
"deps": [],
2828
"env": "{...}",
2929
"kind": "Host",
@@ -93,7 +93,7 @@ fn cargo_build_plan_single_dep() {
9393
"invocations": [
9494
{
9595
"args": "{...}",
96-
"cwd": "[..][/]target[/]cit[/][..][/]foo",
96+
"cwd": "[..][/]cit[/][..][/]foo",
9797
"deps": [],
9898
"env": "{...}",
9999
"kind": "Host",
@@ -108,7 +108,7 @@ fn cargo_build_plan_single_dep() {
108108
},
109109
{
110110
"args": "{...}",
111-
"cwd": "[..][/]target[/]cit[/][..][/]foo",
111+
"cwd": "[..][/]cit[/][..][/]foo",
112112
"deps": [0],
113113
"env": "{...}",
114114
"kind": "Host",
@@ -160,7 +160,7 @@ fn cargo_build_plan_build_script() {
160160
"invocations": [
161161
{
162162
"args": "{...}",
163-
"cwd": "[..][/]target[/]cit[/][..][/]foo",
163+
"cwd": "[..][/]cit[/][..][/]foo",
164164
"deps": [],
165165
"env": "{...}",
166166
"kind": "Host",
@@ -175,7 +175,7 @@ fn cargo_build_plan_build_script() {
175175
},
176176
{
177177
"args": "{...}",
178-
"cwd": "[..][/]target[/]cit[/][..][/]foo",
178+
"cwd": "[..][/]cit[/][..][/]foo",
179179
"deps": [0],
180180
"env": "{...}",
181181
"kind": "Host",
@@ -188,7 +188,7 @@ fn cargo_build_plan_build_script() {
188188
},
189189
{
190190
"args": "{...}",
191-
"cwd": "[..][/]target[/]cit[/][..][/]foo",
191+
"cwd": "[..][/]cit[/][..][/]foo",
192192
"deps": [1],
193193
"env": "{...}",
194194
"kind": "Host",

0 commit comments

Comments
 (0)