Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/native/omega/allen/test-look-home-dirty.sh # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / native / omega / allen / test-look-home-dirty.sh` 22 lines ยท 1064 bytes Raw Blame History 1 #!/bin/sh 2 # External orchestration, using the pinned native Omega compiler and HOME oracle module order. 3 set -eu 4 [ "$#" = 1 ] || { echo 'usage: test-look-home-dirty.sh FRESH_OUTPUT_DIR' >&2; exit 64; } 5 a=$(CDPATH= cd -- "$(dirname "$0")" && pwd) 6 out=$1 7 mkdir "$out" 8 out=$(CDPATH= cd -- "$out" && pwd) 9 cat "$a/font-data.om" "$a/font.om" "$a/look-paint.om" "$a/tests/look-home-stubs.om" "$a/look-home.om" \ 10 "$a/tests/look-home-dirty.om" > "$out/home-dirty.om" 11 "$a/build-one.sh" "$out/home-dirty.om" "$out/home-dirty" 12 "$out/home-dirty" pixels 1280 13 "$out/home-dirty" pixels 4k 14 "$out/home-dirty" budget 1280 15 "$out/home-dirty" budget 4k 16 # A missing caret redraw must actually be detected by the pixel oracle. 17 sed '/^hmmarkcaret$/d' "$out/home-dirty.om" > "$out/missing-caret.om" 18 "$a/build-one.sh" "$out/missing-caret.om" "$out/missing-caret" 19 rc=0 20 "$out/missing-caret" pixels 1280 || rc=$? 21 [ "$rc" = 30 ] || { echo "missing-caret control expected 30, got $rc" >&2; exit 1; } 22 echo 'LOOK_HOME_DIRTY: PASS; full-redraw pixel equality and idle redraw budget at 1280 and 4K'