Files
runner-images-sangeeth/images/macos/provision/core/audiodevice.sh
Darii Nurgaleev 0a9570b623 [macOS] change Invoke-Pester function (#2261)
* [macOS] change Invoke-Pester function

* added new logic

* try another approach.

* invoke-tests change

* added a little bunch of tests.

* remove import from browsers

* added source for all tests covered scripts.

* run all tests.

* added proper module import

* RunAll-Tests.ps1 changes.

* added shebang

* added new approach for tests.

* the first line should be shebang

* fixed nitpicks
2020-12-17 15:37:19 +03:00

18 lines
406 B
Bash

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