From 593c49c00fb3e8c73ce369bda4db3cdda8fdc706 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Wed, 29 Jul 2026 23:13:38 +0300 Subject: add simple test framework --- tests/scripts/run-xpass | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 tests/scripts/run-xpass (limited to 'tests/scripts/run-xpass') diff --git a/tests/scripts/run-xpass b/tests/scripts/run-xpass new file mode 100755 index 0000000..d20c436 --- /dev/null +++ b/tests/scripts/run-xpass @@ -0,0 +1,11 @@ +#!/bin/sh + +TEST="$1" +OK="reports/$TEST/OK" +LOG="reports/$TEST/log" + +if "./$1" > "$LOG" 2> "$LOG"; then + echo OK > "$OK" +else + echo FAIL > "$OK" +fi -- cgit v1.3