mirror of
https://github.com/clearlinux/autospec.git
synced 2026-09-05 13:21:35 +00:00
The `python-extras` bundle dropped the `coverage` command recently, so until that problem is resolved, run unittests without the coverage analysis. Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
16 lines
193 B
Bash
Executable File
16 lines
193 B
Bash
Executable File
#!/bin/bash -lx
|
|
|
|
run_flake8() {
|
|
make check
|
|
}
|
|
|
|
run_unittests() {
|
|
make unittests-no-coverage
|
|
}
|
|
|
|
if t=$(type -t "$INPUT_TESTFUNC"); then
|
|
if [ "$t" = "function" ]; then
|
|
$INPUT_TESTFUNC
|
|
fi
|
|
fi
|