From da4e34b86c37f77dc7027fbc1fd599d319b69bd0 Mon Sep 17 00:00:00 2001 From: "ericroman@google.com" Date: Tue, 25 Nov 2008 23:04:27 +0000 Subject: Print a warning when running layout tests with incorrect theme. Review URL: http://codereview.chromium.org/12631 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6005 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/tools/test_shell/mac/main.mm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'webkit/tools/test_shell/mac') diff --git a/webkit/tools/test_shell/mac/main.mm b/webkit/tools/test_shell/mac/main.mm index 9dd39be..b3ccff5 100644 --- a/webkit/tools/test_shell/mac/main.mm +++ b/webkit/tools/test_shell/mac/main.mm @@ -114,6 +114,11 @@ int main(const int argc, const char *argv[]) { CommandLine::SetArgcArgv(argc, argv); CommandLine parsed_command_line(argc, argv); + if (parsed_command_line.HasSwitch(test_shell::kCheckLayoutTestSystemDeps)) { + // Always succeed the deps check, currently just used by windows port. + exit(0); + } + if (parsed_command_line.HasSwitch(test_shell::kStartupDialog)) { //TODO: add alert to allow attaching via gdb before things really get going } -- cgit v1.1