Dmitriy Dolovov
a338cc31cb
[Native][tests] Gradle property: GCType
2021-12-29 16:27:37 +03:00
Dmitriy Dolovov
2b43dce1a5
[Native][tests] Gradle property: ThreadStateChecker
2021-12-29 16:27:37 +03:00
Dmitriy Dolovov
9dbb844742
[Native][tests] Gradle property: MemoryModel
2021-12-29 16:27:37 +03:00
Dmitriy Dolovov
dbd7a05c7e
[Native][tests] Gradle property: OptimizationMode
2021-12-29 16:27:37 +03:00
Dmitriy Dolovov
46f2c6ee10
[Native][tests] Remove test grouping tasks: dailyTest & fullTest
...
Need to rethink test grouping tasks before returning them back.
2021-12-29 16:27:37 +03:00
Dmitriy Dolovov
c3a422105d
[Native][tests] Log JUnit5 parallel test execution parameters in Gradle build
2021-12-20 12:35:48 +03:00
Dmitriy Dolovov
cd11aeceac
[Native][tests] Disable JVM C2 compiler at host machines with >4 CPU cores
2021-12-20 12:35:48 +03:00
Dmitriy Dolovov
f145076245
[Native][tests] Fail grouping Gradle tasks if they are launched with command-line test filters
2021-12-20 12:35:48 +03:00
Dmitriy Dolovov
341e017261
[Native][tests] Don't treat any compiler test task as up-to-date
...
There are number of problems with up-to-date checks in tests, leading to
a test binary not being rebuilt or rerun when a developer expects it to.
Things became worse after updating to Gradle 7+:
test binary run tasks are considered up-to-date if the test data
has been changed, even after clean.
Even before Gradle 7+, we've observed other similar undesirable effects:
for example, if the compiler has been changed, tasks building
test binaries are still up-to-date.
So it was decided to workaround all possible similar problems by forcing
all test tasks in the :native:native.tests project to be not up-to-date.
This project should contain only test tasks, so this workaround
seems pretty natural -- it is just "tests aren't up-to-date".
2021-12-20 12:35:48 +03:00
Dmitriy Dolovov
72bb38dc68
[Native][tests] Re-organize Gradle tasks and test suite classes
2021-12-20 12:35:47 +03:00
Dmitriy Dolovov
835de3083a
[Native][tests] Don't fail Gradle tasks if there are failed tests
2021-12-20 12:35:47 +03:00
Dmitriy Dolovov
51a79c4592
[Native][tests] Move "samples" tests to infrastructure tests
2021-12-20 12:35:47 +03:00
Dmitriy Dolovov
a81c44301d
[Native][tests] Separate Gradle tasks for different types of tests
2021-12-20 12:35:46 +03:00
Dmitriy Dolovov
09dbd43b97
[Native][tests] Use TEAMCITY test logger instead of GTEST one
...
That's because currently K/N tests do not report ignored tests with GTEST logger, but do so with TEAMCITY logger.
2021-12-20 12:35:45 +03:00
Vyacheslav Gerasimov
f7a9065b75
Build: Use intellij maven repo instead of downloaded IDEA
...
#KTI-82
2021-12-16 21:48:23 +03:00
Dmitriy Dolovov
536bfe5bf9
[Native][tests] Use more compact paths to produced binaries
2021-11-24 10:25:16 +03:00
Dmitriy Dolovov
34627633c4
[Native][tests] Add an ability to fail tests on exceeded timeout
2021-11-24 10:25:10 +03:00
Dmitriy Dolovov
61b8fb8fc2
[Native][tests] Allow overriding test properties via Gradle properties
2021-11-15 18:15:43 +03:00
Dmitriy Dolovov
ce4d2093cc
[Native][tests] Use the single 'generateTests' task
2021-11-15 18:15:41 +03:00
Dmitriy Dolovov
54b09810f0
[Native] Rename :native:tests-blackbox.native to :native:native.tests
2021-11-15 18:15:41 +03:00