From f56542b39a9e356477f4a926ff7e39c0572bba68 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Tue, 19 Mar 2024 09:47:44 +0100 Subject: [PATCH] Tests: Fix environment for test run Change-Id: I32e491d06d9041b8ba6ad24badd6aa383ba1d163 Reviewed-by: hjk --- tests/manual/shootout/tst_codesize.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/manual/shootout/tst_codesize.cpp b/tests/manual/shootout/tst_codesize.cpp index 49d24e48d6e..727fea73a5b 100644 --- a/tests/manual/shootout/tst_codesize.cpp +++ b/tests/manual/shootout/tst_codesize.cpp @@ -100,6 +100,8 @@ private: void tst_CodeSize::initTestCase() { + m_env = QProcessEnvironment::systemEnvironment(); + m_qmakeBinary = qgetenv("QTC_QMAKE_PATH_FOR_TEST"); if (m_qmakeBinary.isEmpty()) m_qmakeBinary = "qmake";