| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
NOTRY=true
BUG=
Review URL: https://chromiumcodereview.appspot.com/10825322
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151493 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
account.
This broke the WebKit Chromium Android bot.
BUG=142322
Review URL: https://chromiumcodereview.appspot.com/10829291
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151257 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/10826246
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151058 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Also includes a refactoring of the Ant xml scripts to use a common template (contributed by shashishekhar@chromium.org). As part of this, I also continued Torne's effort of removing our reliance on environment variables. Unfortunately this currently means that you have to specify 5 gyp flags:
ANDROID_SDK, ANDROID_SDK_ROOT, ANDROID_SDK_TOOLS, ANDROID_SDK_VERSION, ANDROID_TOOLCHAIN.
This'll get better as we make further use of the checked in sdk both upstream and downstream. The problem stems from the android tree and released sdk having different configurations.
Review URL: https://chromiumcodereview.appspot.com/10830012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150172 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
which one it was in logs.
Review URL: https://chromiumcodereview.appspot.com/10825199
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150107 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This flag supersedes --ant-compile and takes its value from gyp's sdk_build
variable. It will tell the native test generator script to use Ant for Java
compilation (default) instead of the Android.mk file.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10821128
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149440 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- When reporting errors from the simulator framework always include the error
domain and error code since some of the strings come back from the simulator
and those are localized.
- There appears to be a race condition where sometimes the simulator framework
will end with an error, but the error is that the simulated app cleanly shut
down; try to trap this error and don't fail the simulator run.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/10831111
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149427 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
and lookup the classes by name. This allows the binary to work with multiple
versions of Xcode and doesn't tile the binary to an Xcode install location.
- Fix problem where the tool could log the wrong thing since basename()
returns an internal buffer.
Review URL: https://chromiumcodereview.appspot.com/10828070
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149067 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=138115
Review URL: https://chromiumcodereview.appspot.com/10830068
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148976 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
app is launched.
Review URL: https://chromiumcodereview.appspot.com/10831050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148955 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/10829059
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148783 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
iossim is a command line tool used to run an iOS app in the iOS Simulator.
BUG=None
TEST=None
Review URL: https://chromiumcodereview.appspot.com/10805004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148753 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
override of base::DIR_SOURCE_ROOT."
CR_SOURCE_ROOT is used in practice by linux user(s), plural still to be
determined, mostly for ChromeOS related development.
R=willchan@chromium.org
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10808048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148621 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/10829023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148555 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows easily running a unit test target on multiple simulator configurations.
BUG=None
TEST=None
Review URL: https://chromiumcodereview.appspot.com/10832030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148532 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
from downstream and strip NOTIMPLEMENTED()s from official builds."
Relanding http://codereview.chromium.org/10816039/ but removing the
clang parts and fixing x86.
This reverts commit 7fc96c8b734fc9bc8152329d99e8ee3f3de14a65.
BUG=137569
Review URL: https://chromiumcodereview.appspot.com/10809081
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148338 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The rule of generating jni header is changed, need to update the related
source file.
BUG=
TEST=unittests
Review URL: https://chromiumcodereview.appspot.com/10809029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147609 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allow finer grain control over what is rebuilt.
Also, since we have approval over the generated header file name,
it greatly simplifies both the generator and also all the gyp files
as they no longer need to list the header file and keep in sync with the
java file, so the process now is as simple as adding a single java file
to the sources.
BUG=137069
TEST=build on android
Review URL: https://chromiumcodereview.appspot.com/10798010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147515 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the generated file for GetAllTests() to a public directory in the device.
Adds the necessary permission to the manifest for the test.
BUG=
TEST=run android tests in a non-rooted device.
Review URL: https://chromiumcodereview.appspot.com/10804003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147430 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10778023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147043 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use fail and condition to do check firstly before any targets
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10696189
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146540 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ant building base dir is the same as the output directory. In SDK
r20, mergemanifest task will use the same file to do copying. As a
result, it will empty the manifest file - AndroidManifest.xml.
For the backward compatibility, fix it by copying input manifest file
into a new directory so the output manifest file is still in the ant
building base directory which could be used later by other tasks.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10694128
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146296 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some of the tests, such as layout tests, need to run on a seperate thread.
Adding an extra to the intent to achieve this.
When invoking the test, users can use 'adb shell am start -e RunInSubThread -n testName'
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10696172
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146220 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Complete the TODO for native unittests apk to place used
jars into ${out.dir}/java/libs. Add the conditional check
if there is no jar in that directory.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10701113
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146034 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The raw 'executable' type maps to the .tool Apple product-type, which doesn't exist on iOS. Make each unit test a bundle instead.
BUG=None
TEST=None
Review URL: https://chromiumcodereview.appspot.com/10704121
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145671 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Top-level scripts are kept under build/android.
- Utility libraries have been moved to build/android/pylib.
- Fixes all imports and headers.
This is in preparation for landing the "instrumentation" (java-based) tests,
which will reuse several of these components.
BUG=
TEST=existing android tests
Review URL: https://chromiumcodereview.appspot.com/10693110
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145653 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10689102
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145603 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This permits to start trace_test_cases.py/isolate.py trace inside an xvfb buffer
and not have the inner xvfb be created.
TBR=cmp@chromium.org
NOTRY=true
BUG=
TEST=tested manually
Review URL: https://chromiumcodereview.appspot.com/10702103
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145546 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
For convenience of debugging APKs of native tests (*_unittests, DumpRenderTree)
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10697083
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145538 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to terminate our own constructed argv[] before passing
it into gtest as gtest requires a null-terminated argv.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10692095
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145525 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
base::DIR_SOURCE_ROOT.
The environment variable overidde was only implemented on linux and not on the
other OSes. So it was not coherent across platforms. I searched for usage and
didn't find anything compelling. If this change causes any breakage, simply
revert it. If is is needed, it should be made coherent between platforms.
Note that this trick is not compatible with test isolation, where test should
find their data file at deterministic relative location, hence the removal of
this override.
R=willchan@chromium.org
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10661019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144460 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rather than chromium's LOG(ERROR) uses directly __android_log_write
for the gtest printer.
Cleans up the log and make it simpler to spot real errors.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10579040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144428 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- excluding .svn directories, which were being pushed onto phones
- should also allow us to avoid unnecessary io
pylint cleanup of this file
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10662010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144392 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A better way to implement: http://codereview.chromium.org/10658017/
BUG=125059
TEST=
Review URL: https://chromiumcodereview.appspot.com/10668047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144374 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=Unit tests should still pass.
Review URL: https://chromiumcodereview.appspot.com/10387218
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144350 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TBR=jam@chromium.org,jrg@chromium.org
(The original CL was submitted with a TBR too, incorrectly categorized as a simple gyp change)
This reverts commit 575ab5330492664079ea89804bec615d15ea3b33.
We intend to do this using run_all_unittests.cc in individual suites.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10662056
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144240 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TBR=rsleevi@chromium.org,jam@chromium.org
(Using TBR as this is a trivial gyp change)
BUG=125059
TEST=
Review URL: https://chromiumcodereview.appspot.com/10658017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144057 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Many tests rely on being run on the main thread. In this CL we post a delayed task to run tests on the main
thread and do not block in onCreate(). This can cause ANR if the main test activity receives a touch event, but this should not happen.
BUG=125059
TEST=
Review URL: https://chromiumcodereview.appspot.com/10663024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144038 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The method is called from test_suite.cc.
Also moving methods in test_support_android inside a namespace.
BUG=125059
TEST=None
Review URL: https://chromiumcodereview.appspot.com/10538065
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141473 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is an upstream of chromium-android.
The WebKit part is https://bugs.webkit.org/show_bug.cgi?id=86862.
TBR=darin (for base/base.gyp)
BUG=none
TEST=build and run current native tests without error
Review URL: https://chromiumcodereview.appspot.com/10408091
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140046 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This script ensure that the current python is prepended on any python script
invoked and that 'python' is replaced with the current python instance and not
the system one.
NOTRY=true
TBR=csharp@chromium.org
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10449089
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139801 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the hardcode directory name 'armeabi' and replace it with the Android target ABI information.
Trivial gyp changes that are android-specific; TBRing some owners
TBR=mark@chromium.org,jam@chromium.org,sky@chromium.org
BUG=128944
TEST=
Review URL: https://chromiumcodereview.appspot.com/10383263
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139512 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The primary issues is specifying the right path to PRODUCT_DIR (i.e.
out/Release). The gyp generator for make specifies the absolute path but
for ninja would use a relative path. Since the gyp targets don't line
up with where the ant build files are located this causes failures such
as base's java being generated in base/android/out/Release/...
See:
https://groups.google.com/forum/#!msg/gyp-developer/K2T_9obUya0/qq78_Ut-E-AJ
for details.
A couple of other minor fixes:
- content java files are placed in out/Release/java/content to be
consisent with other packages.
- shared-libraries are now referenced by correct variables for apk-based
tests
- removed unused media/base/android/java/java.gyp (target is in
media/media.gyp)
TBR=mark@chromium.org,ben@chromium.org,rsleevi@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10386188
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139418 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add a gyp template to simplify adding new targets.
- Add support for multiple jars in the test APK.
BUG=125059
TEST=
Review URL: https://chromiumcodereview.appspot.com/10399126
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139106 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ensure that the file paths passed to subprocess contain the appropriate separators for their OS.
NOTRY=true
R=maruel@chromium.org
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10413055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138594 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=125059
TEST=
Review URL: https://chromiumcodereview.appspot.com/10414034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138176 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We were trying to use the application directory which is not usually
writable (unless the device is rooted). This allows us to run the tests
on non-rooted devices.
BUG=125059
TEST=
Review URL: https://chromiumcodereview.appspot.com/10398049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137368 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Test failures are ignored for now.
TBR=mark@chromium.org,tsepez@chromium.org
BUG=125059
TEST=
Review URL: https://chromiumcodereview.appspot.com/10387086
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137352 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
How to native debug:
- apply the patch listed in the code review description
- adb_run_content_shell
- gdb_content_shell
- attach Eclipse; continue
- now boom! SEGV in gdb.
Sadly the native library crashes while loading so it's not registered
with gdb yet (e.g no symbols or stack).
This CL also adds in a file that got lost
(testing/android/README.chromium).
BUG=
TEST=
Review URL: http://codereview.chromium.org/10254028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135652 0039d316-1c4b-4281-b951-d872f2087c98
|