summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-05-10Snap for 10103804 from 2b138a48dfc67ca57d88b7a16eefd4d37ede25ba to ↵aml_tz5_341510070aml_tz5_341510050aml_tz5_341510010aml_tz5_341510010Android Build Coastguard Worker
mainline-tzdata5-release Change-Id: I2ac6b25e2bec80f837e6e6c5754524b653435126
2023-04-07Merge "Add timed out test files to tidy_timeout_srcs" am: 13dcb55b9d am: ↵Christopher Ferris
2c3c44e264 am: eea4f55b52 am: 1192cce1ba Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1991060 Change-Id: I01cd9d57a2aea6ff0adb7b6fa940a2275a36c49a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07Merge "Add timed out test files to tidy_timeout_srcs" am: 13dcb55b9d am: ↵android14-devChristopher Ferris
2c3c44e264 am: eea4f55b52 Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1991060 Change-Id: I1b21127402732af4519beae344d436bfc1f35d1e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07Merge "Add timed out test files to tidy_timeout_srcs" am: 13dcb55b9d am: ↵Christopher Ferris
2c3c44e264 Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1991060 Change-Id: Ifbca1f361531bd5a050eb96280c4095403333d1e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07Merge "Add timed out test files to tidy_timeout_srcs" am: 13dcb55b9dChristopher Ferris
Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1991060 Change-Id: I55e3526e978b3d3f99fbb34379f2a186183dd696 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07Merge "Add timed out test files to tidy_timeout_srcs"android-u-beta-1-gplChristopher Ferris
2023-02-01Snap for 9550733 from 2082d118fd8739ca8d5a5b490ad7785dd58036af to ↵Android Build Coastguard Worker
mainline-tzdata5-release Change-Id: Ie9cac8a8dec9e3972930f4d163dcb0c7adb608d6
2022-05-06Changes to gtest bp to supported isolated change am: d70c7ca434 am: ↵Trevor Radcliffe
9693bd71df am: 6c075b1040 am: 12124d8d5e am: b4307cec65 Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/2069568 Change-Id: Ic36ca86044b6f90909838fe18b8d40d633dc4cea Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06Changes to gtest bp to supported isolated change am: d70c7ca434 am: ↵main-16k-with-phonesTrevor Radcliffe
9693bd71df am: 6c075b1040 am: 12124d8d5e Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/2069568 Change-Id: I5907d715f8299e46c5b71c282a1cc1d5a62ad441 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06Changes to gtest bp to supported isolated change am: d70c7ca434 am: ↵Trevor Radcliffe
9693bd71df am: 6c075b1040 Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/2069568 Change-Id: I5154b8bd87f4ea7becf1e64c5965317025dadf1c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06Changes to gtest bp to supported isolated change am: d70c7ca434 am: 9693bd71dfmain-16kTrevor Radcliffe
Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/2069568 Change-Id: I452c12f26825b659ba32182813c5086f46f8b4fe Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06Changes to gtest bp to supported isolated change am: d70c7ca434Trevor Radcliffe
Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/2069568 Change-Id: I7b604753abf973b5535f76c0f560dcd92194d6a5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-21Changes to gtest bp to supported isolated changeTrevor Radcliffe
Update the libgtest* targets to support isolated being the default Bug: 178498003 Test: m nothing Change-Id: Iee33fabc4c1de5ff1d923858a730b69fe6641708
2022-03-19Add gtest_extras to hwasan-postsubmit am: 2445aa4669 am: f6c45f4524 am: ↵Florian Mayer
f7c2bf2d3e am: bf9eec9ab6 am: 65b44751cc Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/2032743 Change-Id: I8fcbc9ffc4608b189072bda72c599f7ce3cf409b
2022-03-18Add gtest_extras to hwasan-postsubmit am: 2445aa4669 am: f6c45f4524 am: ↵aml_tz4_332714070aml_tz4_332714050aml_tz4_332714010aml_tz4_331910000aml_tz4_331314030aml_tz4_331314020aml_tz4_331314010aml_tz4_331012050aml_tz4_331012040aml_tz4_331012000android13-mainline-tzdata4-releaseaml_tz4_332714010Florian Mayer
f7c2bf2d3e am: bf9eec9ab6 Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/2032743 Change-Id: Ied882f6eda6bd4d384fcd7dc5dd1e3fe7bb1437d
2022-03-18Add gtest_extras to hwasan-postsubmit am: 2445aa4669 am: f6c45f4524 am: ↵Florian Mayer
f7c2bf2d3e am: bf9eec9ab6 Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/2032743 Change-Id: I598bfefdf111ef9ac06ef47171e108c396c85599
2022-03-18Add gtest_extras to hwasan-postsubmit am: 2445aa4669 am: f6c45f4524 am: ↵t_frc_odp_330442040t_frc_odp_330442000t_frc_ase_330444010android-13.0.0_r83android-13.0.0_r82android-13.0.0_r81android-13.0.0_r80android-13.0.0_r79android-13.0.0_r78android-13.0.0_r77android-13.0.0_r76android-13.0.0_r75android-13.0.0_r74android-13.0.0_r73android-13.0.0_r72android-13.0.0_r71android-13.0.0_r70android-13.0.0_r69android-13.0.0_r68android-13.0.0_r67android-13.0.0_r66android-13.0.0_r65android-13.0.0_r64android-13.0.0_r63android-13.0.0_r62android-13.0.0_r61android-13.0.0_r60android-13.0.0_r59android-13.0.0_r58android-13.0.0_r57android-13.0.0_r56android-13.0.0_r54android-13.0.0_r53android-13.0.0_r52android-13.0.0_r51android-13.0.0_r50android-13.0.0_r49android-13.0.0_r48android-13.0.0_r47android-13.0.0_r46android-13.0.0_r45android-13.0.0_r44android-13.0.0_r43android-13.0.0_r42android-13.0.0_r41android-13.0.0_r40android-13.0.0_r39android-13.0.0_r38android-13.0.0_r37android-13.0.0_r36android-13.0.0_r35android-13.0.0_r34android-13.0.0_r33android-13.0.0_r32aml_go_odp_330912000aml_go_ads_330915100aml_go_ads_330915000aml_go_ads_330913000android13-qpr3-s9-releaseandroid13-qpr3-s8-releaseandroid13-qpr3-s7-releaseandroid13-qpr3-s6-releaseandroid13-qpr3-s5-releaseandroid13-qpr3-s4-releaseandroid13-qpr3-s3-releaseandroid13-qpr3-s2-releaseandroid13-qpr3-s14-releaseandroid13-qpr3-s13-releaseandroid13-qpr3-s12-releaseandroid13-qpr3-s11-releaseandroid13-qpr3-s10-releaseandroid13-qpr3-s1-releaseandroid13-qpr3-releaseandroid13-qpr3-c-s8-releaseandroid13-qpr3-c-s7-releaseandroid13-qpr3-c-s6-releaseandroid13-qpr3-c-s5-releaseandroid13-qpr3-c-s4-releaseandroid13-qpr3-c-s3-releaseandroid13-qpr3-c-s2-releaseandroid13-qpr3-c-s12-releaseandroid13-qpr3-c-s11-releaseandroid13-qpr3-c-s10-releaseandroid13-qpr3-c-s1-releaseandroid13-qpr2-s9-releaseandroid13-qpr2-s8-releaseandroid13-qpr2-s7-releaseandroid13-qpr2-s6-releaseandroid13-qpr2-s5-releaseandroid13-qpr2-s3-releaseandroid13-qpr2-s2-releaseandroid13-qpr2-s12-releaseandroid13-qpr2-s11-releaseandroid13-qpr2-s10-releaseandroid13-qpr2-s1-releaseandroid13-qpr2-releaseandroid13-qpr2-b-s1-releaseandroid13-mainline-go-adservices-releaseandroid13-frc-odp-releaseandroid13-devandroid13-d4-s2-releaseandroid13-d4-s1-releaseandroid13-d4-releaseandroid13-d3-s1-releaseFlorian Mayer
f7c2bf2d3e Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/2032743 Change-Id: I8509f77652029ac1126a54069ef0f019a5a383d5
2022-03-18Add gtest_extras to hwasan-postsubmit am: 2445aa4669 am: f6c45f4524Florian Mayer
Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/2032743 Change-Id: I4f8282cf4fbc8ffc487a7f4df5339d5cce87e42a
2022-03-18Add gtest_extras to hwasan-postsubmit am: 2445aa4669Florian Mayer
Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/2032743 Change-Id: Id6fc0799796d9c7dd8b518480df4720fc1c5a3c0
2022-03-18Add gtest_extras to hwasan-postsubmitFlorian Mayer
Test: Run tests under HWASan. Bug: 193568145 Change-Id: Iff12a2dbbbb799463b43391e1bd554b33bb23f9e
2022-02-17Add timed out test files to tidy_timeout_srcsChih-Hung Hsieh
* Timed out runs do not show any warning messages. * These test files cannot finish clang-tidy runs with the following settings: TIDY_TIMEOUT=90 WITH_TIDY=1 CLANG_ANALYZER_CHECKS=1 * When TIDY_TIMEOUT is set, in Android continuous builds, tidy_timeout_srcs files will not be compiled by clang-tidy. When developers build locally without TIDY_TIMEOUT, tidy_timeout_srcs files will be compiled. * Some of these test modules may be split into smaller ones, or disable some time consuming checks, and then enable clang-tidy to run within limited time. Bug: 201099167 Test: make droid tidy-system-testing_subset Change-Id: I7dc4d1a95cf6352bafa60374ac03e3473ac272a6
2021-11-18Add optnone to work with new clang compiler am: f83b626766 am: f256bacbfa ↵Chih-Hung Hsieh
am: cd99353efc am: 46ede1543a Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1895914 Change-Id: I913ec366bbba5d09e4e61d3c0de2aae6126daf35
2021-11-18Add optnone to work with new clang compiler am: f83b626766 am: f256bacbfa ↵Chih-Hung Hsieh
am: cd99353efc Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1895914 Change-Id: If290b5370b7060669da2cadaa3e464d65f07e682
2021-11-18Add optnone to work with new clang compiler am: f83b626766 am: f256bacbfaChih-Hung Hsieh
Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1895914 Change-Id: Ic96273832bcd5023d8c49d829cc2ccb9f7955ceb
2021-11-18Add optnone to work with new clang compiler am: f83b626766android-t-preview-2android-t-preview-1android-t-beta-3android-s-v2-beta-3android-s-qpr3-beta-1android-t-preview-1android-s-v2-beta-3android-s-qpr3-beta-1Chih-Hung Hsieh
Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1895914 Change-Id: I48a84f3365d624ddbd732631b73d149f80c43775
2021-11-17Add optnone to work with new clang compilerChih-Hung Hsieh
Test: with new clang compiler; lunch aosp_cf_x86_64_phone-userdebug Test: atest gtest_isolated_tests:gtest_isolated_tests.SystemTests#verify_crash -- --abi x86_64 Bug: 206716119 Bug: 201432564 Change-Id: I774dfa0de0df335d87a6a44f33d7078191ef1366
2021-09-21Add extra warnings. am: db00a3a819 am: acdc64be3c am: 859e215fe4 am: ↵Christopher Ferris
ebfc198a1f am: ee11da8a11 Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1831294 Change-Id: Idca79bc017f4c084d84a541745e724f9d062462b
2021-09-21Add extra warnings. am: db00a3a819 am: acdc64be3c am: 859e215fe4 am: ebfc198a1fChristopher Ferris
Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1831294 Change-Id: I9e85f19d70625a57ff6bfbf65fe5036f1a3edb1e
2021-09-21Add extra warnings. am: db00a3a819 am: acdc64be3c am: 859e215fe4Christopher Ferris
Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1831294 Change-Id: Idfc9fd959913239507c2a0197520d1e73d8c61ce
2021-09-21Add extra warnings. am: db00a3a819 am: acdc64be3cChristopher Ferris
Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1831294 Change-Id: I96ccabe70f7ca5950afbf562f92fe5b75eec32ce
2021-09-21Add extra warnings. am: db00a3a819android-s-v2-preview-2android-s-v2-preview-1android-s-v2-beta-2android-s-v2-preview-1Christopher Ferris
Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1831294 Change-Id: I992780fede97def15f4204c4f7f667591fa503e0
2021-09-20Add extra warnings.Christopher Ferris
Add the -Wextra for all targets, but also add -Wconversion for the main code. There was a bug where readlink was being assigned to a size_t and this option would have detected that problem. So adding these options to avoid this in the future. Fix the miscompares found with the new options. Test: Compiles. Unit tests pass. Change-Id: I8dcae71ffc29275308e16d4178edab6dfc908206
2021-09-17Fix stack-buffer-underflow in RunInIsolationMode. am: 46817ceaf3 am: ↵Evgenii Stepanov
064b8d1e94 am: e8cf69e0d3 am: d0e0247882 am: ffd106e790 Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1830381 Change-Id: I0661cac225455b506db15e9d19d9fe50534c53d2
2021-09-17Fix stack-buffer-underflow in RunInIsolationMode. am: 46817ceaf3 am: ↵Evgenii Stepanov
064b8d1e94 am: e8cf69e0d3 am: d0e0247882 Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1830381 Change-Id: Iaf0ab3361480d5a31264db5f6095adcdc9faead0
2021-09-17Fix stack-buffer-underflow in RunInIsolationMode. am: 46817ceaf3 am: ↵Evgenii Stepanov
064b8d1e94 am: e8cf69e0d3 Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1830381 Change-Id: Ic9542692baa031677cb97a32813c0a43ea5d9853
2021-09-17Fix stack-buffer-underflow in RunInIsolationMode. am: 46817ceaf3 am: 064b8d1e94Evgenii Stepanov
Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1830381 Change-Id: Ib105c73d59f56a8964334a182bf4c16ecbcf1eb8
2021-09-17Fix stack-buffer-underflow in RunInIsolationMode. am: 46817ceaf3Evgenii Stepanov
Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1830381 Change-Id: I035ab37a453ce740fc9b456e195044d9aab77eb6
2021-09-17Fix stack-buffer-underflow in RunInIsolationMode.Evgenii Stepanov
Readlink returns ssize_t, not size_t. (size_t)(-1) compares >0. This triggers 100% of the time under HWASan on an unrooted device. Process parent is adbd, and readlink fails with EACCESS. Bug: 193568145 Test: CtsBionicTestCases on any hwasan build Change-Id: I74f470e443069f93df99a6ef34f10c04282c0dd9
2021-08-18Use posix basename instead of glibc am: 62434518b2 am: f79c211cf2 am: ↵Colin Cross
e265ca9bbe am: 7e7e6d3521 am: cf9f64b762 Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1797187 Change-Id: I5862ebba6407bda197ee8e1dd090c1486e7a4de3
2021-08-17Use posix basename instead of glibc am: 62434518b2 am: f79c211cf2 am: ↵Colin Cross
e265ca9bbe am: 7e7e6d3521 Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1797187 Change-Id: I43caade82606c83477b75d9bc84c34289025c650
2021-08-17Use posix basename instead of glibc am: 62434518b2 am: f79c211cf2 am: e265ca9bbeColin Cross
Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1797187 Change-Id: I1cdda0936637d291a04c6c1203a85e1721814cdf
2021-08-17Use posix basename instead of glibc am: 62434518b2 am: f79c211cf2Colin Cross
Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1797187 Change-Id: I1994441ecaf64563058b45114ecc5e69b85de24e
2021-08-17Use posix basename instead of glibc am: 62434518b2Colin Cross
Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1797187 Change-Id: I7102bdd1c1e8dc3e0f8378d954b9a7b71805f918
2021-08-16Use posix basename instead of glibcandroid-s-beta-5android-s-beta-5Colin Cross
musl only provides the posix basename in libgen.h, not the glibc version in string.h Test: builds Change-Id: I385a2384d6dcd10f6f37766f5e91d05ba9b1aaa3
2021-07-28Add a way to terminate repeated runs. am: 94709289d9 am: ce3e424a37 am: ↵Christopher Ferris
c328e2eef4 am: d8549717a7 Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1780485 Change-Id: Ia665d56ff497181b1f747827958291642e506c14
2021-07-28Add a way to terminate repeated runs. am: 94709289d9 am: ce3e424a37 am: ↵Christopher Ferris
c328e2eef4 Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1780485 Change-Id: I956cbd18645e5076cddc64c7dc3e6c69b1c4262f
2021-07-28Add a way to terminate repeated runs. am: 94709289d9 am: ce3e424a37Christopher Ferris
Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1780485 Change-Id: I49f6af9ba64ebfbf9e84397b4be6a53e2692519e
2021-07-28Add a way to terminate repeated runs. am: 94709289d9Christopher Ferris
Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1780485 Change-Id: Iff85e2f98f7bcfc3b38bcfaf218f95d0fa040845
2021-07-27Add a way to terminate repeated runs.Christopher Ferris
The normal gtest framework will terminate a run when using the --gtest_repeat=XX option after any test fails and either the --gtest_break_on_failure option or the --gtest_throw_on_failure option is specified. Make the new runner do this too, otherwise, there is no stop on error logic when doing repeated runs. Add new unit tests to verify this behavior. Test: All unit tests pass. Change-Id: If4d1e3eafc028d8850c73b58c72d9c138a2198d4
2021-06-02Merge sc-mainline-prodXin Li
Bug: 189946434 Change-Id: I46b151da8f425dd29c6f8a7c41ba4d3d4850ea2f