Skip to content

Commit

Permalink
Skip midi input test if no devices available
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisher31 committed Oct 21, 2020
1 parent 2535bbe commit 7c69eff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/engine/MidiDeviceNodeTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ class MidiInputDeviceNodeTest : public UnitTestBase

void runTest() override
{
if (MidiInput::getAvailableDevices().isEmpty())
return;

beginTest ("Processor Channels");
std::unique_ptr<MidiDeviceProcessor> proc;
proc.reset (new MidiDeviceProcessor (true, getWorld().getMidiEngine()));
Expand Down

0 comments on commit 7c69eff

Please sign in to comment.