From 5825cf807ea29772d2dff6135be9c15c61d04155 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Thu, 20 Dec 2012 23:30:10 +0100 Subject: tests/prime_nv_pcopy: guard output for subtest listing --- tests/prime_nv_pcopy.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/prime_nv_pcopy.c') 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; } -- cgit v1.2.3