Skip to content
Permalink
Browse files

make sipfiles test macos compatible

  • Loading branch information
3nids committed Dec 16, 2017
1 parent 33f5c24 commit 92751d47e26fff7fed09eb8ffe69c1ce55026dce
Showing with 5 additions and 5 deletions.
  1. +5 −5 tests/code_layout/test_sipfiles_uptodate.sh
@@ -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
@@ -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
)


0 comments on commit 92751d4

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