diff options
author | Guang Zhu <guangzhu@google.com> | 2009-06-02 15:42:48 -0700 |
---|---|---|
committer | Guang Zhu <guangzhu@google.com> | 2009-06-02 15:42:48 -0700 |
commit | 3dfd0e131efab40df4beba1e40d232a4fcf807dc (patch) | |
tree | 0992e369e3e6ae0f14318bec785286c74c7bcfb6 /tests/DumpRenderTree/assets | |
parent | b56736b666dd906a214639e24b624ec368e383f5 (diff) | |
download | frameworks_base-3dfd0e131efab40df4beba1e40d232a4fcf807dc.zip frameworks_base-3dfd0e131efab40df4beba1e40d232a4fcf807dc.tar.gz frameworks_base-3dfd0e131efab40df4beba1e40d232a4fcf807dc.tar.bz2 |
Fixed issue where code for extracting scripts was eclipsed by runTest method.
Diffstat (limited to 'tests/DumpRenderTree/assets')
-rwxr-xr-x | tests/DumpRenderTree/assets/run_reliability_tests.py | 8 |
1 files changed, 2 insertions, 6 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] |