commit 3281302d0fe78ae1f3d6a50ae4e20bf6e26e1341
Merge: 36150cb 49cd73f
Author: Lev Lamberov <dogsleg@debian.org>
Date: Fri Feb 6 10:21:05 2026 +0000
Merge branch 'perl-based-unit-tests' into 'master'
Perl-based unit tests
See merge request emacsen-team/dh-make-elpa!6
commit 49cd73fced3d2c9bbd7e855dba8fadec4e5c66e1
Author: Xiyue Deng <manphiz@gmail.com>
Date: Fri Jan 16 04:36:19 2026 -0800
Add t/README.org
commit 6410a131ab7b9cc846e8ab4badf25b667be6d5e4
Author: Xiyue Deng <manphiz@gmail.com>
Date: Fri Jan 16 07:31:13 2026 -0800
Add a utility tool for checking and applying diff
commit 5d0dd3165c658e18f0bbf3b59c52b77e9e13ab11
Author: Xiyue Deng <manphiz@gmail.com>
Date: Thu Jan 15 21:41:30 2026 -0800
Drop debian/tests in favor of autopkgtest-pkg-perl
- autopkgtest-pkg-perl will run `prove' which covers the newly added
tests, as well as do syntax checking for all Perl files.
commit 06644cf62ebe906b61e208fb3213c8f63c4fd733
Author: Xiyue Deng <manphiz@gmail.com>
Date: Thu Jan 15 21:29:45 2026 -0800
Enable `Testsuite: autopkgtest-pkg-perl'
commit 9659da7ad2ed33851359c50c13e4bdf33a6b23aa
Author: Xiyue Deng <manphiz@gmail.com>
Date: Fri Jan 16 18:42:01 2026 -0800
Clarify that the copyright in test data does not take effect
commit 256084dcb551ec83da3842cabb785e62b6dc1e38
Author: Xiyue Deng <manphiz@gmail.com>
Date: Fri Jan 16 16:45:39 2026 -0800
Add test case `gitlab_team'
commit 7f88e4e0796a08c35c2a34cd0e8422139718b7fb
Author: Xiyue Deng <manphiz@gmail.com>
Date: Fri Jan 16 02:47:12 2026 -0800
Add test case `github_team'
commit 86ec5479639c535a58c9da2ef6d065e88c59edae
Author: Xiyue Deng <manphiz@gmail.com>
Date: Fri Jan 16 02:43:46 2026 -0800
Add special handling for a git-based repo
- We cannot check-in a repo with `.git' into the project as it's
considered a nested repo.
- Use a hack to use `git' as directory name to check it in, and when
testing rename it to `.git', recreate missing directories, and run
dh-make-elpa to emulate a git repo.
commit 2fc1bc68d4eef3c36097643c87eb1769a653763f
Author: Xiyue Deng <manphiz@gmail.com>
Date: Fri Jan 16 02:14:27 2026 -0800
Add test case `multiple_copyright_holder_team'
commit cdb4926f8ea6af26c6a265206ec752bc5cb140e8
Author: Xiyue Deng <manphiz@gmail.com>
Date: Fri Jan 16 02:06:17 2026 -0800
Add test case `simple_team' that runs with `--pkg-emacsen'
commit c653dd7786d5f38bca97dbe9eeb518506530e4ad
Author: Xiyue Deng <manphiz@gmail.com>
Date: Fri Jan 16 03:34:55 2026 -0800
Enable build time test in d/rules
commit 08e938fc7c98d5615bf9aa0388a202be6f3dce16
Author: Xiyue Deng <manphiz@gmail.com>
Date: Thu Jan 15 21:28:32 2026 -0800
Add test case `simple'
commit 6ce760f6d6bf8ba7c3837f37b8407d942c6bbd4b
Author: Xiyue Deng <manphiz@gmail.com>
Date: Thu Jan 15 21:26:17 2026 -0800
Add Build-Depends required for running the unit tests
commit 6da703dcc95f034e653db14720f1640ae82d081f
Author: Xiyue Deng <manphiz@gmail.com>
Date: Thu Jan 15 21:26:05 2026 -0800
Initial Perl-based unit tests
- This works by creating a temporary directory with the given test
data repo, run `dh-make-elpa', and compare the contents of the output
`debian/' directory with the expected `debian/' directory in the test
data.
- When the test case name ends with `_team' (like `simple_team'), it
will run with `dh-make-elpa --pkg-emacsen'.
- The test runs in two modes: build-time and autopkgtest. The
build-time mode will use `dh-make-elpa' in the source tree, while
autopkgtest will use `dh-make-elpa' from the installed package.
autopkgtest is the default and the build-time test is controlled by a
switch `--build_time_test'.
commit 36150cbb4c8e776ea70372d0462497d7b3f49746
Author: Xiyue Deng <manphiz@gmail.com>
Date: Wed Jan 14 01:01:28 2026 -0800
Run `wrap-and-sort -ast'