mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 21:01:05 +08:00
13 lines
313 B
C++
13 lines
313 B
C++
|
#include <AudioUtil.hpp>
|
||
|
|
||
|
std::string runAudioDeviceTests()
|
||
|
{
|
||
|
#ifdef SFML_RUN_AUDIO_DEVICE_TESTS
|
||
|
return "";
|
||
|
#else
|
||
|
// https://github.com/catchorg/Catch2/blob/devel/docs/test-cases-and-sections.md#special-tags
|
||
|
// This tag tells Catch2 to not run a given TEST_CASE
|
||
|
return "[.audio_device]";
|
||
|
#endif
|
||
|
}
|