mirror of
https://git.yoctoproject.org/poky
synced 2026-01-30 05:18:43 +01:00
Instead of using sed to reformat the output use this new module. This shows that the previous sed expression wasn't sufficient because it didn't handle tests throwing an error, and now the bench/ tests fail because we don't have pytest-benchmark. These tests are more of a benchmark than a unit test, so just skip them. Also show a skip message instead of nothing if the tests were skipped due to a lack of memory. (From OE-Core rev: f22b60676159f729c081ba62fba4642629daa914) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
262 B
262 B
#!/bin/sh
if ./check-memfree.py; then # Skip the bench test module, we don't yet have pytest3-benchmark in core # and these are more benchmarks than unit tests. pytest --automake -k 'not bench' else echo "SKIP: crytography.not_enough_memory" fi