projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6bb567
)
[tests] add run_on_default_source to test-source
author
Paul Brossier
<piem@piem.org>
Thu, 29 Nov 2018 13:28:39 +0000
(14:28 +0100)
committer
Paul Brossier
<piem@piem.org>
Thu, 29 Nov 2018 13:28:39 +0000
(14:28 +0100)
tests/src/io/test-source.c
patch
|
blob
|
history
diff --git
a/tests/src/io/test-source.c
b/tests/src/io/test-source.c
index
a1f17ae
..
55752ea
100644
(file)
--- a/
tests/src/io/test-source.c
+++ b/
tests/src/io/test-source.c
@@
-5,8
+5,8
@@
int main (int argc, char **argv)
{
uint_t err = 0;
if (argc < 2) {
-
err = 2
;
-
PRINT_ERR("not enough arguments\n"
);
+
PRINT_ERR("not enough arguments, running tests\n")
;
+
err = run_on_default_source(main
);
PRINT_MSG("read a wave file as a mono vector\n");
PRINT_MSG("usage: %s <source_path> [samplerate] [hop_size]\n", argv[0]);
PRINT_MSG("examples:\n");