summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2010-09-24 10:45:05 +0530
committerArun Raghavan <arun.raghavan@collabora.co.uk>2010-09-24 10:45:05 +0530
commitd86a8de582b80989f69791677c179fee50305564 (patch)
tree5985041846e47271386bf6470e842ca2947ec3a9 /tests
parentc662f88e3bf96540236f1cbb2bbe32268e07c504 (diff)
downloadgupnp-dlna-d86a8de582b80989f69791677c179fee50305564.tar.gz
tests: Allow the test harness to run out-of-tree
Provides the option of picking up gupnp-dlna-info from any arbitrary location.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-discoverer.sh.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test-discoverer.sh.in b/tests/test-discoverer.sh.in
index 9269722..09058cf 100644
--- a/tests/test-discoverer.sh.in
+++ b/tests/test-discoverer.sh.in
@@ -19,7 +19,9 @@
# both on the command line).
#
-GUPNP_DLNA_INFO=@abs_top_builddir@/tools/gupnp-dlna-info
+if [[ "x${GUPNP_DLNA_INFO}" = "x" ]]; then
+ GUPNP_DLNA_INFO=@abs_top_builddir@/tools/gupnp-dlna-info
+fi
# See if params are available in the environment - if yes, carry on, else read
# them from the command line