Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix sipify test
  • Loading branch information
3nids committed Mar 2, 2018
1 parent 300aaa8 commit 6ebc643
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/code_layout/test_sipfiles_uptodate.sh
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -e

DIR=$(git rev-parse --show-toplevel)

# GNU prefix command for mac os support (gsed, gsplit)
Expand All @@ -16,7 +18,7 @@ while read -r sipfile; do
if [ ! -f $header ]; then
echo "*** Missing header: $header for sipfile $sipfile"
else
outdiff=$(./scripts/sipify.pl $header | diff python/$sipfile -)
outdiff=$(./scripts/sipify.pl $header | diff python/$sipfile.in -)
if [[ -n $outdiff ]]; then
echo " *** SIP file not up to date: $sipfile"
code=1
Expand Down

0 comments on commit 6ebc643

Please sign in to comment.