Previously we were looking for test files with this pattern: test_*
I added *_test.[cc|cpp] and *_unittest.[cc|cpp]
The search also scan all the subdirectories of the build_path from
the test definition.
I added a filtering stage where missing tests are ignored.
For instance we may have a source file that has not been built for
the target, in which case it is ignored when we run the target tests.
In android_build.py I added 4 helper functions to get access to the
build environment:
- GetHostBin
- GetProductOut
- GetTargetSystemBin
- GetHostOsArch
Replace all the hardcoded linux-x86 strings with the value returned
by GetHostOsArch.
Merge commit '39bd4dd798c9dbcaf9b37248dd3d3f56dc1bb4af'
* commit '39bd4dd798c9dbcaf9b37248dd3d3f56dc1bb4af':
AI 148202: Applying changes to build_new_device.jd originally made by Reena in CL 148100. I made her edits by hand. The problem is that I moved all content files from docs to docs/guide and she edited the version in docs (which no longer exists).
Merge commit '01a62eeda8f2065aaf26a02decc615c19b63e967' into donut
* commit '01a62eeda8f2065aaf26a02decc615c19b63e967':
AI 148202: Applying changes to build_new_device.jd originally made by Reena in CL 148100. I made her edits by hand. The problem is that I moved all content files from docs to docs/guide and she edited the version in docs (which no longer exists).
Merge commit 'beb3214b46e18bb461760c47f04c5b909557d060'
* commit 'beb3214b46e18bb461760c47f04c5b909557d060':
ADT #1823896: Ability to add an "extra" action to the AVD Selector.
Used to display the AVD Manager from the Device Chooser/Launch config.
Used to delete AVDs from the AVD Manager.
In AVD Manager, also hide the Cancel button since actions are
immediate and not cancelable.
Merge commit 'd1a367549baba493f2d87c2377e09323b929e772'
* commit 'd1a367549baba493f2d87c2377e09323b929e772':
Modified the command to run native test on the host:
* changes:
Modified the command to run native test on the host: - when valgrind is used, the output is discarded, always. - otherwise, the output of the test is printed only when the test failed.
Merge commit '140eed1ac513d26debca9ec92ffaea930a4c1736'
* commit '140eed1ac513d26debca9ec92ffaea930a4c1736':
AI 148129: Missing \ in Pdk.Mk causing build to not go through - Gaurav
Merge commit '7e2a21adcc304b9aea01a9dc68af384fde5c314e'
* commit '7e2a21adcc304b9aea01a9dc68af384fde5c314e':
AI 148128: -Removed "Option1" about using buildspec which is no longer relevant.
Merge commit '969e009757c58a9f806f88f04fc6071150ae7478'
* commit '969e009757c58a9f806f88f04fc6071150ae7478':
AI 148105: Assigning to Ryan for Dr No Approval.
Merge commit '22056a6526fd754a3a4cd99cdad5001c85a6b623'
* commit '22056a6526fd754a3a4cd99cdad5001c85a6b623':
AI 148100: Testing out PDK updates by updating /device/partner/ references in the "building a new device" steps
Merge commit '5941176ccd7f05ed1786f0b45ecc0905b0effc49'
* commit '5941176ccd7f05ed1786f0b45ecc0905b0effc49':
Move some simulator fixes from master to donut.
Merge commit '2b15cf1abf2f41e3a9f7edc99d65a9e9d38e6c25' into donut
* commit '2b15cf1abf2f41e3a9f7edc99d65a9e9d38e6c25':
AI 148129: Missing \ in Pdk.Mk causing build to not go through - Gaurav
Merge commit '390be0e33d61654113b4bdc9b1974b33eebd2205' into donut
* commit '390be0e33d61654113b4bdc9b1974b33eebd2205':
AI 148128: -Removed "Option1" about using buildspec which is no longer relevant.
Merge commit '1b4feb4926e8b34b10569f492a7f06175d3829bb' into donut
* commit '1b4feb4926e8b34b10569f492a7f06175d3829bb':
AI 148118: 2 new debugging docs.
Merge commit 'e0d7b8a65d51912228d920f8b884f401146531e2' into donut
* commit 'e0d7b8a65d51912228d920f8b884f401146531e2':
AI 148117: these docs have moved into "guide" directory.
Merge commit '5f6ca4f519a1a9375628102f284ab059fd0ef4a1' into donut
* commit '5f6ca4f519a1a9375628102f284ab059fd0ef4a1':
AI 148105: Assigning to Ryan for Dr No Approval.
Merge commit '9844b7560db1101ef69186fa93fc062ca9fe7c3a' into donut
* commit '9844b7560db1101ef69186fa93fc062ca9fe7c3a':
AI 148100: Testing out PDK updates by updating /device/partner/ references in the "building a new device" steps
* changes:
Move some simulator fixes from master to donut. In git master they were part of change 700ccfcc01, which was an auto import from //branches/master/...@140412 The original change was 134529 in perforce.
In git master they were part of change 700ccfcc01,
which was an auto import from //branches/master/...@140412
The original change was 134529 in perforce.
Merge commit 'ae23694d167404857034b269b6a0cce4da790d64'
* commit 'ae23694d167404857034b269b6a0cce4da790d64':
Make sure we request the Client allocation status even if we fail to open a debugger port for it.
Merge commit 'fba8d837f5d926dc3f469a99edb22f55d69dff76'
* commit 'fba8d837f5d926dc3f469a99edb22f55d69dff76':
AI 147991: make sources appear in online-pdk/guide
Merge commit 'aa2d95234e8350eebf789da2b976f843318dead8' into donut
* commit 'aa2d95234e8350eebf789da2b976f843318dead8':
AI 147991: make sources appear in online-pdk/guide
Merge commit '70fc6e96af1213c192160a16803feb220e10c561'
* commit '70fc6e96af1213c192160a16803feb220e10c561':
Make sure that any exception during the final packaging properly put an error marker on the project (since build failed.