Commit 57dc6330 authored by Xavier Guimard's avatar Xavier Guimard

Enable salsa tests

Add libgitlab-api-v4-perl and libtest-output-perl in build dependencies
parent 55267286
......@@ -9,6 +9,8 @@ devscripts (2.18.12) UNRELEASED; urgency=medium
+ Fix typo in pod documentation.
+ Hide salsa token in bug report. Closes: #916073; MR: !91
+ Fix mr bug when colors are activated. MR: !92
+ Add libgitlab-api-v4-perl and libtest-output-perl in build dependencies
to enable salsa tests
* French translation update.
-- Mattia Rizzolo <mattia@debian.org> Fri, 07 Dec 2018 19:49:34 +0100
......
......@@ -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