autotest: freonize logging_CrashServices.
Only crash X when it is there.
BUG=chromium:413128
TEST=Ran locally on link_freon. Some expected complaints about
"freon: take_screenshot not implemented" but rest looks ok.
Change-Id: I649b4c9f01b3c1d8c3be6e4b303d11a1d9ba7a15
Reviewed-on: https://chromium-review.googlesource.com/223156
Commit-Queue: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Haixia Shi <hshi@chromium.org>
diff --git a/client/site_tests/logging_CrashServices/logging_CrashServices.py b/client/site_tests/logging_CrashServices/logging_CrashServices.py
index fe4296d..8dc00ec 100644
--- a/client/site_tests/logging_CrashServices/logging_CrashServices.py
+++ b/client/site_tests/logging_CrashServices/logging_CrashServices.py
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import os, os.path, time
+import os, os.path
from autotest_lib.client.bin import test, utils
from autotest_lib.client.common_lib import error
from autotest_lib.client.common_lib.cros import chrome
@@ -22,7 +22,6 @@
'/usr/bin/shill',
'/usr/sbin/update_engine',
'/usr/sbin/wpa_supplicant',
- '/usr/bin/X',
#this will log out, so it's last
'/sbin/session_manager'
]
@@ -72,6 +71,11 @@
return
with chrome.Chrome():
+ if not utils.is_freon():
+ process_path = '/usr/bin/X'
+ self.job.run_test("logging_CrashServices",
+ process_path=process_path,
+ tag=os.path.basename(process_path))
for process_path in self.process_list:
self.job.run_test("logging_CrashServices",
process_path=process_path,