Skip to content
Browse files

fix SIP test

  • Loading branch information
3nids authored and signedav committed Aug 7, 2018
1 parent 048ff3f commit 9218c26070737cebd8c9ccc1af91b5b41d5f902a
Showing with 0 additions and 16 deletions.
  1. +0 −16 tests/code_layout/
@@ -16,17 +16,6 @@ modules=(core gui analysis server)

for module in "${modules[@]}"; do
# clean auto_additions and auto_generated folders
rm -rf python/${module}/auto_additions/*.py
rm -rf python/${module}/auto_generated/*.py
# put back
echo '"""
This folder is completed using script
It is not aimed to be manually edited
"""' > python/${module}/auto_additions/

cp ${module_init} ${DIR}/${module}.temp
while read -r sipfile; do
header=$(${GP}sed -E 's@(.*)\.sip@src/\1.h@; s@auto_generated/@@' <<< $sipfile)
pyfile=$(${GP}sed -E 's@([^\/]+\/)*([^\/]+)\.sip@\;' <<< $sipfile)
@@ -49,11 +38,6 @@ It is not aimed to be manually edited
done < <(
${GP}sed -n -r "s@^%Include auto_generated/(.*\.sip)@${module}/auto_generated/\1@p" python/${module}/${module}_auto.sip
outdiff=$(diff ${module_init} ${DIR}/${module}.temp)
if [[ -n "$outdiff" ]]; then
echo " *** Python ${module} (${module_init}) init not up to date: run sipify with -p argument"

0 comments on commit 9218c26

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