Native: make :kotlin-native:backend.native:tests:run depend on sanity
This allows to - Eliminate related code duplication in the build script - Make sure that 'sanity' is a subset of 'run'
This commit is contained in:
committed by
Space Team
parent
ff2f163ac9
commit
e3a72da670
@@ -181,16 +181,13 @@ TaskCollection<Task> tasksOf(Class<? extends Task> type, Closure<Boolean> filter
|
||||
}
|
||||
|
||||
run {
|
||||
dependsOn("sanity")
|
||||
// Note: sanity contains subsets of the tests listed below.
|
||||
|
||||
dependsOn(tasksOf(KonanTest))
|
||||
// Add framework tests
|
||||
dependsOn(tasksOf(FrameworkTest))
|
||||
dependsOn(tasksOf(MetadataComparisonTest))
|
||||
// Add regular gradle test tasks
|
||||
dependsOn(tasksOf(Test))
|
||||
dependsOn(tasksOf(CoverageTest))
|
||||
dependsOn(tasksOf(FileCheckTest))
|
||||
dependsOn(":kotlin-native:Interop:Indexer:check")
|
||||
dependsOn(":kotlin-native:Interop:StubGenerator:check")
|
||||
}
|
||||
|
||||
task sanity {
|
||||
|
||||
Reference in New Issue
Block a user