summaryrefslogtreecommitdiff
path: root/lib/drmtest.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-10 09:23:44 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-10 09:23:44 +0100
commit831a47196dd4d8afbdd967353d689bf8aed4f3e6 (patch)
tree3d2809ecd44c850b8cf9cfbef0f6f5888f16bc3a /lib/drmtest.c
parent8c33e9ad111d27b84db4daac43809a807f262632 (diff)
lib: Add host platform to version string
This is import on systems where we compile 32bit tests that run on 64bit platforms. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/drmtest.c')
-rw-r--r--lib/drmtest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/drmtest.c b/lib/drmtest.c
index 9efe2bd1..61417f7b 100644
--- a/lib/drmtest.c
+++ b/lib/drmtest.c
@@ -806,7 +806,8 @@ static void print_version(void)
if (list_subtests)
return;
- fprintf(stdout, "IGT-Version: %s-%s\n", PACKAGE_VERSION, IGT_GIT_SHA1);
+ fprintf(stdout, "IGT-Version: %s-%s (%s)\n", PACKAGE_VERSION,
+ IGT_GIT_SHA1, TARGET_CPU_PLATFORM);
}
static void print_usage(const char *command_str, const char *help_str,