[Git][java-team/jruby][experimental] 4 commits: d/tests: add debugging to mri-core tests
Jérôme Charaoui (@lavamind)
gitlab at salsa.debian.org
Tue Feb 20 14:22:42 GMT 2024
Jérôme Charaoui pushed to branch experimental at Debian Java Maintainers / jruby
Commits:
dfd2a42c by Jérôme Charaoui at 2024-02-19T12:36:42-05:00
d/tests: add debugging to mri-core tests
need help finding hanging aarch64 test
- - - - -
9fb7f752 by Jérôme Charaoui at 2024-02-19T20:13:14-05:00
d/tests: be more verbose about exclusions and debug
- - - - -
88ebcff2 by Jérôme Charaoui at 2024-02-19T20:15:57-05:00
d/salsa-ci.yml: remove obsolete jruby-mavengem source
gbp-Dch: ignore
- - - - -
0fb73d9f by Jérôme Charaoui at 2024-02-19T21:51:39-05:00
Update changelog for 9.4.5.0+ds-1~exp1 release
- - - - -
4 changed files:
- debian/changelog
- debian/salsa-ci.yml
- debian/tests/common.sh
- debian/tests/mri-core
Changes:
=====================================
debian/changelog
=====================================
@@ -1,15 +1,19 @@
-jruby (9.4.5.0+ds-1~exp1) UNRELEASED; urgency=medium
+jruby (9.4.5.0+ds-1~exp1) experimental; urgency=medium
* New upstream version 9.4.5.0+ds
* improve rubygems download script
* d/gbp.conf: add postimport for rubygems download
- * d/patches: drop patches applied upstream
- * d/patches: refresh patches for new upstream version
+ * d/patches:
+ - drop patches applied upstream
+ + refresh patches for new upstream version
+ + add upstream patch to fix mri-stdlib test
* d/rules: drop get-orig-source target
- * d/patches: add upstream patch to fix mri-stdlib test
- * d/tests: improve common prepare function
+ * d/tests:
+ + improve common prepare function
+ + be more verbose about exclusions and debug
+ + add debugging to mri-core tests
- -- Jérôme Charaoui <jerome at riseup.net> Sun, 18 Feb 2024 20:50:26 -0500
+ -- Jérôme Charaoui <jerome at riseup.net> Mon, 19 Feb 2024 21:51:19 -0500
jruby (9.4.3.0+ds-1~exp2) experimental; urgency=medium
=====================================
debian/salsa-ci.yml
=====================================
@@ -8,10 +8,6 @@ variables:
SALSA_CI_DISABLE_BUILD_PACKAGE_I386: 1
SALSA_CI_ENABLE_AUTOPKGTEST: 1
-before_script:
- - echo "deb [trusted=yes] https://salsa.debian.org/java-team/jruby-mavengem/-/jobs/4991052/artifacts/raw/aptly unstable main" | tee /etc/apt/sources.list.d/jruby-mavengem.list
- - apt-get update
-
extract-source:
script:
- !reference ['.provisioning-extract-source', 'script']
=====================================
debian/tests/common.sh
=====================================
@@ -47,12 +47,14 @@ spec_skip() {
else
sed -i "/it \"${test_name}\" do$/a \ skip 'skipped for autopkgtest'" "${test_file}"
fi
+ echo "excluded test ${exclude_file}::${test_name}"
}
test_skip() {
test_name="$1"
test_file="$2"
sed -i "/def ${test_name}$/a \ omit 'skipped for autopkgtest'" "${test_file}"
+ echo "excluded test: ${exclude_file}::${test_name}"
}
mri_exclude() {
@@ -69,6 +71,7 @@ mri_exclude() {
sed -i -e '$a\' "${exclude_file}"
fi
echo "exclude :${test_name}, \"autopkgtest\"" >> "${exclude_file}"
+ echo "excluded test: ${exclude_file}::${test_name}"
}
# run 1 test at a time and output test names
@@ -79,4 +82,5 @@ debug_tests() {
sed -i 's/--tty=no/-v/' "$AUTOPKGTEST_TMP/rakelib/test.rake"
# modifies TESTOPT
sed -i 's/--no-use-color/--no-use-color -v/' "$AUTOPKGTEST_TMP/rakelib/test.rake"
+ echo "** debugging mode enabled **"
}
=====================================
debian/tests/mri-core
=====================================
@@ -3,6 +3,7 @@
. "$(dirname $0)/common.sh"
prepare
+debug_tests
cd "$AUTOPKGTEST_TMP"
View it on GitLab: https://salsa.debian.org/java-team/jruby/-/compare/013635ab2ae4fd91f1359888d3c1607835daf3c4...0fb73d9f77318b4a70e59df27ebbd0d8bae68497
--
View it on GitLab: https://salsa.debian.org/java-team/jruby/-/compare/013635ab2ae4fd91f1359888d3c1607835daf3c4...0fb73d9f77318b4a70e59df27ebbd0d8bae68497
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/pkg-java-commits/attachments/20240220/4e49eaf4/attachment.htm>
More information about the pkg-java-commits
mailing list