aboutsummaryrefslogtreecommitdiff
path: root/python/tests/py-cmd_test.py
Commit message (Collapse)AuthorAgeFilesLines
* Prepare soong for python 3.11Dan Willemsen2023-08-161-8/+8
| | | | | | | | | | | | | | | | | | | | Due to upstream changes in python path calculations, I'm simplifying the python launcher to work more like a standard python distribution. This is effectively changing the stdlib path from `internal/stdlib` to `internal/python3.10` (or `3.11`, etc). This allows us to specify the zip file as PYTHONHOME, set PYTHONPLATLIBDIR to `internal` and use the default detection after that. That does mean during upgrades that the stdlib pkg path will change, so move the source vs prebuilt calculation from the Android.bp into Soong to choose which stdlib module to pick up (with the corresponding `pkg_path`) Bug: 278602456 Test: treehugger with python3.10 Test: a python3.11 source + 3.10 prebuilt build Test: a python3.11 source+prebuilt build Change-Id: I8b02e7b22a1f1d1e02819ae1a31a99cdc985542c
* Delete Python 2 embedded launcher test.Krzysztof KosiƄski2023-05-041-1/+1
| | | | | | | | | There are no remaining Python 2 binaries using an embedded launcher in Android. Bug: 245854393 Test: m par_test py2-cmd py3-cmd && build/soong/python/tests/runtest.sh Change-Id: I241bbaa417060b51b4d2883011ccb43e22ace4c8
* Add tests for py(2|3)-cmdDan Willemsen2020-02-191-0/+78
Test: m par_test{,3} py{2,3}-cmd; ./runtest.sh Change-Id: I4aadd9fc85be4381bd9a0843064ceaa87150b5ee