BaseTools: update Test scripts support python3
update Test scripts support python2 and python3 Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
This commit is contained in:
@ -26,7 +26,7 @@ modules = (
|
||||
|
||||
|
||||
def TheTestSuite():
|
||||
suites = map(lambda module: module.TheTestSuite(), modules)
|
||||
suites = list(map(lambda module: module.TheTestSuite(), modules))
|
||||
return unittest.TestSuite(suites)
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Reference in New Issue
Block a user