diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-12-20 23:30:10 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-12-20 23:30:33 +0100 |
commit | 5825cf807ea29772d2dff6135be9c15c61d04155 (patch) | |
tree | 1bd7266feb7357f2d7b77b03f26f6b4656212780 | |
parent | 71ba0038dbd8574a959f0e742e7dcac843426805 (diff) |
tests/prime_nv_pcopy: guard output for subtest listing
-rw-r--r-- | tests/prime_nv_pcopy.c | 4 |
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; } |