Point every harness's default toolchain at build/packages/ziran/build, drop the removed `zi2zx bundle` form, link the generated C each harness actually gets (whole generated folders where the test has no stubs, and Kryon's package-prefixed frame pacing module), and stop listing the header-only type module in the modal rules test. Twenty-two more test targets pass from a clean export; plans/2026-11-17-test-harnesses.md lists the 54 that still fail and why.
12 lines
452 B
Bash
Executable File
12 lines
452 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
root=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
|
bin=${1:-"$root/build/packages/ziran/build/bin"}
|
|
work="$root/build/habits-table-layout-test"
|
|
mkdir -p "$work"
|
|
"$bin/zi2zx" --root "$root/tests" \
|
|
--entry habits_table_layout_behavior:Answer \
|
|
-o "$work/layout.zx" "$root/tests/habits_table_layout_behavior.zi"
|
|
[ "$("$bin/zi2zx" run "$work/layout.zx")" = 42 ]
|
|
echo "PASS habit table day widths and rows below the open habit"
|