File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,7 @@ import ArgumentParser
14
14
import Basics
15
15
import CoreCommands
16
16
import Dispatch
17
- import class Foundation. JSONDecoder
18
- import class Foundation. NSLock
19
- import class Foundation. ProcessInfo
17
+ import Foundation
20
18
import PackageGraph
21
19
import PackageModel
22
20
import SPMBuildCore
@@ -698,8 +696,8 @@ final class TestRunner {
698
696
case . terminated( code: 0 ) :
699
697
return true
700
698
#if !os(Windows)
701
- case . signalled( let signal) :
702
- testObservabilityScope. emit ( error: " Exited with signal code \( signal) " )
699
+ case . signalled( let signal) where ! [ SIGINT , SIGKILL , SIGTERM ] . contains ( signal ) :
700
+ testObservabilityScope. emit ( error: " Exited with unexpected signal code \( signal) " )
703
701
return false
704
702
#endif
705
703
default :
You can’t perform that action at this time.
0 commit comments