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>
This commit is contained in:
Daniel Vetter
2013-12-10 09:23:44 +01:00
parent 8c33e9ad11
commit 831a47196d
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -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,