From 121ed4eec41fbf03e1998d09eede1bf449da63b9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 19 Jul 2019 22:05:27 +0100 Subject: gentoo resync : 19.07.2019 --- ...ony-finder-3.4.28-skip-file-time-sort-tests.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 dev-php/symfony-finder/files/symfony-finder-3.4.28-skip-file-time-sort-tests.patch (limited to 'dev-php/symfony-finder/files/symfony-finder-3.4.28-skip-file-time-sort-tests.patch') diff --git a/dev-php/symfony-finder/files/symfony-finder-3.4.28-skip-file-time-sort-tests.patch b/dev-php/symfony-finder/files/symfony-finder-3.4.28-skip-file-time-sort-tests.patch new file mode 100644 index 000000000000..25729f89e1ef --- /dev/null +++ b/dev-php/symfony-finder/files/symfony-finder-3.4.28-skip-file-time-sort-tests.patch @@ -0,0 +1,20 @@ +There's one set of tests that tries to sort an array of files by their +access and modification times, and that doesn't work if your filesystem +is mounted with noatime (a lot of our users do that). + +This should probably be fixed upstream, and has been reported here: + +https://github.com/symfony/symfony/issues/17489 + +--- a/Tests/Iterator/SortableIteratorTest.php ++++ b/Tests/Iterator/SortableIteratorTest.php +@@ -65,7 +65,8 @@ class SortableIteratorTest extends RealIteratorTestCase + if ('\\' === \DIRECTORY_SEPARATOR && SortableIterator::SORT_BY_MODIFIED_TIME !== $mode) { + $this->markTestSkipped('Sorting by atime or ctime is not supported on Windows'); + } +- $this->assertOrderedIteratorForGroups($expected, $iterator); ++ // $this->assertOrderedIteratorForGroups($expected, $iterator); ++ $this->markTestSkipped('Sorting by time is failure-prone on Gentoo'); + } else { + $this->assertOrderedIterator($expected, $iterator); + } -- cgit v1.2.3