flycast/core/deps/miniupnpc/testupnpreplyparse.sh

17 lines
254 B
Bash
Raw Normal View History

2020-12-28 11:35:58 +00:00
#!/bin/sh
2022-02-27 14:44:21 +00:00
TESTUPNPREPLYPARSE=./build/testupnpreplyparse
2020-12-28 11:35:58 +00:00
for f in testreplyparse/*.xml ; do
bf="`dirname $f`/`basename $f .xml`"
2022-02-27 14:44:21 +00:00
if $TESTUPNPREPLYPARSE $f $bf.namevalue ; then
2020-12-28 11:35:58 +00:00
echo "$f : passed"
else
echo "$f : FAILED"
exit 1
fi
done
exit 0