[beast] Fix #578686 - Audio tests for .bsewave files don't work



commit a3aadaa8f0e2b5664f26b08bace876ae5df81bf0
Author: Tim Janik <timj gtk org>
Date:   Wed Oct 21 01:33:37 2009 +0200

    Fix #578686 - Audio tests for .bsewave files don't work
    
    Sat Apr 11 12:23:39 2009  Stefan Westerfeld  <stefan space twc de>
    
    	* tests/audio/Makefile.am: Use --bse-override-sample-path option
    	to search tests/audio and library/samples for samples. Reenable
    	minisong test which uses frowzy-drums.bsewave.
    	Fixes #578686 - Audio tests for .bsewave files don't work

 tests/audio/Makefile.am |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/tests/audio/Makefile.am b/tests/audio/Makefile.am
index ea958cc..9df3756 100644
--- a/tests/audio/Makefile.am
+++ b/tests/audio/Makefile.am
@@ -5,6 +5,7 @@ include $(top_srcdir)/Makefile.decl
 
 # === feature test tools ===
 builddirplugins = '$(top_builddir)/plugins/.libs/*.so:$(top_builddir)/plugins/freeverb/.libs/*.so'
+samplepath = '$(top_srcdir)/tests/audio:$(top_srcdir)/library/samples'
 BSEFEXTRACT = $(top_builddir)/tools/bsefextract
 BSEFCOMPARE = $(top_builddir)/tools/bsefcompare
 BSE2WAV = $(strip							\
@@ -12,6 +13,7 @@ BSE2WAV = $(strip							\
 	  --bse-mixing-freq=48000 -p null -m null			\
 	  --bse-rcfile "/dev/null" --bse-no-load			\
 	  --bse-override-plugin-globs $(builddirplugins)		\
+          --bse-override-sample-path $(samplepath)                      \
 	  --bse-disable-randomization					\
 	  -s $(srcdir)/bse2wav.scm					\
 )
@@ -61,7 +63,7 @@ balance-test:
 	$(BSEFCOMPARE) $(srcdir)/balance.ref $(@F).tmp --threshold 99.99
 	rm -f $(@F).tmp $(@F).wav
 
-FEATURE_TESTS += # minisong-test # FIXME: need to be able to load frowzy-drums.bsewave from another dir than CWD
+FEATURE_TESTS += minisong-test
 EXTRA_DIST += minisong.bse frowzy-drums.bsewave minisong.ref
 minisong-test:
 	$(BSE2WAV) $(srcdir)/minisong.bse $(@F).wav



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]