audk/BaseTools/Tests
Ard Biesheuvel acb2acccfd BaseTools/Tests: Use quotes around PYTHON_COMMAND
Commit ("2355f0c09c52 BaseTools: Fix check for ${PYTHON_COMMAND} in
Tests/GNUmakefile") fixed a latent issue in the BaseTools/Tests
Makefile, but inadvertently broke the BaseTools build for cases where
PYTHON_COMMAND is not set. As it turns out, running 'command' without a
command argument makes the invocation succeed, causing the empty
variable to be evaluated and called later.

Let's put double quotes around PYTHON_COMMAND in the invocation of
'command' and force it to fail when PYTHON_COMMAND is not set.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
2022-10-24 13:04:40 +00:00
..
CToolsTests.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
CheckPythonSyntax.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
CheckUnicodeSourceFiles.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
GNUmakefile BaseTools/Tests: Use quotes around PYTHON_COMMAND 2022-10-24 13:04:40 +00:00
PythonTest.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
PythonToolsTests.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
RunTests.py BaseTools: Drop check for distutils.utils 2021-08-02 03:09:59 +00:00
TestRegularExpression.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
TestTools.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
TianoCompress.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00