tests/pm_pc8: check if we can't become DRM master
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 16 Dec 2013 20:47:39 +0000 (18:47 -0200)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 16 Dec 2013 20:51:39 +0000 (18:51 -0200)
commit2a71bff3173c538d618f5fc6f45b7150fc10f3fb
tree6d6e5c2085a984fd2cbab9308b08a823c8abca5c
parent62e1cbc6343577e4fe2ea5b93981fab015872670
tests/pm_pc8: check if we can't become DRM master

QA reported a failure that I believe happened because we couldn't
become DRM master, so add code that checks for this and prints a nice
error message.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
tests/pm_pc8.c