mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-07-26 03:07:24 +00:00
lib/drm_lib.sh: Bare-bones long option parsing
Just enough to stay compatible with simple subtests. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
91f536dc42
commit
556ebc7a7c
@ -1,4 +1,17 @@
|
|||||||
#!/bin/sh
|
#!/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() {
|
die() {
|
||||||
echo "$@"
|
echo "$@"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user