summaryrefslogtreecommitdiff
path: root/libs/ardour/test
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/test')
-rw-r--r--libs/ardour/test/jack_utils_test.cc43
-rw-r--r--libs/ardour/test/jack_utils_test.h2
2 files changed, 0 insertions, 45 deletions
diff --git a/libs/ardour/test/jack_utils_test.cc b/libs/ardour/test/jack_utils_test.cc
index ce92955b7d..9d5e433192 100644
--- a/libs/ardour/test/jack_utils_test.cc
+++ b/libs/ardour/test/jack_utils_test.cc
@@ -270,46 +270,3 @@ JackUtilsTest::test_command_line ()
cout << "Default JACK command line: " << command_line << endl;
}
-
-void
-JackUtilsTest::test_start_server ()
-{
-#ifdef PLATFORM_WINDOWS
- cout << endl;
-
- JackCommandLineOptions options;
-
- CPPUNIT_ASSERT (get_jack_default_server_path (options.server_path));
-
- cout << "Starting JACK server at path: " << options.server_path << endl;
-
- get_jack_default_audio_driver_name (options.driver);
-
- vector<string> devices = get_jack_device_names_for_audio_driver (options.driver);
-
- if (!devices.empty()) {
- options.input_device = devices.front ();
- options.output_device = devices.front ();
- } else {
- cout << "No audio devices available using default JACK driver using Dummy driver" << endl;
- options.driver = dummy_driver_name;
- devices = get_jack_device_names_for_audio_driver (options.driver);
- CPPUNIT_ASSERT (!devices.empty ());
- options.input_device = devices.front ();
- options.output_device = devices.front ();
- }
-
- string command_line;
- // this at least should create a valid jack command line
- CPPUNIT_ASSERT (get_jack_command_line_string (options, command_line));
-
- cout << "Calling start_jack_server with command line: " << command_line << endl;
-
- CPPUNIT_ASSERT (start_jack_server (command_line));
-
- // sleep for 10 seconds
- Sleep (10*1000);
-
- CPPUNIT_ASSERT (jack_server_running ());
-#endif
-}
diff --git a/libs/ardour/test/jack_utils_test.h b/libs/ardour/test/jack_utils_test.h
index 6a42d1d015..08fad2fc36 100644
--- a/libs/ardour/test/jack_utils_test.h
+++ b/libs/ardour/test/jack_utils_test.h
@@ -15,7 +15,6 @@ class JackUtilsTest : public CppUnit::TestFixture
CPPUNIT_TEST (test_server_paths);
CPPUNIT_TEST (test_config);
CPPUNIT_TEST (test_command_line);
- CPPUNIT_TEST (test_start_server);
CPPUNIT_TEST_SUITE_END ();
public:
@@ -29,5 +28,4 @@ public:
void test_server_paths ();
void test_config ();
void test_command_line ();
- void test_start_server ();
};