[1/2] fate: Add a target for creating a 16000 Hz mono synthetic audio file

Message ID 1318882232-11213-1-git-send-email-martin@martin.st
State Committed
Commit 73dbc89cbb8826e76ff4b8f8cdb42a850cb2c463
Headers show

Commit Message

Martin Storsjö Oct. 17, 2011, 8:10 p.m.
---
 tests/Makefile |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

Comments

Mans Rullgard Oct. 17, 2011, 8:18 p.m. | #1
Martin Storsjö <martin@martin.st> writes:

> ---
>  tests/Makefile |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/tests/Makefile b/tests/Makefile
> index 1ec9dc3..bf0ead7 100644
> --- a/tests/Makefile
> +++ b/tests/Makefile
> @@ -17,7 +17,11 @@ tests/data/asynth1.sw: tests/audiogen$(HOSTEXESUF)
>  	@mkdir -p tests/data
>  	$(M)./$< $@
>
> -tests/data/asynth1.sw tests/vsynth%/00.pgm: TAG = GEN
> +tests/data/asynth-16000-1.sw: tests/audiogen$(HOSTEXESUF)
> +	@mkdir -p tests/data
> +	$(M)./$< $@ 16000 1
> +
> +tests/data/asynth%.sw tests/vsynth%/00.pgm: TAG = GEN
>
>  include $(SRC_PATH)/tests/fate.mak
>  include $(SRC_PATH)/tests/fate2.mak
> -- 

OK

Patch

diff --git a/tests/Makefile b/tests/Makefile
index 1ec9dc3..bf0ead7 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -17,7 +17,11 @@  tests/data/asynth1.sw: tests/audiogen$(HOSTEXESUF)
 	@mkdir -p tests/data
 	$(M)./$< $@
 
-tests/data/asynth1.sw tests/vsynth%/00.pgm: TAG = GEN
+tests/data/asynth-16000-1.sw: tests/audiogen$(HOSTEXESUF)
+	@mkdir -p tests/data
+	$(M)./$< $@ 16000 1
+
+tests/data/asynth%.sw tests/vsynth%/00.pgm: TAG = GEN
 
 include $(SRC_PATH)/tests/fate.mak
 include $(SRC_PATH)/tests/fate2.mak