testdisplay: test all modes if no option is provided
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 15 Sep 2011 18:13:41 +0000 (15:13 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 15 Sep 2011 17:38:18 +0000 (19:38 +0200)
commit9fe1148c4b20cb80c86c64a81c4594d152d20be7
tree71797fabcd03d34066838d5329c96a3e67f3ef77
parente450cf6d8aefc99bf9300092d50bae0d927490a1
testdisplay: test all modes if no option is provided

Previously, when called without any arguments, the application required
user input to finish.  However, testdisplay is ran by "make check", and
it is not a good idea to run a program that requires user input in "make
check". So we change the default behavior to something that doesn't
require user input. You can still access the previous behavior using the
"-m" argument.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/testdisplay.c