projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66abe65
)
[flang][tests] Fix Python bug in the lit config
author
Andrzej Warzynski
<andrzej.warzynski@arm.com>
Sat, 24 Oct 2020 16:04:25 +0000
(17:04 +0100)
committer
Andrzej Warzynski
<andrzej.warzynski@arm.com>
Sat, 24 Oct 2020 16:04:25 +0000
(17:04 +0100)
Without this change LIT tests for Flang fail with:
```
TypeError: append() takes exactly one argument (2 given)
```
flang/test/lit.cfg.py
patch
|
blob
|
history
diff --git
a/flang/test/lit.cfg.py
b/flang/test/lit.cfg.py
index
77b2671
..
6d33c21
100644
(file)
--- a/
flang/test/lit.cfg.py
+++ b/
flang/test/lit.cfg.py
@@
-43,7
+43,8
@@
config.excludes = ['Inputs', 'CMakeLists.txt', 'README.txt', 'LICENSE.txt']
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__)