OLD | NEW |
1 #!/usr/bin/env bash | 1 #!/usr/bin/env bash |
2 | 2 |
3 . .travis/activate-nodejs.sh | 3 . .travis/activate-nodejs.sh |
4 | 4 |
5 set -x | 5 set -x |
6 set -e | 6 set -e |
7 | 7 |
8 PATH=${PATH}:${TRAVIS_BUILD_DIR}/third_party/ninja:$(python3 -c "import sysconfi
g;print(sysconfig.get_paths('posix_user')['scripts'])") | 8 PATH=${PATH}:${TRAVIS_BUILD_DIR}/third_party/ninja:$(python3 -c "import sysconfi
g;print(sysconfig.get_paths('posix_user')['scripts'])") |
9 | 9 |
10 meson --buildtype ${BUILDTYPE} build/js | 10 meson --buildtype ${BUILDTYPE} build/js |
11 ninja -C build/js | 11 ninja -C build/js |
12 npm test | 12 npm test |
13 | 13 |
14 USE_ASAN=true | 14 USE_ASAN=true |
15 if [[ "${BUILDTYPE}" == "release" ]]; then | 15 if [[ "${BUILDTYPE}" == "release" ]]; then |
16 USE_ASAN=false | 16 USE_ASAN=false |
17 fi | 17 fi |
18 meson -Dnative=true -Dasan=${USE_ASAN} --buildtype ${BUILDTYPE} build/native | 18 meson -Dnative=true -Dasan=${USE_ASAN} --buildtype ${BUILDTYPE} build/native |
19 ninja -C build/native | 19 ninja -C build/native |
20 ./build/native/abptest | 20 ./build/native/abptest |
| 21 |
| 22 CPPFLAGS=-DABP_USER_CONFIG='\"../test/compiled/user-config-test-namespace.h\"' \ |
| 23 meson -Dnative=true -Dasan=${USE_ASAN} --buildtype ${BUILDTYPE} build/native-tes
t-namespace |
| 24 ninja -C build/native-test-namespace |
| 25 ./build/native-test-namespace/abptest |
OLD | NEW |