| Server IP : 162.214.74.102 / Your IP : 216.73.217.21 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/opt/cpanel/ea-ruby24/src/passenger-release-6.0.20/dev/ci/tests/binaries/ |
Upload File : |
#!/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"