Forums » Project Forum »
Specifying a working directory for testing inside Gradle build script
Added by Igor Melnichenko about 9 years ago
I propose to explicitly specify working directory (build/test-results) to be used during testing inside the Gradle build script.
Replies (7)
RE: Specifying a working directory for testing inside Gradle build script - Added by Sergey Smolov about 9 years ago
What is the purpose of this task?
PS. It would be better in future to unite such posts into one:
http://forge.ispras.ru/boards/8/topics/63
http://forge.ispras.ru/boards/8/topics/62
http://forge.ispras.ru/boards/8/topics/65
RE: Specifying a working directory for testing inside Gradle build script - Added by Igor Melnichenko about 9 years ago
We explicitly isolate test results from main files without usage of TestUtils.getTestResultDir()
RE: Specifying a working directory for testing inside Gradle build script - Added by Sergey Smolov about 9 years ago
Ok, that will be good. Please fix the build script and remove TestUtils class if there is no need in it.
RE: Specifying a working directory for testing inside Gradle build script - Added by Sergey Smolov about 9 years ago
By the way, Efsm_b04.graphml and 'testbenches' directory should be generated inside a testing directory, shouldn't they?
RE: Specifying a working directory for testing inside Gradle build script - Added by Igor Melnichenko about 9 years ago
Yes, they should. I will take a look at the corresponding tests.
RE: Specifying a working directory for testing inside Gradle build script - Added by Igor Melnichenko about 9 years ago
Done in 2366.
But these changes have led to errors like in http://forge.ispras.ru/issues/6292. I think some investigation is required.
RE: Specifying a working directory for testing inside Gradle build script - Added by Igor Melnichenko about 9 years ago
These errors were produced by unchecked URL/file path transformation.
Fixed in the last revision.