Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion ci/run_conditional_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,14 @@ for subdir in ${subdirs[@]}; do

# Our CI uses Git Bash on Windows to execute this script, which returns "msys" or "cygwin" for OSTYPE.
if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" || "$OS" == "Windows_NT" ]]; then
if [[ "${windows_exempt_tests}" =~ "${d}" ]]; then
is_exempt=false
for exempt in ${windows_exempt_tests}; do
if [[ "${d}" == "${exempt}" || "${d}" == "${exempt}/"* ]]; then
is_exempt=true
break
fi
done
if [[ "${is_exempt}" == "true" ]]; then
echo "Skipping ${d} on Windows (in exemption list)"
continue
fi
Expand Down
Loading