Debian Codegraph @

third_party/rust/cubeb-coreaudio/run_device_tests.sh

raw
1 set -e
2
3 echo "\n\nRun device-changed tests\n===================="
4
5 if [[ -z "${RUST_BACKTRACE}" ]]; then
6 # Display backtrace for debugging
7 export RUST_BACKTRACE=1
8 fi
9 echo "RUST_BACKTRACE is set to ${RUST_BACKTRACE}\n"
10
11 cargo test test_aggregate -- --ignored --nocapture
12
13 cargo test test_switch_device -- --ignored --nocapture
14 cargo test test_switch_while_paused -- --ignored --nocapture
15
16 cargo test test_plug_and_unplug_device -- --ignored --nocapture
17
18 cargo test test_get_channel_count_of_input_devices_with_vpio -- --ignored --nocapture
19 cargo test test_get_channel_count_of_input_devices_with_aggregate_device_and_vpio -- --ignored --nocapture
20
21 cargo test test_register_device_changed_callback_to_check_default_device_changed_input -- --ignored --nocapture
22 cargo test test_register_device_changed_callback_to_check_default_device_changed_output -- --ignored --nocapture
23 cargo test test_register_device_changed_callback_to_check_default_device_changed_duplex -- --ignored --nocapture
24
25 cargo test test_destroy_input_stream_after_unplugging_a_nondefault_input_device -- --ignored --nocapture
26 cargo test test_suspend_input_stream_by_unplugging_a_nondefault_input_device -- --ignored --nocapture
27
28 cargo test test_destroy_input_stream_after_unplugging_a_default_input_device -- --ignored --nocapture
29 cargo test test_reinit_input_stream_by_unplugging_a_default_input_device -- --ignored --nocapture
30
31 cargo test test_destroy_output_stream_after_unplugging_a_nondefault_output_device -- --ignored --nocapture
32 cargo test test_suspend_output_stream_by_unplugging_a_nondefault_output_device -- --ignored --nocapture
33
34 cargo test test_destroy_output_stream_after_unplugging_a_default_output_device -- --ignored --nocapture
35 cargo test test_reinit_output_stream_by_unplugging_a_default_output_device -- --ignored --nocapture
36
37 cargo test test_destroy_duplex_stream_after_unplugging_a_nondefault_input_device -- --ignored --nocapture
38 cargo test test_suspend_duplex_stream_by_unplugging_a_nondefault_input_device -- --ignored --nocapture
39
40 cargo test test_destroy_duplex_stream_after_unplugging_a_nondefault_output_device -- --ignored --nocapture
41 cargo test test_suspend_duplex_stream_by_unplugging_a_nondefault_output_device -- --ignored --nocapture
42
43 cargo test test_destroy_duplex_stream_after_unplugging_a_default_input_device -- --ignored --nocapture
44 cargo test test_reinit_duplex_stream_by_unplugging_a_default_input_device -- --ignored --nocapture
45
46 cargo test test_destroy_duplex_stream_after_unplugging_a_default_output_device -- --ignored --nocapture
47 cargo test test_reinit_duplex_stream_by_unplugging_a_default_output_device -- --ignored --nocapture