Just enough to stay compatible with simple subtests.

Signed-off-by: Daniel Vetter <daniel.vet...@ffwll.ch>
---
 tests/drm_lib.sh | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/tests/drm_lib.sh b/tests/drm_lib.sh
index 38befa88acb8..d71e6ae2223e 100755
--- a/tests/drm_lib.sh
+++ b/tests/drm_lib.sh
@@ -1,4 +1,17 @@
 #!/bin/sh
+
+# hacked-up long option parsing
+for arg in $@ ; do
+       case $arg in
+               --list-subtests)
+                       exit 79
+                       ;;
+               --run-subtest)
+                       exit 79
+                       ;;
+       esac
+done
+
 die() {
        echo "$@"
        exit 1
-- 
2.0.1

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

Reply via email to