Skip to content

Commit

Permalink
make sipfiles test macos compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Dec 16, 2017
1 parent 33f5c24 commit 92751d4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/code_layout/test_sipfiles_uptodate.sh
Expand Up @@ -12,7 +12,7 @@ pushd ${DIR} > /dev/null

code=0
while read -r sipfile; do
header=$(sed -E 's/(.*)\.sip/src\/\1.h/' <<< $sipfile)
header=$(${GP}sed -E 's/(.*)\.sip/src\/\1.h/' <<< $sipfile)
if [ ! -f $header ]; then
echo "*** Missing header: $header for sipfile $sipfile"
else
Expand All @@ -23,10 +23,10 @@ while read -r sipfile; do
fi
fi
done < <(
sed -n -r 's/^%Include (.*\.sip)/core\/\1/p' python/core/core_auto.sip
sed -n -r 's/^%Include (.*\.sip)/gui\/\1/p' python/gui/gui_auto.sip
sed -n -r 's/^%Include (.*\.sip)/analysis\/\1/p' python/analysis/analysis_auto.sip
sed -n -r 's/^%Include (.*\.sip)/server\/\1/p' python/server/server_auto.sip
${GP}sed -n -r 's/^%Include (.*\.sip)/core\/\1/p' python/core/core_auto.sip
${GP}sed -n -r 's/^%Include (.*\.sip)/gui\/\1/p' python/gui/gui_auto.sip
${GP}sed -n -r 's/^%Include (.*\.sip)/analysis\/\1/p' python/analysis/analysis_auto.sip
${GP}sed -n -r 's/^%Include (.*\.sip)/server\/\1/p' python/server/server_auto.sip
)


Expand Down

0 comments on commit 92751d4

Please sign in to comment.