Debian Codegraph @

mtest/capella/io/updateReference

raw symbols SCIP
1 #!/bin/bash
2
3 # note that the debug build must be used with the -t option to get the beams right in the .mscx files
4
5 MSCORE=../../../build.debug/mscore/mscore
6 capfiles=`cat tst_capella_io.cpp | grep "{ capReadTest" | awk -F\" '{print $2}' | sort`
7 capxfiles=`cat tst_capella_io.cpp | grep "{ capxReadTest" | awk -F\" '{print $2}' | sort`
8
9 echo "updating Capella files ..."
10 for f in $capfiles; do
11 echo "${f}.cap.mscx -> ${f}.cap-ref.mscx"
12 $MSCORE -t ${f}.cap.mscx -o ${f}.cap-ref.mscx &> /dev/null
13 cp ../../../build.debug/mtest/capella/io/${f}.cap.mscx ${f}.cap-ref.mscx
14 done
15
16 echo "updating CapellaXML files ..."
17 for f in $capxfiles; do
18 echo "${f}.capx -> ${f}.capx-ref.mscx"
19 # $MSCORE -t ${f}.capx -o ${f}.capx-ref.mscx &> /dev/null
20 cp ../../../build.debug/mtest/capella/io/${f}.capx.mscx ${f}.capx-ref.mscx
21 done