mirror of https://gitlab.com/ita1024/waf.git
waf_unit_test: correct also demos/playgrounds with addition of ut_task change
This commit is contained in:
parent
ba9ddfbfcb
commit
04e586b28a
|
@ -78,7 +78,7 @@ def print_test_results(bld):
|
||||||
lst = getattr(bld, 'utest_results', [])
|
lst = getattr(bld, 'utest_results', [])
|
||||||
if not lst:
|
if not lst:
|
||||||
return
|
return
|
||||||
for (f, code, out, err) in lst:
|
for (f, code, out, err, ut_task) in lst:
|
||||||
print(out.decode('utf-8'))
|
print(out.decode('utf-8'))
|
||||||
print(err.decode('utf-8'))
|
print(err.decode('utf-8'))
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ def gtest_results(bld):
|
||||||
lst = getattr(bld, 'utest_results', [])
|
lst = getattr(bld, 'utest_results', [])
|
||||||
if not lst:
|
if not lst:
|
||||||
return
|
return
|
||||||
for (f, code, out, err) in lst:
|
for (f, code, out, err, ut_task) in lst:
|
||||||
# if not code:
|
# if not code:
|
||||||
# continue
|
# continue
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ def test_results(bld):
|
||||||
lst = getattr(bld, 'utest_results', [])
|
lst = getattr(bld, 'utest_results', [])
|
||||||
if not lst:
|
if not lst:
|
||||||
return
|
return
|
||||||
for (f, code, out, err) in lst:
|
for (f, code, out, err, ut_task) in lst:
|
||||||
print(out.decode('utf-8'))
|
print(out.decode('utf-8'))
|
||||||
print(err.decode('utf-8'))
|
print(err.decode('utf-8'))
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ def test_results(bld):
|
||||||
lst = getattr(bld, 'utest_results', [])
|
lst = getattr(bld, 'utest_results', [])
|
||||||
if not lst:
|
if not lst:
|
||||||
return
|
return
|
||||||
for (f, code, out, err) in lst:
|
for (f, code, out, err, ut_task) in lst:
|
||||||
print(out.decode('utf-8'))
|
print(out.decode('utf-8'))
|
||||||
print(err.decode('utf-8'))
|
print(err.decode('utf-8'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue