[Git][java-team/jruby][master] d/tests: fix failing tests caused by missing class
Jérôme Charaoui (@lavamind)
gitlab at salsa.debian.org
Thu Dec 8 01:39:08 GMT 2022
Jérôme Charaoui pushed to branch master at Debian Java Maintainers / jruby
Commits:
72968105 by Jérôme Charaoui at 2022-12-07T20:38:30-05:00
d/tests: fix failing tests caused by missing class
- - - - -
2 changed files:
- debian/tests/jruby
- debian/tests/spec-ji
Changes:
=====================================
debian/tests/jruby
=====================================
@@ -19,7 +19,7 @@ javac -cp lib/jruby.jar:test/target/junit.jar:test/target/annotation-api.jar -d
test/org/jruby/test/*.java \
test/org/jruby/javasupport/test/*.java \
test/org/jruby/javasupport/test/*/*.java \
- test/Bug1621*.java
+ test/*.java
# some test cases look for these specific files
cp "$OLDPWD/pom.xml" .
=====================================
debian/tests/spec-ji
=====================================
@@ -15,5 +15,8 @@ sudo ln -s /usr/share/java/jarjar.jar test/target/jarjar.jar
# one testcase requires multiple regular files in $PWD
touch foo.bar
+# compile java test class dependency
+javac -cp lib/jruby.jar -d test/target/test-classes test/DefaultPackageClass.java
+
# run the rspec testsuite
jruby -S rake spec:ji
View it on GitLab: https://salsa.debian.org/java-team/jruby/-/commit/72968105b50c096682bc11673cd7198148603f51
--
View it on GitLab: https://salsa.debian.org/java-team/jruby/-/commit/72968105b50c096682bc11673cd7198148603f51
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/20221208/b74a16b3/attachment.htm>
More information about the pkg-java-commits
mailing list