Write output from compilation database test to %T rather than the working dir.
Sometimes CWD isn't writable!
Also specify no-canonical-prefixes so that clang has 'clang' in the name.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Annoying. This test really shouldn't generate binary object files.
Can we check in this patch now to unblock stuff and then look into how to do a dry run with -MJ? Usually driver tests use -### for that but the code for -MJ explicitly disables itself when -### is found on the command line.
test/Driver/compilation_database.c | ||
---|---|---|
2 ↗ | (On Diff #80544) | You can hoist the cd %T to a separate RUN line at the top instead of duplicating it. |