8 Commits

Author SHA1 Message Date
Daniel Vetter
96c2fc82ba test/flip_test: fail harder
We want testcase to return non-zero if they fail ...
2012-05-22 19:54:22 +02:00
Daniel Vetter
17787f30c6 lib: extract kmstest_dump_mode 2012-05-22 16:15:15 +02:00
Daniel Vetter
b7aa6756ce test/flip_test: use kmstest_create_fb
And bring back some frame indication that actually works.
2012-05-22 16:12:04 +02:00
Daniel Vetter
0732cc59ab tests: use drm_open_any more
And fix it up to not leak open fds, which kills all the master only
stuff.
2012-05-22 12:01:36 +02:00
Daniel Vetter
a5e6897d10 tests/flip_test: rip out usage
Totally useless if the only option is "-h"
2012-05-22 10:57:17 +02:00
Daniel Vetter
9e620146f7 tests/flip_test: rip out funny pictures
The path isn't properly autodetected and it yells stupid stuff into
stderr. Which causes spurious failures.

And really, these are automated tests. If you need to look at the output,
something is wrong.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-05-22 10:51:29 +02:00
Jesse Barnes
e70b7de8ce tests/flip_test: test on each CRTC for each detected output
This allows us to test on 3 pipe configs for example.
2012-05-07 12:57:05 -07:00
Jesse Barnes
362599ac10 tests: add simple flip test
Add a simple flip test to test flipping on a single output with the
preferred mode.

TODO: test each crtc for 3s and print pass/fail results
2012-05-07 12:36:28 -07:00