[build] Revert workaround for azure windows library loading issue (#2481) (#2499)

This commit is contained in:
Thad House
2020-05-01 08:56:18 -07:00
committed by GitHub
parent 3011ebe547
commit 0b9316d94a
3 changed files with 0 additions and 38 deletions

View File

@@ -1,5 +1,3 @@
import org.gradle.internal.os.OperatingSystem
apply plugin: 'cpp'
apply plugin: 'google-test-test-suite'
apply plugin: 'visual-studio'
@@ -127,23 +125,12 @@ model {
test.dependsOn it.tasks.install
test.systemProperty 'java.library.path', filePath
test.environment 'LD_LIBRARY_PATH', filePath
// Workaround for Azure issue
if (OperatingSystem.current().isWindows() && System.getenv('AGENT_ID') != null) {
test.environment 'PATH', filePath
}
test.workingDir filePath
run.dependsOn it.tasks.install
run.systemProperty 'java.library.path', filePath
run.environment 'LD_LIBRARY_PATH', filePath
run.workingDir filePath
// Workaround for Azure issue
if (OperatingSystem.current().isWindows() && System.getenv('AGENT_ID') != null) {
run.environment 'PATH', filePath
}
found = true
}
}