summaryrefslogtreecommitdiffstats
path: root/tests/shared
diff options
context:
space:
mode:
authorTatiana Borisova <tatiana.borisova@qt.io>2021-09-06 10:11:06 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-09-21 09:17:47 +0000
commite86872b2f69ffa6b52796e56c93383479fe2cf18 (patch)
treec99d1933dc2381dde3a67496b6430bffca7f9d65 /tests/shared
parent5673fb1f9ff0e95b868d7eed48a9e531cd833d03 (diff)
Compile autotests for Integrity
- process environment/DNS are OFF for INTEGRITY Task-number: QTBUG-96176 Change-Id: I189a97f88c96a428586c31a66b8d250e04482900 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> (cherry picked from commit 766904bf5b776a6437ca974efbeb9e99ef13e084) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/shared')
-rw-r--r--tests/shared/localechange.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shared/localechange.h b/tests/shared/localechange.h
index 135909eea5..3790a108dc 100644
--- a/tests/shared/localechange.h
+++ b/tests/shared/localechange.h
@@ -52,7 +52,7 @@ namespace QTestLocaleChange {
const int m_category;
const QByteArray m_prior;
const bool m_didSet;
-#if !defined(QT_NO_SYSTEMLOCALE) && defined(Q_OS_UNIX) \
+#if !defined(QT_NO_SYSTEMLOCALE) && defined(Q_OS_UNIX) && !defined(Q_OS_INTEGRITY) \
&& (!defined(Q_OS_DARWIN) || defined(Q_OS_NACL))
#define TRANSIENT_ENV
// Unix system locale consults environment variables, so we need to set