[flang-commits] [flang] cbb7f14 - [flang][tests] Fix Python bug in the lit config

Andrzej Warzynski via flang-commits flang-commits at lists.llvm.org
Sat Oct 24 09:05:59 PDT 2020


Author: Andrzej Warzynski
Date: 2020-10-24T17:04:25+01:00
New Revision: cbb7f1420b747aae09a7f728c186bb0c2702eb02

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

LOG: [flang][tests] Fix Python bug in the lit config

Without this change LIT tests for Flang fail with:
```
TypeError: append() takes exactly one argument (2 given)
```

Added: 
    

Modified: 
    flang/test/lit.cfg.py

Removed: 
    


################################################################################
diff  --git a/flang/test/lit.cfg.py b/flang/test/lit.cfg.py
index 77b26711707c..6d33c21f4863 100644
--- a/flang/test/lit.cfg.py
+++ b/flang/test/lit.cfg.py
@@ -43,7 +43,8 @@
 if config.include_flang_new_driver_test:
   config.available_features.add('new-flang-driver')
 else:
-  config.excludes.append('Flang-Driver','Frontend')
+  config.excludes.append('Flang-Driver')
+  config.excludes.append('Frontend')
 
 # test_source_root: The root path where tests are located.
 config.test_source_root = os.path.dirname(__file__)


        


More information about the flang-commits mailing list