[PATCH i-g-t 6/7] drm_lib.sh: add standard command line options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Thomas Wood <thomas.wood@xxxxxxxxx>
---
 tests/drm_lib.sh | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/tests/drm_lib.sh b/tests/drm_lib.sh
index d71e6ae..6a8a310 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
 
-- 
2.1.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux