summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-04-04 11:36:27 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-04-04 11:36:27 +0200
commitc97a45ff098ba1e9772b5d1ebeedf52ec2b64652 (patch)
tree238a2d79f70b2739eb74ad0ddf2ff4c6880dc924 /tests
parentd16dd3a0f896d7d7060427a4547d19472a0ea492 (diff)
tests/prime_udl: skip harder
I fail.
Diffstat (limited to 'tests')
-rw-r--r--tests/prime_udl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/prime_udl.c b/tests/prime_udl.c
index 97aeee01..4e0d9be1 100644
--- a/tests/prime_udl.c
+++ b/tests/prime_udl.c
@@ -154,7 +154,7 @@ int main(int argc, char **argv)
if (ret < 0)
return ret;
- if (udl_fd == -1 && intel_fd == -1) {
+ if (udl_fd == -1 || intel_fd == -1) {
fprintf(stderr,"failed to find intel and udl GPU\n");
return 77;
}