summaryrefslogtreecommitdiff
path: root/lib/igt_core.c
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2014-11-19 15:44:00 +0000
committerThomas Wood <thomas.wood@intel.com>2014-12-04 16:07:55 +0000
commita5425a101cd38941961c13f97b56aa0683f64f8e (patch)
tree8f5453ae0a5753bdab1846cac1e7016618583bc9 /lib/igt_core.c
parentbc6dc7efdb65a6f5ac01cc2c306951dd9dd92fc4 (diff)
docs: add a glossary of test name terms
Add a glossary of test name terms based on the details in tests/NAMING-CONVENTION. Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'lib/igt_core.c')
-rw-r--r--lib/igt_core.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/lib/igt_core.c b/lib/igt_core.c
index 3fd45952..13a52a5a 100644
--- a/lib/igt_core.c
+++ b/lib/igt_core.c
@@ -1433,20 +1433,8 @@ void igt_log(enum igt_log_level level, const char *format, ...)
{
va_list args;
- assert(format);
-
- if (list_subtests)
- return;
-
- if (igt_log_level > level)
- return;
-
va_start(args, format);
- if (level == IGT_LOG_WARN) {
- fflush(stdout);
- vfprintf(stderr, format, args);
- } else
- vprintf(format, args);
+ igt_vlog(level, format, args);
va_end(args);
}