8000 travis: Add new job to test unix port with sys.settrace enabled. · micropython/micropython@0b85b5b · GitHub
[go: up one dir, main page]

Skip to content

Commit 0b85b5b

Browse files
committed
travis: Add new job to test unix port with sys.settrace enabled.
1 parent 4691b43 commit 0b85b5b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,17 @@ jobs:
115115
- make ${MAKEOPTS} -C ports/unix CC=clang CFLAGS_EXTRA="-DMICROPY_STACKLESS=1 -DMICROPY_STACKLESS_STRICT=1"
116116
- make ${MAKEOPTS} -C ports/unix CC=clang test
117117

118+
# unix with sys.settrace
119+
- stage: test
120+
env: NAME="unix port with sys.settrace build and tests"
121+
script:
122+
- make ${MAKEOPTS} -C mpy-cross
123+
- make ${MAKEOPTS} -C ports/unix MICROPY_PY_BTREE=0 MICROPY_PY_FFI=0 MICROPY_PY_USSL=0 CFLAGS_EXTRA="-DMICROPY_PY_SYS_SETTRACE=1" test
124+
- make ${MAKEOPTS} -C ports/unix clean
125+
- make ${MAKEOPTS} -C ports/unix MICROPY_PY_BTREE=0 MICROPY_PY_FFI=0 MICROPY_PY_USSL=0 CFLAGS_EXTRA="-DMICROPY_STACKLESS=1 -DMICROPY_STACKLESS_STRICT=1 -DMICROPY_PY_SYS_SETTRACE=1" test
126+
after_failure:
127+
- (cd tests && for exp in *.exp; do testbase=$(basename $exp .exp); echo -e "\nFAILURE $testbase"; diff -u $testbase.exp $testbase.out; done)
128+
118129
# windows port via mingw
119130
- stage: test
120131
env: NAME="windows port build via mingw"

0 commit comments

Comments
 (0)
0