Skip to content

Commit e3d5476

Browse files
committed
Use pre-processor directive
1 parent 3597746 commit e3d5476

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.github/workflows/ci-scripts-build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ jobs:
5959
env:
6060
CMP: ${{ matrix.cmp }}
6161
BCFG: ${{ matrix.configuration }}
62-
SKIP_TEST_WAKEUP: true
6362
strategy:
6463
fail-fast: false
6564
matrix:

client/castApp/src/testsock.c

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,13 @@ static void testWakeup(void)
102102

103103
MAIN(testsock)
104104
{
105-
if (!getenv("SKIP_TEST_WAKEUP")) {
106-
testPlan(18);
107-
} else {
108-
testPlan(14);
109-
}
110105
osiSockAttach();;
111106
testUDP();
112-
if (!getenv("SKIP_TEST_WAKEUP")) {
113-
testWakeup();
114-
}
107+
#ifdef __APPLE__
108+
testSkip(4);
109+
#else
110+
testWakeup();
111+
#endif
115112
osiSockRelease();
116113
return testDone();
117114
}

0 commit comments

Comments
 (0)