Commit graph

35292 commits

Author SHA1 Message Date
Dan Albert
8607c084c2 Fix overly-zealous strip.
The argument to this is the characters to strip, so `line.strip(line)`
just returns the empty string.

Test: None?
Bug: None
Change-Id: I4f62bffcd00936e4eef837a28b78023fcad54bb0
2021-04-20 16:05:02 -07:00
Christopher Ferris
aeccb1e161 Merge "Update for python3." am: fae6ff2f9e am: 4bb98a4b96 am: 8ed51cf3c9
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1680430

Change-Id: I9b4ad85f294e6f3e7a8975474ec4517ebc2f604c
2021-04-20 22:16:22 +00:00
Christopher Ferris
8ed51cf3c9 Merge "Update for python3." am: fae6ff2f9e am: 4bb98a4b96
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1680430

Change-Id: Id4e3e442ae952b44812d503fa060f59fe14ba22b
2021-04-20 21:52:45 +00:00
Christopher Ferris
4bb98a4b96 Merge "Update for python3." am: fae6ff2f9e
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1680430

Change-Id: Ifc0fdaf4668bef0896d1ce530b9223a5b1d10f3f
2021-04-20 21:20:47 +00:00
Christopher Ferris
fae6ff2f9e Merge "Update for python3." 2021-04-20 20:49:48 +00:00
Treehugger Robot
681b3a2c3b Merge "Ignore backup files left by emacs." am: 8d36be9bb9 am: eb64a4b579 am: c08981f785
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1680406

Change-Id: I0f2ed2ef3769eb275797904edc33780977eb9171
2021-04-20 03:33:34 +00:00
Treehugger Robot
c08981f785 Merge "Ignore backup files left by emacs." am: 8d36be9bb9 am: eb64a4b579
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1680406

Change-Id: Iac7c61f7e68e1f2589a7f9f4e8535e9d0b15305b
2021-04-20 03:18:15 +00:00
Treehugger Robot
eb64a4b579 Merge "Ignore backup files left by emacs." am: 8d36be9bb9
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1680406

Change-Id: I986015ba85c038f2f605074130c9b6a7857aa071
2021-04-20 02:54:59 +00:00
Treehugger Robot
8d36be9bb9 Merge "Ignore backup files left by emacs." 2021-04-20 01:24:49 +00:00
Christopher Ferris
ac7ec11473 Update for python3.
This fixes all of the problems with our kernel scripts, but not
the clang python script problems.

I also removed the updateGitFiles function since that code was
just silently failing any way. I replaced all calls with updateFiles.

Test: Ran script using python2 to verify it still works.
Test: Run script in python3 verifying that it starts to run.

Change-Id: I223a31a8324c59e6bc4067f48a6110361b3e26e8
2021-04-19 17:02:38 -07:00
Dan Albert
77d976cd65 Ignore backup files left by emacs.
Test: Added a file like this locally and the upload hook didn't care
Bug: None
Change-Id: I4c33f2517a9a83c7797d3ea9074fffeedf85dcaa
2021-04-19 14:05:59 -07:00
Treehugger Robot
042a40d636 Merge "Say which API level fdsan/fdtrack appeared at." am: b82fcdaf36 am: 4112ac6712 am: ebd5ef4954
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1677042

Change-Id: Ibd1be0dc14ce64a5eb0e7c40ff249da63ba474e5
2021-04-17 01:29:43 +00:00
Treehugger Robot
ebd5ef4954 Merge "Say which API level fdsan/fdtrack appeared at." am: b82fcdaf36 am: 4112ac6712
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1677042

Change-Id: I460cde469789678f37384a7fc9f868358f38e8b6
2021-04-17 01:05:12 +00:00
Treehugger Robot
4112ac6712 Merge "Say which API level fdsan/fdtrack appeared at." am: b82fcdaf36
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1677042

Change-Id: I703d1c0827017584e64269ef25392bdcd686aca0
2021-04-17 00:38:23 +00:00
Treehugger Robot
b82fcdaf36 Merge "Say which API level fdsan/fdtrack appeared at." 2021-04-17 00:22:25 +00:00
Elliott Hughes
c3dbac160a Merge "Force everything to use python3 for consistency." am: 508c02fa06 am: 923e0d6180 am: 23bfe71cdb
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1677766

Change-Id: I224b80c6ceb0ffb877402e23c49e712be71c1ce6
2021-04-16 21:53:53 +00:00
Elliott Hughes
23bfe71cdb Merge "Force everything to use python3 for consistency." am: 508c02fa06 am: 923e0d6180
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1677766

Change-Id: I777fb6a4db4a58639e9727f1aa0fd320d366c64b
2021-04-16 21:28:44 +00:00
Elliott Hughes
923e0d6180 Merge "Force everything to use python3 for consistency." am: 508c02fa06
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1677766

Change-Id: Ia6de433774c4d28ab713c0dc62632c1fdf323917
2021-04-16 21:07:37 +00:00
Elliott Hughes
977867173a Say which API level fdsan/fdtrack appeared at.
Test: N/A
Change-Id: Id29db9a5ec6a039af95ce3cdd421542ac862f339
2021-04-16 13:57:52 -07:00
Elliott Hughes
508c02fa06 Merge "Force everything to use python3 for consistency." 2021-04-16 20:49:38 +00:00
Elliott Hughes
6b586e7709 Force everything to use python3 for consistency.
Rather than "whatever people have installed as 'python' on their machine".

I've removed check-symbols.py because that's been broken for years and
we never even noticed, and I'm not sure it's worth fixing.

Test: treehugger, manual
Change-Id: Ieb996bbdf790a18d4b1fb46a409cc240ba2a2a49
2021-04-15 13:39:08 -07:00
Treehugger Robot
cbaf82cecc Merge "Make gensyscalls.py compatible with Python 3." am: 9cf8871dd9 am: 4b6371e433 am: 5a8721a1ed
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1677008

Change-Id: I066c8a2ccd91e88ab60d0e6382197981478df663
2021-04-15 20:09:35 +00:00
Treehugger Robot
5a8721a1ed Merge "Make gensyscalls.py compatible with Python 3." am: 9cf8871dd9 am: 4b6371e433
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1677008

Change-Id: I4decff2d7364456e1842a7f7bb6c721cea465f8e
2021-04-15 19:21:14 +00:00
Treehugger Robot
4b6371e433 Merge "Make gensyscalls.py compatible with Python 3." am: 9cf8871dd9
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1677008

Change-Id: I7571e1cb25139adf5da6cf9bd92b7a678bed15ff
2021-04-15 18:37:06 +00:00
Treehugger Robot
9cf8871dd9 Merge "Make gensyscalls.py compatible with Python 3." 2021-04-15 17:46:36 +00:00
Rupert Shuttleworth
e99df59d1e Make gensyscalls.py compatible with Python 3.
Test: Fixes bp2build; bazel build //bionic/...
Change-Id: I6ab66e99935b962f1ff99e478c0f55188f31b495
2021-04-15 06:14:48 -04:00
Elliott Hughes
28b60b9e9e Merge "Make the tests that call readelf(1) less sensitive to whitespace." am: 166efcb496 am: 763523d5ed am: 5730616211
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1674105

Change-Id: If9200d881f630abc226fe2682cb427ebe20b7789
2021-04-13 02:21:45 +00:00
Elliott Hughes
5730616211 Merge "Make the tests that call readelf(1) less sensitive to whitespace." am: 166efcb496 am: 763523d5ed
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1674105

Change-Id: I5ea991664497d2b7562d8092adb433c9b65e8578
2021-04-13 01:29:52 +00:00
Elliott Hughes
763523d5ed Merge "Make the tests that call readelf(1) less sensitive to whitespace." am: 166efcb496
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1674105

Change-Id: If748526084cd0966e6dfe665b24c6ca4a4d68fd3
2021-04-13 00:49:22 +00:00
Elliott Hughes
166efcb496 Merge "Make the tests that call readelf(1) less sensitive to whitespace." 2021-04-13 00:25:28 +00:00
Elliott Hughes
ec580d3d07 Make the tests that call readelf(1) less sensitive to whitespace.
Bug: http://b/185168726
Test: treehugger
Change-Id: I13dbbf57c7366966d51b8ea771ec9edd52505e72
2021-04-12 15:56:49 -07:00
Elliott Hughes
56a0636da0 Merge "Switch to libbase SilentDeathTest." am: 27cf254193 am: d6aabe9294 am: ce0d14734b
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1671973

Change-Id: Ic55fe41ac631b29c42a654ad74b7cb27cf7755d4
2021-04-12 19:53:40 +00:00
Elliott Hughes
503d015d49 Merge "Make res_init() work again." am: f20b021903 am: 32767c40d6 am: 2f7cf21ed4
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1670386

Change-Id: I5b0ca5ff2836e01f8e7f446072f47b9664e58842
2021-04-12 19:53:30 +00:00
Elliott Hughes
ce0d14734b Merge "Switch to libbase SilentDeathTest." am: 27cf254193 am: d6aabe9294
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1671973

Change-Id: If6a9955cafba68100d4d867a0a3558445d5b8c99
2021-04-12 19:27:29 +00:00
Elliott Hughes
d6aabe9294 Merge "Switch to libbase SilentDeathTest." am: 27cf254193
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1671973

Change-Id: I3509336863129b4c22e8797f49ea273abf62f95a
2021-04-12 19:04:41 +00:00
Elliott Hughes
2f7cf21ed4 Merge "Make res_init() work again." am: f20b021903 am: 32767c40d6
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1670386

Change-Id: I21b2da41b9c8e1ccf88059e4db36b20baf0787b4
2021-04-12 19:04:39 +00:00
Elliott Hughes
27cf254193 Merge "Switch to libbase SilentDeathTest." 2021-04-12 18:39:46 +00:00
Elliott Hughes
32767c40d6 Merge "Make res_init() work again." am: f20b021903
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1670386

Change-Id: I158eddae262e5e7cad041a53c35238d12c2e0fdc
2021-04-12 18:21:46 +00:00
Elliott Hughes
d850daabd4 Merge "Add tests for inet_nsap_addr()/inet_nsap_ntoa()." am: 2b1930afaa am: 4b419e1fde am: 1cc4b4cd4a
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1671970

Change-Id: Ifb581353b65149ca3500694b196f250da7fd023a
2021-04-12 18:06:25 +00:00
Elliott Hughes
f20b021903 Merge "Make res_init() work again." 2021-04-12 17:44:50 +00:00
Elliott Hughes
1cc4b4cd4a Merge "Add tests for inet_nsap_addr()/inet_nsap_ntoa()." am: 2b1930afaa am: 4b419e1fde
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1671970

Change-Id: I45d019c3f402fb3996dc723eb201a689cc9dcbca
2021-04-12 17:20:07 +00:00
Elliott Hughes
141b917018 Switch to libbase SilentDeathTest.
Bug: http://b/184955378
Test: treehugger
Change-Id: Ie0849224074da92203340a741a86a24a4a3702c2
2021-04-12 10:01:20 -07:00
Elliott Hughes
4b419e1fde Merge "Add tests for inet_nsap_addr()/inet_nsap_ntoa()." am: 2b1930afaa
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1671970

Change-Id: I1cd1a7a03ec86adaa7d0a4a2e1d92d997d8ddab2
2021-04-12 16:35:47 +00:00
Elliott Hughes
2b1930afaa Merge "Add tests for inet_nsap_addr()/inet_nsap_ntoa()." 2021-04-12 16:09:23 +00:00
Peter Collingbourne
93453945f8 Merge "Fix the adb command to push the memory trace files." am: 16b51e62ea am: 677d390052 am: 62bb1587ea
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1672685

Change-Id: I3428466f02634cf2e93a43e77bab825e90253bb7
2021-04-10 02:49:40 +00:00
Peter Collingbourne
62bb1587ea Merge "Fix the adb command to push the memory trace files." am: 16b51e62ea am: 677d390052
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1672685

Change-Id: I27f5fe00105d6267d78c6912319ab911bf434bee
2021-04-10 02:00:24 +00:00
Peter Collingbourne
677d390052 Merge "Fix the adb command to push the memory trace files." am: 16b51e62ea
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1672685

Change-Id: Idd413162333a5640825322b090db674de14f40ba
2021-04-10 01:35:34 +00:00
Peter Collingbourne
16b51e62ea Merge "Fix the adb command to push the memory trace files." 2021-04-10 00:12:33 +00:00
Elliott Hughes
c30a1c08ec Add tests for inet_nsap_addr()/inet_nsap_ntoa().
Turns out that "NSAP" is yet another ISO standard that no-one actually
uses: https://en.wikipedia.org/wiki/NSAP_address

Test: treehugger
Change-Id: I73b4d924a8f4d34e3e2f2da00d0d5529db8e97d1
2021-04-09 16:26:40 -07:00
Peter Collingbourne
7bdca8d16f Fix the adb command to push the memory trace files.
Change-Id: If49d084486486c7899d7655175860f7528aac6ce
2021-04-09 15:11:49 -07:00