Closed
Description
For example, I need to test the re-export issue (#1115). Steps are:
- compile a crate as library, which re-exports a function.
- call that re-exported function from another crate.
- verify compile-pass or run-pass, etc.
This requires executing rustc twice, and we don't have this kind of support in the test framework now.
I believe there are more places where combining rustc and shell commands is needed. Like verifying metadata dumped by "rustc --ls". Check rustc generated filenames.
And add missing tests when the infrastructure is ready.