[DRE-maint] Bug#1094649: gem2deb: dh_ruby should not run the tests specified with DH_RUBY_IGNORE_TESTS
Ananthu C V
weepingclown at debian.org
Wed Jan 29 15:40:09 GMT 2025
Package: gem2deb
Version: 2.2.5
Severity: wishlist
Dear Maintainer,
dh_ruby can currently take the environment variable DH_RUBY_IGNORE_TESTS
to skip tests, such as all tests or for specifically ruby3.1 etc. But what
it actually does is, instead of skipping the tests itself, it runs the
testsuite but ignores the errors.
This means that if a pacakge has in its d/rules files something like:
export DH_RUBY_IGNORE_TESTS = ruby3.1
It'd still run the tests for ruby3.1, but it would then ignore the test
failures if there is any.
When the variable is set, it should not be running those tests altogether,
or at the very least it would be better if the variable were to be renamed
to DH_RUBY_IGNORE_TEST_FAILURES if the current behaviour is to be retained,
although it does not really make sense to keep having that.
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-30-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Versions of packages gem2deb depends on:
ii debhelper [debhelper-compat] 13.24.1
ii devscripts 2.25.1
ii gem2deb-test-runner 2.2.5
ii perl 5.40.0-8
ii rake 13.2.1-1
ii ruby 1:3.3~3.1
ii ruby-all-dev 1:3.3~3.1
Versions of packages gem2deb recommends:
ii apt-file 3.3
ii build-essential 12.12
ii python3-debian 0.1.49
Versions of packages gem2deb suggests:
ii git-buildpackage 0.9.37
ii pristine-tar 1.50+nmu2
-- no debconf information
--
Best,
Ananthu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20250129/14aca486/attachment.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list