[gupnp-dlna] Use XFAIL information from gupnp-dlna-media
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp-dlna] Use XFAIL information from gupnp-dlna-media
- Date: Tue, 30 Jun 2015 22:56:16 +0000 (UTC)
commit 629d05827fa8996d594d28a0e5e8d7efda7418e5
Author: Jens Georg <mail jensge org>
Date: Wed Jul 1 00:49:00 2015 +0200
Use XFAIL information from gupnp-dlna-media
Signed-off-by: Jens Georg <mail jensge org>
https://bugzilla.gnome.org/show_bug.cgi?id=751634
tests/test-discoverer.sh.in | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/tests/test-discoverer.sh.in b/tests/test-discoverer.sh.in
index a8d616c..0e69aee 100644
--- a/tests/test-discoverer.sh.in
+++ b/tests/test-discoverer.sh.in
@@ -63,6 +63,8 @@ while read line; do
path=$(echo ${line} | cut -f 1 -d ',')
profile=$(echo ${line} | cut -f 2 -d ',')
mime=$(echo ${line} | cut -f 3 -d ',')
+ xfail=$(echo ${line} | cut -f 4 -d ',')
+ bug=$(echo ${line} | cut -f 5 -d ',')
# Run discoverer to get profile name/mime
out=$(${GUPNP_DLNA_INFO} -a ${ } ${MEDIA_DIR}/${path})
@@ -72,8 +74,12 @@ while read line; do
# Now compare the two
echo -n " Testing ${path} ... "
if [[ "x${profile}" != "x${out_profile}" || "x${mime}" != "x${out_mime}" ]]; then
- ret=1
- echo -e "\e[01;31mFAIL: ${path},${out_profile},${out_mime}\e[0m"
+ if [[ "x${xfail}" != "x" ]]; then
+ echo "XFAIL: ${bug}"
+ else
+ ret=1
+ echo -e "\e[01;31mFAIL: ${path},${out_profile},${out_mime}\e[0m"
+ fi
else
echo "PASS"
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]