diff options
| author | Thomas Wood <thomas.wood@intel.com> | 2014-10-16 16:35:44 +0100 |
|---|---|---|
| committer | Thomas Wood <thomas.wood@intel.com> | 2014-10-17 15:34:44 +0100 |
| commit | d02ffe46bb89305a81d249ba75afe84835bbe70e (patch) | |
| tree | 8379995cffea271ca5dac4f90f9c37499b5781c6 | |
| parent | 48394471c58462fe3c245b27e730db7a8aedf29a (diff) | |
drm_lib.sh: add standard command line options
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
| -rwxr-xr-x | tests/drm_lib.sh | 11 |
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 |
