]> source.dussan.org Git - jgit.git/commit
Skip some tests when the runtime cannot handle Unicode file paths 60/134460/5
authorMasaya Suzuki <masayasuzuki@google.com>
Mon, 24 Dec 2018 00:43:54 +0000 (16:43 -0800)
committerMasaya Suzuki <masayasuzuki@google.com>
Mon, 24 Dec 2018 06:37:14 +0000 (22:37 -0800)
commitd4a21a76ff144897f51e16b58e2b6fa94e2aecf9
treeb7b485d6af045b3d458b4e992d6d64b5778e71cb
parent5138594c6ed2231788d58949875aa7b4e5140eea
Skip some tests when the runtime cannot handle Unicode file paths

When executing a test with LANG environment variable set to non UTF-8
encoding, it seems that JRE cannot handle Unicode file paths. This
happens when this test is executed in Bazel as it unsets LANG
(https://docs.bazel.build/versions/master/test-encyclopedia.html#initial-conditions).

Skip the test if the runtime cannot handle Unicode file paths.

Change-Id: I16bd3cd959dbaf2335b9c5202873e2f12ed0ba21
Signed-off-by: Masaya Suzuki <masayasuzuki@google.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/treewalk/FileTreeIteratorTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/FSTest.java