Skip to content

Commit

Permalink
Ignore fewer tests
Browse files Browse the repository at this point in the history
  • Loading branch information
drernie committed Sep 3, 2024
1 parent 7db93be commit 0b8bac3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ class QuiltNioTest extends QuiltSpecification {
text.startsWith('id')
}

@IgnoreIf({ System.getProperty('os.name').toLowerCase().contains('windows') ||
System.getProperty('os.name').toLowerCase().contains('linux') })
void 'should read file attributes'() {
given:
final start = System.currentTimeMillis()
Expand Down Expand Up @@ -510,6 +512,8 @@ class QuiltNioTest extends QuiltSpecification {
list == [ 'file4.txt' ]
}

// \QuiltPackage.quilt_dev_null_test_null\foo
@IgnoreIf({ System.getProperty('os.name').toLowerCase().contains('windows') })
void 'should check walkTree'() {
given:
makeObject(null_path('foo/file1.txt'), 'A')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import groovy.transform.CompileDynamic

import spock.lang.Unroll
import spock.lang.Ignore
import spock.lang.IgnoreIf

/**
*
Expand Down Expand Up @@ -237,6 +238,7 @@ class QuiltPathTest extends QuiltSpecification {
}

@Unroll
@IgnoreIf({ System.getProperty('os.name').toLowerCase().contains('windows') })
void 'should validate relativize'() {
expect:
pathify(path).relativize(pathify(other)).toString() == pathify(expected).toString()
Expand Down

0 comments on commit 0b8bac3

Please sign in to comment.