diff options
Diffstat (limited to 'test/test_devices.cpp')
-rw-r--r-- | test/test_devices.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_devices.cpp b/test/test_devices.cpp index 73af3c1..e9b34b3 100644 --- a/test/test_devices.cpp +++ b/test/test_devices.cpp @@ -161,7 +161,7 @@ TEST(cubeb, enumerate_devices) if (r == CUBEB_ERROR_NOT_SUPPORTED) { fprintf(stderr, "Device enumeration not supported" " for this backend, skipping this test.\n"); - r = CUBEB_OK; + return; } ASSERT_EQ(r, CUBEB_OK) << "Error enumerating devices " << r; |