[Git][java-team/jruby][master] 2 commits: d/tests: add CI=1 envvar

Jérôme Charaoui (@lavamind) gitlab at salsa.debian.org
Fri Dec 9 18:43:43 GMT 2022



Jérôme Charaoui pushed to branch master at Debian Java Maintainers / jruby


Commits:
31064c9e by Jérôme Charaoui at 2022-12-07T23:00:15-05:00
d/tests: add CI=1 envvar

This removes output coloring and increases test timeout values.

See rakelib/test.rake

- - - - -
b608c2ff by Jérôme Charaoui at 2022-12-09T13:42:26-05:00
d/tests: fix mri-stdlib test failure due to TMPDIR

- - - - -


2 changed files:

- debian/tests/common.sh
- debian/tests/jruby


Changes:

=====================================
debian/tests/common.sh
=====================================
@@ -7,6 +7,7 @@ prepare() {
     ln -s /usr/share/jruby/lib "$AUTOPKGTEST_TMP/lib"
     export LANG=C.UTF-8
     export LC_ALL=C.UTF-8
+    export CI=1
 }
 
 # install rspec for jruby


=====================================
debian/tests/jruby
=====================================
@@ -25,5 +25,10 @@ javac -cp lib/jruby.jar:test/target/junit.jar:test/target/annotation-api.jar -d
 cp "$OLDPWD/pom.xml" .
 sudo cp -a bin/jruby bin/jruby.sh
 
+# when $TMPDIR is /tmp and $PWD is under there
+# it causes the test_jrubyc.rb/test_target test case to fail
+TMPDIR="$(mktemp -d)"
+export TMPDIR
+
 # run the rspec testsuite
 jruby -S rake test:jruby



View it on GitLab: https://salsa.debian.org/java-team/jruby/-/compare/72968105b50c096682bc11673cd7198148603f51...b608c2ff70a1c71496f90b54fcd7daba9fb5e2ef

-- 
View it on GitLab: https://salsa.debian.org/java-team/jruby/-/compare/72968105b50c096682bc11673cd7198148603f51...b608c2ff70a1c71496f90b54fcd7daba9fb5e2ef
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/20221209/8bc32f22/attachment.htm>


More information about the pkg-java-commits mailing list