Print test log path into console output
authorPyry Haulos <phaulos@google.com>
Tue, 20 Sep 2016 20:15:00 +0000 (13:15 -0700)
committerPyry Haulos <phaulos@google.com>
Tue, 20 Sep 2016 20:15:56 +0000 (13:15 -0700)
Having test log path printed out is helpful as it makes it clearer
that the console output is not the actual test log. Additionally, on
some platforms, such as Android, the log might be written into
non-obvious location.

Change-Id: I954550f96b2b910eb0cbfd8b83612b2a758669db

framework/qphelper/qpTestLog.c

index 0d98abf..5e60797 100644 (file)
@@ -340,6 +340,8 @@ qpTestLog* qpTestLog_createFileLog (const char* fileName, deUint32 flags)
        ContainerStack_reset(&log->containerStack);
 #endif
 
+       qpPrintf("Writing test log into %s\n", fileName);
+
        /* Create output file. */
        log->outputFile = fopen(fileName, "wb");
        if (!log->outputFile)