]> git.sven.stormbind.net Git - sven/exfatprogs.git/commitdiff
Run upstream tests via autopkgtest. Tests are imported as one big patch out of upstre...
authorSven Hoexter <sven@stormbind.net>
Fri, 26 Jul 2024 12:43:46 +0000 (14:43 +0200)
committerSven Hoexter <sven@stormbind.net>
Fri, 26 Jul 2024 13:17:23 +0000 (15:17 +0200)
debian/README.source [new file with mode: 0644]
debian/changelog
debian/rules

diff --git a/debian/README.source b/debian/README.source
new file mode 100644 (file)
index 0000000..e6dfb99
--- /dev/null
@@ -0,0 +1,10 @@
+The main version of exfatprogs is imported via the released
+orig tarball with gbp import-orig. The huge tests-folder patch
+is generated via:
+
+$ git checkout master
+$ gbp pq import
+$ git fetch https://github.com/exfatprogs/exfatprogs/ 1.2.4
+$ git checkout FETCH_HEAD tests/
+$ git commit -m "Add tests folder from upstream"
+$ gbp pq export
index 38fa501ec1a98d10dfd56c488b7a3681d773009a..62b99c88156c490867f309d1ec81c862593789d6 100644 (file)
@@ -3,8 +3,11 @@ exfatprogs (1.2.4-2) UNRELEASED; urgency=medium
   * Adjust debian/watch to download the release tarball,
     instead of the auto-generated GitHub source tarball.
     Patch by Alessandro Astone. (Closes: #1076722)
+  * Include and run upstream tests. Tests are imported
+    as one big patch out of upstreams git (see README.source
+    for the details). Patches by Alessandro Astone. (Closes: #1076705)
 
- -- Sven Hoexter <hoexter@debian.org>  Tue, 23 Jul 2024 19:56:35 +0200
+ -- Sven Hoexter <hoexter@debian.org>  Fri, 26 Jul 2024 14:42:45 +0200
 
 exfatprogs (1.2.4-1) unstable; urgency=medium
 
index 2b6a2f1e3e60dd73d12a52086ef6b7ee91a3cfb7..e3df3d68a572f48dc77da799001cbbad7f2d6d2d 100755 (executable)
@@ -8,9 +8,11 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
        dh $@
 
 override_dh_auto_test:
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
        dh_auto_test
        export PATH="$(shell pwd)/fsck:$$PATH"; cd tests; ./test_fsck.sh
        rm tests/exfat.img
+endif
 
 override_dh_installchangelogs:
        dh_installchangelogs NEWS