mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 20:50:14 +01:00
tools/ci.sh: Run performance benchmark as part of all unix test runs.
This tests that the performance benchmarks run without error. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -385,6 +385,7 @@ function ci_unix_run_tests_full_helper {
|
||||
fi
|
||||
make -C ports/unix VARIANT=$variant "$@" test_full
|
||||
(cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/$micropython ./run-multitests.py multi_net/*.py)
|
||||
(cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/$micropython ./run-perfbench.py 1000 1000)
|
||||
}
|
||||
|
||||
function ci_native_mpy_modules_build {
|
||||
@@ -424,10 +425,6 @@ function ci_unix_standard_run_tests {
|
||||
ci_unix_run_tests_full_helper standard
|
||||
}
|
||||
|
||||
function ci_unix_standard_run_perfbench {
|
||||
(cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython ./run-perfbench.py 1000 1000)
|
||||
}
|
||||
|
||||
function ci_unix_dev_build {
|
||||
ci_unix_build_helper VARIANT=dev
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user