From e8d969244e41598769169d1a93f03996233ebb64 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 12 Apr 2015 17:40:10 +0200 Subject: [PATCH] Check for "buildbot" user in IsAutomaticTest(). The new buildbot setup runs the code under this user, so adjust the check for running under buildbot to detect it. --- tests/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.cpp b/tests/test.cpp index 96a64d0afd..f9afd65ad6 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -467,7 +467,7 @@ extern bool IsAutomaticTest() username = wxGetUserId(); username.MakeLower(); - s_isAutomatic = username.Matches("buildslave*") || + s_isAutomatic = username == "buildbot" || username.Matches("sandbox*"); }