From b1008a096e393cfcf3ba84ac20cede9ddbb660ee Mon Sep 17 00:00:00 2001 From: Demarey Christophe Date: Thu, 3 Sep 2026 15:33:45 +0200 Subject: [PATCH 1/2] handle waitTimeoutMSecs: deprecation warning --- repository/OSSubprocess/OSSUnixSubprocess.class.st | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/repository/OSSubprocess/OSSUnixSubprocess.class.st b/repository/OSSubprocess/OSSUnixSubprocess.class.st index 62cfb04..d8d098b 100644 --- a/repository/OSSubprocess/OSSUnixSubprocess.class.st +++ b/repository/OSSubprocess/OSSUnixSubprocess.class.st @@ -1181,7 +1181,9 @@ OSSUnixSubprocess >> waitForExitWithTimeout: aDuration [ exitStatus ifNotNil: [ ^ exitStatus ]. mutexForSigchld := Semaphore new. - expired := mutexForSigchld waitTimeoutMSecs: aDuration asMilliSeconds. + expired := SystemVersion current major < 12 + ifTrue: [ mutexForSigchld waitTimeoutMSecs: aDuration asMilliSeconds ] + ifFalse: [ mutexForSigchld waitTimeoutMilliseconds: aDuration asMilliSeconds ]. expired ifTrue: [ OSSTimeout signal: 'Process not finished after ', aDuration asString ]. ^ exitStatus ] From e0c36a099741c62370ed77babbe17aeaff940c63 Mon Sep 17 00:00:00 2001 From: Demarey Christophe Date: Thu, 3 Sep 2026 15:39:52 +0200 Subject: [PATCH 2/2] fix tests to run per configuration --- .smalltalk.ston | 2 +- .stress.smalltalk.ston | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.smalltalk.ston b/.smalltalk.ston index f5cdb4f..9f9c852 100644 --- a/.smalltalk.ston +++ b/.smalltalk.ston @@ -8,7 +8,7 @@ SmalltalkCISpec { ], #testing : { #exclude : { - #packages : [ 'OSSubprocess-Tests-Unit' ] + #packages : [ 'OSSubprocess-Tests-Stress' ] } } } diff --git a/.stress.smalltalk.ston b/.stress.smalltalk.ston index c54cc22..7e6e1af 100644 --- a/.stress.smalltalk.ston +++ b/.stress.smalltalk.ston @@ -7,8 +7,8 @@ SmalltalkCISpec { } ], #testing : { - #include : { - #packages : [ 'OSSubprocess-Tests-Stress' ] + #exclude : { + #packages : [ 'OSSubprocess-Tests-Unit' ] } } }