Restructure maintained components into per-widget source folders, add the portable scene GPU renderer with GLSL shaders, hosted widget aggregates, GTK theming and multi-target clipboard support, rebuild the guide with theming guidance, and move the toolchain to the Ziran revision without module root limits so the eighty component roots resolve everywhere.
24 lines
1.1 KiB
Bash
Executable File
24 lines
1.1 KiB
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
repo=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
|
. "$repo/tests/toolchain.sh"
|
|
build=$repo/build/accessibility
|
|
mkdir -p "$build"
|
|
exec 9>"$build/lock"
|
|
flock 9
|
|
"$ziran" ir --project --root "$repo/tests" -o "$build/ir" "$repo/tests/atspi_fixture.zi"
|
|
for source in source saved; do
|
|
input=$repo/tests/atspi_fixture.zi
|
|
root=$repo/tests
|
|
if [ "$source" = saved ]; then input=$build/ir/atspi_fixture.zir; root=$build/ir; fi
|
|
output=$build/$source-c
|
|
"$ziran" build --project --target=c --no-main --root "$root" \
|
|
--module-path "$build/ir" --entry atspi_fixture:Run -o "$output" "$input"
|
|
printf '#include "atspi_fixture.h"\nint main(void) { return Run(); }\n' >"$output/driver.c"
|
|
"${CC:-cc}" -std=c11 -O2 -I"$ziran_root/include" -I"$output" \
|
|
"$output"/*.c $(pkg-config --libs gio-2.0) -lm -lpthread -o "$output/run"
|
|
env -u DISPLAY -u WAYLAND_DISPLAY -u XAUTHORITY -u DBUS_SESSION_BUS_ADDRESS -u SESSION_MANAGER \
|
|
YUE_DESKTOP_RECOVERY=0 xvfb-run -a dbus-run-session -- \
|
|
/usr/bin/python3 "$repo/tests/accessibility_atspi_test.py" "$output/run"
|
|
done
|