Skip to content

Commit e2db7d9

Browse files
committed
cleanup: Exclude lan_discovery test from running on macos,
instead of excluding it from the project.
1 parent 3accade commit e2db7d9

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/scripts/cmake-osx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ add_flag -Werror
2525
add_c_flag -Wno-c11-extensions
2626
add_c_flag -Wno-pre-c11-compat
2727

28-
# TODO(iphydf): Investigate if we can get lan discovery to work on macos CI.
29-
# It works, but CI doesn't let us press the "allow broadcast" button.
30-
sed -Ei -e '/\((lan_discovery)\)/s/^/#/' auto_tests/CMakeLists.txt
31-
3228
cmake -B_build -H. \
3329
-DCMAKE_C_FLAGS="$C_FLAGS" \
3430
-DCMAKE_CXX_FLAGS="$CXX_FLAGS" \
@@ -44,6 +40,9 @@ cmake -B_build -H. \
4440

4541
cd _build # pushd
4642
make "-j$NPROC" -k install
47-
ctest -j50 --output-on-failure --rerun-failed --repeat until-pass:6 ||
48-
ctest -j50 --output-on-failure --rerun-failed --repeat until-pass:6
43+
44+
# TODO(iphydf): Investigate if we can get lan discovery to work on macos CI.
45+
# It works, but CI doesn't let us press the "allow broadcast" button.
46+
ctest -j50 --output-on-failure --rerun-failed --repeat until-pass:6 -E lan_discovery ||
47+
ctest -j50 --output-on-failure --rerun-failed --repeat until-pass:6 -E lan_discovery
4948
cd - # popd

0 commit comments

Comments
 (0)