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:
Damien George
2022-02-28 18:54:10 +11:00
parent c4b8dae438
commit 8626dcd623
2 changed files with 1 additions and 6 deletions

View File

@@ -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
}