Skip to content

Commit

Permalink
- Remember to print the warning
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14373 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Dec 14, 2012
1 parent 8cb7d67 commit f3372c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Examples/BuildModelRecursiveDiff.sh
Expand Up @@ -11,11 +11,11 @@ REV1=`grep -o "[(]r[0-9]*" "$1" | tr -d "("`
REV2=`grep -o "[(]r[0-9]*" "$2" | tr -d "("`
egrep "$BUILD" $1 | egrep -o "$SEARCH" | tr -d "<> (" > "$1.build"
egrep "$BUILD" $2 | egrep -o "$SEARCH" | tr -d "<> (" > "$2.build"
echo "Build diff (failures between $REV1 and $REV2)"
echo "Build diff (failures between $REV1 and $REV2 *plus is bad*)"
diff -u "$1.build" "$2.build" | grep ^[+-]

egrep "$SIM" "$1" | egrep -o "$SEARCH" | tr -d "<> (" > "$1.sim"
egrep "$SIM" "$2" | egrep -o "$SEARCH" | tr -d "<> (" > "$2.sim"
echo "Sim diff (failures between $REV1 and $REV2)"
echo "Sim diff (failures between $REV1 and $REV2 - *plus is bad*)"
diff -u "$1.sim" "$2.sim" | grep "^[+-][A-Za-z0-9._]"
rm -f "$1.build" "$2.build" "$1.sim" "$2.sim"

0 comments on commit f3372c3

Please sign in to comment.