[llvm] r272022 - [utils/lit] Show available_features with --show-suites.

Daniel Dunbar via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 7 09:22:24 PDT 2016


Author: ddunbar
Date: Tue Jun  7 11:22:24 2016
New Revision: 272022

URL: http://llvm.org/viewvc/llvm-project?rev=272022&view=rev
Log:
[utils/lit] Show available_features with --show-suites.

Modified:
    llvm/trunk/utils/lit/lit/main.py

Modified: llvm/trunk/utils/lit/lit/main.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/main.py?rev=272022&r1=272021&r2=272022&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/main.py (original)
+++ llvm/trunk/utils/lit/lit/main.py Tue Jun  7 11:22:24 2016
@@ -336,6 +336,9 @@ def main(builtinParameters = {}):
                 print('  %s - %d tests' %(ts.name, len(ts_tests)))
                 print('    Source Root: %s' % ts.source_root)
                 print('    Exec Root  : %s' % ts.exec_root)
+                if ts.config.available_features:
+                    print('    Available Features : %s' % ' '.join(
+                        sorted(ts.config.available_features)))
 
         # Show the tests, if requested.
         if opts.showTests:




More information about the llvm-commits mailing list