Package: golang-github-go-sourcemap-sourcemap
Version: 2.1.3+git20201028.eed1c20-2
Followup-For: Bug #989120
User: [email protected]
Usertags: origin-ubuntu impish ubuntu-patch

Dear Maintainer,

While patching the test suite to use libjs-jquery from the archive could
be an option, adjusting the tests would require previous knowledge of
the specific jquery version in the archive, meaning the patch would need
adjustments whenever jquery gets updated. A better fix could be to just
stop running the test suite for this package build.

Here is a patch to disable the test suite for this package builds.


  * d/rules: skip test suite run since testing requires network connection
    #989120 (LP: #1935066)


Thanks for considering the patch.


-- System Information:
Debian Release: bullseye/sid
  APT prefers focal-updates
  APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 'focal')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-59-generic (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru 
golang-github-go-sourcemap-sourcemap-2.1.3+git20201028.eed1c20/debian/rules 
golang-github-go-sourcemap-sourcemap-2.1.3+git20201028.eed1c20/debian/rules
--- golang-github-go-sourcemap-sourcemap-2.1.3+git20201028.eed1c20/debian/rules 
2021-03-11 16:00:08.000000000 -0300
+++ golang-github-go-sourcemap-sourcemap-2.1.3+git20201028.eed1c20/debian/rules 
2021-07-08 13:41:23.000000000 -0300
@@ -2,3 +2,9 @@
 
 %:
        dh $@ --buildsystem=golang --with=golang
+
+override_dh_autotest:
+       # The test suite needs an external network connection to fetch jquery.
+       # Patching it would require adjustments for compliance with the 
available
+       # version of libjs-jquery. This would require adjusting the patch for 
every
+       # new libjs-jquery version. Let's just skip the tests instead.

Reply via email to