mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-29 02:21:41 +00:00
Fix test resources path (#386)
This commit is contained in:
@@ -155,7 +155,7 @@ public class TestUtils {
|
||||
|
||||
private static Path getResourcesFolderPath(boolean testMode) {
|
||||
System.out.println("CWD: " + Path.of("").toAbsolutePath().toString());
|
||||
return Path.of(testMode ? "" : "../" + "test-resources").toAbsolutePath();
|
||||
return Path.of("test-resources").toAbsolutePath();
|
||||
}
|
||||
|
||||
public static Path getTestMode2019ImagePath() {
|
||||
|
||||
@@ -54,6 +54,7 @@ task testHeadless(type: Test) {
|
||||
systemProperty("java.awt.headless", "true")
|
||||
useJUnitPlatform()
|
||||
exclude '**/*BenchmarkTest*'
|
||||
workingDir = "../"
|
||||
}
|
||||
|
||||
task generateJavaDocs(type: Javadoc) {
|
||||
|
||||
Reference in New Issue
Block a user