diff options
Diffstat (limited to 'scripts/Xcode/prepare-gtest-run-dir.sh')
-rwxr-xr-x | scripts/Xcode/prepare-gtest-run-dir.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/Xcode/prepare-gtest-run-dir.sh b/scripts/Xcode/prepare-gtest-run-dir.sh new file mode 100755 index 000000000000..71b340673e5e --- /dev/null +++ b/scripts/Xcode/prepare-gtest-run-dir.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +RUNTIME_INPUTS_DIR="${TARGET_BUILD_DIR}/Inputs" +echo "Making runtime Inputs directory: $RUNTIME_INPUTS_DIR" +mkdir -p "$RUNTIME_INPUTS_DIR" + +for input_dir in $(find unittests -type d -name Inputs); do + echo "Copying $input_dir into $RUNTIME_INPUTS_DIR" + cp -r "${input_dir}"/* "${RUNTIME_INPUTS_DIR}/" +done |