diff options
author | 2017-05-04 08:26:09 -0400 | |
---|---|---|
committer | 2017-05-04 08:27:58 -0400 | |
commit | 1933c9054cf50c4ec55fe412cfa606ea64482ac2 (patch) | |
tree | 931fb765a0050450c2de824b47d87398d0ec6de2 /dev-php/symfony-finder/files | |
parent | dev-php/sebastian-diff: new revision to fix autoloader class names. (diff) | |
download | gentoo-1933c9054cf50c4ec55fe412cfa606ea64482ac2.tar.gz gentoo-1933c9054cf50c4ec55fe412cfa606ea64482ac2.tar.bz2 gentoo-1933c9054cf50c4ec55fe412cfa606ea64482ac2.zip |
dev-php/symfony-finder: new version 3.2.8.
This new version enables the test suite, after patching out a problem
test: it tries to sort files by their atime, and that obviously fails
if your filesystem is mounted noatime. After skipping that test, the
suite passes, so I've removed the RESTRICT=test that was in place.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-php/symfony-finder/files')
-rw-r--r-- | dev-php/symfony-finder/files/skip-file-time-sort-tests.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-php/symfony-finder/files/skip-file-time-sort-tests.patch b/dev-php/symfony-finder/files/skip-file-time-sort-tests.patch new file mode 100644 index 000000000000..d0ee130b4e76 --- /dev/null +++ b/dev-php/symfony-finder/files/skip-file-time-sort-tests.patch @@ -0,0 +1,24 @@ +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 + +diff --git a/Tests/Iterator/SortableIteratorTest.php b/Tests/Iterator/SortableIteratorTest.php +index 4750f25..29d176a 100644 +--- a/Tests/Iterator/SortableIteratorTest.php ++++ b/Tests/Iterator/SortableIteratorTest.php +@@ -62,10 +62,7 @@ class SortableIteratorTest extends RealIteratorTestCase + || $mode === SortableIterator::SORT_BY_CHANGED_TIME + || $mode === SortableIterator::SORT_BY_MODIFIED_TIME + ) { +- 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->markTestSkipped('Sorting by time is failure-prone on Gentoo'); + } else { + $this->assertOrderedIterator($expected, $iterator); + } |