From c72a93599dc41edafe41798cb2493daabe2dce55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20L=C3=B6hning?= Date: Mon, 24 Oct 2022 13:47:50 +0200 Subject: [PATCH] Squish-Tests: Use QTC_DO_NOT_PROPAGATE_LD_PRELOAD This is a reaction to an change in Creator's handling of environment variables. Creator now passes on LD_PRELOAD set by Squish. This results in build errors and crashes of started applications. Change-Id: I39cf21c60a474d7453e9c29fd3eaf32d3f0d6806 Reviewed-by: Christian Stenger Reviewed-by: --- tests/system/suite_APTW/envvars | 1 + tests/system/suite_CCOM/envvars | 1 + tests/system/suite_CSUP/envvars | 1 + tests/system/suite_HELP/envvars | 1 + tests/system/suite_QMLS/envvars | 1 + tests/system/suite_SCOM/envvars | 1 + tests/system/suite_WELP/envvars | 1 + tests/system/suite_debugger/envvars | 1 + tests/system/suite_editors/envvars | 1 + tests/system/suite_general/envvars | 1 + tests/system/suite_qtquick/envvars | 1 + tests/system/suite_tools/envvars | 1 + 12 files changed, 12 insertions(+) diff --git a/tests/system/suite_APTW/envvars b/tests/system/suite_APTW/envvars index 00aad3eab7d..3b1d5839636 100644 --- a/tests/system/suite_APTW/envvars +++ b/tests/system/suite_APTW/envvars @@ -1 +1,2 @@ QT_PLATFORM_PLUGIN=nonesuch +QTC_DO_NOT_PROPAGATE_LD_PRELOAD=1 diff --git a/tests/system/suite_CCOM/envvars b/tests/system/suite_CCOM/envvars index 00aad3eab7d..3b1d5839636 100644 --- a/tests/system/suite_CCOM/envvars +++ b/tests/system/suite_CCOM/envvars @@ -1 +1,2 @@ QT_PLATFORM_PLUGIN=nonesuch +QTC_DO_NOT_PROPAGATE_LD_PRELOAD=1 diff --git a/tests/system/suite_CSUP/envvars b/tests/system/suite_CSUP/envvars index 00aad3eab7d..3b1d5839636 100644 --- a/tests/system/suite_CSUP/envvars +++ b/tests/system/suite_CSUP/envvars @@ -1 +1,2 @@ QT_PLATFORM_PLUGIN=nonesuch +QTC_DO_NOT_PROPAGATE_LD_PRELOAD=1 diff --git a/tests/system/suite_HELP/envvars b/tests/system/suite_HELP/envvars index 00aad3eab7d..3b1d5839636 100755 --- a/tests/system/suite_HELP/envvars +++ b/tests/system/suite_HELP/envvars @@ -1 +1,2 @@ QT_PLATFORM_PLUGIN=nonesuch +QTC_DO_NOT_PROPAGATE_LD_PRELOAD=1 diff --git a/tests/system/suite_QMLS/envvars b/tests/system/suite_QMLS/envvars index 00aad3eab7d..3b1d5839636 100644 --- a/tests/system/suite_QMLS/envvars +++ b/tests/system/suite_QMLS/envvars @@ -1 +1,2 @@ QT_PLATFORM_PLUGIN=nonesuch +QTC_DO_NOT_PROPAGATE_LD_PRELOAD=1 diff --git a/tests/system/suite_SCOM/envvars b/tests/system/suite_SCOM/envvars index 00aad3eab7d..3b1d5839636 100644 --- a/tests/system/suite_SCOM/envvars +++ b/tests/system/suite_SCOM/envvars @@ -1 +1,2 @@ QT_PLATFORM_PLUGIN=nonesuch +QTC_DO_NOT_PROPAGATE_LD_PRELOAD=1 diff --git a/tests/system/suite_WELP/envvars b/tests/system/suite_WELP/envvars index 00aad3eab7d..3b1d5839636 100644 --- a/tests/system/suite_WELP/envvars +++ b/tests/system/suite_WELP/envvars @@ -1 +1,2 @@ QT_PLATFORM_PLUGIN=nonesuch +QTC_DO_NOT_PROPAGATE_LD_PRELOAD=1 diff --git a/tests/system/suite_debugger/envvars b/tests/system/suite_debugger/envvars index 00aad3eab7d..3b1d5839636 100644 --- a/tests/system/suite_debugger/envvars +++ b/tests/system/suite_debugger/envvars @@ -1 +1,2 @@ QT_PLATFORM_PLUGIN=nonesuch +QTC_DO_NOT_PROPAGATE_LD_PRELOAD=1 diff --git a/tests/system/suite_editors/envvars b/tests/system/suite_editors/envvars index 00aad3eab7d..3b1d5839636 100644 --- a/tests/system/suite_editors/envvars +++ b/tests/system/suite_editors/envvars @@ -1 +1,2 @@ QT_PLATFORM_PLUGIN=nonesuch +QTC_DO_NOT_PROPAGATE_LD_PRELOAD=1 diff --git a/tests/system/suite_general/envvars b/tests/system/suite_general/envvars index 00aad3eab7d..3b1d5839636 100644 --- a/tests/system/suite_general/envvars +++ b/tests/system/suite_general/envvars @@ -1 +1,2 @@ QT_PLATFORM_PLUGIN=nonesuch +QTC_DO_NOT_PROPAGATE_LD_PRELOAD=1 diff --git a/tests/system/suite_qtquick/envvars b/tests/system/suite_qtquick/envvars index 00aad3eab7d..3b1d5839636 100644 --- a/tests/system/suite_qtquick/envvars +++ b/tests/system/suite_qtquick/envvars @@ -1 +1,2 @@ QT_PLATFORM_PLUGIN=nonesuch +QTC_DO_NOT_PROPAGATE_LD_PRELOAD=1 diff --git a/tests/system/suite_tools/envvars b/tests/system/suite_tools/envvars index 3a6c559a87d..1018e482444 100644 --- a/tests/system/suite_tools/envvars +++ b/tests/system/suite_tools/envvars @@ -1,2 +1,3 @@ QT_PLATFORM_PLUGIN=nonesuch +QTC_DO_NOT_PROPAGATE_LD_PRELOAD=1 LC_ALL=C