This is an archive of the discontinued LLVM Phabricator instance.

[clang][test] Update -fc++-abi tests
ClosedPublic

Authored by leonardchan on May 4 2021, 3:38 PM.

Details

Summary

This attempts to move driver tests out of Frontend and to Driver, separates RUNs that should fail from RUNs that should succeed, and prevent creating output files or dumping output.

Diff Detail

Event Timeline

leonardchan created this revision.May 4 2021, 3:38 PM
leonardchan requested review of this revision.May 4 2021, 3:38 PM

Couple cleanups, but should be better now. Thanks!

-eric

clang/test/Driver/cxx-abi-flag.cpp
4

This is typically done via 2>&1 rather than |&.

clang/test/Frontend/valid-cxx-abi.cpp
3

I'd add a -S -o - to each of these command lines.

leonardchan edited the summary of this revision. (Show Details)May 4 2021, 3:42 PM
leonardchan marked 2 inline comments as done.

Forgot the pipe in cxx-abi-flag.cpp

echristo accepted this revision.May 4 2021, 3:51 PM
This revision is now accepted and ready to land.May 4 2021, 3:51 PM
This revision was landed with ongoing or failed builds.May 4 2021, 3:53 PM
This revision was automatically updated to reflect the committed changes.