mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
motivation: nicer source tree chanages: * move scripts to scripts directory * move integration tests to IntegrationTests directory and remove driver script * add .sh extension to bash scripts * adjust rio.yaml
17 lines
358 B
Bash
Executable File
17 lines
358 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
# check linux tests
|
|
|
|
FIRST_OUT="$(git status --porcelain)"
|
|
ruby scripts/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
|