Page MenuHomePhabricator

[test] Port clang tests to canonicalized booleans

Authored by mgorny on Jan 10 2017, 12:46 PM.



Use the new llvm_canonicalize_cmake_booleans() function to canonicalize
booleans for lit tests. Replace the duplicate ENABLE_CLANG* variables
used to hold canonicalized values with in-place canonicalization. Use
implicit logic in Python code to avoid overrelying on exact 0/1 values.

Diff Detail


Event Timeline

mgorny updated this revision to Diff 83852.Jan 10 2017, 12:46 PM
mgorny retitled this revision from to [test] Port clang tests to canonicalized booleans .
mgorny updated this object.
mgorny added a reviewer: beanz.
mgorny added a subscriber: cfe-commits.
This revision is now accepted and ready to land.Jan 24 2017, 11:28 PM
This revision was automatically updated to reflect the committed changes.