Set "Event Logging Enable" property for all tests
This re-enables event logging while the tests are running, allowing them
to work again.
BUG=b:184385681
TEST=Run one or more touchtests
Cq-Depend: chromium:2830216
Change-Id: I6a0a7c080ca3a297de26c7f4bb679cc1e36cf871
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/touchpad-tests/+/2842543
Tested-by: Harry Cutts <hcutts@chromium.org>
Auto-Submit: Harry Cutts <hcutts@chromium.org>
Reviewed-by: Sean O'Brien <seobrien@chromium.org>
Commit-Queue: Harry Cutts <hcutts@chromium.org>
diff --git a/framework/src/test_case.py b/framework/src/test_case.py
index 4d3eb47..da0d61a 100755
--- a/framework/src/test_case.py
+++ b/framework/src/test_case.py
@@ -227,7 +227,12 @@
self._LoadProperties()
def _LoadProperties(self):
- self.properties = { "gestures": {}, "validator": {}}
+ self.properties = {
+ # The "Event Logging Enable" property is required for the gestures library
+ # to produce the event logs used by these tests.
+ "gestures": { "Event Logging Enable" : True },
+ "validator": {},
+ }
self._LoadPropertiesFile(self._PlatformFile("platform.props"))
self._LoadPropertiesFile(self._CommonFile(".props"))
self._LoadPropertiesFile(self._TestCaseFile(".props"))