[libcxx-commits] [libcxx] 9ae23bd - [libc++] NFC: Print Lit available features in sorted order

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon May 4 07:12:19 PDT 2020


Author: Louis Dionne
Date: 2020-05-04T10:12:07-04:00
New Revision: 9ae23bd0a3fc48457b4934594b8795762a3b80a5

URL: https://github.com/llvm/llvm-project/commit/9ae23bd0a3fc48457b4934594b8795762a3b80a5
DIFF: https://github.com/llvm/llvm-project/commit/9ae23bd0a3fc48457b4934594b8795762a3b80a5.diff

LOG: [libc++] NFC: Print Lit available features in sorted order

This makes it easier to diff them between bot runs.

Added: 
    

Modified: 
    libcxx/utils/libcxx/test/config.py

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py
index fe6251132309..5713c5ebba5d 100644
--- a/libcxx/utils/libcxx/test/config.py
+++ b/libcxx/utils/libcxx/test/config.py
@@ -164,7 +164,7 @@ def print_config_info(self):
         self.lit_config.note('Using link flags: %s' % self.cxx.link_flags)
         # Print as list to prevent "set([...])" from being printed.
         self.lit_config.note('Using available_features: %s' %
-                             list(self.config.available_features))
+                             list(sorted(self.config.available_features)))
         show_env_vars = {}
         for k,v in self.exec_env.items():
             if k not in os.environ or os.environ[k] != v:


        


More information about the libcxx-commits mailing list