Skip to content
Permalink
Browse files

fix sipify test

  • Loading branch information
3nids committed Mar 2, 2018
1 parent 300aaa8 commit 6ebc6439808b4cb077c2e725ec2271551843d4a7
Showing with 3 additions and 1 deletion.
  1. +3 −1 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)
@@ -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

0 comments on commit 6ebc643

Please sign in to comment.
You can’t perform that action at this time.