Testing return values from run_tests
This commit is contained in:
parent
955b37b003
commit
48e65222df
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ install_repo() {
|
||||||
run_tests() {
|
run_tests() {
|
||||||
echo "Running tests"
|
echo "Running tests"
|
||||||
pytest 2>&1 | tee "$TEST_LOG"
|
pytest 2>&1 | tee "$TEST_LOG"
|
||||||
|
cat "$TEST_LOG"
|
||||||
|
|
||||||
grep -e '^FAILED ' "$TEST_LOG"
|
grep -e '^FAILED ' "$TEST_LOG"
|
||||||
if [[ $? == 0 ]]; then
|
if [[ $? == 0 ]]; then
|
||||||
|
|
Loading…
Reference in a new issue