diff options
author | Fan, ZhijuX <zhijux.fan@intel.com> | 2019-04-30 10:16:01 +0800 |
---|---|---|
committer | Feng, Bob C <bob.c.feng@intel.com> | 2019-05-08 09:41:43 +0800 |
commit | df7c81b5b219c9aee776baa466dd64c9d318dd80 (patch) | |
tree | 990a9baf572aca1e138cd5bdbeeafe4be31f4e0e /BaseTools/Tests | |
parent | 26e2b295ec7a8d9866b8b4d2086fd5aa1aa1dc09 (diff) | |
download | edk2-df7c81b5b219c9aee776baa466dd64c9d318dd80.zip edk2-df7c81b5b219c9aee776baa466dd64c9d318dd80.tar.gz edk2-df7c81b5b219c9aee776baa466dd64c9d318dd80.tar.bz2 |
BaseTools:The code used to test python module is moved to edksetup
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1582
testing for presence of python modules should be done in edksetup
to reduce impact on subsequent build times.
This code currently exists in BaseTools/Tests/RunTest.py.
This patch is going to fix this issue.
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools/Tests')
-rw-r--r-- | BaseTools/Tests/RunTests.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/BaseTools/Tests/RunTests.py b/BaseTools/Tests/RunTests.py index 81af736..e8acf1b 100644 --- a/BaseTools/Tests/RunTests.py +++ b/BaseTools/Tests/RunTests.py @@ -12,14 +12,6 @@ import os
import sys
import unittest
-
-try:
- import distutils.util
-except ModuleNotFoundError:
- sys.exit('''
-Python reported: "No module named 'distutils.util"
-''')
-
import TestTools
def GetCTestSuite():
|