26 Commits

Author SHA1 Message Date
Guang Zhu
f6d1b3f125 Make DRT pull data over network
command format:

adb shell am instrument -w -e class \
    com.android.dumprendertree.LoadTestsAutoTest#runPageCyclerTest \
    -e suite moz \
    -e iteration 1 \
    -e forward android-browser-test:80/page_cycler/ \
    com.android.dumprendertree/.LayoutTestsAutoRunner

Change-Id: Ib4e9db28953f6be155517bb4b139e4477305c2c2
2011-04-26 17:55:27 -07:00
Guang Zhu
7171622320 change webkit test data path
path changed from "/sdcard/android/" to "/sdcard/webkit/". the
old path clashes with "/sdcard/Android/" and has some odd issues
under FUSE

Change-Id: I57102dca99612bdd7b4d1f196e43436cd1276281
2011-01-12 22:57:41 -08:00
Guang Zhu
6c15f6003a improvements on layout test
* reduce timeout limit from 30s to 15s
* terminate a test case under some condition on uncaught JS exception
* minor fixes

Change-Id: Iabc8f214544d2c8c14139756abc049870023fea5
2010-05-03 11:49:04 -07:00
Steve Block
cf0fd7892b Adds to DumpRenderTree the ability to ignore the results of tests
Change-Id: I7c16d9713fc35c773b810f9d5ce6700f8d9a28e4
2010-03-11 15:40:45 +00:00
Ben Murdoch
dc2711d47d Check if the JS_ENGINE key exists as an environment variable before reading it.
Change-Id: I274b23ea53ec0129ea3b52ff66322f7069338f53
2010-03-11 13:27:20 +00:00
Steve Block
12077e1179 Adds to DumpRenderTree the ability to look for Android-specific results
These Android-specific results will be added to
external/webkit/LayoutTests/platform/android-<js-engine> and are used in
preference to the generic expected results.

The JavaScript engine to use is read from the JS_ENGINE environment variable
used by the build system or can be overridden on the command line. If neither
is set, it defaults to JSC.

Change-Id: Ia8d107ced3968a5c061fd6f0f57451419bab6b27
2010-02-26 17:19:51 +00:00
Guang Zhu
5dc4f21ab6 Add support for extracting render time and image in page cycler 2009-12-02 17:55:18 -08:00
Guang Zhu
bfa68abc95 layout test rebase, bug fix
* rebase layout test based on newly enabled http tests
* fix a bug in initializing parameters (should happen before super.onCreate)
2009-11-05 15:28:15 -08:00
Guang Zhu
a0609a0d8a rebase layout test result as the numbers reported are much more stable now 2009-09-29 16:24:43 -07:00
Guang Zhu
ce8d9d1672 Add more error message if the script failed to pull result file from device. 2009-09-15 14:17:04 -07:00
Guang Zhu
ad1e25da74 Fix the bogus crashes in layout and reliability tests (the device actually went offline). 2009-09-14 15:20:52 -07:00
Guang Zhu
60ef21a5da Fix the parsing for instrumentation result, some Java exceptions are not reported right now 2009-09-14 11:27:40 -07:00
Guang Zhu
38323a5f9f allow a longer timeout for layout tests, see if it stabilizes pass/fail numbers 2009-08-31 22:01:53 -07:00
Guang Zhu
5080b6736e Fixed the missing EOL in last line of crashed tests list file. Also fixed some whitespaces. 2009-08-20 18:20:46 -07:00
Guang Zhu
595fbd6ea2 Fix a bug where wrong variable was used for comparison. 2009-06-19 15:40:01 -07:00
Guang Zhu
0528cd03b2 Add more data to reliability test report, includes min, max, std, run data. 2009-06-15 10:13:58 -07:00
Guang Zhu
903f311fdc Adjust order of file/section list in output diff 2009-06-12 15:03:45 -07:00
Guang Zhu
261a195323 Update control files (pass/fail/nontext/crash) to results from CRB45 2009-06-11 15:42:23 -07:00
Guang Zhu
2ab6f1fe0b Added support to record page load time for each url. 2009-06-10 13:37:03 -07:00
Guang Zhu
17f8fa6b24 Added bugreport collecting mechanism in case of crashes. 2009-06-04 11:03:57 -07:00
Guang Zhu
3e8950c0c7 Added new parameter to enable a manual pause between pages 2009-06-03 12:23:09 -07:00
Guang Zhu
3dfd0e131e Fixed issue where code for extracting scripts was eclipsed by runTest method. 2009-06-02 15:42:48 -07:00
Guang Zhu
65455a1a46 Update reliability test code. Use a separate activity with simpler calback mechanism. 2009-06-01 11:36:03 -07:00
Guang Zhu
4010ac35b1 added reliability test usding DumpRenderTree 2009-05-11 20:09:37 -07:00
Guang Zhu
b933f669e2 Back-merge all changes done in master to DumpRenderTree to donut. 2009-05-05 01:02:14 -07:00
Sridhar Gurivireddy
36fd6d243e AI 143779: am: CL 143727 Make the test runner and results assets of DumpRendertree. This is done so that we could have
1) Lab machines can run layout tests without having build environment setup
  2) We could have different set of pass/fail results per branch
  Also added a simple python script which runs run_layout_tests.py
  Original author: sridharg
  Merged from: //branches/cupcake/...

Automated import of CL 143779
2009-03-31 14:47:19 -07:00