summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-11-19 12:49:45 +0100
committerMax Kellermann <max@musicpd.org>2018-11-19 16:33:49 +0100
commitce49d99c2f3265f2975b2cff583684bf191bbd93 (patch)
tree98fa09c94aa5d170fd3f553ac107ea2f0aa82bf4 /test
parent2e450bbf959e7b72894c5037a2d46523556c8b72 (diff)
check.h: remove obsolete header
Since we switched from autotools to Meson in commit 94592c14062d5afc9482d11baa401648082022c0, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
Diffstat (limited to 'test')
-rw-r--r--test/ContainerScan.cxx1
-rw-r--r--test/DumpDecoderClient.cxx1
-rw-r--r--test/DumpDecoderClient.hxx1
-rw-r--r--test/ParseSongFilter.cxx1
-rw-r--r--test/RunChromaprint.cxx1
-rw-r--r--test/ShutdownHandler.cxx1
-rw-r--r--test/TestAudioFormat.cxx1
-rw-r--r--test/TestCircularBuffer.cxx1
-rw-r--r--test/TestDivideString.cxx1
-rw-r--r--test/TestMimeType.cxx1
-rw-r--r--test/TestRewindInputStream.cxx1
-rw-r--r--test/TestSplitString.cxx1
-rw-r--r--test/TestUriUtil.cxx1
-rw-r--r--test/WriteFile.cxx1
-rw-r--r--test/dump_playlist.cxx1
-rw-r--r--test/read_conf.cxx1
-rw-r--r--test/read_mixer.cxx1
-rw-r--r--test/run_avahi.cxx1
-rw-r--r--test/run_convert.cxx1
-rw-r--r--test/run_decoder.cxx1
-rw-r--r--test/run_encoder.cxx1
-rw-r--r--test/run_filter.cxx1
-rw-r--r--test/run_gunzip.cxx1
-rw-r--r--test/run_gzip.cxx1
-rw-r--r--test/run_inotify.cxx1
-rw-r--r--test/run_neighbor_explorer.cxx1
-rw-r--r--test/run_normalize.cxx1
-rw-r--r--test/run_output.cxx1
-rw-r--r--test/run_resolver.cxx1
-rw-r--r--test/run_storage.cxx1
-rw-r--r--test/software_volume.cxx1
-rw-r--r--test/test_archive.cxx1
-rw-r--r--test/test_icy_parser.cxx1
-rw-r--r--test/test_mixramp.cxx1
-rw-r--r--test/test_pcm_channels.cxx1
-rw-r--r--test/test_pcm_dither.cxx1
-rw-r--r--test/test_pcm_format.cxx1
-rw-r--r--test/test_pcm_interleave.cxx1
-rw-r--r--test/test_pcm_mix.cxx1
-rw-r--r--test/test_pcm_pack.cxx1
-rw-r--r--test/test_pcm_volume.cxx1
-rw-r--r--test/test_protocol.cxx1
-rw-r--r--test/test_queue_priority.cxx1
-rw-r--r--test/test_translate_song.cxx1
-rw-r--r--test/test_vorbis_encoder.cxx1
45 files changed, 0 insertions, 45 deletions
diff --git a/test/ContainerScan.cxx b/test/ContainerScan.cxx
index d2006b096..d047ae0b7 100644
--- a/test/ContainerScan.cxx
+++ b/test/ContainerScan.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "song/DetachedSong.hxx"
#include "SongSave.hxx"
#include "config/Data.hxx"
diff --git a/test/DumpDecoderClient.cxx b/test/DumpDecoderClient.cxx
index f7156c5c3..a876c7ad7 100644
--- a/test/DumpDecoderClient.cxx
+++ b/test/DumpDecoderClient.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "DumpDecoderClient.hxx"
#include "decoder/DecoderAPI.hxx"
#include "input/InputStream.hxx"
diff --git a/test/DumpDecoderClient.hxx b/test/DumpDecoderClient.hxx
index 8a40e7415..10ff5a09d 100644
--- a/test/DumpDecoderClient.hxx
+++ b/test/DumpDecoderClient.hxx
@@ -20,7 +20,6 @@
#ifndef DUMP_DECODER_CLIENT_HXX
#define DUMP_DECODER_CLIENT_HXX
-#include "check.h"
#include "decoder/Client.hxx"
#include "thread/Mutex.hxx"
diff --git a/test/ParseSongFilter.cxx b/test/ParseSongFilter.cxx
index f2d248608..b7eb8c8c5 100644
--- a/test/ParseSongFilter.cxx
+++ b/test/ParseSongFilter.cxx
@@ -22,7 +22,6 @@
*
*/
-#include "config.h"
#include "song/Filter.hxx"
#include "util/ConstBuffer.hxx"
#include "util/PrintException.hxx"
diff --git a/test/RunChromaprint.cxx b/test/RunChromaprint.cxx
index 311ad4eb7..ab68d2aa4 100644
--- a/test/RunChromaprint.cxx
+++ b/test/RunChromaprint.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "config/File.hxx"
#include "config/Migrate.hxx"
#include "config/Data.hxx"
diff --git a/test/ShutdownHandler.cxx b/test/ShutdownHandler.cxx
index 6d56e920b..d23424213 100644
--- a/test/ShutdownHandler.cxx
+++ b/test/ShutdownHandler.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "ShutdownHandler.hxx"
#ifndef _WIN32
diff --git a/test/TestAudioFormat.cxx b/test/TestAudioFormat.cxx
index 81657e8f3..4f06ff98a 100644
--- a/test/TestAudioFormat.cxx
+++ b/test/TestAudioFormat.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "AudioFormat.hxx"
#include "AudioParser.hxx"
#include "util/StringBuffer.hxx"
diff --git a/test/TestCircularBuffer.cxx b/test/TestCircularBuffer.cxx
index d0e41bba4..77d6e447f 100644
--- a/test/TestCircularBuffer.cxx
+++ b/test/TestCircularBuffer.cxx
@@ -2,7 +2,6 @@
* Unit tests for class CircularBuffer.
*/
-#include "config.h"
#include "util/CircularBuffer.hxx"
#include <gtest/gtest.h>
diff --git a/test/TestDivideString.cxx b/test/TestDivideString.cxx
index 4ec9a2838..fe9c31917 100644
--- a/test/TestDivideString.cxx
+++ b/test/TestDivideString.cxx
@@ -2,7 +2,6 @@
* Unit tests for src/util/
*/
-#include "config.h"
#include "util/DivideString.hxx"
#include <gtest/gtest.h>
diff --git a/test/TestMimeType.cxx b/test/TestMimeType.cxx
index 5f110172c..ed2bcdfe8 100644
--- a/test/TestMimeType.cxx
+++ b/test/TestMimeType.cxx
@@ -2,7 +2,6 @@
* Unit tests for src/util/
*/
-#include "config.h"
#include "util/MimeType.hxx"
#include <gtest/gtest.h>
diff --git a/test/TestRewindInputStream.cxx b/test/TestRewindInputStream.cxx
index 769bd710e..051d5a9ea 100644
--- a/test/TestRewindInputStream.cxx
+++ b/test/TestRewindInputStream.cxx
@@ -2,7 +2,6 @@
* Unit tests for class RewindInputStream.
*/
-#include "config.h"
#include "input/RewindInputStream.hxx"
#include "input/InputStream.hxx"
#include "thread/Mutex.hxx"
diff --git a/test/TestSplitString.cxx b/test/TestSplitString.cxx
index 4464fe29a..6ba87ee1b 100644
--- a/test/TestSplitString.cxx
+++ b/test/TestSplitString.cxx
@@ -2,7 +2,6 @@
* Unit tests for src/util/
*/
-#include "config.h"
#include "util/SplitString.hxx"
#include "util/Macros.hxx"
diff --git a/test/TestUriUtil.cxx b/test/TestUriUtil.cxx
index 25bbad1ec..21cbd2cdf 100644
--- a/test/TestUriUtil.cxx
+++ b/test/TestUriUtil.cxx
@@ -2,7 +2,6 @@
* Unit tests for src/util/
*/
-#include "config.h"
#include "util/UriUtil.hxx"
#include <gtest/gtest.h>
diff --git a/test/WriteFile.cxx b/test/WriteFile.cxx
index a0b4a6640..9cba451e9 100644
--- a/test/WriteFile.cxx
+++ b/test/WriteFile.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "fs/io/FileOutputStream.hxx"
#include "util/PrintException.hxx"
diff --git a/test/dump_playlist.cxx b/test/dump_playlist.cxx
index 4fd5f0627..0c336ffaf 100644
--- a/test/dump_playlist.cxx
+++ b/test/dump_playlist.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "TagSave.hxx"
#include "song/DetachedSong.hxx"
#include "playlist/SongEnumerator.hxx"
diff --git a/test/read_conf.cxx b/test/read_conf.cxx
index 00419af19..f6a8019e7 100644
--- a/test/read_conf.cxx
+++ b/test/read_conf.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "config/Data.hxx"
#include "config/Param.hxx"
#include "config/File.hxx"
diff --git a/test/read_mixer.cxx b/test/read_mixer.cxx
index 6d9a68868..ad50b8bb4 100644
--- a/test/read_mixer.cxx
+++ b/test/read_mixer.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "NullMixerListener.hxx"
#include "mixer/MixerControl.hxx"
#include "mixer/MixerList.hxx"
diff --git a/test/run_avahi.cxx b/test/run_avahi.cxx
index 8babf4e0b..eba2ff835 100644
--- a/test/run_avahi.cxx
+++ b/test/run_avahi.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "event/Loop.hxx"
#include "ShutdownHandler.hxx"
#include "zeroconf/ZeroconfAvahi.hxx"
diff --git a/test/run_convert.cxx b/test/run_convert.cxx
index 6637f618e..868a483db 100644
--- a/test/run_convert.cxx
+++ b/test/run_convert.cxx
@@ -23,7 +23,6 @@
*
*/
-#include "config.h"
#include "AudioParser.hxx"
#include "AudioFormat.hxx"
#include "pcm/PcmConvert.hxx"
diff --git a/test/run_decoder.cxx b/test/run_decoder.cxx
index e2ae2c24d..c37664201 100644
--- a/test/run_decoder.cxx
+++ b/test/run_decoder.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "config/File.hxx"
#include "config/Migrate.hxx"
#include "config/Data.hxx"
diff --git a/test/run_encoder.cxx b/test/run_encoder.cxx
index fb07487eb..9096d9e5b 100644
--- a/test/run_encoder.cxx
+++ b/test/run_encoder.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "encoder/EncoderList.hxx"
#include "encoder/EncoderPlugin.hxx"
#include "encoder/EncoderInterface.hxx"
diff --git a/test/run_filter.cxx b/test/run_filter.cxx
index b2a1845d0..689677592 100644
--- a/test/run_filter.cxx
+++ b/test/run_filter.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "config/Param.hxx"
#include "config/Data.hxx"
#include "config/File.hxx"
diff --git a/test/run_gunzip.cxx b/test/run_gunzip.cxx
index 35afc6c8e..f8a0e618e 100644
--- a/test/run_gunzip.cxx
+++ b/test/run_gunzip.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "fs/io/GunzipReader.hxx"
#include "fs/io/FileReader.hxx"
#include "fs/io/StdioOutputStream.hxx"
diff --git a/test/run_gzip.cxx b/test/run_gzip.cxx
index 373eb45ef..094456c02 100644
--- a/test/run_gzip.cxx
+++ b/test/run_gzip.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "fs/io/GzipOutputStream.hxx"
#include "fs/io/StdioOutputStream.hxx"
#include "system/Error.hxx"
diff --git a/test/run_inotify.cxx b/test/run_inotify.cxx
index 978141319..39625c060 100644
--- a/test/run_inotify.cxx
+++ b/test/run_inotify.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "ShutdownHandler.hxx"
#include "db/update/InotifySource.hxx"
#include "event/Loop.hxx"
diff --git a/test/run_neighbor_explorer.cxx b/test/run_neighbor_explorer.cxx
index 1797684db..c22ed6b11 100644
--- a/test/run_neighbor_explorer.cxx
+++ b/test/run_neighbor_explorer.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "config/File.hxx"
#include "config/Migrate.hxx"
#include "config/Data.hxx"
diff --git a/test/run_normalize.cxx b/test/run_normalize.cxx
index 642b9cc28..687a52033 100644
--- a/test/run_normalize.cxx
+++ b/test/run_normalize.cxx
@@ -23,7 +23,6 @@
*
*/
-#include "config.h"
#include "AudioCompress/compress.h"
#include "AudioParser.hxx"
#include "AudioFormat.hxx"
diff --git a/test/run_output.cxx b/test/run_output.cxx
index be5f215e0..4b45eed7a 100644
--- a/test/run_output.cxx
+++ b/test/run_output.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "output/Interface.hxx"
#include "output/Registry.hxx"
#include "output/OutputPlugin.hxx"
diff --git a/test/run_resolver.cxx b/test/run_resolver.cxx
index 0a789949e..8bb303f35 100644
--- a/test/run_resolver.cxx
+++ b/test/run_resolver.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "net/Resolver.hxx"
#include "net/AddressInfo.hxx"
#include "net/ToString.hxx"
diff --git a/test/run_storage.cxx b/test/run_storage.cxx
index 753c97b87..562b6d1e1 100644
--- a/test/run_storage.cxx
+++ b/test/run_storage.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "event/Thread.hxx"
#include "storage/Registry.hxx"
#include "storage/StorageInterface.hxx"
diff --git a/test/software_volume.cxx b/test/software_volume.cxx
index ec63e3f4c..601dba574 100644
--- a/test/software_volume.cxx
+++ b/test/software_volume.cxx
@@ -23,7 +23,6 @@
*
*/
-#include "config.h"
#include "pcm/Volume.hxx"
#include "AudioParser.hxx"
#include "AudioFormat.hxx"
diff --git a/test/test_archive.cxx b/test/test_archive.cxx
index f183e55c6..a5f3dd663 100644
--- a/test/test_archive.cxx
+++ b/test/test_archive.cxx
@@ -1,4 +1,3 @@
-#include "config.h"
#include "archive/ArchiveLookup.hxx"
#include "util/Compiler.h"
diff --git a/test/test_icy_parser.cxx b/test/test_icy_parser.cxx
index 14467ddb6..867c38eb8 100644
--- a/test/test_icy_parser.cxx
+++ b/test/test_icy_parser.cxx
@@ -2,7 +2,6 @@
* Unit tests for class IcyMetaDataParser.
*/
-#include "config.h"
#include "util/ScopeExit.hxx"
/* include the .cxx file to get access to internal functions */
diff --git a/test/test_mixramp.cxx b/test/test_mixramp.cxx
index 61bb26046..ca010f246 100644
--- a/test/test_mixramp.cxx
+++ b/test/test_mixramp.cxx
@@ -2,7 +2,6 @@
* Unit tests for mixramp_interpolate()
*/
-#include "config.h"
#include "player/CrossFade.cxx"
#include <gtest/gtest.h>
diff --git a/test/test_pcm_channels.cxx b/test/test_pcm_channels.cxx
index ad22f75aa..c6ec6698e 100644
--- a/test/test_pcm_channels.cxx
+++ b/test/test_pcm_channels.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "test_pcm_util.hxx"
#include "pcm/PcmChannels.hxx"
#include "pcm/PcmBuffer.hxx"
diff --git a/test/test_pcm_dither.cxx b/test/test_pcm_dither.cxx
index 99c203145..62b2302f8 100644
--- a/test/test_pcm_dither.cxx
+++ b/test/test_pcm_dither.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "test_pcm_util.hxx"
#include "pcm/PcmDither.cxx"
diff --git a/test/test_pcm_format.cxx b/test/test_pcm_format.cxx
index bea4a5314..6f2e47a14 100644
--- a/test/test_pcm_format.cxx
+++ b/test/test_pcm_format.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "test_pcm_util.hxx"
#include "pcm/PcmFormat.hxx"
#include "pcm/PcmDither.hxx"
diff --git a/test/test_pcm_interleave.cxx b/test/test_pcm_interleave.cxx
index 7606aad06..cc8257e6f 100644
--- a/test/test_pcm_interleave.cxx
+++ b/test/test_pcm_interleave.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "pcm/Interleave.hxx"
#include "util/Macros.hxx"
diff --git a/test/test_pcm_mix.cxx b/test/test_pcm_mix.cxx
index 930d6fc99..8ed67f429 100644
--- a/test/test_pcm_mix.cxx
+++ b/test/test_pcm_mix.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "test_pcm_util.hxx"
#include "pcm/PcmMix.hxx"
#include "pcm/PcmDither.hxx"
diff --git a/test/test_pcm_pack.cxx b/test/test_pcm_pack.cxx
index 59d58163e..a3055cbf7 100644
--- a/test/test_pcm_pack.cxx
+++ b/test/test_pcm_pack.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "test_pcm_util.hxx"
#include "pcm/PcmPack.hxx"
#include "system/ByteOrder.hxx"
diff --git a/test/test_pcm_volume.cxx b/test/test_pcm_volume.cxx
index 6ad84e968..811bb2d2d 100644
--- a/test/test_pcm_volume.cxx
+++ b/test/test_pcm_volume.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "pcm/Volume.hxx"
#include "pcm/Traits.hxx"
#include "util/ConstBuffer.hxx"
diff --git a/test/test_protocol.cxx b/test/test_protocol.cxx
index 86c4a7206..3455bfa58 100644
--- a/test/test_protocol.cxx
+++ b/test/test_protocol.cxx
@@ -1,4 +1,3 @@
-#include "config.h"
#include "protocol/ArgParser.hxx"
#include "protocol/Ack.hxx"
#include "protocol/RangeArg.hxx"
diff --git a/test/test_queue_priority.cxx b/test/test_queue_priority.cxx
index 6a8fbf782..1d65193b3 100644
--- a/test/test_queue_priority.cxx
+++ b/test/test_queue_priority.cxx
@@ -1,4 +1,3 @@
-#include "config.h"
#include "queue/Queue.hxx"
#include "song/DetachedSong.hxx"
#include "util/Macros.hxx"
diff --git a/test/test_translate_song.cxx b/test/test_translate_song.cxx
index 7784a2e24..2419b1bac 100644
--- a/test/test_translate_song.cxx
+++ b/test/test_translate_song.cxx
@@ -2,7 +2,6 @@
* Unit tests for playlist_check_translate_song().
*/
-#include "config.h"
#include "playlist/PlaylistSong.hxx"
#include "song/DetachedSong.hxx"
#include "SongLoader.hxx"
diff --git a/test/test_vorbis_encoder.cxx b/test/test_vorbis_encoder.cxx
index 0317a628c..2524d4564 100644
--- a/test/test_vorbis_encoder.cxx
+++ b/test/test_vorbis_encoder.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "encoder/EncoderList.hxx"
#include "encoder/EncoderPlugin.hxx"
#include "encoder/EncoderInterface.hxx"