summaryrefslogtreecommitdiff
path: root/test/test_pcm_main.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-03-15 10:00:07 +0100
committerMax Kellermann <max@duempel.org>2014-03-15 10:00:47 +0100
commit40cce050e7f6105320c5d7ab1e061b343c186ceb (patch)
tree98bda7940ff19baaa6b6068485a8122942745042 /test/test_pcm_main.cxx
parentbb6ee71f08478cc3c82883bcefe1f97368bd7c90 (diff)
test/test_pcm_all: move CPPUNIT_TEST_SUITE_REGISTRATION() to test_pcm_main.cxx
Run each unit test only once. Using CPPUNIT_TEST_SUITE_REGISTRATION from within the header meant that each unit class was registered again for each source file that includes the header.
Diffstat (limited to 'test/test_pcm_main.cxx')
-rw-r--r--test/test_pcm_main.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test_pcm_main.cxx b/test/test_pcm_main.cxx
index 0d6d2fef3..0803e64f5 100644
--- a/test/test_pcm_main.cxx
+++ b/test/test_pcm_main.cxx
@@ -25,6 +25,13 @@
#include <stdlib.h>
+CPPUNIT_TEST_SUITE_REGISTRATION(PcmDitherTest);
+CPPUNIT_TEST_SUITE_REGISTRATION(PcmPackTest);
+CPPUNIT_TEST_SUITE_REGISTRATION(PcmChannelsTest);
+CPPUNIT_TEST_SUITE_REGISTRATION(PcmVolumeTest);
+CPPUNIT_TEST_SUITE_REGISTRATION(PcmFormatTest);
+CPPUNIT_TEST_SUITE_REGISTRATION(PcmMixTest);
+
int
main(gcc_unused int argc, gcc_unused char **argv)
{