Skip to content

Commit 6cbeb1e

Browse files
committed
test: skip osx unit tests on windows
1 parent 16d1396 commit 6cbeb1e

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

tests/unit/clock_test.sh

+5
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ function test_now_on_windows_without_without_powershell() {
5454
}
5555

5656
function test_now_on_osx_without_perl() {
57+
if check_os::is_windows; then
58+
skip
59+
return
60+
fi
61+
5762
mock_macos
5863
mock dependencies::has_perl mock_false
5964
mock clock::shell_time echo "1727708708.326957"

tests/unit/console_results_test.sh

+12-2
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,15 @@ function test_not_render_execution_time() {
288288
}
289289

290290
function test_render_execution_time_on_osx_without_perl() {
291-
local render_result
291+
if check_os::is_windows; then
292+
skip
293+
return
294+
fi
295+
292296
mock_macos
293297
mock dependencies::has_perl mock_false
294-
EPOCHREALTIME=1727769354.7084441185
298+
EPOCHREALTIME=1727771758.0664479733
299+
local render_result
295300
render_result=$(
296301
console_results::render_result
297302
)
@@ -300,6 +305,11 @@ function test_render_execution_time_on_osx_without_perl() {
300305
}
301306

302307
function test_render_execution_time_on_osx_with_perl() {
308+
if check_os::is_windows; then
309+
skip
310+
return
311+
fi
312+
303313
local render_result
304314
mock_macos
305315
mock dependencies::has_adjtimex mock_false

0 commit comments

Comments
 (0)