aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools
diff options
context:
space:
mode:
authorGravatar borenet <borenet@google.com>2015-08-20 09:12:39 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-20 09:12:39 -0700
commit877a52ae61f41f0b519a906ed2460d44746de8e1 (patch)
treedfabe3a9d6317ac2e3ef1f42c285d463d541c021 /platform_tools
parentddbbddabefe865cc52e4b89a9d45455b987129bd (diff)
VisualBenchTest: Write JSON output
Diffstat (limited to 'platform_tools')
-rw-r--r--platform_tools/android/apps/robotium.cfg7
-rw-r--r--platform_tools/android/apps/visualbench/src/main/java/com/skia/VisualBenchTestActivity.java2
2 files changed, 8 insertions, 1 deletions
diff --git a/platform_tools/android/apps/robotium.cfg b/platform_tools/android/apps/robotium.cfg
new file mode 100644
index 0000000000..4e4b577c7f
--- /dev/null
+++ b/platform_tools/android/apps/robotium.cfg
@@ -0,0 +1,7 @@
+# Configuration settings for running Robotium tests in Appurify.
+
+[robotium]
+dumpsys=1
+dumpstate=1
+sdcard_files=android_inputs.zip
+collect_artifacts=/sdcard/skia_results
diff --git a/platform_tools/android/apps/visualbench/src/main/java/com/skia/VisualBenchTestActivity.java b/platform_tools/android/apps/visualbench/src/main/java/com/skia/VisualBenchTestActivity.java
index 3e2bfd867c..2edd816306 100644
--- a/platform_tools/android/apps/visualbench/src/main/java/com/skia/VisualBenchTestActivity.java
+++ b/platform_tools/android/apps/visualbench/src/main/java/com/skia/VisualBenchTestActivity.java
@@ -29,7 +29,7 @@ public class VisualBenchTestActivity extends ActivityUnitTestCase<VisualBenchAct
String pkg = getInstrumentation().getTargetContext().getPackageName();
Intent intent = new Intent(getInstrumentation().getTargetContext(),
VisualBenchActivity.class);
- intent.putExtra("cmdLineFlags", "");
+ intent.putExtra("cmdLineFlags", "--outResultsFile /sdcard/skia_results/visualbench.json");
mActivity = launchActivityWithIntent(pkg, VisualBenchActivity.class, intent);
assertNotNull("mActivity is null", mActivity);