summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/drm_lib.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/drm_lib.sh b/tests/drm_lib.sh
index 38befa88..d71e6ae2 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