summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/test/mirror.py3
-rw-r--r--lib/spack/spack/test/svn_fetch.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/spack/spack/test/mirror.py b/lib/spack/spack/test/mirror.py
index a8697fd029..2f80bae408 100644
--- a/lib/spack/spack/test/mirror.py
+++ b/lib/spack/spack/test/mirror.py
@@ -109,7 +109,8 @@ def test_git_mirror(mock_git_repository):
@pytest.mark.skipif(
- not which('svn'), reason='requires subversion to be installed')
+ not which('svn') or not which('svnadmin'),
+ reason='requires subversion to be installed')
def test_svn_mirror(mock_svn_repository):
set_up_package('svn-test', mock_svn_repository, 'svn')
check_mirror()
diff --git a/lib/spack/spack/test/svn_fetch.py b/lib/spack/spack/test/svn_fetch.py
index a915a82874..eb0d22ee7c 100644
--- a/lib/spack/spack/test/svn_fetch.py
+++ b/lib/spack/spack/test/svn_fetch.py
@@ -19,7 +19,8 @@ from spack.util.executable import which
pytestmark = pytest.mark.skipif(
- not which('svn'), reason='requires subversion to be installed')
+ not which('svn') or not which('svnadmin'),
+ reason='requires subversion to be installed')
@pytest.mark.parametrize("type_of_test", ['default', 'rev0'])