libmpv render API into an egui/glow texture, floating controls with a wavy seek bar and morphing play button, track/speed/chapter menus, playlist and adjust sheets, settings, open link, previews, smoke-test harness. Co-Authored-By: Claude Opus 5.5 <[email protected]>
17 lines
957 B
Shell
Executable file
17 lines
957 B
Shell
Executable file
#!/bin/bash
|
|
# Hidden smoke run: Quince in a nested niri on Xvfb (tools/nested-session.sh), software GL, a throwaway config,
|
|
# driven by a QUINCE_SCRIPT (see src/script.rs). Nothing shows on the user's screen.
|
|
# tools/smoke.sh <script.txt> <outdir> [files...]
|
|
set -u
|
|
root=$(cd "$(dirname "$0")/.." && pwd)
|
|
script=$(realpath "$1"); out=$2; shift 2
|
|
mkdir -p "$out"; out=$(cd "$out" && pwd)
|
|
bin=${SMOKE_BIN:-$root/target/debug/quince}
|
|
"$root/tools/nested-session.sh" start "$out/session" "${SMOKE_SIZE:-1280x800}" || exit 1
|
|
( set -a; . "$out/session/env"; set +a
|
|
HOME_CFG=$out/home; mkdir -p "$HOME_CFG"
|
|
QUINCE_CONFIG=${QUINCE_CONFIG:-$out/settings.json} QUINCE_SCRIPT=$script QUINCE_SHOTS=$out QUINCE_STATUS=$out/status.json \
|
|
LIBGL_ALWAYS_SOFTWARE=1 RUST_BACKTRACE=1 timeout "${SMOKE_TIMEOUT:-90}" "$bin" "$@" >"$out/quince.log" 2>&1
|
|
echo "exit $?" >>"$out/quince.log" )
|
|
"$root/tools/nested-session.sh" stop "$out/session"
|
|
tail -3 "$out/quince.log"
|