summaryrefslogtreecommitdiff
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
parent71ba0038dbd8574a959f0e742e7dcac843426805 (diff)
tests/prime_nv_pcopy: guard output for subtest listing
-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 dc16f7a..88b14e5 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;
}