tests/prime_nv_pcopy: guard output for subtest listing
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Dec 2012 22:30:10 +0000 (23:30 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Dec 2012 22:30:33 +0000 (23:30 +0100)
tests/prime_nv_pcopy.c

index dc16f7a..88b14e5 100644 (file)
@@ -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;
 }