The script allows adding more targets using -a option multiple time.
Only a single -a will test aba build as before, but adding multiple
-a options will build the targets in sequence.
Bug: 293821290
Test: combined_build_test.sh -t primary -v userdebug -d out_dist \
-a alter1 -a alter2 -a alter3 -c -o -r droid
Change-Id: I3bc4d2f0dad6bac7aa32b165ca667334f90eb83b
Assumptions:
1. The input report file can be a zip file result from a standard cts
test tool, or a test_result.xml
2. If there are multiple cts reports after the -r flag, it means to view
these files as one report. The script aggregates them according to the
same rules as b/293809772.
Bug: 296323842
Test: ./compare_cts_reports.py -r [a.zip, test_result_1.xml] -r [b.zip,
test_result_2.xml] -m [1, 2] [-d output_directory] [-o]
Change-Id: I885dd07cd40d38ba0c2ee1cb38570a926606a4d9
This change add demo for using test mode flag lib in
self-instrumentation tests.
There are two options.
The option 1 is to create two versions, prod and test, of the library
using flags. The prod version library uses prod flag lib, and the test
version library uses test flag lib.
The option 2 is to dynamically link to the flag lib in the library. The
flag lib is used as a stub lib and is just used for building purpose.
The in the finally binary which uses the library, the binary should
statically link to the right version of the flag lib.
Bug: 295561701
Test: atest AconfigDemoUnitTests1 && atest AconfigDemoUnitTests2
Change-Id: Ie571a260d9042933032c702095808dbf59d1697c
When --add3prf is set, `get_rust_pkg.py` script `cd` into the crate directory and run `add3prf.py`. However, `add3prf.py` doesn't exist in the newly downloaded crate directory. This CL ensures that we reference to the existing `add3prf.py` script.
Test: development/scripts/get_rust_pkg.py -add3prf -v -o /tmp tinyjson-2.5.1
Change-Id: I4273d4f2b6a1f353960adbbab9abbb96bf3e68f3
three files:
info.json
result.csv
summary.csv
The class Report() is implemented so that parse_cts_report.py \
can be easily used by another script aggregate_reports.py.
The script aggregate_reports.py converts multiple cts reports into \
three files:
info.json
result.csv
summary.csv
Assumptions:
1. If the input is a zip file, the struture should be
abc.zip
|----abc/
| |----test_result.xml
2. The input file and the output directory must have existed.
Bug: 293809772
Test: `./parse_cts_report.py --report-file [a.zip, test_result.xml] \
-d output_directory`
Test: `./aggregate_reports.py --report-files a.zip b.zip -d \
output_directory`
Change-Id: I8e5481ecc1ebf7f370debb59cb3c065cf9edcfad
Add an internal dir to host an aconfig file that is dedicated to
trunk_stable_workflow testing. We should use this one, instead the one
dedicated to the demo app.
Bug: 294537090
Change-Id: I1a28da8e202f5f454df35f298c8c962d3b9b229b
info.json
result.csv
summary.csv
Assumptions:
1. If the input is a zip file, the struture should be
abc.zip
|----abc/
| |----test_result.xml
2. The input file and the output directory must have existed.
Bug: 293809772
Test: ./parse_cts_report.py --report-file [a.zip, test_result.xml] \
-d output_directory
Change-Id: I19dabdaed02408b7bf4a030394b99ed42925aa55
The testing rule MockFlagsRule is not a "Mock". Rename the class name.
Bug: 280833463
Test: presubmit
Change-Id: I644537163e07dcf55cd69af3690e435251149349
Add `TARGET_RELEASE=trunk_staging` for the base build command to
build the trunk_staging targets for the STT build tests.
Bug: 293964685
Test: combined_build_test.sh -t <target> -v <variant>
Change-Id: I1bc449ad6790dc56860983ae80c4beb20c0621aa
Add usage of test mode of java_aconfig_library.
Add local host unit test of contentlibs
Test: atest ContentLibs_test_host --host
Bug: 287644619
Change-Id: Ib99a3f2b692d3251d445a2e188325ee0b0b6b268
aconfig now requires that each flag is associated with exactly one bug.
Update aconfig_demo_flags.aconfig accordingly.
Also standardize use of whitespace.
Bug: 293156797
Test: presubmit
Change-Id: I3e10f7055ffb2776fbe825f0902b735ca4674b58
We turned this off for a bit because not all deps were mapped in to the
clang-tools build. Re-enabling now to produce a fresh prebuilt.
Bug: 251506715
Test: ABTD aosp-clang-tools
Change-Id: Ia843be55894946ff0803c43057e58899f99b580f
An arch variant directory may contain a soong host config subdirectory.
The ABI dump script extracts the last two directory names from an
intermediate lsdump path. It builds the lsdump if any of the directory
names matches the variant.
Test: ./create_reference_dumps.py -libs libmemtrack \
-products aosp_arm64
Bug: 291850413
Change-Id: I3dafc68b0dc7bb7faf708e3adfd24082a12a691b
The TestDiscoverService app covers the API for service discover. The
TestAdvertiseService app covers the APT for service advertisement.
Test: ./gradlew build
Change-Id: I6a8d94bbe88a9a20b1adcda8e0916898c68e7ea5