diff --git a/tests/engine/MidiDeviceNodeTest.cpp b/tests/engine/MidiDeviceNodeTest.cpp index 92e012db8..63ad680fd 100644 --- a/tests/engine/MidiDeviceNodeTest.cpp +++ b/tests/engine/MidiDeviceNodeTest.cpp @@ -48,6 +48,9 @@ class MidiInputDeviceNodeTest : public UnitTestBase void runTest() override { + if (MidiInput::getAvailableDevices().isEmpty()) + return; + beginTest ("Processor Channels"); std::unique_ptr proc; proc.reset (new MidiDeviceProcessor (true, getWorld().getMidiEngine()));