Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.16.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : test-macos
#!/usr/bin/env bash
# This script is from the "Passenger binaries test" Jenkins job. It runs
# runs tests on the binaries generated by the "build-macos" script.
#
# Required environment variables:
#
#   WORKSPACE
#
# Optional environment variables:
#
#   PASSENGER_ROOT (defaults to $WORKSPACE)
#   OUTPUT_DIR (defaults to $WORKSPACE/output)
#   RUNTIME_DIR (defaults to $WORKSPACE/cache/runtime)

set -e
SELFDIR=$(dirname "$0")
cd "$SELFDIR/../../../../packaging/binaries"
# shellcheck source=../../../../packaging/binaries/shared/lib/library.sh
source "./shared/lib/library.sh"

require_envvar WORKSPACE "$WORKSPACE"

PASSENGER_ROOT="${PASSENGER_ROOT:-$WORKSPACE}"
OUTPUT_DIR="${OUTPUT_DIR:-$WORKSPACE/output}"
RUNTIME_DIR="${RUNTIME_DIR:-$WORKSPACE/cache/runtime}"

RUNTIME_VERSION=$(cat shared/definitions/macos_runtime_version)

run mkdir -p "$OUTPUT_DIR"

run ./macos/package \
	-i "$OUTPUT_DIR" \
	-o "$OUTPUT_DIR"
run ./macos/test \
	-p "$PASSENGER_ROOT" \
	-r "$RUNTIME_DIR/$RUNTIME_VERSION" \
	-i "$OUTPUT_DIR" \
	-I "$OUTPUT_DIR"
© 2025 XylotrechusZ