]> git.saurik.com Git - wxWidgets.git/commitdiff
Recognize "sandbox" user as indicating automatic testing.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 May 2013 19:19:43 +0000 (19:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 May 2013 19:19:43 +0000 (19:19 +0000)
The buildbot slaves actually use "sandbox" as the user name, not "buildbot",
so test for the former instead for the latter, see r73963.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/test.cpp

index 6b05835137472d923130d49f7300c513fbed0a0c..cdb57c535ad55c5278c513bbc71d3ef7ff406594 100644 (file)
@@ -425,7 +425,7 @@ extern bool IsAutomaticTest()
 
         username.MakeLower();
         s_isAutomatic = username.Matches("buildslave*") ||
-                            username.Matches("buildbot*");
+                            username.Matches("sandbox*");
     }
 
     return s_isAutomatic == 1;