Skip to content

Commit

Permalink
[REGRESSION] adding even more diognostic output to regression testing…
Browse files Browse the repository at this point in the history
… (- WIP #46 & #49 -)

### ChangeLog:

Changes in file tests/check_codecov_regression:
 elif [[ ( -d $(git rev-parse --show-toplevel 2>/dev/null) ) ]] ; then
  • Loading branch information
reactive-firewall committed Aug 28, 2024
1 parent df0fc31 commit 0111db4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/check_codecov_regression
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,15 @@ else
EXIT_CODE=1
fi

if [[ (${EXIT_CODE} -eq 0) ]] ; then
$(QUIET)runner=`$(PYTHON) -m pip freeze --all | grep --count -oF pytest` ; \
if [[ ( $(command python3 -B -m pip freeze --all | grep --count -oF pytest) -le 0 ) ]] ; then
printf "\t\t%s\n" "FAIL: No python framework (pytest) found for test." ;
EXIT_CODE=126 ;
command python3 -B -m pip freeze --all 2>/dev/null || true ;
fi
fi

if [[ (${EXIT_CODE} -eq 0) ]] ; then
test -r "${_TEST_ROOT_DIR}/Makefile" 1>/dev/null 2>&1 || EXIT_CODE=2 ;
if [[ (${EXIT_CODE} -ne 0) ]] ; then
Expand Down

0 comments on commit 0111db4

Please sign in to comment.