@@ -75,13 +75,13 @@ jobs:
75
75
- make ${MAKEOPTS} -C ports/unix deplibs
76
76
- make ${MAKEOPTS} -C ports/unix VARIANT=coverage
77
77
# run the main test suite
78
- - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests)
79
- - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -d thread)
80
- - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests --emit native)
81
- - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests --via-mpy -d basics float micropython)
82
- - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests --via-mpy --emit native -d basics float micropython)
78
+ - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython-coverage ./run-tests)
79
+ - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython-coverage ./run-tests -d thread)
80
+ - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython-coverage ./run-tests --emit native)
81
+ - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython-coverage ./run-tests --via-mpy -d basics float micropython)
82
+ - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython-coverage ./run-tests --via-mpy --emit native -d basics float micropython)
83
83
# test when input script comes from stdin
84
- - cat tests/basics/0prelim.py | ports/unix/micropython_coverage | grep -q 'abc'
84
+ - cat tests/basics/0prelim.py | ports/unix/micropython-coverage | grep -q 'abc'
85
85
# test building native mpy modules
86
86
- make -C examples/natmod/features1 ARCH=x64
87
87
- make -C examples/natmod/features2 ARCH=x64
92
92
- make -C examples/natmod/ure ARCH=x64
93
93
- make -C examples/natmod/uzlib ARCH=x64
94
94
# test importing .mpy generated by mpy_ld.py
95
- - MICROPYPATH=examples/natmod/features2 ./ports/unix/micropython_coverage -m features2
95
+ - MICROPYPATH=examples/natmod/features2 ./ports/unix/micropython-coverage -m features2
96
96
- (cd tests && ./run-natmodtests.py extmod/{btree*,framebuf*,uheapq*,ure*,uzlib*}.py)
97
97
# run coveralls coverage analysis (try to, even if some builds/tests failed)
98
98
- (cd ports/unix && coveralls --root ../.. --build-root . --gcov $(which gcov) --gcov-options '\-o build-coverage/' --include py --include extmod)
@@ -115,13 +115,13 @@ jobs:
115
115
- make ${MAKEOPTS} -C ports/unix MICROPY_FORCE_32BIT=1 deplibs
116
116
- make ${MAKEOPTS} -C ports/unix MICROPY_FORCE_32BIT=1 coverage
117
117
# run the main test suite
118
- - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests)
119
- - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -d thread)
120
- - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests --emit native)
121
- - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests --via-mpy --mpy-cross-flags='-mcache-lookup-bc -march=x86' -d basics float micropython)
122
- - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests --via-mpy --emit native --mpy-cross-flags='-mcache-lookup-bc -march=x86' -d basics float micropython)
118
+ - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython-coverage ./run-tests)
119
+ - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython-coverage ./run-tests -d thread)
120
+ - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython-coverage ./run-tests --emit native)
121
+ - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython-coverage ./run-tests --via-mpy --mpy-cross-flags='-mcache-lookup-bc -march=x86' -d basics float micropython)
122
+ - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython-coverage ./run-tests --via-mpy --emit native --mpy-cross-flags='-mcache-lookup-bc -march=x86' -d basics float micropython)
123
123
# test when input script comes from stdin
124
- - cat tests/basics/0prelim.py | ports/unix/micropython_coverage | grep -q 'abc'
124
+ - cat tests/basics/0prelim.py | ports/unix/micropython-coverage | grep -q 'abc'
125
125
# test building native mpy modules
126
126
- make -C examples/natmod/features1 ARCH=x86
127
127
- make -C examples/natmod/features2 ARCH=x86
@@ -132,7 +132,7 @@ jobs:
132
132
- make -C examples/natmod/ure ARCH=x86
133
133
- make -C examples/natmod/uzlib ARCH=x86
134
134
# test importing .mpy generated by mpy_ld.py
135
- - MICROPYPATH=examples/natmod/features2 ./ports/unix/micropython_coverage -m features2
135
+ - MICROPYPATH=examples/natmod/features2 ./ports/unix/micropython-coverage -m features2
136
136
- (cd tests && ./run-natmodtests.py --arch x86 extmod/{btree*,framebuf*,uheapq*,ure*,uzlib*}.py)
137
137
after_failure :
138
138
- (cd tests && for exp in *.exp; do testbase=$(basename $exp .exp); echo -e "\nFAILURE $testbase"; diff -u $testbase.exp $testbase.out; done)
@@ -158,7 +158,7 @@ jobs:
158
158
- make ${MAKEOPTS} -C ports/unix submodules
159
159
- make ${MAKEOPTS} -C ports/unix PYTHON=python2 deplibs
160
160
- make ${MAKEOPTS} -C ports/unix PYTHON=python2 VARIANT=nanbox
161
- - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython_nanbox ./run-tests)
161
+ - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython-nanbox ./run-tests)
162
162
163
163
# unix stackless
164
164
- stage : test
@@ -187,7 +187,7 @@ jobs:
187
187
env : NAME="minimal unix port build and tests"
188
188
script :
189
189
- make ${MAKEOPTS} -C ports/unix minimal
190
- - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython_minimal ./run-tests -e exception_chain -e self_type_check -e subclass_native_init -d basics)
190
+ - (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython-minimal ./run-tests -e exception_chain -e self_type_check -e subclass_native_init -d basics)
191
191
192
192
# windows port via mingw
193
193
- stage : test
0 commit comments