Files
capy-bearer/scripts/test_dvalue_none_native.sh

8 lines
425 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
repo=$(cd "$(dirname "$0")/.." && pwd)
bin="$repo/tmp/native-tests/test_dvalue_none_native"
compiler=$(command -v clang++ || command -v g++)
timeout --signal=TERM --kill-after=2s 30s python3 "$repo/scripts/test_native_build.py" "$bin" -- "$compiler" -std=c++20 -fpermissive -I"$repo" "$repo/scripts/test_dvalue_none_native.cpp" -lpcre2-8
timeout --signal=TERM --kill-after=2s 15s "$bin"