DeqpTestRunner: fix deqpLogFilename
authorPaul Thomson <paulthomson@google.com>
Fri, 3 Dec 2021 16:48:36 +0000 (16:48 +0000)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 14 Jan 2022 05:19:19 +0000 (05:19 +0000)
Fix capitalization of shell argument "deqpLogFilename" in
DeqpTestRunner.java. The code still worked fine in most cases because
the default filename matches the filename passed in DeqpTestRunner.java.

Components: Android
Google bug: b/206657494

Change-Id: I857fa3994ada72aa96d199569704a46034255309
(cherry picked from commit 42017ff7072dcc7e7a7d51dd5611be05abf5460f)

android/cts/runner/src/com/drawelements/deqp/runner/DeqpTestRunner.java

index a8481d5..2173986 100644 (file)
@@ -1445,7 +1445,7 @@ public class DeqpTestRunner implements IBuildReceiver, IDeviceTest,
         deqpCmdLine.append(" --deqp-watchdog=enable");
 
         final String command = String.format(
-                "am instrument %s -w -e deqpLogFileName \"%s\" -e deqpCmdLine \"%s\""
+                "am instrument %s -w -e deqpLogFilename \"%s\" -e deqpCmdLine \"%s\""
                     + " -e deqpLogData \"%s\" %s",
                 AbiUtils.createAbiFlag(mAbi.getName()), LOG_FILE_NAME, deqpCmdLine.toString(),
                 mLogData, instrumentationName);