From cce6cfbe486984c2c41d6b772a692ea87ad0222a Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Mon, 9 Sep 2019 20:24:03 +0900 Subject: Make test-all and test-spec runnable on Android Calling some syscall functions such as Dir.chroot causes SIGSYS instead of EPERM on Android. This change skips all tests that stops the test-suite run. --- test/pathname/test_pathname.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/pathname/test_pathname.rb') diff --git a/test/pathname/test_pathname.rb b/test/pathname/test_pathname.rb index 076a73e50b..eaecc52475 100644 --- a/test/pathname/test_pathname.rb +++ b/test/pathname/test_pathname.rb @@ -789,6 +789,7 @@ class TestPathname < Test::Unit::TestCase end def test_birthtime + skip if RUBY_PLATFORM =~ /android/ # Check under a (probably) local filesystem. # Remote filesystems often may not support birthtime. with_tmpchdir('rubytest-pathname') do |dir| -- cgit v1.2.3