Skip to content

Commit

Permalink
drop last bits of EL5 testing
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Jul 15, 2024
1 parent 959a765 commit a2f1a56
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
RHEL5=$(shell grep -q -i 'release 5' /etc/redhat-release 2>/dev/null || false)
PYTHON3=$(shell which python3 && which pip3)
USE_SELINUX=$(shell test -d /sys/fs/selinux && echo ":Z")
DOCKERFILE ?= $(CURDIR)/images/Dockerfile.el9
Expand Down Expand Up @@ -44,9 +43,7 @@ install:
cd src/ && $(PYTHON) setup.py install

test-install:
ifeq ($(RHEL5),) # no pip for RHEL5
$(PIP) install -r test-requirements.txt --user
endif

test: test-install
$(PYTHON) test/unittest_suite.py
Expand Down
6 changes: 1 addition & 5 deletions test/test_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ fi;

make install

if grep -q -i 'release 5' /etc/redhat-release; then
python ./test/unittest_suite.py
else
make test
fi
make test

if [ ${PYTHON} = "python3" ]; then
# don't fail on flake8 for now
Expand Down

0 comments on commit a2f1a56

Please sign in to comment.