commit | 903ffa4a0190a2dfb8db23809b23d24271f82294 | [log] [tgz] |
---|---|---|
author | Morten Krogh-Jespersen <mkroghj@google.com> | Wed Sep 01 09:17:30 2021 +0200 |
committer | Morten Krogh-Jespersen <mkroghj@google.com> | Wed Sep 01 09:17:30 2021 +0200 |
tree | 7915a7affdfb3ac69a47b83276bcc400cfe6790b | |
parent | 61ac5865d617194d0d596612d75d1b032f32d3aa [diff] |
Fix path for finding relative file This will hopefully make the windows bot go green. Change-Id: I88477aab1d9ecffcaf0518a3489b21337cf9b2bd
diff --git a/src/test/java/com/android/tools/r8/retrace/api/RetraceApiBinaryCompatibilityTest.java b/src/test/java/com/android/tools/r8/retrace/api/RetraceApiBinaryCompatibilityTest.java index 4557036..df7c599 100644 --- a/src/test/java/com/android/tools/r8/retrace/api/RetraceApiBinaryCompatibilityTest.java +++ b/src/test/java/com/android/tools/r8/retrace/api/RetraceApiBinaryCompatibilityTest.java
@@ -62,7 +62,7 @@ assertEquals(existing.size(), generated.size()); assertNotEquals(0, existing.size()); for (Path classFile : generated) { - Path otherClassFile = binaryContents.resolve(classFile); + Path otherClassFile = binaryContents.resolve(generatedContents.relativize(classFile)); assertTrue(Files.exists(otherClassFile)); assertTrue(TestBase.filesAreEqual(classFile, otherClassFile)); }