summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2014-10-16 16:35:44 +0100
committerThomas Wood <thomas.wood@intel.com>2014-10-17 15:34:44 +0100
commitd02ffe46bb89305a81d249ba75afe84835bbe70e (patch)
tree8379995cffea271ca5dac4f90f9c37499b5781c6
parent48394471c58462fe3c245b27e730db7a8aedf29a (diff)
drm_lib.sh: add standard command line options
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
-rwxr-xr-xtests/drm_lib.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/drm_lib.sh b/tests/drm_lib.sh
index d71e6ae2..6a8a3105 100755
--- a/tests/drm_lib.sh
+++ b/tests/drm_lib.sh
@@ -9,6 +9,17 @@ for arg in $@ ; do
--run-subtest)
exit 79
;;
+ --debug)
+ IGT_LOG_LEVEL=debug
+ ;;
+ --help)
+ echo "Usage: `basename $0` [OPTIONS]"
+ echo " --list-subtests"
+ echo " --run-subtest <pattern>"
+ echo " --debug"
+ echo " --help"
+ exit 0
+ ;;
esac
done