[med-svn] [Git][med-team/gdpc][master] Revert last change and run problematic test from GDB in batch mode.

Yavor Doganov (@yavor-guest) gitlab at salsa.debian.org
Wed Jan 28 17:21:11 GMT 2026



Yavor Doganov pushed to branch master at Debian Med / gdpc


Commits:
4d09f361 by Yavor Doganov at 2026-01-28T19:18:47+02:00
Revert last change and run problematic test from GDB in batch mode.

This may be considered an abuse of the infrastructure but I could not
reproduce on amd64 (two different machines), i386 (two different
machines), ppc64el and s390x.

- - - - -


4 changed files:

- debian/changelog
- debian/rules
- debian/tests/control
- debian/tests/run-unit-test


Changes:

=====================================
debian/changelog
=====================================
@@ -7,8 +7,6 @@ gdpc (2.2.5-17) UNRELEASED; urgency=medium
   * debian/control (Build-Depends): Replace libgtk2.0-dev with
     libgtk-3-dev.
     (Suggests): Remove gqview, no longer in Debian (Closes: #1118130).
-  * debian/tests/run-unit-test: Run md.test test in mode 1 hoping it would
-    fix Salsa CI failure which I cannot reproduce locally.
 
  -- Yavor Doganov <yavor at gnu.org>  Sun, 25 Jan 2026 12:48:29 +0200
 


=====================================
debian/rules
=====================================
@@ -12,3 +12,5 @@ override_dh_auto_clean:
 
 override_dh_auto_install:
 	# do nothing
+
+override_dh_strip: ;


=====================================
debian/tests/control
=====================================
@@ -1,4 +1,4 @@
 Tests: run-unit-test
-Depends: @, xvfb, xauth, procps
+Depends: @, xvfb, xauth, procps, gdb, libc6-dbg, libglib2.0-0t64-dbgsym, libgtk-3-0t64-dbgsym
 Restrictions: allow-stderr
 Architecture: any-amd64 arm64 loong64 mips64el riscv64


=====================================
debian/tests/run-unit-test
=====================================
@@ -52,9 +52,11 @@ xvfb-run --auto-servernum \
 sleep 10
 check_n_cleanup
 
+env
+locale
 xvfb-run --auto-servernum \
-	/usr/bin/gdpc m 1 d 10 erase xyz 2 3 4 5 md.test 2>&1 \
-	| tee --append test.log &
+	 gdb -batch -ex run -ex "bt full" --args /usr/bin/gdpc \
+           m 2 d 10 erase xyz 2 3 4 5 md.test &
 sleep 10
 check_n_cleanup
 



View it on GitLab: https://salsa.debian.org/med-team/gdpc/-/commit/4d09f3617bc24a302d9ed6b652d00908487f01fc

-- 
View it on GitLab: https://salsa.debian.org/med-team/gdpc/-/commit/4d09f3617bc24a302d9ed6b652d00908487f01fc
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260128/17f74375/attachment-0001.htm>


More information about the debian-med-commit mailing list