compiletest: the aux-crate
directive can't deal with more complex paths it seems
#123766
Labels
A-compiletest
Area: The compiletest test runner
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-bug
Category: This is a bug.
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I've chatted with @jieyouxu and we've come to the conclusion that it's worthwhile to track
compiletest
issues even though we plan on fully migrating toui_test
eventually since that might still take a while.While
//@ aux-build:../helper.rs
1 works as one would expect (compiletest
finds./auxiliary/../helper.rs
aka./helper.rs
),//@ aux-crate:helper=../helper.rs
does not. It leads to the followingrustc
error:Reproducer:
tests/ui/helper.rs
: empty.tests/ui/dummy.rs
:Footnotes
Indeed, this pattern is used inside
tests/ui/
! ↩The text was updated successfully, but these errors were encountered: