aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/shared.h')
-rw-r--r--tests/auto/shared.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/shared.h b/tests/auto/shared.h
index 24bfc1e68..60bb3f64d 100644
--- a/tests/auto/shared.h
+++ b/tests/auto/shared.h
@@ -62,6 +62,10 @@ inline SettingsPtr settings()
inline QString profileName()
{
+ const QString suiteProfile = QLatin1String(
+ qgetenv("QBS_AUTOTEST_PROFILE_" QBS_TEST_SUITE_NAME));
+ if (!suiteProfile.isEmpty())
+ return suiteProfile;
const QString profile = QLatin1String(qgetenv("QBS_AUTOTEST_PROFILE"));
return !profile.isEmpty() ? profile : QLatin1String("none");
}