From df7c81b5b219c9aee776baa466dd64c9d318dd80 Mon Sep 17 00:00:00 2001 From: "Fan, ZhijuX" Date: Tue, 30 Apr 2019 10:16:01 +0800 Subject: 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 Cc: Liming Gao Signed-off-by: Zhiju.Fan Reviewed-by: Bob Feng --- BaseTools/Tests/RunTests.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'BaseTools/Tests') diff --git a/BaseTools/Tests/RunTests.py b/BaseTools/Tests/RunTests.py index 81af736cd8..e8acf1b348 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(): -- cgit v1.2.3