PostgreSQL/ci_scripts/meson-test.sh
Andreas Karlsson e979ab71c2 Harmonize the different Github Actions entry points
The meson and the make scripts had diverged a lot, so this commit fixes
that plus some other inconsistencies.
2025-04-28 09:42:37 +02:00

26 lines
366 B
Bash
Executable File

#!/bin/bash
set -e
TDE_ONLY=0
for arg in "$@"
do
case "$arg" in
--tde-only)
TDE_ONLY=1
shift;;
esac
done
SCRIPT_DIR="$(cd -- "$(dirname "$0")" >/dev/null 2>&1; pwd -P)"
source "$SCRIPT_DIR/env.sh"
cd "$SCRIPT_DIR/../build"
if [ "$TDE_ONLY" -eq 1 ];
then
meson test --suite setup --suite pg_tde
else
meson test
fi