]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Tests/RunTests.py
Revert "BaseTools:code of test python module is moved to edksetup"
[mirror_edk2.git] / BaseTools / Tests / RunTests.py
index e8acf1b348b393641504af755d006d48d632d010..81af736cd8cf8c71af7e803b1db5d06fcd726b99 100644 (file)
 import os\r
 import sys\r
 import unittest\r
+\r
+try:\r
+    import distutils.util\r
+except ModuleNotFoundError:\r
+    sys.exit('''\r
+Python reported: "No module named 'distutils.util"\r
+''')\r
+\r
 import TestTools\r
 \r
 def GetCTestSuite():\r