Commit faccaa3
Fix test_build_inplace: update missing-output error regex
Summary:
The error reported when a genrule declares an output (e.g. `out = "out.txt"`) but its `cmd` does not produce it has changed: buck2 now surfaces it at the artifact-projection layer as `The path \`out.txt\` does not exist in the artifact ...` (`ProjectedArtifactError::MissingInProjectedArtifact`) rather than the old RE-level `frecli`/`OUTMISS` message.
`test_missing_outputs_error` still asserted the old wording for both the `--remote-only` and local builds, so it was failing (and is currently disabled in CI). This updates both `stderr_regex` patterns to also accept the current message.
Note: the new projection-layer error no longer surfaces the failed action's stdout/stderr (`HELLO_STDOUT`/`HELLO_STDERR`), so the local sub-check no longer verifies that. Restoring that output is a deeper buck2/genrule change and is left as a follow-up.
___
Differential Revision: D108286293
fbshipit-source-id: a82a590c095f86aff5bf44f077e29d695df46b4a1 parent 8375563 commit faccaa3
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
0 commit comments