Files
runner-images-sangeeth/images/macos/provision/core/audiodevice.sh
Darii Nurgaleev f5b6afebd0 [macOS] move Pester tests to separate files/contexts/describes (#2573)
* [macOS] Fail Pester tests on error

* return it back

* added all files for testing

* common utils path changed

* linux scripts shouldn't be touched
2021-01-29 12:37:48 +03:00

18 lines
417 B
Bash

#!/bin/bash -e -o pipefail
source ~/utils/utils.sh
echo "install soundflower"
brew install --cask soundflower
echo "install switchaudio-osx"
brew_smart_install "switchaudio-osx"
echo "install sox"
brew_smart_install "sox"
echo "set Soundflower (2ch) as input/output device"
SwitchAudioSource -s "Soundflower (2ch)" -t input
SwitchAudioSource -s "Soundflower (2ch)" -t output
invoke_tests "System" "Audio Device"