summaryrefslogtreecommitdiff
path: root/tests/prime_nv_pcopy.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-12-20 23:30:10 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-12-20 23:30:33 +0100
commit5825cf807ea29772d2dff6135be9c15c61d04155 (patch)
tree1bd7266feb7357f2d7b77b03f26f6b4656212780 /tests/prime_nv_pcopy.c
parent71ba0038dbd8574a959f0e742e7dcac843426805 (diff)
tests/prime_nv_pcopy: guard output for subtest listing
Diffstat (limited to 'tests/prime_nv_pcopy.c')
-rw-r--r--tests/prime_nv_pcopy.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/prime_nv_pcopy.c b/tests/prime_nv_pcopy.c
index dc16f7a1..88b14e5d 100644
--- a/tests/prime_nv_pcopy.c
+++ b/tests/prime_nv_pcopy.c
@@ -1330,6 +1330,8 @@ int main(int argc, char **argv)
close(intel_fd);
close(nouveau_fd);
- printf("Tests: %u run, %u failed\n", run, failed);
+ if (!drmtest_only_list_subtests())
+ printf("Tests: %u run, %u failed\n", run, failed);
+
return failed;
}