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.
This commit is contained in:
Vadim Zeitlin
2015-04-12 17:40:10 +02:00
parent f99cd0b2e1
commit fc2eab62aa

View File

@@ -467,7 +467,7 @@ extern bool IsAutomaticTest()
username = wxGetUserId();
username.MakeLower();
s_isAutomatic = username.Matches("buildslave*") ||
s_isAutomatic = username == "buildbot" ||
username.Matches("sandbox*");
}