Summary: | dev-php/phptal-1.3.1 fails tests | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mgorny, treecleaner |
Priority: | Normal | Keywords: | PMASKED, TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
2020-08-18 11:03:37 UTC
Created attachment 655260 [details]
build.log
build log and emerge --info
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1deabc739b3b7c493b9ec17be2a7f35ab087296a commit 1deabc739b3b7c493b9ec17be2a7f35ab087296a Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-08-19 00:47:04 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-08-19 00:47:04 +0000 dev-php/phptal: Restrict <dev-php/phpunit-6 Bug: https://bugs.gentoo.org/737842 Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> dev-php/phptal/phptal-1.3.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) But not compatible with PHP 7.x:
> There were 8 failures:
>
> 1) PhptalTest::testPHPParseErrorDoesNotStopPHPTAL2
> Failed asserting that exception of type "ParseError" matches expected exception "PHPTAL_TemplateException". Message was: "syntax error, unexpect
> ed ''error test'' (T_CONSTANT_ENCAPSED_STRING), expecting ')'" at
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/classes/PHPTAL.php:659
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/PhptalTest.php:225
> .
>
> 2) ReadableErrorTest::testSimple
> Unable to find variable 'foobarbaz' in current scope
> Failed asserting that '/var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/classes/PHPTAL/Context.php' contains "input/error-01.html".
>
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:96
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:21
>
> 3) ReadableErrorTest::testMacro
> Unable to find variable 'unknownvar' in current scope
> Failed asserting that '/var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/classes/PHPTAL/Context.php' contains "input/error-02.macro.html".
>
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:96
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:26
>
> 4) ReadableErrorTest::testAfterMacro
> Unable to find variable 'unknownvaraftermacro' in current scope
> Failed asserting that '/var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/classes/PHPTAL/Context.php' contains "input/error-03.html".
>
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:96
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:31
>
> 5) ReadableErrorTest::testMissingVar
> Unable to find variable 'idontexist' in current scope
> Failed asserting that '/var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/classes/PHPTAL/Context.php' contains "input/error-05.html".
>
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:96
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:41
>
> 6) ReadableErrorTest::testMissingExpr
> Attempt to read property 'idontexist' from integer value
> Failed asserting that '/var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/classes/PHPTAL/Context.php' contains "input/error-07.html".
>
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:96
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:52
>
> 7) ReadableErrorTest::testMacroNotExists
> Macro 'doesnotexist' is not defined in error-02.macro.html
> Failed asserting that '/var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/classes/PHPTAL.php' contains "input/error-12.html".
>
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:96
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:77
>
> 8) ReadableErrorTest::testLocalMacroNotExists
> Macro 'doesnotexist' is not defined
> Failed asserting that '/var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/classes/PHPTAL.php' contains "input/error-13.html".
>
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:96
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:82
>
> ERRORS!
> Tests: 623, Assertions: 2286, Errors: 3, Failures: 8, Skipped: 9, Incomplete: 5.
>
v1.4.0 will only address 1 test failure. Let's try to last-rite package... Upstream seams dead for a while. https://github.com/SC-Networks/PHPTAL is a maintained fork... The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=418de272c5ecc63af0d8f362639750af072b0597 commit 418de272c5ecc63af0d8f362639750af072b0597 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2022-12-21 10:51:34 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2022-12-21 11:40:50 +0000 package.mask: Last rite dev-php/phptal Bug: https://bugs.gentoo.org/737842 Signed-off-by: Michał Górny <mgorny@gentoo.org> profiles/package.mask | 7 +++++++ 1 file changed, 7 insertions(+) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e7d71255f62f6489f63b126f92395b0854125cd commit 7e7d71255f62f6489f63b126f92395b0854125cd Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2023-01-27 10:46:29 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2023-01-27 11:07:03 +0000 dev-php/phptal: treeclean Closes: https://bugs.gentoo.org/737842 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> dev-php/phptal/Manifest | 1 - dev-php/phptal/metadata.xml | 8 -------- dev-php/phptal/phptal-1.3.1.ebuild | 36 ------------------------------------ profiles/base/package.use.mask | 1 - profiles/package.mask | 7 ------- 5 files changed, 53 deletions(-) |