1#!/bin/bash 2set -eux 3 4cmake . -D CMAKE_BUILD_TYPE=Debug -D RE2_BUILD_TESTING=ON "$@" 5cmake --build . --config Debug --clean-first 6ctest -C Debug --output-on-failure -E 'dfa|exhaustive|random' 7 8cmake . -D CMAKE_BUILD_TYPE=Release -D RE2_BUILD_TESTING=ON "$@" 9cmake --build . --config Release --clean-first 10ctest -C Release --output-on-failure -E 'dfa|exhaustive|random' 11 12exit 0 13