On Sun, Feb 13, 2022 at 08:00:15AM +0100, Lucas Nussbaum wrote:
> Source: awl
> Version: 0.62-1
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20220212 ftbfs-bookworm
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.


> >    dh_auto_test
> >     make -j4 test
> > make[1]: Entering directory '/<<PKGBUILDDIR>>'
> > # simple php syntax check
> > OK (Syntax checked)
> > # run phpunit tests
> > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:./vendor/bin/
> >  phpunit tests/
> > PHPUnit 9.5.13 by Sebastian Bergmann and contributors.
> > 
> > 
> > Warning:       Test case class not matching filename is deprecated
> >                in /<<PKGBUILDDIR>>/tests/myComponentTest.php
> >                Class name was 'vComponentTest', expected 'myComponentTest'
> > Warning:       Test case class not matching filename is deprecated
> >                in /<<PKGBUILDDIR>>/tests/myPropertyTest.php
> >                Class name was 'vPropertyTest', expected 'myPropertyTest'
> > 
> > RE...........................R...........                         41 / 41 
> > (100%)
> > 
> > Time: 00:00.007, Memory: 6.00 MB
> > 
> > There was 1 error:
> > 
> > 1) myCalendarTest::test2
> > TypeError: implode(): Argument #2 ($array) must be of type ?array, string 
> > given
> > 
> > /<<PKGBUILDDIR>>/tests/myCalendarTest.php:61
> > 
> > --
> > 
> > There were 2 risky tests:
> > 
> > 1) myCalendarTest::test1
> > This test did not perform any assertions
> > 
> > /<<PKGBUILDDIR>>/tests/myCalendarTest.php:27
> > 
> > 2) vComponentTest::testRenderNoChanges2
> > This test did not perform any assertions
> > 
> > /<<PKGBUILDDIR>>/tests/myComponentTest.php:420
> > 
> > ERRORS!
> > Tests: 41, Assertions: 104, Errors: 1, Risky: 2.
> > make[1]: *** [Makefile:52: test] Error 2

tests/myCalendarTest.php:61 was fixed by
https://gitlab.com/davical-project/awl/-/commit/45f2ee44f2458a8c4e514fdf5a7b3bc329c44b9a

Reply via email to