Skip to content

Commit

Permalink
Add a SensorMultiLevelCCTypes.xml to our xml tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Fishwaldo committed Jun 17, 2019
1 parent 4478eea commit 2d8ded9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cpp/build/OZW_RunTests.sh
Expand Up @@ -18,7 +18,8 @@ juLog -name=CheckOptionsXML CheckXML "$topsrcdir/config/options.xsd $topsrcdi
juLog -name=CheckManufactureSpecificXML CheckXML "$topsrcdir/config/manufacturer_specific.xsd $topsrcdir/config/manufacturer_specific.xml"
juLog -name=CheckLocalizationXML CheckXML "$topsrcdir/config/Localization.xsd $topsrcdir/config/Localization.xml"
juLog -name=CheckNotificationTypesXML CheckXML "$topsrcdir/config/NotificationCCTypes.xsd $topsrcdir/config/NotificationCCTypes.xml"
for file in $(find $topsrcdir/config/ \( -name "*.xml" ! -name "device_classes.xml" ! -name "options.xml" ! -name "manufacturer_specific.xml" ! -name "Localization.xml" ! -name "NotificationCCTypes.xml" \) )
juLog -name=CheckSensorMultiLevelTypesXML CheckXML "$topsrcdir/config/SensorMultiLevelCCTypes.xsd $topsrcdir/config/SensorMultiLevelCCTypes.xml"
for file in $(find $topsrcdir/config/ \( -name "*.xml" ! -name "device_classes.xml" ! -name "options.xml" ! -name "manufacturer_specific.xml" ! -name "Localization.xml" ! -name "NotificationCCTypes.xml" ! -name "SensorMultiLevelCCTypes.xml" \) )
do
juLog -name=$file CheckXML "$topsrcdir/config/device_configuration.xsd $file"
done
Expand Down
2 changes: 1 addition & 1 deletion cpp/build/sh2ju.sh
Expand Up @@ -51,7 +51,7 @@ juLog() {
ya=""; icase=""
while [ -z "$ya" ]; do
case "$1" in
-name=*) name=$asserts-`echo "$1" | sed -e 's/-name=//'`; shift;;
-name=*) name=`echo "$1" | sed -e 's/-name=//'`; shift;;
-ierror=*) ereg=`echo "$1" | sed -e 's/-ierror=//'`; icase="-i"; shift;;
-error=*) ereg=`echo "$1" | sed -e 's/-error=//'`; shift;;
*) ya=1;;
Expand Down

0 comments on commit 2d8ded9

Please sign in to comment.