#!/usr/bin/env bash # brintrun — smoke-run a built module under a minimal Node syscall shim. # # Requires nothing from brintium_require on purpose: this is a self-contained # Node harness with no LLVM dependency and no sysroot inputs. It is a smoke # runner, not a kernel — a module that runs here has not been shown to run # under the real host. set -euo pipefail # readlink -f, not dirname alone: these front doors are meant to be symlinked # into a prefix on PATH, and a symlink's dirname is the prefix, not this repo. source "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")/../libexec/config.sh" exec "$BRINTIUM/libexec/brintrun" "$@"