diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-10-24 08:29:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-24 08:29:53 (GMT) |
commit | 87d332dcdbffe8ff60d99f74b1ad241c0967b055 (patch) | |
tree | 5237dbe65d2354c16cc71b0b5d13b1eb52b75d4e /.travis.yml | |
parent | 1aa00ff383c43335e4a5044274617dbf59bc839e (diff) | |
download | cpython-87d332dcdbffe8ff60d99f74b1ad241c0967b055.zip cpython-87d332dcdbffe8ff60d99f74b1ad241c0967b055.tar.gz cpython-87d332dcdbffe8ff60d99f74b1ad241c0967b055.tar.bz2 |
bpo-31810: Add smelly.py to check exported symbols (#4057)
* Add Tools/scripts/smelly.py: script checking if all symbols
exported by libpython start with "Py" or "_Py".
* Modify "make smelly" to run smelly.py: the command now fails with a
non-zero exit code if libpython leaks a "smelly" symbol.
* Travis CI now runs "make smelly"
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 1858460..c207bd7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -91,6 +91,8 @@ script: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./python Tools/scripts/patchcheck.py --travis $TRAVIS_PULL_REQUEST; fi # `-r -w` implicitly provided through `make buildbottest`. - make buildbottest TESTOPTS="-j4 -uall,-cpu" + # Check that all symbols exported by libpython start with "Py" or "_Py" + - make smelly notifications: email: false |