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 4803413d51
commit e8d969244e

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*");
}