在 2026年4月10日星期五 中欧夏令时间 17:06:22,Aurélien COUDERC 写道:
> Le vendredi 10 avril 2026, 14:34:45 heure d’été d’Europe centrale Benxi Yang 
> a écrit :
> > 在 2026年4月10日星期五 中欧夏令时间 13:46:07,Hefee 写道:
> > > Hey,
> > > 
> > > you normally just mark the autotests as non-failing via a stanza in the d/
> > > rules, by just put a - in front of the call of the tests:
> > > 
> > > override_dh_auto_test:
> > >      - xvfb-run -a dh_auto_test
> > > 
> > > The other way would be to disable them by just create a empty target ( 
> > > remove 
> > > the xvfb-run line).
> > > 
> > > Regards,
> > > 
> > > hefee
> > > 
> > > --
> > > 
> > > On Freitag, 10. April 2026 10:31 Benxi Yang wrote:
> > > > Dear Maintainers,
> > > > 
> > > > Currently I'm trying to update to newest version 25.12.3, and have a
> > > > problem.
> > > > 
> > > > How can I disable autotests without patching the source code? The 
> > > > CMakelists
> > > > provided by upstream doesn't have an option to disable autotests.
> > > > 
> > > > Hopefully update to newest version can solve the bug 1131580.
> > > > 
> > > > Best regards,
> > > > 
> > > > Benxi Yang
> > > 
> > > 
> > > 
> > Thanks. I choose to disable them. And now the problem left is the changelog 
> > file.
> 
> There’s also a more granular way to disable some tests by giving the test 
> names to -E in cmake ARGS.
> For example I’ve done this for kf6-kiconthemes :
> https://salsa.debian.org/qt-kde-team/kde/kf6-kiconthemes/-/blob/master/debian/rules?ref_type=heads
> 
> > Since I base my work on others, the debian/changelog needs some 
> > modification since we never release 25.12.1 to ftp server(looks like Mobian 
> > team release it to their main server).
> 
> If your changes include what was in the mobian upload (which seems to be the 
> case) you can simply merge the contents of the 2 changelogs into the 25.12.3 
> entry.
> So you would have something like :
> 
> neochat (25.12.3-1) UNRELEASED; urgency=medium
> 
>   [ Benxi Yang ]
>   * your changes…
> 
>   [ Marco Mattiolo ]
>   * Marco’s changes…
> 
>  -- Debian Qt/KDE Maintainers <[email protected]>  Sat, 28 Mar 
> 2026 18:45:29 +0100
> 
> neochat (25.04.0-3) unstable; urgency=medium
> […]
> 
> 
> Happy hacking !
> --
> Aurélien
> 
> 
> 
Which one is preferred? Completely disable testbench or use flag to disable 
specific test? Or it's up to the maintainer to decide that?

Best regards,

Benxi Yang




-- 
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-kde-talk

Reply via email to