Update pkl-core/src/test/kotlin/org/pkl/core/LanguageSnippetTestsEngine.kt
This commit is contained in:
1 parent
da597d838d
commit
aa98123c93
1 file changed
+3
@@ -142,6 +142,9 @@ abstract class AbstractNativeLanguageSnippetTestsEngine : AbstractLanguageSnippe
|
||||
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 {
|
||||
if (!pklExecutablePath.exists()) {
|
||||
// return empty descriptor w/o children
|
||||
|
||||
Reference in new issue
Block a user