Files
packages/lang/quickjs/test-version.sh
George Sapkin e38f41afe3 quickjs: add basic evaluation test
Add basic JS evaluation test and move version check to override.

Signed-off-by: George Sapkin <george@sapk.in>
2026-06-09 01:19:46 +03:00

15 lines
177 B
Bash
Executable File

#!/bin/sh
# shellcheck shell=busybox
case "$PKG_NAME" in
quickjs)
qjs --help | grep -F "${PKG_VERSION//./-}"
;;
*)
echo "Untested package: $PKG_NAME" >&2
exit 1
;;
esac