summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-06-02 16:42:42 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-06-02 16:42:42 -0700
commit7322c96cc0c2524d399fb43fb406fb6324a795c8 (patch)
tree330e639369186ed365deb5eb05338c3bec0d3146 /tests
parent1a21de56b9e3e69413ee6addc0e776b40f79782e (diff)
parent3dfd0e131efab40df4beba1e40d232a4fcf807dc (diff)
downloadframeworks_base-7322c96cc0c2524d399fb43fb406fb6324a795c8.zip
frameworks_base-7322c96cc0c2524d399fb43fb406fb6324a795c8.tar.gz
frameworks_base-7322c96cc0c2524d399fb43fb406fb6324a795c8.tar.bz2
Merge change 2967 into donut
* changes: Fixed issue where code for extracting scripts was eclipsed by runTest method.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/DumpRenderTree/assets/run_reliability_tests.py8
-rw-r--r--tests/DumpRenderTree/src/com/android/dumprendertree/ReliabilityTest.java3
2 files changed, 3 insertions, 8 deletions
diff --git a/tests/DumpRenderTree/assets/run_reliability_tests.py b/tests/DumpRenderTree/assets/run_reliability_tests.py
index c12c783..84b9501 100755
--- a/tests/DumpRenderTree/assets/run_reliability_tests.py
+++ b/tests/DumpRenderTree/assets/run_reliability_tests.py
@@ -110,8 +110,8 @@ def main(options, args):
# Call ReliabilityTestsAutoTest#startReliabilityTests
test_cmd = (test_cmd_prefix + " -e class "
"com.android.dumprendertree.ReliabilityTest#"
- "runTest -e timeout %d %s" %
- (timeout_ms, test_cmd_postfix))
+ "runReliabilityTest -e timeout %s %s" %
+ (str(timeout_ms), test_cmd_postfix))
adb_output = subprocess.Popen(test_cmd, shell=True,
stdout=subprocess.PIPE,
@@ -125,10 +125,6 @@ def main(options, args):
crashed_tests.append(crashed_test)
logging.info("Resuming reliability test runner...")
- test_cmd = (test_cmd_prefix + " -e class "
- "com.android.dumprendertree.ReliabilityTest#"
- "runTest -e timeout %d %s" %
- (timeout_ms, test_cmd_postfix))
adb_output = subprocess.Popen(test_cmd, shell=True, stdout=subprocess.PIPE,
stderr=subprocess.PIPE).communicate()[0]
diff --git a/tests/DumpRenderTree/src/com/android/dumprendertree/ReliabilityTest.java b/tests/DumpRenderTree/src/com/android/dumprendertree/ReliabilityTest.java
index 081ddafa..aa3940e 100644
--- a/tests/DumpRenderTree/src/com/android/dumprendertree/ReliabilityTest.java
+++ b/tests/DumpRenderTree/src/com/android/dumprendertree/ReliabilityTest.java
@@ -30,8 +30,7 @@ public class ReliabilityTest extends ActivityInstrumentationTestCase2<Reliabilit
super(PKG_NAME, ReliabilityTestActivity.class);
}
- @Override
- protected void runTest() throws Throwable {
+ public void runReliabilityTest() throws Throwable {
ReliabilityTestActivity activity = getActivity();
LayoutTestsAutoRunner runner = (LayoutTestsAutoRunner)getInstrumentation();