mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
17 lines
350 B
Bash
Executable File
17 lines
350 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
# check linux tests
|
|
|
|
FIRST_OUT="$(git status --porcelain)"
|
|
ruby generate_linux_tests.rb > /dev/null
|
|
SECOND_OUT="$(git status --porcelain)"
|
|
if [[ "$FIRST_OUT" != "$SECOND_OUT" ]]; then
|
|
printf "\033[0;31mMissing linux test changes!\033[0m\n"
|
|
git --no-pager diff
|
|
exit 1
|
|
else
|
|
printf "\033[0;32mLinux tests okay\033[0m\n"
|
|
fi
|