diff options
Diffstat (limited to 'util/macos_test_audio_config/compile_and_run.sh')
-rwxr-xr-x | util/macos_test_audio_config/compile_and_run.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/util/macos_test_audio_config/compile_and_run.sh b/util/macos_test_audio_config/compile_and_run.sh new file mode 100755 index 000000000..6cd477769 --- /dev/null +++ b/util/macos_test_audio_config/compile_and_run.sh @@ -0,0 +1,19 @@ +#! /bin/sh +# Copyright (C) 2019 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only + +BUILD_DIR="__build__" +OUTPUT_FILE="test_audio_config_res.txt" + +mkdir $BUILD_DIR +cd $BUILD_DIR +cmake .. +make -j +cd .. + +rm -f $OUTPUT_FILE +./$BUILD_DIR/test_audio_config "$@" >> $OUTPUT_FILE +cat $OUTPUT_FILE +echo "\nThe result has been written to file $OUTPUT_FILE\n" + +rm -rf $BUILD_DIR |