Skip to content

Commit

Permalink
- Output cleanup.
Browse files Browse the repository at this point in the history
-  Addresses #59.
  • Loading branch information
bandurvp committed Aug 28, 2017
1 parent 562a9f7 commit d442030
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion testing/integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ sed -i "s/##DEFINITIONS##/${defs}/g" CMakeLists.txt

fi


## Read additional includes if any
if [ -e "sources/includes.txt" ]
then
Expand All @@ -112,12 +113,16 @@ sed -i "s|##INCLUDES##|${includes}|g" CMakeLists.txt

fi


## Compile source code FMU.
cmake .
make -j5
mkdir -p binaries/linux64
cp wt2.so binaries/linux64
cd ..


## Test source code FMU.
case "$OSTYPE" in
solaris*) echo "SOLARIS" ;;
darwin*) echo "OSX"; LIB=`readlink -f output-source/binaries/darwin64/$NAME.dylib`;;
Expand All @@ -127,7 +132,6 @@ case "$OSTYPE" in
esac

FMUGUID=`grep guid output-source/modelDescription.xml |awk -F '"' '{print $2}'`
echo "GUID: $FMUGUID"

fmu-tester/fmu-tester "$LIB" "$RESOURCE" "$FMUGUID"

Expand Down

0 comments on commit d442030

Please sign in to comment.