aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/run_python.sh
Commit message (Collapse)AuthorAge
* Make running individual Python tests less painfulGravatar Masood Malekghassemi2016-07-01
| | | | | | | | | | | | | | | | | | | | | | | | Before this change, running Python tests individually required building a tox environment via the run_tests script and then specifying long environment variables to filter out just the test we wanted to run (and then we wouldn't be able to get the output on interrupt, nor would we have an easy way of determining the PID of the process for debugger attachment). Now invoking the build_python.sh script creates a workable python virtual environment that includes all necessary libraries and tests (s.t. running a single test is now possible by just knowing the module name). This does not change existing supported means of running tests (e.g. through run_tests.py). An additional way of running individual tests has been introduced. Following invocation of `./tools/run_tests/build_python.sh` (or run_tests.py), one may invoke ./$VENV/bin/python -m $TEST_MODULE_NAME and acquire a single running process that *is* the test process (rather than a parent of the process). $VENV is the virtual environment name specified to `build_python.sh` (defaults to `py27`) and $TEST_MODULE_NAME is what it says on the tin.
* Organize Python tests to use grpcio-tools directlyGravatar Masood Malekghassemi2016-07-01
| | | | | Moves all tests into a separate package. This does not change existing supported means of running tests (e.g. through run_tests.py).
* Initial Python3 supportGravatar Ken Payson2016-06-10
| | | | | | | | Notable Changes: -Convert all str types to byte types at cython layer (ascii encoding) -Use six for packages that have different names in Python2/Python3 -By default, unit tests are compiled/run in Python2.7 and Python3.4 -Ensure MACOSX_BUILD_TARGET is at least 10.7
* Add --compiler python3.4 option to run_tests.pyGravatar Jan Tattermusch2016-04-26
|
* Merge github.com:grpc/grpc into copyright-fixGravatar Craig Tiller2016-03-31
|\
* | Update copyrightsGravatar Craig Tiller2016-03-31
| |
| * Don't allow precompiled binaries in testsGravatar Masood Malekghassemi2016-03-24
|/ | | | | | | | Before it was possible for precompiled binaries of the Cython layer to be downloaded during a test run if the metadata of the host machine's gRPC Python project matched the metadata of a file in cloud storage. Now we disallow this, and fix a bug where the relevant environment variable was ineffectual.
* Don't set linetrace unless testing coverageGravatar Masood Malekghassemi2016-03-09
|
* custom test target for parallel test runningGravatar Jan Tattermusch2016-03-07
|
* make python test suites run in parallelGravatar Jan Tattermusch2016-03-02
|
* Updated copyrightsGravatar murgatroid992016-01-12
|
* Use BoringSSL for Python gRPCGravatar Masood Malekghassemi2016-01-11
|
* Include core in Python distributionGravatar Masood Malekghassemi2016-01-07
|
* Generate coverage HTML reports for JenkinsGravatar Masood Malekghassemi2015-12-04
|
* Use toxGravatar Masood Malekghassemi2015-12-04
|
* Make Python testing predictable againGravatar Masood Malekghassemi2015-12-03
| | | | | | | This reorganizes the Python code, scraps the current testing infrastructure, and implements a simple test discovery and run script based on the standard Python unittest library so we can trust that our tests are running.
* Set pytest-xdist-compatible pytest-timeout methodGravatar Masood Malekghassemi2015-10-06
|
* Add verbosity back to Python testing outputGravatar Masood Malekghassemi2015-10-06
|
* Make load_tests protocol tests run via py.testGravatar Masood Malekghassemi2015-09-30
|
* The rest of the Python Beta APIGravatar Nathaniel Manista2015-08-31
|
* Merge pull request #3052 from nathanielmanistaatgoogle/crustGravatar Masood Malekghassemi2015-08-27
|\ | | | | The RPC Framework crust package
| * The RPC Framework crust packageGravatar Nathaniel Manista2015-08-25
| |
* | Add global per-test timeout to Python test harnessGravatar Masood Malekghassemi2015-08-25
|/
* Add new core tests to run_tests/run_python.shGravatar Masood Malekghassemi2015-08-21
| | | | | The tests don't currently get discovered by py.test due to their use of the Python 2.7+ load_tests protocol.
* Move Python protoc plugin tests to grpcio_testGravatar Masood Malekghassemi2015-08-04
|
* Use py.test from run_tests.pyGravatar Masood Malekghassemi2015-07-31
| | | | | | Also updates the version of grpcio_test. Now that grpcio and its tests are in different project packages, the version numbers should be kept in sync.
* Add Python3 testing supportGravatar Masood Malekghassemi2015-07-09
| | | | | Conditionally runs the tests depending on the availability of Python versions (because Travis is the worst).
* Fix MacOS Python test linker pathsGravatar Masood Malekghassemi2015-05-21
|
* Fix Python test ignorance of build configGravatar Masood Malekghassemi2015-03-17
|
* Have Python protoc plugin test run with other testsGravatar Masood Malekghassemi2015-03-05
|
* Teach run_tests about individual Python testsGravatar Craig Tiller2015-03-05
| | | | | | | | | Allows: - running python tests in parallel - clearer Travis output - subjects each python test to the five minute run_tests timeout, instead of ALL the tests to the five minute timeout - easier benchmarking of which tests are slow
* Removed logging, returned other tests to .travis.ymlGravatar murgatroid992015-03-02
|
* Added more loggingGravatar murgatroid992015-03-02
|
* Fixed ldd loggingGravatar murgatroid992015-03-02
|
* Added logging for python testsGravatar murgatroid992015-03-02
|
* Added TODO to re-enable commented testGravatar murgatroid992015-03-02
|
* Put tests back in a useful stateGravatar murgatroid992015-03-02
|
* Changed how python versions are specifiedGravatar murgatroid992015-03-02
|
* Add more loggingGravatar murgatroid992015-03-02
|
* Added another log lineGravatar murgatroid992015-02-27
|
* Added log lineGravatar murgatroid992015-02-27
|
* Drop fixed port from python_plugin_testGravatar Nathaniel Manista2015-02-27
| | | | | There may be some aspect of mortal sin in the way that context management is now done in this test.
* Merge pull request #785 from nathanielmanistaatgoogle/early-adopter-changesGravatar Masood Malekghassemi2015-02-25
|\ | | | | Final changes to the early_adopter API.
| * Final changes to the early_adopter API.Gravatar Nathaniel Manista2015-02-25
| | | | | | | | | | | | This makes grpc.early_adopter much more independent of RPC Framework and cleaner at the cost of reexporting most of the interfaces and writing several delegation classes.
* | Updated Python protoc plugin testing.Gravatar Masood Malekghassemi2015-02-24
|/
* Added compiler plugin test for Python.Gravatar Masood Malekghassemi2015-02-20
|
* The framework.assembly package.Gravatar Nathaniel Manista2015-02-20
| | | | | | | This provides for now what should be a nicer interface for code generation than that of the Face layer. In terms of abstraction it's conceptually very similar so the two should probably be merged as soon as is reasonable.
* Add missing new-lines at end of fileGravatar Craig Tiller2015-02-18
|
* Update copyright to 2015Gravatar Craig Tiller2015-02-18
|
* Merge github.com:grpc/grpc into copyrightGravatar Craig Tiller2015-02-17
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/python/src/__init__.py src/python/src/_adapter/__init__.py src/python/src/_framework/__init__.py src/python/src/_framework/base/__init__.py src/python/src/_framework/base/packets/__init__.py src/python/src/_framework/common/__init__.py src/python/src/_framework/face/__init__.py src/python/src/_framework/face/testing/__init__.py src/python/src/_framework/foundation/__init__.py src/python/src/_junkdrawer/__init__.py