aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-visualization/fsleyes/files')
-rw-r--r--sci-visualization/fsleyes/files/fsleyes-0.32.0-coverage.patch13
-rw-r--r--sci-visualization/fsleyes/files/fsleyes-0.32.0-tests_fail.patch62
-rw-r--r--sci-visualization/fsleyes/files/fsleyes-0.32.0-tests_timeout.patch61
3 files changed, 0 insertions, 136 deletions
diff --git a/sci-visualization/fsleyes/files/fsleyes-0.32.0-coverage.patch b/sci-visualization/fsleyes/files/fsleyes-0.32.0-coverage.patch
deleted file mode 100644
index 089a8d856..000000000
--- a/sci-visualization/fsleyes/files/fsleyes-0.32.0-coverage.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/setup.cfg b/setup.cfg
-index fcb594a..dccad97 100644
---- a/setup.cfg
-+++ b/setup.cfg
-@@ -9,7 +9,7 @@ ignore = E127,E201,E203,E221,E222,E241,E271,E272,E301,E302,E303,E701,W504
-
- [tool:pytest]
- testpaths = tests
--addopts = -v --cov=fsleyes
-+addopts = -v
- markers =
- overlayclitest: Overlay scene test invoked via FSLeyes command line
- clitest: Test invoked via FSLeyes command line
diff --git a/sci-visualization/fsleyes/files/fsleyes-0.32.0-tests_fail.patch b/sci-visualization/fsleyes/files/fsleyes-0.32.0-tests_fail.patch
deleted file mode 100644
index 8b5f2d639..000000000
--- a/sci-visualization/fsleyes/files/fsleyes-0.32.0-tests_fail.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-diff --git a/tests/actions/test_copyoverlay.py b/tests/actions/test_copyoverlay.py
-index 3509ba6..371813e 100644
---- a/tests/actions/test_copyoverlay.py
-+++ b/tests/actions/test_copyoverlay.py
-@@ -19,7 +19,11 @@ import fsleyes.actions.copyoverlay as copyoverlay
-
- from .. import run_with_orthopanel, realYield
-
-+import pytest
-
-+@pytest.mark.skip(reason="Known to fail on Gentoo:"
-+ "https://github.com/pauldmccarthy/fsleyes/issues/38"
-+ )
- def test_copyImage_3d():
- run_with_orthopanel(_test_copyImage_3d)
- def _test_copyImage_3d(panel, overlayList, displayCtx):
-@@ -103,7 +107,9 @@ def _test_copyImage_3d(panel, overlayList, displayCtx):
- assert np.all(copy[5:25, 5:25, 5:25] == img3d[:, :, :])
- overlayList.remove(copy)
-
--
-+@pytest.mark.skip(reason="Known to fail on Gentoo:"
-+ "https://github.com/pauldmccarthy/fsleyes/issues/38"
-+ )
- def test_copyImage_4d():
- run_with_orthopanel(_test_copyImage_4d)
- def _test_copyImage_4d(panel, overlayList, displayCtx):
-@@ -220,6 +226,9 @@ def make_rgb():
- return fslimage.Image(rgb, xform=np.eye(4))
-
-
-+@pytest.mark.skip(reason="Known to fail on Gentoo:"
-+ "https://github.com/pauldmccarthy/fsleyes/issues/38"
-+ )
- def test_copyImage_multiValued():
- run_with_orthopanel(_test_copyImage_multiValued)
- def _test_copyImage_multiValued(panel, overlayList, displayCtx):
-@@ -281,6 +290,9 @@ def _test_copyImage_multiValued(panel, overlayList, displayCtx):
- overlayList.remove(copy)
-
-
-+@pytest.mark.skip(reason="Known to fail on Gentoo:"
-+ "https://github.com/pauldmccarthy/fsleyes/issues/38"
-+ )
- def test_CopyOverlayAction():
- run_with_orthopanel(_test_CopyOverlayAction)
- def _test_CopyOverlayAction(panel, overlayList, displayCtx):
-diff --git a/tests/actions/test_newimage.py b/tests/actions/test_newimage.py
-index cfd6b5a..e9c2ff8 100644
---- a/tests/actions/test_newimage.py
-+++ b/tests/actions/test_newimage.py
-@@ -82,6 +82,9 @@ def test_newImage():
- assert img.name == 'whaa'
-
-
-+@pytest.mark.skip(reason="Known to fail on Gentoo:"
-+ "https://github.com/pauldmccarthy/fsleyes/issues/38"
-+ )
- def test_NewImageAction():
- run_with_orthopanel(_test_NewImageAction)
-
-
diff --git a/sci-visualization/fsleyes/files/fsleyes-0.32.0-tests_timeout.patch b/sci-visualization/fsleyes/files/fsleyes-0.32.0-tests_timeout.patch
deleted file mode 100644
index 828252ec4..000000000
--- a/sci-visualization/fsleyes/files/fsleyes-0.32.0-tests_timeout.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-diff --git a/tests/actions/test_newimage.py b/tests/actions/test_newimage.py
-index a7d159e4..7bc76fb0 100644
---- a/tests/actions/test_newimage.py
-+++ b/tests/actions/test_newimage.py
-@@ -16,6 +16,7 @@ import fsl.transform.affine as fslaffine
- import fsleyes.actions.newimage as newimage
- from .. import run_with_fsleyes, run_with_orthopanel, realYield
-
-+import pytest
-
- class MockNewImageDialog(object):
- initOverride = False
-@@ -121,7 +122,9 @@ def _test_NewImageAction(panel, overlayList, displayCtx):
- overlayList.clear()
- realYield()
-
--
-+@pytest.mark.skip(reason="Known to fail on Gentoo:"
-+ "https://github.com/pauldmccarthy/fsleyes/issues/38"
-+ )
- def test_NewImageAction_existing():
- run_with_orthopanel(_test_NewImageAction_existing)
-
-@@ -156,7 +156,9 @@ def _test_NewImageAction_existing(panel, overlayList, displayCtx):
- assert old.sameSpace(new)
- assert new.dtype == np.int32
-
--
-+@pytest.mark.skip(reason="Known to fail on Gentoo:"
-+ "https://github.com/pauldmccarthy/fsleyes/issues/38"
-+ )
- def test_NewImageDialog():
- run_with_fsleyes(_test_NewImageDialog)
-
-diff --git a/tests/actions/test_resample.py b/tests/actions/test_resample.py
-index e883002c..ae1741cc 100644
---- a/tests/actions/test_resample.py
-+++ b/tests/actions/test_resample.py
-@@ -25,7 +25,11 @@ from .. import (run_with_fsleyes,
- simtext,
- simclick)
-
-+import pytest
-
-+@pytest.mark.skip(reason="Known to fail on Gentoo:"
-+ "https://github.com/pauldmccarthy/fsleyes/issues/38"
-+ )
- def test_resample():
- run_with_orthopanel(_test_resample)
-
-@@ -132,6 +136,9 @@ def _test_resample(panel, overlayList, displayCtx):
-
-
-
-+@pytest.mark.skip(reason="Known to fail on Gentoo:"
-+ "https://github.com/pauldmccarthy/fsleyes/issues/38"
-+ )
- def test_ResampleDialog():
- run_with_fsleyes(_test_ResampleDialog)
-
-