[Git][java-team/jruby][master] 4 commits: d/tests: fix typos in test exclusions

Jérôme Charaoui (@lavamind) gitlab at salsa.debian.org
Wed Jan 11 14:10:28 GMT 2023



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


Commits:
c54935f0 by Jérôme Charaoui at 2023-01-09T23:19:39-05:00
d/tests: fix typos in test exclusions

- - - - -
e51089ca by Jérôme Charaoui at 2023-01-10T20:13:07-05:00
d/tests: skip some failing spec-ffi tests on armhf

- - - - -
04a341a8 by Jérôme Charaoui at 2023-01-10T20:13:08-05:00
d/control: cleanup Uploaders

As agreed with one of the previous uploaders of this package.

- - - - -
2fb23249 by Jérôme Charaoui at 2023-01-10T20:13:44-05:00
Update changelog for 9.3.9.0+ds-7 release

- - - - -


5 changed files:

- debian/changelog
- debian/control
- debian/tests/mri-stdlib
- debian/tests/spec-ffi
- debian/tests/spec-ruby


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+jruby (9.3.9.0+ds-7) unstable; urgency=medium
+
+  * d/control: cleanup Uploaders
+  * d/tests: fix typos in test exclusions
+  * d/tests: skip some failing spec-ffi tests on armhf
+
+ -- Jérôme Charaoui <jerome at riseup.net>  Mon, 09 Jan 2023 23:20:53 -0500
+
 jruby (9.3.9.0+ds-6) unstable; urgency=medium
 
   * d/tests: fix jgem test


=====================================
debian/control
=====================================
@@ -3,7 +3,6 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders:
- Miguel Landaeta <nomadium at debian.org>,
  Thomas Goirand <zigo at debian.org>,
  Jérôme Charaoui <jerome at riseup.net>,
 Build-Depends:


=====================================
debian/tests/mri-stdlib
=====================================
@@ -26,7 +26,7 @@ elif [ "$(dpkg-architecture -qDEB_BUILD_ARCH)" = "armel" ] || \
      [ "$(dpkg-architecture -qDEB_BUILD_ARCH)" = "armhf" ]; then
     { echo 'exclude :test_cp, "fails in autopkgtest"';
       echo 'exclude :test_cp_r, "fails in autopkgtest"';
-      echo 'exclude :test_uptodate? "fails in autopkgtest"';
+      echo 'exclude :test_uptodate?, "fails in autopkgtest"';
     } >> test/mri/excludes/TestFileUtils.rb
     echo 'exclude :test_failed_path, "fails in autopkgtests"' >> test/mri/excludes/TestIO_Console.rb
     echo 'exclude :test_utime, "fails in autopkgtests"' >> test/mri/excludes/TestPathname.rb


=====================================
debian/tests/spec-ffi
=====================================
@@ -4,6 +4,14 @@
 
 prepare
 
-# run the rspec testsuite
 cd "$AUTOPKGTEST_TMP"
+
+# skip failing tests on specific architectures
+if [ "$(dpkg-architecture -qDEB_BUILD_ARCH)" = "armhf" ]; then
+    sed -i '/^\s\+it "put_u\?long_long(/a    skip "skip for autopkgtest"' spec/ffi/buffer_spec.rb
+    sed -i '/^\s\+it "Struct#layout works with :name, :type, offset tuples" do/a    skip "skip for autopkgtest"' spec/ffi/struct_spec.rb
+    sed -i '/^\s\+it "Struct#layout works with mixed :name,:type and :name,:type,offset" do/a    skip "skip for autopkgtest"' spec/ffi/struct_spec.rb
+fi
+
+# run the rspec testsuite
 jruby -S rake spec:ffi


=====================================
debian/tests/spec-ruby
=====================================
@@ -19,12 +19,12 @@ if [ "$(dpkg-architecture -qDEB_BUILD_ARCH)" = "armel" ] || \
     sed -i '/it "returns the modification Time of the file with microseconds" do/a    skip "skip for autopkgtest"' spec/ruby/core/file/mtime_spec.rb
     sed -i '/it "returns the last access time for the named file with microseconds" do/a    skip "skip for autopkgtest"' spec/ruby/core/file/atime_spec.rb
     sed -i '/it "is able to compare files by different modification times" do$/a    skip "skip for autopkgtest"' spec/ruby/core/file/stat/comparison_spec.rb
-    sed -i '/it "accepts a length, an offset" do$/a    skip "skip for autopkgtest"' spec/ruby/core/io/pread_spec.rb
+    sed -i '/it "accepts a length, and an offset" do$/a    skip "skip for autopkgtest"' spec/ruby/core/io/pread_spec.rb
     sed -i '/it "accepts a length, an offset, and an output buffer" do$/a    skip "skip for autopkgtest"' spec/ruby/core/io/pread_spec.rb
     sed -i '/it "does not advance the file pointer" do$/a    skip "skip for autopkgtest"' spec/ruby/core/io/pread_spec.rb
     sed -i '/it "raises EOFError if end-of-file is reached" do$/a    skip "skip for autopkgtest"' spec/ruby/core/io/pread_spec.rb
     sed -i '/it "returns the number of bytes written" do$/a    skip "skip for autopkgtest"' spec/ruby/core/io/pwrite_spec.rb
-    sed -i '/it "accepts a string and an offset" do$/a    skip "skip for autopkgtest"' spec/ruby/core/io/pwrite_spec.rb
+    sed -i '/it "accepts a string and an offset"  do$/a    skip "skip for autopkgtest"' spec/ruby/core/io/pwrite_spec.rb
     sed -i '/it "does not advance the pointer in the file" do$/a    skip "skip for autopkgtest"' spec/ruby/core/io/pwrite_spec.rb
 elif [ "$(dpkg-architecture -qDEB_BUILD_ARCH)" = "s390x" ]; then
     sed -i '/it.*do$/a    skip "skip for autopkgtest"' spec/ruby/core/array/pack/shared/float.rb



View it on GitLab: https://salsa.debian.org/java-team/jruby/-/compare/ac6bb31ebe34a04368f888d9375e9a045df2b171...2fb23249902814e1d0384223f99193971dabdf2f

-- 
View it on GitLab: https://salsa.debian.org/java-team/jruby/-/compare/ac6bb31ebe34a04368f888d9375e9a045df2b171...2fb23249902814e1d0384223f99193971dabdf2f
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/20230111/b934b988/attachment.htm>


More information about the pkg-java-commits mailing list