summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/mac
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-25 23:04:27 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-25 23:04:27 +0000
commitda4e34b86c37f77dc7027fbc1fd599d319b69bd0 (patch)
tree766bfa4861fc2f6b97701f32849c85dad16313ee /webkit/tools/test_shell/mac
parent95ab1553ce02175cf23278d80b8440b27740159c (diff)
downloadchromium_src-da4e34b86c37f77dc7027fbc1fd599d319b69bd0.zip
chromium_src-da4e34b86c37f77dc7027fbc1fd599d319b69bd0.tar.gz
chromium_src-da4e34b86c37f77dc7027fbc1fd599d319b69bd0.tar.bz2
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
Diffstat (limited to 'webkit/tools/test_shell/mac')
-rw-r--r--webkit/tools/test_shell/mac/main.mm5
1 files changed, 5 insertions, 0 deletions
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
}