kmstest: don't pollute stderr for impossible output configs
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 20 Oct 2013 17:24:08 +0000 (19:24 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 20 Oct 2013 17:24:08 +0000 (19:24 +0200)
commit3d2d73ed450983c427a839b10527bd4659fbb708
treef5c7ae61faf8ebedede9b6587af094f91fb18afd
parent45cd89ab3d18dc2c869951db4134c1e5dde45c1b
kmstest: don't pollute stderr for impossible output configs

Otherwise on machines where the only output available is restricted to
one pipe we'll have tons of "warn" results for no gain in the piglit
runner. All tests that use the kmstest helpers already check the
return value and do something sensible (like skip the tests if there's
really no config available).

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/drmtest.c