mirror of
https://github.com/apple/pkl.git
synced 2026-05-22 06:47:04 +02:00
Update pkl-core/src/test/kotlin/org/pkl/core/LanguageSnippetTestsEngine.kt
This commit is contained in:
@@ -142,6 +142,9 @@ abstract class AbstractNativeLanguageSnippetTestsEngine : AbstractLanguageSnippe
|
|||||||
Regex(".*/import1b\\.pkl"),
|
Regex(".*/import1b\\.pkl"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Avoid running tests for native binaries when those native binaries have not been built.
|
||||||
|
*/
|
||||||
override fun discover(discoveryRequest: EngineDiscoveryRequest, uniqueId: UniqueId): TestDescriptor {
|
override fun discover(discoveryRequest: EngineDiscoveryRequest, uniqueId: UniqueId): TestDescriptor {
|
||||||
if (!pklExecutablePath.exists()) {
|
if (!pklExecutablePath.exists()) {
|
||||||
// return empty descriptor w/o children
|
// return empty descriptor w/o children
|
||||||
|
|||||||
Reference in New Issue
Block a user