drm_lib.sh: add standard command line options

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
Thomas Wood 2014-10-16 16:35:44 +01:00
parent 48394471c5
commit d02ffe46bb

View File

@ -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