summaryrefslogtreecommitdiffstats
path: root/build/android/run_tests.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove the 'Test Finished' step from run_tests.py.mkosiba@chromium.org2012-05-101-3/+13
| | | | | | | | | | | | | | | | | The 'Test Finished' step was introduced in r130823 to absorb the non-zero exit status which we'd get if any of the test suites in the batch would fail. Since the run_tests.py script will print a STEP_FAILURE annotation for every suite the exit status is redundant and therefore should be removed. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10382100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136302 0039d316-1c4b-4281-b951-d872f2087c98
* Detect crashes while running native tests in APK.nileshagrawal@chromium.org2012-05-091-2/+1
| | | | | | | | | | | | | Adding signal handlers (for fatal signals) to output a marker indicating that the test crashed. BUG=125059 TEST= Review URL: https://chromiumcodereview.appspot.com/10310046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136050 0039d316-1c4b-4281-b951-d872f2087c98
* Add test summaries for native tests for Android.nileshagrawal@chromium.org2012-04-251-2/+1
| | | | | | | | | | | | | Modify test_result.LogFull() to print the summary, and call it when native finish running. BUG= TEST= Review URL: http://codereview.chromium.org/10210001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133830 0039d316-1c4b-4281-b951-d872f2087c98
* apk-based test runner work for android. 2 unit test bundles converted over ↵jrg@chromium.org2012-04-191-8/+28
| | | | | | | | | | | | | | | | | | | | | | | | (ipc, base). OFF by default; enable with a gyp var. E.g. GYP_DEFINES="$GYP_DEFINES gtest_target_type=shared_library" android_gyp Some useful commands: adb uninstall org.chromium.native_test adb install -r out/Release/base_unittests_apk/ChromeNativeTests-debug.apk adb shell am start -n org.chromium.native_test/org.chromium.native_test.ChromeNativeTestActivity For the moment, all apks can be built simultaneously but use the same activity name. Thus you cannot have more than one installed at the same time. BUG=None TEST= Review URL: http://codereview.chromium.org/10051021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133053 0039d316-1c4b-4281-b951-d872f2087c98
* Enable gpu_unittests for Android.yfriedman@chromium.org2012-04-171-0/+1
| | | | | | | | | It builds and runs successfully. Review URL: http://codereview.chromium.org/10107023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132622 0039d316-1c4b-4281-b951-d872f2087c98
* Don't show failure of the last succeeded testwangxianzhu@chromium.org2012-04-051-0/+2
| | | | | | | | | | | | | | Before this change, if some test failed before the last test succeeded, because of the return value, the buildbot will show that the last test also failed. Add a summary build step to avoid that. BUG=None TEST=None Review URL: http://codereview.chromium.org/9989001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130823 0039d316-1c4b-4281-b951-d872f2087c98
* Build and push chrome.pak for ui_unittests on Android.wangxianzhu@chromium.org2012-04-041-2/+8
| | | | | | | | | | BUG=None TEST=build/android/run_tests.py -s out/Release/ui_unittests Review URL: http://codereview.chromium.org/9963086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130547 0039d316-1c4b-4281-b951-d872f2087c98
* Disable ui_unittests before we resolve resource pack issue.wangxianzhu@chromium.org2012-04-031-1/+1
| | | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/9963076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130271 0039d316-1c4b-4281-b951-d872f2087c98
* Enable ui_unittests in Android buildwangxianzhu@chromium.org2012-04-021-1/+1
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/9958026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130188 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 128679 - Speculative revert. xcodebuilders hosed between r128678 - ↵rsleevi@chromium.org2012-03-241-2/+1
| | | | | | | | | | | | | | | | | | 128680 in GYP phse, this is the only change that touched GYP files. apk-based test runner work. Not enabled yet. This CL is a combination of upstreaming, ndk/ant-ification, and other tweaks. BUG=None TEST= Review URL: http://codereview.chromium.org/9834037 TBR=jrg@chromium.org Review URL: https://chromiumcodereview.appspot.com/9852004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128685 0039d316-1c4b-4281-b951-d872f2087c98
* apk-based test runner work. Not enabled yet. This CL is a combination of ↵jrg@chromium.org2012-03-241-1/+2
| | | | | | | | | | | | upstreaming, ndk/ant-ification, and other tweaks. BUG=None TEST= Review URL: http://codereview.chromium.org/9834037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128679 0039d316-1c4b-4281-b951-d872f2087c98
* Enable running content_unittests on the android builder.satish@chromium.org2012-03-151-1/+1
| | | | | | | | | | | | | This adds a blacklist of known test failures and adds content_unittests to the list of test suites to run. BUG=None TEST=content_unittests should start running and pass on the android builder. Review URL: http://codereview.chromium.org/9703066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127020 0039d316-1c4b-4281-b951-d872f2087c98
* Add sync_unit_test to known lists of Android unit tests.yfriedman@chromium.org2012-03-141-1/+2
| | | | | | | | | | | | | This will cause them to be run on the test/experimental bots. These tests are currently passing and we should keep them that way. BUG= TEST= Review URL: http://codereview.chromium.org/9696031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126556 0039d316-1c4b-4281-b951-d872f2087c98
* Upstream test sharder.bulach@chromium.org2012-02-291-23/+91
| | | | | | | | | | | | | On chromium for android, we shard tests by splitting the set of tests and running on multiple connected devices. BUG= TEST=build/android/run_tests.py Review URL: http://codereview.chromium.org/9494007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124214 0039d316-1c4b-4281-b951-d872f2087c98
* Add annotator tags for better debugging. More suppressions and other tweaks.jrg@google.com2012-01-131-14/+28
| | | | | | | | | BUG=None TEST= Review URL: http://codereview.chromium.org/9104002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117583 0039d316-1c4b-4281-b951-d872f2087c98
* Restart the Android emulator for each test.jrg@google.com2012-01-121-28/+61
| | | | | | | | | BUG=None TEST= Review URL: http://codereview.chromium.org/9187062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117508 0039d316-1c4b-4281-b951-d872f2087c98
* Increase Android test robustness.jrg@google.com2012-01-121-6/+33
| | | | | | | | | | | | Use of the emulator is probably a lost cause, but maybe this can hold us for now. BUG=None TEST= Review URL: http://codereview.chromium.org/9185043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117458 0039d316-1c4b-4281-b951-d872f2087c98
* Android buildbot reliability fixes.jrg@google.com2011-12-051-1/+0
| | | | | | | | | | | | More changes to help make the chromium android buildbot more reliable. Unlikely to be comprehensive but in the right direction. BUG=None TEST= Review URL: http://codereview.chromium.org/8787010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113004 0039d316-1c4b-4281-b951-d872f2087c98
* Android bot changes for robustness, profiling, and debugging.jrg@google.com2011-12-011-0/+22
| | | | | | | | | | | | | | | | Kill all emulators before starting a test to be more robust on error. Print error if a file fails to copy to the device. Speed up emulator launch by 40%. Increase emulator partition size to fix 'out of space on device' errors. Log emulator launch time to help profile bot costs. Run tests in verbose mode to assist with bot debugging. BUG=None TEST= Review URL: http://codereview.chromium.org/8769020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112552 0039d316-1c4b-4281-b951-d872f2087c98
* Expand android tests.jrg@google.com2011-11-301-2/+1
| | | | | | | | | | | | Add net_unittests to baseline build/run; add some test disabling. Add experimental build phase to bot script. BUG=None TEST= Review URL: http://codereview.chromium.org/8746003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112296 0039d316-1c4b-4281-b951-d872f2087c98
* Verbose on test list in output. Add test-related comment near deps.jrg@chromium.org2011-11-281-0/+1
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/8676022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111738 0039d316-1c4b-4281-b951-d872f2087c98
* Fix python scripts in src/build/maruel@chromium.org2011-11-231-1/+1
| | | | | | | | | | | | | | | | | | Make sure that: - shebang is only present for executable files - shebang is #!/usr/bin/env python - __main__ is only present for executable files - file's executable bit is coherent Also fix EOF LF to be only one. TBR=michaelbai@chromium.org BUG=105108 TEST= Review URL: http://codereview.chromium.org/8667008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111385 0039d316-1c4b-4281-b951-d872f2087c98
* Fix importsjrg@google.com2011-11-211-0/+1
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/8629001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111014 0039d316-1c4b-4281-b951-d872f2087c98
* Add xvfb option for running android tests on a bot.jrg@google.com2011-11-211-0/+58
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/8536051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110982 0039d316-1c4b-4281-b951-d872f2087c98
* Android IPC changes.jrg@chromium.org2011-11-041-1/+1
| | | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/8437033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108589 0039d316-1c4b-4281-b951-d872f2087c98
* Enable sql_unittests for Android.jrg@chromium.org2011-11-031-1/+1
| | | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/8351064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108414 0039d316-1c4b-4281-b951-d872f2087c98
* Upstream: Test scripts for Android (phase 2)michaelbai@google.com2011-10-241-0/+208
Currently only support run base_unittests BUG= TEST= Review URL: http://codereview.chromium.org/8364020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106953 0039d316-1c4b-4281-b951-d872f2087c98