summaryrefslogtreecommitdiff
path: root/BaseTools/Tests/TestTools.py
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Tests/TestTools.py')
-rw-r--r--BaseTools/Tests/TestTools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Tests/TestTools.py b/BaseTools/Tests/TestTools.py
index 545e1e3..042b72e 100644
--- a/BaseTools/Tests/TestTools.py
+++ b/BaseTools/Tests/TestTools.py
@@ -2,7 +2,7 @@ from __future__ import print_function
## @file
# Utility functions and classes for BaseTools unit tests
#
-# Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2008 - 2025, Intel Corporation. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
@@ -45,7 +45,7 @@ def MakeTheTestSuite(localItems):
def GetBaseToolsPaths():
if sys.platform in ('win32', 'win64'):
- return [ os.path.join(BaseToolsDir, 'Bin', sys.platform.title()) ]
+ return [ os.path.join(BaseToolsDir, 'Bin', x) for x in ('Win32', 'Win64') ]
else:
uname = os.popen('uname -sm').read().strip()
for char in (' ', '/'):