Skip to content

Commit

Permalink
Split off the testing step to another PR
Browse files Browse the repository at this point in the history
  • Loading branch information
ocaisa committed Jun 10, 2024
1 parent d07f920 commit 0cc765f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions easybuild/easyblocks/p/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,18 +461,6 @@ def build_step(self, *args, **kwargs):

super(EB_Python, self).build_step(*args, **kwargs)

def test_step(self):
"""Test Python build via 'make test'."""
# Turn on testing by default for recent Python versions
relevant_python = (self.name.lower() == 'python' and LooseVersion(self.version) >= LooseVersion('3.10'))
if relevant_python and self.cfg['runtest'] is None:
self.cfg['runtest'] = 'test'
# Need to skip some troublesome tests
# (socket tests give a permission denied error, may be due to SELinux)
# (curses error is from test_background, just ignoring)
self.cfg['testopts'] = 'TESTOPTS="-x test_socket test_curses "'
super(EB_Python, self).test_step()

def install_step(self):
"""Extend make install to make sure that the 'python' command is present."""

Expand Down

0 comments on commit 0cc765f

Please sign in to comment.