Commit b6c5280
committed
igt: skip core_auth when DRM primary node is unavailable
Update the core_auth runner to skip cleanly when no DRM primary node is
present and to preserve IGT skip semantics.
Changes in this update:
- use get_drm_primary_node() from functestlib.sh to detect /dev/dri/card*
- mark the test as SKIP when no DRM primary node is available
- treat IGT rc=77 as SKIP instead of FAIL
- keep other non-zero return codes as FAIL
Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>1 parent e5ecb2a commit b6c5280
File tree
1 file changed
+16
-5
lines changed- Runner/suites/Multimedia/Display/igt-gpu-tools/core_auth
1 file changed
+16
-5
lines changedLines changed: 16 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
94 | 105 | | |
95 | 106 | | |
96 | 107 | | |
| |||
122 | 133 | | |
123 | 134 | | |
124 | 135 | | |
125 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
126 | 141 | | |
127 | 142 | | |
128 | 143 | | |
129 | 144 | | |
130 | 145 | | |
131 | 146 | | |
132 | 147 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | 148 | | |
138 | 149 | | |
139 | 150 | | |
| |||
0 commit comments