summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2014-12-21 14:41:59 +1100
committerErik de Castro Lopo <erikd@mega-nerd.com>2015-02-15 16:48:46 +1100
commit757ae5614050cf9fd5fda48c1abbfacef78b7e9c (patch)
treed7cf19fdf17b7059025a67002c28261f5ff068a8 /test
parentb903670f2159a8ee23b0fa2410c9c2237b74731e (diff)
downloadflac-757ae5614050cf9fd5fda48c1abbfacef78b7e9c.tar.gz
test/common.sh.in : Add top_builddir and top_srcdir variables.
These are needed for running some of the tests when building out of tree.
Diffstat (limited to 'test')
-rw-r--r--test/common.sh.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/common.sh.in b/test/common.sh.in
index ffe62178..690dab0a 100644
--- a/test/common.sh.in
+++ b/test/common.sh.in
@@ -45,6 +45,11 @@ export LD_LIBRARY_PATH
EXE=@EXEEXT@
+# Needed for bulding out-of-tree where source files are in the $top_srcdir tree
+# and build products in the $top_builddir tree.
+top_srcdir=@top_srcdir@
+top_builddir=@top_builddir@
+
# change to 'false' to show all flac/metaflac output (useful for debugging)
if true ; then
SILENT='--silent'