mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-23 22:32:57 +00:00
tests: sprinkle igt logging
All the cases that simply dump some debug information and couldn't be converted to some of the fancier macros. Some information output removed when it's redundant with the subtest status. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -49,7 +49,7 @@ igt_simple_main
|
||||
igt_assert(fscanf(file_max, "%u", &nofile_rlim) == 1);
|
||||
fclose(file_max);
|
||||
|
||||
printf("System limit for open files is %u\n", nofile_rlim);
|
||||
igt_info("System limit for open files is %u\n", nofile_rlim);
|
||||
|
||||
igt_assert(getrlimit(RLIMIT_NOFILE, &rlim) == 0);
|
||||
rlim.rlim_cur = nofile_rlim;
|
||||
@@ -78,7 +78,7 @@ igt_simple_main
|
||||
if (tmp_fd < 0) {
|
||||
/* Ensure we actually hit the failure path ... */
|
||||
igt_assert(handle == 0);
|
||||
printf("fd exhaustion after %i rounds.\n", i);
|
||||
igt_info("fd exhaustion after %i rounds.\n", i);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user