mirror of
https://git.rtems.org/rtems-docs/
synced 2025-06-06 16:13:12 +08:00
waf: Fix ''NoneType' object is not iterable'
This commit is contained in:
parent
ee086511cf
commit
b6272bbd56
@ -126,10 +126,12 @@ def configure_tests(conf):
|
|||||||
bld(features = 'tex', type = 'pdflatex', source = 'main.tex', prompt = 0)
|
bld(features = 'tex', type = 'pdflatex', source = 'main.tex', prompt = 0)
|
||||||
|
|
||||||
tests = sorted(package_tests.keys())
|
tests = sorted(package_tests.keys())
|
||||||
excludes = [p[:p.rfind('.')] for p in local_packages()]
|
local_packs = local_packages()
|
||||||
for e in excludes:
|
if local_packs is not None:
|
||||||
if e in tests:
|
excludes = [p[:p.rfind('.')] for p in local_packs]
|
||||||
tests.remove(e)
|
for e in excludes:
|
||||||
|
if e in tests:
|
||||||
|
tests.remove(e)
|
||||||
|
|
||||||
fails = 0
|
fails = 0
|
||||||
for t in tests:
|
for t in tests:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user