chromiumos/platform/touchpad-tests.git
15 months agotests/falco-2.0/{false_scrolling,simple_move} tests 96/64296/2 master
Andrew de los Reyes [Fri, 2 Aug 2013 00:57:31 +0000 (17:57 -0700)]
tests/falco-2.0/{false_scrolling,simple_move} tests

These tests illustrate problems we've seen on Falco: we make sure that
jumpy scrolls don't cause scroll but also make sure that simple
tracking that has no noise doesn't get shortened.

BUG=chrome-os-partner:21386
TEST=These are the tests

Change-Id: I1cc2d6e8c4568173e3356dd6f9cb8d1b3cbf301f
Reviewed-on: https://gerrit.chromium.org/gerrit/64296
Reviewed-by: Benson Leung <bleung@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>

16 months agoAdd pointer to xorg conf file for peppy 02/64902/3 release-R30-4537.B
Tai-Hsu Lin [Wed, 7 Aug 2013 09:17:45 +0000 (17:17 +0800)]
Add pointer to xorg conf file for peppy

BUG=chromium:268653
TEST=Successfully create touchtests for peppy

Change-Id: Ia8c495a7edc75c68b63c0e9468ec1b147a237c45
Reviewed-on: https://gerrit.chromium.org/gerrit/64902
Reviewed-by: Tai-Hsu Lin <sheckylin@chromium.org>
Tested-by: Tai-Hsu Lin <sheckylin@chromium.org>
Commit-Queue: Tai-Hsu Lin <sheckylin@chromium.org>

16 months agoTest fixes and new tests of scroll performance 83/60483/3 stabilize-4512.B
Andrew de los Reyes [Wed, 5 Jun 2013 15:50:31 +0000 (08:50 -0700)]
Test fixes and new tests of scroll performance

These are the corresponding test changes to an overhaul of the scroll
gesture recognition code.

BUG=chromium:236687
TEST=These are the tests

Change-Id: I15f026bad9c9c379f1bb3509c125a403f5705fae
Reviewed-on: https://gerrit.chromium.org/gerrit/60483
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>

16 months agoFramework: Fixed minor presentation error 63/61963/3
Dennis Kempin [Mon, 15 Jul 2013 21:12:03 +0000 (14:12 -0700)]
Framework: Fixed minor presentation error

The table footer was always printed in the color of the last cell, fixed
to be default colored.

BUG=None
TEST=run touchtests

Change-Id: If8739e821ac785710c87b20fa9c660b28ef5606c
Reviewed-on: https://gerrit.chromium.org/gerrit/61963
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>

16 months agofalco : Add platform 18/63818/2 firmware-pit-4482.B
Benson Leung [Tue, 30 Jul 2013 23:54:49 +0000 (16:54 -0700)]
falco : Add platform

Signed-off-by: Benson Leung <bleung@chromium.org>
BUG=chrome-os-partner:21492
TEST=Added/replayed new test

Change-Id: Idf1dd895e74cfcbbd845c973c53eb058db5d46ae
Reviewed-on: https://gerrit.chromium.org/gerrit/63818
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Benson Leung <bleung@chromium.org>
Tested-by: Benson Leung <bleung@chromium.org>
16 months agoLogitech T620 touch mouse: Add platform 48/63748/2
Andrew de los Reyes [Tue, 30 Jul 2013 18:02:46 +0000 (11:02 -0700)]
Logitech T620 touch mouse: Add platform

BUG=chromium:265944
TEST=Added/replayed new test

Change-Id: I99a45be31d127e5ea8ccc44b0a9da5b3dfa35f15
Reviewed-on: https://gerrit.chromium.org/gerrit/63748
Reviewed-by: Benson Leung <bleung@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
17 months agoUpdated to use new replay API 93/59093/6 factory-4455.B factory-pit-4390.B factory-pit-4471.B firmware-falco_peppy-4389.B firmware-leon-4389.26.B firmware-wolf-4389.24.B stabilize-4443.B
Dennis Kempin [Tue, 18 Jun 2013 20:48:35 +0000 (13:48 -0700)]
Updated to use new replay API

The framework has been updated to use the new replay API. This means the
platform.dat files are no longer required here.
Each platform.props has been adjusted to point to the right platform for
replaying.
With the new API in place the code here can be cleaned up a little but,
but this CL does the bare minimum to transition to the new API.

BUG=chromium:249477
TEST=touchtests shows no regressions
CQ-DEPEND=CL:59797
Change-Id: I586044daf2c11f481d45e1c072865da2172d4e32
Reviewed-on: https://gerrit.chromium.org/gerrit/59093
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
18 months agoadded test mario2/click_jumpy_cursor 90/58690/4 release-R29-4319.B
Dennis Kempin [Fri, 14 Jun 2013 16:58:31 +0000 (09:58 -0700)]
added test mario2/click_jumpy_cursor

Also fixed the text case mario/base_scroll_up_regardless_prior_state to
be less restrictive and allow slight motion before the scroll.

BUG=chromium:249491
TEST=this is the test

Change-Id: Ic0c1f903741d73e32502c3e95fa3270a17886c81
Reviewed-on: https://gerrit.chromium.org/gerrit/58690
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Reviewed-by: Charlie Mooney <charliemooney@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>

18 months agoFramework: Add Speed property and validation to motion gestures 85/58885/3
Dennis Kempin [Mon, 17 Jun 2013 17:56:32 +0000 (10:56 -0700)]
Framework: Add Speed property and validation to motion gestures

Sometimes it is necessary to measure and validate the average speed of
a motion or scroll gesture. This CL allows to do so.
This will be especially useful for detecting jumps which consist of only
a single event, which means the roughness cannot be calculated.

BUG=chromium:249491
TEST=used in follow up CL which contains a test case.

Change-Id: Ic326e1ed20ba5e0b4b9f5b988fa208598230bfb3
Reviewed-on: https://gerrit.chromium.org/gerrit/58885
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
18 months agoTouchtests: Add the new Mario properties 83/58683/3 factory-4290.B
Charlie Mooney [Fri, 14 Jun 2013 15:26:45 +0000 (08:26 -0700)]
Touchtests: Add the new Mario properties

Mario's hw properties have changed, so new logs don't replay right
anymore.  This adds a new mario2 folder for them to be put in when
we make new regression tests for it now.

The props, etc were pulled from a mario with an R29 image

BUG=chromium:249773
TEST=manually replayed a new Mario log against it and no problems

Change-Id: I4b800c70ace197ff1d45ed2e5f28831e0d801c80
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/58683
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
18 months agoframework: support new structure/naming of MTTools 72/58572/2 stabilize-4287.B
Dennis Kempin [Thu, 13 Jun 2013 20:42:03 +0000 (13:42 -0700)]
framework: support new structure/naming of MTTools

MTTools has been restructured, this CL updates imports to reflect the
new structure.

BUG=chromium:249477
TEST=touchtests still functional

Change-Id: I0b10c4d8484be673c9918b672a78c830ebb96b9f
Reviewed-on: https://gerrit.chromium.org/gerrit/58572
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Reviewed-by: Charlie Mooney <charliemooney@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>

18 months agotests/spring1/wiggling_when_stationary: add test 75/58175/2 factory-pit-4280.B
Chung-yih Wang [Tue, 11 Jun 2013 07:01:51 +0000 (15:01 +0800)]
tests/spring1/wiggling_when_stationary: add test

Enable stationary wiggle filter and disable box filter to improve
stationary wiggling as well as responsivness.

BUG=None
TEST=this is the test

Change-Id: I79565dff35addcc0217783100682119c74265b4e
Reviewed-on: https://gerrit.chromium.org/gerrit/58175
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
Commit-Queue: Chung-yih Wang <cywang@chromium.org>

18 months agoTestRunner: Clean up multiprocessing pool after usage 57/58257/2
Dennis Kempin [Tue, 11 Jun 2013 23:06:14 +0000 (16:06 -0700)]
TestRunner: Clean up multiprocessing pool after usage

A bug in Python 2.7.3 caused the multiprocessing pool to block the
autotest process from exiting. This change cleans up the pool manually
after usage.

BUG=chromium:229293
TEST=manual autotest on link

Change-Id: Idd8b9714c5e26a72c88b57073f8e544f20b42589
Reviewed-on: https://gerrit.chromium.org/gerrit/58257
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
18 months agoTestRunner: Watch out for error messages in gestures log 39/58139/2 factory-spring-4262.B
Dennis Kempin [Mon, 10 Jun 2013 23:39:54 +0000 (16:39 -0700)]
TestRunner: Watch out for error messages in gestures log

this CL parses the output the the gestures library and gathers all
ERROR: lines. If errors are present the validation is aborted and the
test fails.

BUG=chromium:246704
TEST=manual test: Introduce a change to gestures that produces error
messages and check if the test fails.

Change-Id: Iccdf24117cfcd2edba01282505f03ccf25fefb7a
Reviewed-on: https://gerrit.chromium.org/gerrit/58139
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
18 months agoTouchtests - Add a link palm detection test 02/58202/2
Charlie Mooney [Tue, 11 Jun 2013 16:00:00 +0000 (09:00 -0700)]
Touchtests - Add a link palm detection test

This is a test built from a log of a palm on the edge of a Link
Touchpad causing the cursor to jump.  It shouldn't jump obviously.

BUG=chromium:248237
TEST=regression tests

Change-Id: Ibaf0252243c68fd0848544124af232d80337e1a3
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/58202
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
18 months agotests/alex/null_when_scroll_intended: add test 92/57692/4 stabilize-4255.B
Chung-yih Wang [Thu, 6 Jun 2013 03:50:41 +0000 (11:50 +0800)]
tests/alex/null_when_scroll_intended: add test

BUG=None
TEST=This is the test for disabling IIR to fix some fast-scrolling

Change-Id: I9e2d640faf9732e4fcf78f9a3f940894a0e46d2a
Reviewed-on: https://gerrit.chromium.org/gerrit/57692
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
18 months agotests/alex/wiggle_when_stationary: add test 91/57691/4
Chung-yih Wang [Thu, 6 Jun 2013 03:48:06 +0000 (11:48 +0800)]
tests/alex/wiggle_when_stationary: add test

BUG=None
TEST=This is the test for enabling the stationary wiggle filter

Change-Id: I210602f5be3cf6d89a000a8646afbdc8d0f4174c
Reviewed-on: https://gerrit.chromium.org/gerrit/57691
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
18 months agoAdd platform data for alex 90/57690/3
Chung-yih Wang [Thu, 6 Jun 2013 03:40:21 +0000 (11:40 +0800)]
Add platform data for alex

BUG=None
TEST=None

Change-Id: Icef6c3a13e036be3bcfa38aafbc7aab8f4fceac1
Reviewed-on: https://gerrit.chromium.org/gerrit/57690
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
18 months agotests/stout/cursor_jump_when_arrival: add test 93/57593/5
Chung-yih Wang [Wed, 5 Jun 2013 09:48:20 +0000 (17:48 +0800)]
tests/stout/cursor_jump_when_arrival: add test

  A cursor jump is unexpected when a finger arrives. The fix is created by the
fact that the jump comes with a high pressure change. However, there will be
a little shift caused by instability of finger arrival.

BUG=None
TEST=this is the test

Change-Id: I8515d50bbd147a5a63d8e5b35d55eedb32119879
Reviewed-on: https://gerrit.chromium.org/gerrit/57593
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
18 months agomagicmouse/move_with_resent_packets: Add test 58/57658/2
Andrew de los Reyes [Wed, 5 Jun 2013 20:49:52 +0000 (13:49 -0700)]
magicmouse/move_with_resent_packets: Add test

Makes sure that when packets are resent (and thus have odd timing), we
don't exaggerate that with acceleration.

BUG=chromium:247133
TEST=This is the test

Change-Id: Id177fc60defd9a7a971c87e61592b92bf4850752
Reviewed-on: https://gerrit.chromium.org/gerrit/57658
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
18 months agofuzzy_check: Allow fractional values 57/57657/2
Andrew de los Reyes [Wed, 5 Jun 2013 20:45:25 +0000 (13:45 -0700)]
fuzzy_check: Allow fractional values

Historically only integral values were possible.

Also, fix string escape.

BUG=chromium:247131
TEST=All tests have same score

Change-Id: I9344d367cbbfe2364f20da1fce2b38194ff7e03e
Reviewed-on: https://gerrit.chromium.org/gerrit/57657
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
18 months agoframework: compile with -j 16 25/49525/5
Dennis Kempin [Mon, 29 Apr 2013 21:53:31 +0000 (14:53 -0700)]
framework: compile with -j 16

To speed up bigger recompiles after switching branches or syncing we
now compile with -j 16.

BUG=none
TEST=just run touchtests

Change-Id: I60a46d013598dd29a3ccc53de860a8dbfe3c24eb
Reviewed-on: https://gerrit.chromium.org/gerrit/49525
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>

18 months agoNew test: tests/zgb/1f_click_resting_thumb 31/56831/2
Dennis Kempin [Tue, 28 May 2013 20:14:37 +0000 (13:14 -0700)]
New test: tests/zgb/1f_click_resting_thumb

BUG=chromium:243852
TEST=this is the test

Change-Id: I716eb39840cadbbd2993d1b237d557bfb0dece5b
Reviewed-on: https://gerrit.chromium.org/gerrit/56831
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>

18 months agoNew Platform: ZGB 30/56830/2
Dennis Kempin [Tue, 28 May 2013 20:13:50 +0000 (13:13 -0700)]
New Platform: ZGB

BUG=None
TEST=none

Change-Id: If0957c7bd7981f12d3ae9201a9e4a869c0dc1c48
Reviewed-on: https://gerrit.chromium.org/gerrit/56830
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>

18 months agotouchtests: Add another fake command line option 97/57497/2
Andrew de los Reyes [Tue, 4 Jun 2013 19:47:50 +0000 (12:47 -0700)]
touchtests: Add another fake command line option

This is for compatibility with mtedit.

BUG=chromium:242341
TEST=Created a regression test case

Change-Id: I00e592c94b08f2269f5b4b46f622f8495e3cdb73
Reviewed-on: https://gerrit.chromium.org/gerrit/57497
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>

18 months agotests/stout/wiggle_when_stationary: add tests 62/50162/8
Chung-yih Wang [Mon, 6 May 2013 08:03:10 +0000 (16:03 +0800)]
tests/stout/wiggle_when_stationary: add tests

  We add 'integralPixels' parameter to truncate the fractional part of
  Motion gestures in order to check if there is wiggles.

  feedback:834054715

BUG=none
TEST=this is the test

Change-Id: I0954e2039d9904ec49fa9dabbae2447c50d92c81
Reviewed-on: https://gerrit.chromium.org/gerrit/50162
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Reviewed-by: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
18 months agomain.py: Create dummy download option, set to False 40/55840/2
Andrew de los Reyes [Mon, 20 May 2013 22:32:05 +0000 (15:32 -0700)]
main.py: Create dummy download option, set to False

This is needed b/c mtedit has a download option and common code that's
called from both expects options to have a download member.

I put this after the normal option parsing so it's not overwritten by
the option parsing.

BUG=chromium:242341
TEST="touchtests -c
p'https://feedback.corp.google.com/#/Report/821761747?context=ri'
lumpy/scroll_with_upper_thumb" didn't give me an error.

Change-Id: I680ae19f1ebb3d9dfb39fe5931ccea1f9ab301d1
Reviewed-on: https://gerrit.chromium.org/gerrit/55840
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>

19 months agotests/*/scrolling_with_low_press_fingers*: make tests more strict 62/48362/2 factory-4128.B factory-spring-4131.B
Tai-Hsu Lin [Wed, 17 Apr 2013 11:47:58 +0000 (19:47 +0800)]
tests/*/scrolling_with_low_press_fingers*: make tests more strict

The patch makes those tests more strict by penalizing any cursor
movement since we have found a solution to the problem.

BUG=chromium:219126
TEST=These are the tests

Change-Id: I787d6b695cb0f2d49dfa1ebc592817b9ea851d43
Reviewed-on: https://gerrit.chromium.org/gerrit/48362
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Tai-Hsu Lin <sheckylin@chromium.org>
Tested-by: Tai-Hsu Lin <sheckylin@chromium.org>
19 months agoGeneralize middle button test for Link 09/49509/2
Charlie Mooney [Mon, 29 Apr 2013 18:29:22 +0000 (11:29 -0700)]
Generalize middle button test for Link

This test regressed accidentally due to one of its movement gestures
getting split up for some reason.  The test isn't really interested in
that move, so I just added a merge=True flag so it would keep passing,
since the Clicks are still the same and it's a test for clicks.

BUG=chromium:236446
TEST=regression tests

Change-Id: I82a149031cfb7f1d335b5ecd084929de6e9130c1
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/49509
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
19 months agoUpdate Touchtests w/ a missed right click test 08/49508/2
Charlie Mooney [Mon, 29 Apr 2013 17:56:05 +0000 (10:56 -0700)]
Update Touchtests w/ a missed right click test

This adds a new regression test for a missed right click on Spring.

BUG=chromium:236446
TEST=regression tests
CQ-DEPEND=Icbf8d455d8668c5a95a3dc9fb0ba4dabe14e39d4

Change-Id: Ib64986a67e488e4163da1e0050dc126d3989a1bd
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/49508
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
19 months agotests/stout/null_when_scroll_intended3: add test 65/50165/3 release-R28-4100.B stabilize-4100.38.B stabilize-spring-4100.53.B toolchainB
Chung-yih Wang [Mon, 6 May 2013 09:31:17 +0000 (17:31 +0800)]
tests/stout/null_when_scroll_intended3: add test

Large wiggle max distance limits some fast scroll gestures.

BUG=chromium:236880
TEST=this is the test

Change-Id: I7bbc615cc743a4fd961a3d66b225ec8b4cc6c070
Reviewed-on: https://gerrit.chromium.org/gerrit/50165
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Reviewed-by: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
19 months agotest/magicmouse/no_scrolls: Add test 92/49992/2
Andrew de los Reyes [Fri, 3 May 2013 00:42:02 +0000 (17:42 -0700)]
test/magicmouse/no_scrolls: Add test

Adds a test of using the magic mouse that should not have any
scrolling.

BUG=chromium:237692
TEST=this is the test

Change-Id: Ifa2e15fe81c07f7ccdf6e9add1cb634bac0038bd
Reviewed-on: https://gerrit.chromium.org/gerrit/49992
Reviewed-by: Charlie Mooney <charliemooney@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>

19 months agotests/stout/tap_on_the_bottom: add test 94/49894/2
Chung-yih Wang [Thu, 2 May 2013 15:25:53 +0000 (23:25 +0800)]
tests/stout/tap_on_the_bottom: add test

BUG=none
TEST=this is the test

Change-Id: I5c302628f63d839c3680cbff7270e172763aa330
Reviewed-on: https://gerrit.chromium.org/gerrit/49894
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
19 months agotests/stout/null_when_scroll_intended2: add test 20/49720/2
Chung-yih Wang [Wed, 1 May 2013 15:34:31 +0000 (23:34 +0800)]
tests/stout/null_when_scroll_intended2: add test

High pressure change duration limits some fast scroll gestures.

BUG=chromium:236880
TEST=this is the test

Change-Id: I01ef92ec17097784771b6c4f079410943fdfc958
Reviewed-on: https://gerrit.chromium.org/gerrit/49720
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
19 months agotests/stout: add tests 55/49155/2 stabilize-4068.0.B
Chung-yih Wang [Thu, 25 Apr 2013 07:47:11 +0000 (15:47 +0800)]
tests/stout: add tests

This patch adds two tests for two 2f-scroll issues:
  1. null_when_scroll_intended
  2. right_click_when_scrolling_intended

BUG=chromium:233797, chromium:215124
TEST=these are the tests

Change-Id: I61dc90ea0cac8ad63343bb6706b9b6758e0f2bb5
Reviewed-on: https://gerrit.chromium.org/gerrit/49155
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
19 months agotests/stout/move_when_scroll_intended: add test 43/49043/3
Chung-yih Wang [Wed, 24 Apr 2013 09:45:11 +0000 (17:45 +0800)]
tests/stout/move_when_scroll_intended: add test

On stout, X,Y ranges and resolutions reported from firmware are
incorrect, the platform.dat created in the patch is modified
accordingly to match what hardware properties are seen in the
gesture library.

BUG=chromium:233797
TEST=this is the test

Change-Id: I474787978aecf8f1d3a1d0274583bed413afcd14
Reviewed-on: https://gerrit.chromium.org/gerrit/49043
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
Reviewed-by: Chung-yih Wang <cywang@chromium.org>
19 months agoAdd pointer to xorg conf file for magic mouse 78/49078/2
Che-Liang Chiou [Wed, 24 Apr 2013 19:37:44 +0000 (12:37 -0700)]
Add pointer to xorg conf file for magic mouse

BUG=none
TEST=Successfully create touchtests for magic mouse

Change-Id: Idc9d2892ae27ee4b33546313af3422f174b7c311
Reviewed-on: https://gerrit.chromium.org/gerrit/49078
Tested-by: Che-Liang Chiou <clchiou@chromium.org>
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Che-Liang Chiou <clchiou@chromium.org>

19 months agotest_factory: Use current year in copyright notice for new tests 28/48828/2
Andrew de los Reyes [Mon, 22 Apr 2013 22:19:16 +0000 (15:19 -0700)]
test_factory: Use current year in copyright notice for new tests

BUG=chromium:234388
TEST=created new test, saw 2013 year

Change-Id: I5e40dc379f7db90e68f1f858f8b171ccc0c33c36
Reviewed-on: https://gerrit.chromium.org/gerrit/48828
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>

19 months agospring1/drumroll_fail: Add test 26/48826/2
Andrew de los Reyes [Mon, 22 Apr 2013 22:12:18 +0000 (15:12 -0700)]
spring1/drumroll_fail: Add test

This is a test from an accidental drumroll I got on Spring.

BUG=chromium:233601
TEST=This is the test

Change-Id: If7a1be6fa8616681550c328bd0e0cfae9806ccf7
Reviewed-on: https://gerrit.chromium.org/gerrit/48826
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
19 months agoAlso adding the additional props to snow1.3 01/48901/2
Charlie Mooney [Tue, 23 Apr 2013 15:51:07 +0000 (08:51 -0700)]
Also adding the additional props to snow1.3

I forgot to check the other Snow test directory when adding
the additional property identifier to Snow.  Both of them need to pick
up all of the Cyapa xorg-conf properties, not just snow2.3, or several
tests regress.

BUG=chromium:234385
TEST=manual testing + regression test

Change-Id: I79979976b4c3abd318782520746b7a355bb6b42d
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/48901
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
19 months agoAdd tap-to-click regression test for spring 03/48903/2
Charlie Mooney [Tue, 23 Apr 2013 15:56:35 +0000 (08:56 -0700)]
Add tap-to-click regression test for spring

This adds a tap-to-click test for Spring to the regression suite.  It
consists of two taps in quick succession and checks to confirm that both
register as both down and up clicks without any movement around them.

BUG=chromium:233602
TEST=regression test

Change-Id: Ibb2c603826df6a6cf3b289ace07334ec9783ce23
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/48903
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
19 months agotests/lumpy/2f_scroll_fail: Add test 81/48581/2
Andrew de los Reyes [Fri, 19 Apr 2013 00:04:51 +0000 (17:04 -0700)]
tests/lumpy/2f_scroll_fail: Add test

This test shows a sample of log data where scrolling failed.

BUG=chromium:231984
TEST=This is the test

Change-Id: I1c9b306d65daadaf73537f0b0093fcddf43acc56
Reviewed-on: https://gerrit.chromium.org/gerrit/48581
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
19 months agotests/spring1: Add platform 24/48824/2
Andrew de los Reyes [Mon, 22 Apr 2013 22:02:25 +0000 (15:02 -0700)]
tests/spring1: Add platform

Add a new platform directory for Spring.

BUG=chromium:234375
TEST=None

Change-Id: I4fe31b010c279dda091a4ab8822bfcb826667095
Reviewed-on: https://gerrit.chromium.org/gerrit/48824
Reviewed-by: Charlie Mooney <charliemooney@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
19 months agoGet snow2.3 to pick up all of its props 27/48827/2
Charlie Mooney [Mon, 22 Apr 2013 22:16:59 +0000 (15:16 -0700)]
Get snow2.3 to pick up all of its props

After the snow properties got split into 2 parts in xorg-conf, the
regression test for snow2.3 only picks up half of them so all the tests
that rely on those properties broke.

This just adds another identifier so it gets all the properties it
should.

BUG=chromium:234385
TEST=regression test

Change-Id: Iaf526fd4fbd81fba31ea50732ef183f978764e1d
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/48827
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
19 months agotouchtests: allow --gdb mode for creation of tests 28/48728/2
Dennis Kempin [Sat, 20 Apr 2013 00:04:00 +0000 (17:04 -0700)]
touchtests: allow --gdb mode for creation of tests

this will run the trimmer in gdb which allows to debug problems with
trimming.

BUG=chromium:233823
TEST=run touchtests -c 'feedback...' --gdb

Change-Id: Id8ca5ea192baf7bd70193c68e30e9cc520a94fa5
Reviewed-on: https://gerrit.chromium.org/gerrit/48728
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agotests/snow2.3/scrolling_with_sensor_jump: add test 45/47845/3 stabilize-4008.0.B stabilize-4035.0.B
Chung-yih Wang [Thu, 11 Apr 2013 09:50:53 +0000 (17:50 +0800)]
tests/snow2.3/scrolling_with_sensor_jump: add test

BUG=chrome-os-partner:12358
TEST=this is the test

Change-Id: Ib30dadef51dda067e6fe56db3633529bcf8c3585
Reviewed-on: https://gerrit.chromium.org/gerrit/47845
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Reviewed-by: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
20 months agoframework: Update formatting code to show digits after decimal point 63/47663/2
Dennis Kempin [Tue, 9 Apr 2013 18:07:27 +0000 (11:07 -0700)]
framework: Update formatting code to show digits after decimal point

This CL uses the more flexible {:.4g} formatting type. It hides the digits
after the decimal point if they are zero and uses exponential display
for large numbers >9999 or small numbers < 0.0001.

BUG=chromium:229493
TEST=run touchtests. Check validation report for presentation

Change-Id: I33c8d193e89829092505292ec6926f4047f7e6f2
Reviewed-on: https://gerrit.chromium.org/gerrit/47663
Reviewed-by: Tai-Hsu Lin <sheckylin@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agotests/lucas/scrolling_with_low_press_fingers*: Add tests 34/47734/3
Tai-Hsu Lin [Wed, 10 Apr 2013 09:07:54 +0000 (17:07 +0800)]
tests/lucas/scrolling_with_low_press_fingers*: Add tests

These tests were collected from the following feedback reports:
feedback:345836142

They test whether 2f scrolls with one finger at the bottom zone
at the end generate any cursor move. The ideal case is none.

BUG=chromium:217460
TEST=These are the tests

Change-Id: I668db9f6f620c0c63b8e4fafa773278edd6db597
Reviewed-on: https://gerrit.chromium.org/gerrit/47734
Commit-Queue: Tai-Hsu Lin <sheckylin@chromium.org>
Tested-by: Tai-Hsu Lin <sheckylin@chromium.org>
Reviewed-by: Chung-yih Wang <cywang@chromium.org>
20 months agotests/{link,lucas}/scrolling_with_low_press_fingers*: Add tests 33/47733/2
Tai-Hsu Lin [Wed, 10 Apr 2013 08:21:26 +0000 (16:21 +0800)]
tests/{link,lucas}/scrolling_with_low_press_fingers*: Add tests

These tests were collected from the following feedback reports:
feedback:573057759356786930

They test whether the cursor wrongly moves too much at the beginning
of 2f scrolls which have one finger at the bottom zone from start.
Ideally, we would like to be able to fully distinguish the case from
a 1f move with one resting thumb, but the tests can serve as a
regession check before we figure out the long term solution.

BUG=chromium:219126
TEST=These are the tests

Change-Id: I62d7f65bc24f2779975376c0f0732e77511aaf6d
Reviewed-on: https://gerrit.chromium.org/gerrit/47733
Reviewed-by: Chung-yih Wang <cywang@chromium.org>
Commit-Queue: Tai-Hsu Lin <sheckylin@chromium.org>
Tested-by: Tai-Hsu Lin <sheckylin@chromium.org>
20 months agolink/right_when_left_click_intended: add test 33/47633/2
Chung-yih Wang [Tue, 9 Apr 2013 09:25:45 +0000 (17:25 +0800)]
link/right_when_left_click_intended: add test

feedback:571030759
@time 54230

BUG=chromium:219399
TEST=should pass the test when the fix is merged

Change-Id: I69d48303cfb8ac30add6ce08480c18bbca1bcc35
Reviewed-on: https://gerrit.chromium.org/gerrit/47633
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
20 months agotouchtests: new run mode: --gdb 78/47378/3
Dennis Kempin [Thu, 4 Apr 2013 23:01:54 +0000 (16:01 -0700)]
touchtests: new run mode: --gdb

Run a test case in a GDB session. Use for debugging nasty sigsevs.

BUG=chromium:22685
TEST=touchtests anytest --gdb

Change-Id: I88ab200b5143140d4d6525bbb30631a025a6bde3
Reviewed-on: https://gerrit.chromium.org/gerrit/47378
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agoframework: Updated test_factory to use device_class and xorg_conf 83/47283/3
Dennis Kempin [Wed, 3 Apr 2013 21:58:32 +0000 (14:58 -0700)]
framework: Updated test_factory to use device_class and xorg_conf

recently the test_runner has been adjusted to allow different
device_classes to be used and to load properties from xorg_conf files.
These CL updated the test_factory to use these changes too. This fixes a
problem where the generated gestures printed by the test_factory do not
match those generated by the test_runner.

BUG=chromium:226239
TEST=compare gestures output of creating and running a test case

Change-Id: Ib546a32cfcb5825f3bc6d1b0238e7b1ee20816ae
Reviewed-on: https://gerrit.chromium.org/gerrit/47283
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agoTouchtests: cleanup too specific tests 43/47243/2
Charlie Mooney [Wed, 3 Apr 2013 17:24:23 +0000 (10:24 -0700)]
Touchtests: cleanup too specific tests

There were a couple of tests that had very specific validators that
didn't really apply to the main thing the test was supposed to be
checking.  Ie: if one fling stop appears instead of two, etc.  These
three tests broke when I changed the timeout logic for fling stops, but
the thing they're actually testing is still working.  This cleans up
their validators so they still pass, by making them more generic when
checking secondary events.

BUG=chromium:217333
TEST=regression tests

Change-Id: I9054582742ea86f8b279212aed3d177781f8280a
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/47243
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
20 months agoTest re-flinging on Snow 22/47122/4
Charlie Mooney [Mon, 1 Apr 2013 23:09:59 +0000 (16:09 -0700)]
Test re-flinging on Snow

There was a report of Snow stopping flings when it should have been
re-flinging it.  This is a regression test that uses one of those logs
to show three consecutive flings, which should be re-flinging.  That
means it needs to check that there are no "fling stops" nor should there
be any zero velocity "fling starts"

BUG=chromium:2173333
TEST=this is the test

Change-Id: Icca363136bd54f4be180e636629e1614cc292533
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/47122
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
20 months agosnow2.3/flat_thumb_move: add test 71/47371/2
Yufeng Shen [Thu, 4 Apr 2013 22:34:15 +0000 (18:34 -0400)]
snow2.3/flat_thumb_move: add test

This test makes sure a flat thumb (a fat finger) can generate some
cursor movement.

BUG=chrome-os-partner:13144
TEST=this is the test.

Change-Id: Ib0cf1d059bf4d6124ce49bdff2526af0342fa00e
Reviewed-on: https://gerrit.chromium.org/gerrit/47371
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Yufeng Shen <miletus@chromium.org>
Tested-by: Yufeng Shen <miletus@chromium.org>
20 months agotests/lumpy/thumb_split_*: Add tests 69/47269/2
Andrew de los Reyes [Wed, 3 Apr 2013 20:29:12 +0000 (13:29 -0700)]
tests/lumpy/thumb_split_*: Add tests

These tests were collected from users that experienced false right
clicks when a thumb click (left click) was intended.

BUG=chromium:218293
TEST=These are the tests

Change-Id: I1da98cd779c272648101aa8eaa5bc1c6931aa0c9
Reviewed-on: https://gerrit.chromium.org/gerrit/47269
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
20 months agolink/resting_thumb: Add test 76/47076/3
Andrew de los Reyes [Tue, 2 Apr 2013 00:03:39 +0000 (17:03 -0700)]
link/resting_thumb: Add test

This test ensures there is no thumb movement. It does this by finding
out when other fingers are on the pad and ensures that gestures have
start/end times within those ranges.

BUG=chromium:219398
TEST=this is the test

Change-Id: Ia2c8b3e2211b88b7300961d6a307a563df7ed102
Reviewed-on: https://gerrit.chromium.org/gerrit/47076
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>

20 months agoExport DESTDIR to sub-makes 84/47084/2
Che-Liang Chiou [Tue, 2 Apr 2013 01:23:29 +0000 (18:23 -0700)]
Export DESTDIR to sub-makes

The variable DESTDIR is used in sub-makes; so export it.

BUG=none
TEST=Run `make install` without seeing these error:

make[1]: Entering directory `/mnt/host/source/src/platform/touchpad-tests/framework'
install -D -m 0755 src/fuzzy_check.py  /framework/fuzzy_check.py
install: cannot create directory /framework: Permission denied
make[1]: *** [install] Error 1
make[1]: Leaving directory `/mnt/host/source/src/platform/touchpad-tests/framework'
make: *** [install] Error 2

Change-Id: Ibc5c070a5debeb9eaf8b7d4061f7f2a585a1ef04
Reviewed-on: https://gerrit.chromium.org/gerrit/47084
Tested-by: Che-Liang Chiou <clchiou@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Che-Liang Chiou <clchiou@chromium.org>

20 months agoAdding a test for missed 2f scrolls on Snow 56/47056/2
Charlie Mooney [Mon, 1 Apr 2013 22:26:02 +0000 (15:26 -0700)]
Adding a test for missed 2f scrolls on Snow

There was a bug report showing the cursor getting moved by what was
clearly intended to be a two-finger scroll.  It's working correctly now
and this adds a regression test case to the collection that checks
against this log to make sure there is a big scroll.

TEST=this is regression test
BUG=chromium:217727

Change-Id: If7b7792dc96d5212b767bc6cfd371a14cbf7eec1
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/47056
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
20 months agosnow1.3/spurious_tap: Add test 30/47030/3
Andrew de los Reyes [Mon, 1 Apr 2013 18:26:09 +0000 (11:26 -0700)]
snow1.3/spurious_tap: Add test

This log was generating an extra tap before. Current code has this
issue fixed.

BUG=chromium:220062
TEST=this is the test

Change-Id: I077b59b98d558c6b88c04fe60401f33ec7ac60a0
Reviewed-on: https://gerrit.chromium.org/gerrit/47030
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
20 months agolink/hard_click: Add test. 18/47018/3
Andrew de los Reyes [Mon, 1 Apr 2013 17:23:08 +0000 (10:23 -0700)]
link/hard_click: Add test.

This gesture accidentally generated an extra click on R25.

BUG=chromium:224530
TEST=this is the test

Change-Id: I44798cd467fc12529702ed2295ced9d1e9876349
Reviewed-on: https://gerrit.chromium.org/gerrit/47018
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
20 months agolink/base_palm_presence_both: Allow more motion 15/47015/3
Andrew de los Reyes [Mon, 1 Apr 2013 16:54:10 +0000 (09:54 -0700)]
link/base_palm_presence_both: Allow more motion

Since this test was created, we've been improving the behavior. It's
still not ideal, but it's good enough. Thus, with this change, we'll
say anything under 70 movement is passing.

BUG=chromium:224980
TEST=This is the test

Change-Id: I3bd68ac68b2cb48f9fd384bfccdde5b55ade0a66
Reviewed-on: https://gerrit.chromium.org/gerrit/47015
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
20 months agotests/*/brush_after_move.py: Disable tests 14/47014/2
Andrew de los Reyes [Fri, 29 Mar 2013 21:31:51 +0000 (14:31 -0700)]
tests/*/brush_after_move.py: Disable tests

We no longer try to filter an accidental tap after lifting a finger,
so we must disable these tests.

BUG=chromium:224984
TEST=We don't want these tests

Change-Id: Id201b9f8a59c0ebb5065736bae78a22d1303c145
Reviewed-on: https://gerrit.chromium.org/gerrit/47014
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
20 months agoframework: fixed bug that prevents pinch gestures to be generated 36/47036/2
Dennis Kempin [Mon, 1 Apr 2013 19:43:50 +0000 (12:43 -0700)]
framework: fixed bug that prevents pinch gestures to be generated

BUG=chromium:225502
TEST=create a log containing a pinch gesture

Change-Id: I3da0cfd20acc452664e4def91b6d18c934ed6c40
Reviewed-on: https://gerrit.chromium.org/gerrit/47036
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agoNew properties for Lumpy linearity filter 81/46681/7
Charlie Mooney [Wed, 27 Mar 2013 21:22:24 +0000 (14:22 -0700)]
New properties for Lumpy linearity filter

This changes the properties in the regression testing to the new values
used on Lumpy that enable the linearity filter.  This also tweaks the
values for the sensor_jump filter as they interact in a funky way.

TEST=regression test and manual experimentation
BUG=chromium:214518
CQ-DEPEND=Id64baabd2523d60f6a379e3d53c9660696b93d2c

Change-Id: I1af3d3f821f9b60671eb2ffdf887123a60ddd9b5
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/46681
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
20 months agonew test: lumpy/high_thumb_dragging 51/46951/3
Dennis Kempin [Fri, 29 Mar 2013 23:27:39 +0000 (16:27 -0700)]
new test: lumpy/high_thumb_dragging

BUG=chromium:217820
TEST=this is the test

Change-Id: Icc3036d3a63e0819da62bcd8dcd197004f8ebd9c
Reviewed-on: https://gerrit.chromium.org/gerrit/46951
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agoframework: fix start/end validator checks 50/46950/3
Dennis Kempin [Fri, 29 Mar 2013 23:25:23 +0000 (16:25 -0700)]
framework: fix start/end validator checks

the event.start/end values have to be converted to float, otherwise
comparing them to the target values will always result in False as as a
result.

BUG=chromium:217820
TEST=next test case will test this behavior

Change-Id: I0246e2a29226d8f2a30e1771773c8e53fc8bb9e2
Reviewed-on: https://gerrit.chromium.org/gerrit/46950
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agonew test: parrot1.2/thumb_split_click 28/46928/2
Dennis Kempin [Fri, 29 Mar 2013 22:42:36 +0000 (15:42 -0700)]
new test: parrot1.2/thumb_split_click

BUG=chromium:218279
TEST=this is the test

Change-Id: I18d525be9f3a1aa447f639a3d801227c3be2b276
Reviewed-on: https://gerrit.chromium.org/gerrit/46928
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agonew test: lumpy/right_when_left_click_intended 19/46919/2
Dennis Kempin [Fri, 29 Mar 2013 22:10:23 +0000 (15:10 -0700)]
new test: lumpy/right_when_left_click_intended

BUG=chromium:21554
TEST=this is the test

Change-Id: I11354d643a673c2a13b109592fc12ab0c119103c
Reviewed-on: https://gerrit.chromium.org/gerrit/46919
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agonew tests: right click vs left click on link and lumpy 18/46918/2
Dennis Kempin [Fri, 29 Mar 2013 21:47:15 +0000 (14:47 -0700)]
new tests: right click vs left click on link and lumpy

This adds two test cases where right clicks are expected, but previously
were not detected.

BUG=chromium:217358
TEST=this is the test

Change-Id: Ifde00a4a14d14d0a2de548d6f39cd4fce15dfb7a
Reviewed-on: https://gerrit.chromium.org/gerrit/46918
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agoframework: some user-properties might be missing in old logs, ignore. 08/46908/3
Dennis Kempin [Fri, 29 Mar 2013 21:28:19 +0000 (14:28 -0700)]
framework: some user-properties might be missing in old logs, ignore.

Ignore user-properties that are not available in the log files.

BUG=chromium:217358
TEST=add an old log file with touchtests -c

Change-Id: I94e0d66ff730848bf1bf1636ffc16b61628920ce
Reviewed-on: https://gerrit.chromium.org/gerrit/46908
Reviewed-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agoRegression Tests Cleanup 87/46887/4
Dennis Kempin [Fri, 29 Mar 2013 17:50:57 +0000 (10:50 -0700)]
Regression Tests Cleanup

Investigated all test cases with score < 0.9. Either corrected them to
be more generous with values that are not tested (e.g. fling dist in
scroll tests) or made them more strict to show up as bad tests or fail.

BUG=chromium:223321
TEST=touchtests

Change-Id: Iaff6d71b9cdf41568a665505a6bbd217060f3a47
Reviewed-on: https://gerrit.chromium.org/gerrit/46887
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agoframework: TestRunner: don't depend on env variables 13/46813/2
Dennis Kempin [Thu, 28 Mar 2013 22:28:56 +0000 (15:28 -0700)]
framework: TestRunner: don't depend on env variables

The parallel test runner used to depend on the TESTS_DIR env variable,
but now just reuses the path that is passed to him via the test case.
This way the TestRunner can be easily used in autotest.

BUG=chromium:224121
TEST=run touchtests

Change-Id: If91c7c177a2ad3731c376830d8fd26ad160e9f02
Reviewed-on: https://gerrit.chromium.org/gerrit/46813
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agonew platform: Magic Mouse! 78/46678/4
Dennis Kempin [Wed, 27 Mar 2013 21:18:45 +0000 (14:18 -0700)]
new platform: Magic Mouse!

After adding support for different device classes the magic mouse
platform is now working.

BUG=chromium:224120
TEST=add a test case from magic mouse logs

Change-Id: I524233c950404d876ed51f774f2299ce6b12aa19
Reviewed-on: https://gerrit.chromium.org/gerrit/46678
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agoframework: add support for specifying the device class to be used 77/46677/4
Dennis Kempin [Wed, 27 Mar 2013 21:17:26 +0000 (14:17 -0700)]
framework: add support for specifying the device class to be used

the device class can now be specified in any property file.

BUG=chromium:224120
TEST=test with follow up CL that adds the magic mouse platform

Change-Id: I9d92dc3abef2e387fa7344fe4616493fad9fc9bf
Reviewed-on: https://gerrit.chromium.org/gerrit/46677
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agoframework: Updated user property logic to skip ignored properties 76/46676/4
Dennis Kempin [Wed, 27 Mar 2013 20:25:04 +0000 (13:25 -0700)]
framework: Updated user property logic to skip ignored properties

This will be used by the magic mouse to ignore certain properties that
are not applicable to this device.

BUG=chromium:224120
TEST=with follow up CL that adds the magic mouse platform

Change-Id: I422f3ddb8a2d4b89cc1cfdcd45230eeabf3b12fa
Reviewed-on: https://gerrit.chromium.org/gerrit/46676
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agoadded: button_right_click_no_wiggle 65/46565/2
Dennis Kempin [Tue, 26 Mar 2013 22:20:08 +0000 (15:20 -0700)]
added: button_right_click_no_wiggle

and updated fling_stop_order.py test. It was checking for movement after
the button click which no longer appears with the updated wiggle filter.
The check was unnecessary so it was removed.

BUG=chromium:222228
TEST=this is the test

Change-Id: Ibd543ea007a2a5756b53690ef4089dea607f89f9
Reviewed-on: https://gerrit.chromium.org/gerrit/46565
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agoadded: link/left_click_with_resting_thumb 53/46553/2
Dennis Kempin [Tue, 26 Mar 2013 21:25:04 +0000 (14:25 -0700)]
added: link/left_click_with_resting_thumb

BUG=chromium:2837
TEST=this is the test

Change-Id: I8c9f5dc0af019520d70ce9acd2ce625a8bd678eb
Reviewed-on: https://gerrit.chromium.org/gerrit/46553
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agoadded test: mario/3_finger_click 41/46541/2
Dennis Kempin [Tue, 26 Mar 2013 20:24:17 +0000 (13:24 -0700)]
added test: mario/3_finger_click

BUG=chromium:223990
TEST=this is the test

Change-Id: Icb2111f2b55f22758bfbfa39ea8806bd22e3ffe2
Reviewed-on: https://gerrit.chromium.org/gerrit/46541
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>

20 months agoadded test: link/scroll_false_negatives 75/46475/4 release-R27-3912.B stabilize-3912.79.B toolchainA
Dennis Kempin [Tue, 26 Mar 2013 01:23:20 +0000 (18:23 -0700)]
added test: link/scroll_false_negatives

BUG=chromium:223677
TEST=this is the test

Change-Id: I2e1dbc7aa0a0479aebbb0cc2c36adcf7acc7bbe6
Reviewed-on: https://gerrit.chromium.org/gerrit/46475
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agoframework: Support new Pointer/Scroll Sensitivity 64/46464/4
Dennis Kempin [Tue, 26 Mar 2013 00:19:26 +0000 (17:19 -0700)]
framework: Support new Pointer/Scroll Sensitivity

The Test Factory has been adjusted to support both logs with a single
"Sensitivty" property and newer ones with "Pointer/Scroll Sensitivity".

BUG=chromium:218453
TEST=add a new test case

Change-Id: Ib45800a4c1417aeeb5216f47e9a076e87aaa3614
Reviewed-on: https://gerrit.chromium.org/gerrit/46464
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
Reviewed-by: Che-Liang Chiou <clchiou@chromium.org>
20 months agoall tests: Updated properties to use pointer/scroll sensitivity 63/46463/4
Dennis Kempin [Tue, 26 Mar 2013 00:14:08 +0000 (17:14 -0700)]
all tests: Updated properties to use pointer/scroll sensitivity

gestures has changed to use two separate properties for sensitivity.
Updated all test properties to use those instead of the old
"sensitivity" property.

BUG=chromium:218453
TEST=touchtests on ToT. No more errors.

Change-Id: I080fe2dd475b6520e6f9cc0b3336c8e4f8cda076
Reviewed-on: https://gerrit.chromium.org/gerrit/46463
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
Reviewed-by: Che-Liang Chiou <clchiou@chromium.org>
20 months agolink/pinch test cases 51/46451/3
Dennis Kempin [Mon, 25 Mar 2013 23:24:40 +0000 (16:24 -0700)]
link/pinch test cases

Test cases from feedback reports about accidental invocation of the
pinch gesture. Also one test case to test for variations of pinch to
zoom, which is disabled until pinch to zoom is working properly.

BUG=chromium:221098
TEST=this is the test

Change-Id: I6d89314e928b3b9eaf02c239182835bbe0f183ff
Reviewed-on: https://gerrit.chromium.org/gerrit/46451
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agoframework: Support pinch gesture 50/46450/3
Dennis Kempin [Mon, 25 Mar 2013 23:23:26 +0000 (16:23 -0700)]
framework: Support pinch gesture

support parsing and validation of pinch gestures.

BUG=chromium:221098
TEST=next CL contains test cases using pinch gestures

Change-Id: Id402ca4e5498a546e40fada74b596bed20f961eb
Reviewed-on: https://gerrit.chromium.org/gerrit/46450
Reviewed-by: Charlie Mooney <charliemooney@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
20 months agonew test: link/fling_stop_order 29/46329/3
Dennis Kempin [Fri, 22 Mar 2013 23:44:33 +0000 (16:44 -0700)]
new test: link/fling_stop_order

This test checks if fling stop events are sent before button events, as this
is required by Chrome.

BUG=chromium:219870
TEST=this is the test

Change-Id: I9bcf683bb413f1e198956ab6b3c8352e4d40e06c
Reviewed-on: https://gerrit.chromium.org/gerrit/46329
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>

21 months agoTouchpad-Tests: Fixed errornous test results 61/46161/3
Dennis Kempin [Thu, 21 Mar 2013 21:10:01 +0000 (14:10 -0700)]
Touchpad-Tests: Fixed errornous test results

Some tests that should fail reported a zero score with success instead.
Fixed the issue and updated the result visualization:
- lines are now colored based on their result to make it easier to find
  failures
- score < 0.5 is not reported as flaky instead of success. Success just
  sounds wrong with a bad score!

BUG=chromium:222468
TEST=just run touchtests and look at the new output

Change-Id: I07cb9606c23228a8d8402b1438595e4f1ad17928
Reviewed-on: https://gerrit.chromium.org/gerrit/46161
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>

21 months agoAdded test link/button_click_merge_issue 04/45904/2
Dennis Kempin [Tue, 19 Mar 2013 22:30:47 +0000 (15:30 -0700)]
Added test link/button_click_merge_issue

Issues with finger merging appear when multiple fingers touch down at
the same time. These issues are usually resolved after 2, 3 hardware
states. This test case shows the problem with a 3 finger click.

BUG=chromium:196321
TEST=this is the test

Change-Id: I337bfd8d7a33e2fe82f729e98550d85c278584e3
Reviewed-on: https://gerrit.chromium.org/gerrit/45904
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
21 months agoTouchtests: Updating tests for new Fling config 43/45743/3 stabilize-3881.0.B
Charlie Mooney [Mon, 18 Mar 2013 15:30:20 +0000 (08:30 -0700)]
Touchtests: Updating tests for new Fling config

The fling settings have been changed a little bit based off a
user-study.  As a result, the fling behavior is different than it was
when a couple tests here were written, and if the tolerances on what is
acceptable fling distances for the validator is small this causes
them to fail.  This CL just updates the two newly-failing validators to
check against the new values when you run the regression tests since
while the value has changed, we are confident that it is a change for
the better.

BUG=chromium:216790
TEST=This is a regression test change, ran against the new versions of
gestures
CQ-DEPEND=Ib985b987d65325140b088a844ef5f8c0ad2b88f7

Change-Id: I0e50560fa8f3ba2374a20d123902588e924b3640
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/45743
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
21 months agoFixed: link/button_middle_click_variations 77/45777/2
Dennis Kempin [Mon, 18 Mar 2013 20:53:16 +0000 (13:53 -0700)]
Fixed: link/button_middle_click_variations

the expected behavior of one click changed:
 2 cold fingers plus the touchdown of a 3rd finger that clicks the
 button is no longer supposed to do a middle click, but a left click
BUG=chromium-os:39368
TEST=This is the test.

Change-Id: I03bda35e1778ce0eb761d70e89726b2e33710c8d
Reviewed-on: https://gerrit.chromium.org/gerrit/45777
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
21 months agoframework: Only print reports for regressions 80/45480/4
Dennis Kempin [Thu, 28 Feb 2013 18:49:59 +0000 (10:49 -0800)]
framework: Only print reports for regressions

The reports were too verbose to be useful. We don't need reports of
successfull test cases, so we now only print validation reports
for regressions or failed tests.

BUG=chromium-os:39362
TEST=run touchtests

Change-Id: I92083c9a45c62b807ae8e398f6c8b0ce7024b6c4
Reviewed-on: https://gerrit.chromium.org/gerrit/45480
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
21 months agoframework: Allow tests to be documented and marked as disabled 79/45479/4
Dennis Kempin [Thu, 28 Feb 2013 18:39:24 +0000 (10:39 -0800)]
framework: Allow tests to be documented and marked as disabled

The docstring of each Validator method is not printed in the validation
reports so each test case can have a description of what it is testing.
Also tests can now be marked as disabled if they fail for known reasons.

BUG=chromium-os:39293
TEST=touchtests
see that two failing tests for butterfly2.4 are now marked as disabled

Change-Id: Ic73098d23fc3449bce300f7535b63dd2e11e63a7
Reviewed-on: https://gerrit.chromium.org/gerrit/45479
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
21 months agolink: Variations of button clicks for right and middle click 60/45260/7
Dennis Kempin [Tue, 12 Mar 2013 22:25:25 +0000 (15:25 -0700)]
link: Variations of button clicks for right and middle click

Each case contains multiple variations of finger positions and movements
that are supposed to invoke a right or middle click.

BUG=chromium-os:39368
TEST=this is the test

Change-Id: I382abc783acaa4c7ea1888fc17fdebb8ff3f32c7
Reviewed-on: https://gerrit.chromium.org/gerrit/45260
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
21 months agoframework: Smarter re-compile. Don't run if there are compile errors 78/45478/4
Dennis Kempin [Thu, 28 Feb 2013 19:43:45 +0000 (11:43 -0800)]
framework: Smarter re-compile. Don't run if there are compile errors

Also, only show compile log if there are errors present.
Note: You will have to re-run make setup-in-place to make this work.
+ small style fixes in main.py

BUG=chromium-os:39367
TEST=run touchtests

Change-Id: I957058fbb27a719fc1bbe2d2007df754228ef8e6
Reviewed-on: https://gerrit.chromium.org/gerrit/45478
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
21 months agoFramework: Add --autotest flag 83/45483/2 factory-spring-3842.B
Dennis Kempin [Thu, 14 Mar 2013 20:49:01 +0000 (13:49 -0700)]
Framework: Add --autotest flag

Add the --autotest flag. The autotest flag is set when running
touchtests on devices as part of autotest.
This will be required for future CLs to re-compile only when running
touchtests locally.

BUG=chromium-os:39367
TEST=Run touchtests --autotest. Still works the same.

Change-Id: Ifd4f1a300e5a864b6f7074ea3b5272083e460d48
Reviewed-on: https://gerrit.chromium.org/gerrit/45483
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
21 months agoRevert "framework: Allow tests to be documented and marked as disabled" 85/45385/2
Ilja H. Friedel [Thu, 14 Mar 2013 04:58:37 +0000 (21:58 -0700)]
Revert "framework: Allow tests to be documented and marked as disabled"

This reverts commit 2cae4432e00241710d6546e6c748f1c9e39dfbf5

Change-Id: I600ffdb3aa54605e6ba1d6488558eaa6c5603603
chromium-os:39367
Reviewed-on: https://gerrit.chromium.org/gerrit/45385
Commit-Queue: Ilja H. Friedel <ihf@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
21 months agoRevert "framework: Only print reports for regressions" 84/45384/2
Ilja H. Friedel [Thu, 14 Mar 2013 04:54:57 +0000 (21:54 -0700)]
Revert "framework: Only print reports for regressions"

This reverts commit 0559fa130a39307e49ad3c72342a87e0675576fd

Change-Id: I1d9f61f5ef659418a06ec74d0f9c9b4978c3c153
chromium-os:39367
Reviewed-on: https://gerrit.chromium.org/gerrit/45384
Commit-Queue: Ilja H. Friedel <ihf@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
21 months agoRevert "framework: Smarter re-compile. Don't run if there are compile errors" 82/45382/2
Ilja H. Friedel [Thu, 14 Mar 2013 04:48:14 +0000 (21:48 -0700)]
Revert "framework: Smarter re-compile. Don't run if there are compile errors"

This reverts commit af6791aacca37ac38a00282cbcade6e068a0e012

BUG=chromium-os:39367

Change-Id: I815848889162b50d6d831445e2f8ee69c7adfd3e
Reviewed-on: https://gerrit.chromium.org/gerrit/45382
Commit-Queue: Ilja H. Friedel <ihf@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
21 months agoframework: Smarter re-compile. Don't run if there are compile errors 98/44298/5
Dennis Kempin [Thu, 28 Feb 2013 19:43:45 +0000 (11:43 -0800)]
framework: Smarter re-compile. Don't run if there are compile errors

Also, only show compile log if there are errors present.
Note: You will have to re-run make setup-in-place to make this work.
+ small style fixes in main.py

BUG=chromium-os:39367
TEST=run touchtests

Change-Id: I64306c94eda5519f11013289391061ae5326f651
Reviewed-on: https://gerrit.chromium.org/gerrit/44298
Reviewed-by: Charlie Mooney <charliemooney@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
21 months agoframework: Only print reports for regressions 87/44287/3
Dennis Kempin [Thu, 28 Feb 2013 18:49:59 +0000 (10:49 -0800)]
framework: Only print reports for regressions

The reports were too verbose to be useful. We don't need reports of
successfull test cases, so we now only print validation reports
for regressions or failed tests.

BUG=chromium-os:39362
TEST=run touchtests

Change-Id: I51f81cf312b16329ea69227efd2546f5646ac0b6
Reviewed-on: https://gerrit.chromium.org/gerrit/44287
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
21 months agoframework: Allow tests to be documented and marked as disabled 86/44286/3
Dennis Kempin [Thu, 28 Feb 2013 18:39:24 +0000 (10:39 -0800)]
framework: Allow tests to be documented and marked as disabled

The docstring of each Validator method is not printed in the validation
reports so each test case can have a description of what it is testing.
Also tests can now be marked as disabled if they fail for known reasons.

BUG=chromium-os:39293
TEST=touchtests
see that two failing tests for butterfly2.4 are now marked as disabled

Change-Id: I6fb10d49b1cd0dea31b5a19b067e1984cae63a8a
Reviewed-on: https://gerrit.chromium.org/gerrit/44286
Reviewed-by: Charlie Mooney <charliemooney@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>