Convert test-launcher into a generic asan-launcher so that it can be used to run kitty as well

This commit is contained in:
Kovid Goyal
2017-11-01 12:03:59 +05:30
parent 96f85b187e
commit 04a61d0e21
5 changed files with 28 additions and 23 deletions

View File

@@ -114,9 +114,8 @@ install: |
before_script:
- echo $LD_LIBRARY_PATH
- $PYTHON setup.py build --debug $SANITIZE_ARG;
- if [[ "$TRAVIS_OS_NAME" != 'osx' ]]; then ldd ./test-launcher `which $PYTHON`; fi
script:
- ./test-launcher
- if [[ -z $SANITIZE_ARG ]]; then $PYTHON test.py; else ./asan-launcher test; fi
- if [[ "$RUN_FLAKE" == "1" ]]; then flake8 --count .; fi
- if [[ "$BUILD_PKG" == "1" ]]; then $PYTHON setup.py linux-package; fi