Project

General

Profile

Specifying a working directory for testing inside Gradle build script

Added by Igor Melnichenko almost 5 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 Igor Melnichenko almost 5 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 almost 5 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 almost 5 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 almost 5 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 almost 5 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 almost 5 years ago

These errors were produced by unchecked URL/file path transformation.
Fixed in the last revision.

    (1-7/7)