-# Run tests for all configs except 'no-ust'
-if [ "$LTTNG_TOOLS_RUN_TESTS" = "yes" ] && [ "$conf" != "no-ust" ]; then
+# Run tests for all configs except 'no-ust' / 'relayd-only'
+if [ "$LTTNG_TOOLS_RUN_TESTS" = "yes" ] && [[ ! "$conf" =~ (no-ust|relayd-only) ]]; then
# The TAP plugin will fail the job if no test logs are present
mkdir -p "$TAPDIR/no-tests"
echo "1..1" > "$TAPDIR/no-tests/tests.log"
# The TAP plugin will fail the job if no test logs are present
mkdir -p "$TAPDIR/no-tests"
echo "1..1" > "$TAPDIR/no-tests/tests.log"