Skip to content
Repos

templewm

Shell 587 B10 lines Opens in site

Directory Raw Download

#!/bin/bash
# Behaviour: phase results are labelled (boxes.md: Phase 1 numbers stay SMOKE,
# Phase 2+ count as PARITY). A report without a label is a failure, not a pass.
# SKIP = no compare report yet (P1).
set -u
cd "$(dirname "$0")/.." || exit 1
. .config/xfwl4-check/acceptance.conf
[ -s "$report_file" ] || { echo "SKIP phases: no compare report yet (P1)"; exit 0; }
label=$(grep -oE 'SMOKE|PARITY' "$report_file" | sort -u | tr '\n' ' ')
[ -n "$label" ] && echo "PASS phases: report labelled ($label)" || { echo "FAIL phases: $report_file carries no SMOKE/PARITY label"; exit 1; }
25.1ms