summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Xcode/prepare-gtest-run-dir.sh
blob: 71b340673e5e26ef43c2f41ebf22e432af4e35ef (plain)
1
2
3
4
5
6
7
8
9
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
OpenPOWER on IntegriCloud