The RsBench test activity can be launched within instrumentation - Provide parameter to control test run: set the maximum number of loops from test runner, the script will send out a message after the test loops exceeds the maxium number Change-Id: I5fba0543094ef7a8b5eaa6ff9a04367d272b4d65
23 lines
924 B
XML
23 lines
924 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.android.perftest">
|
|
<uses-sdk android:minSdkVersion="11" />
|
|
<application android:label="PerfTest"
|
|
android:icon="@drawable/test_pattern">
|
|
<uses-library android:name="android.test.runner" />
|
|
<activity android:name="RsBench"
|
|
android:label="RsBenchmark"
|
|
android:theme="@android:style/Theme.Black.NoTitleBar">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
|
|
<instrumentation android:name=".RsPerfTestRunner"
|
|
android:targetPackage="com.android.perftest"
|
|
android:label="Test runner for RsBench tests"
|
|
/>
|
|
</manifest>
|