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:
parent
4803413d51
commit
e8d969244e
@ -467,7 +467,7 @@ extern bool IsAutomaticTest()
|
||||
username = wxGetUserId();
|
||||
|
||||
username.MakeLower();
|
||||
s_isAutomatic = username.Matches("buildslave*") ||
|
||||
s_isAutomatic = username == "buildbot" ||
|
||||
username.Matches("sandbox*");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user