Commit aa2eafd2 authored by Mattia Rizzolo's avatar Mattia Rizzolo

Merge branch 'enable-salsa-test' of salsa.debian.org:yadd/devscripts

MR: debian/devscripts!94Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parents 0c044fd1 57dc6330
......@@ -13,6 +13,8 @@ devscripts (2.18.12) UNRELEASED; urgency=medium
+ Fix mr bug when colors are activated. MR: !92
+ Fix bad warning on unexistent project and downgrade messages to debug
level.
+ Add libgitlab-api-v4-perl and libtest-output-perl in build dependencies
to enable the salsa unit tests at build time. MR: !94
* uscan:
+ Fix warning when grouped package is up to date.
* French translation update.
......
......@@ -21,10 +21,12 @@ Build-Depends: bash-completion,
libfile-homedir-perl <!nocheck>,
libfile-which-perl <!nocheck>,
libgit-wrapper-perl <!nocheck>,
libgitlab-api-v4-perl <!nocheck>,
libipc-run-perl <!nocheck>,
liblist-compare-perl <!nocheck>,
libmoo-perl <!nocheck>,
libstring-shellquote-perl <!nocheck>,
libtest-output-perl <!nocheck>,
libtimedate-perl <!nocheck>,
libtry-tiny-perl <!nocheck>,
liburi-perl <!nocheck>,
......
......@@ -92,11 +92,7 @@ test_sh: $(SH_CHECKS)
test_pl: $(PL_CHECKS)
%.pl_check: %
# Skip syntax for salsa since Gitlab::API::v4 isn't available in
# debian 9
if test "$<" != "salsa"; then \
perl -I ../lib -c $<; \
fi
perl -I ../lib -c $<; \
test_py: $(VERSION_FILE)
$(foreach python,$(shell py3versions -r ../debian/control),$(python) setup.py test$(\n))
......
......@@ -18,6 +18,8 @@ sub mkDebianDir {
my $tmpdir = tempdir(CLEANUP => 1);
chdir $tmpdir;
system "git init";
system "git config user.name 'Joe Developer'";
system 'git config user.email "jd@debian.org"';
mkdir 'debian';
open F, ">debian/changelog";
print F <<EOF;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment