Skip to content

Commit

Permalink
fix sipify test
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Mar 2, 2018
1 parent 2073562 commit 9580a88
Show file tree
Hide file tree
Showing 2 changed files 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 9580a88

Please sign in to comment.