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/gen-simple | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 tests/scripts/gen-simple (limited to 'tests/scripts/gen-simple') diff --git a/tests/scripts/gen-simple b/tests/scripts/gen-simple new file mode 100755 index 0000000..3ce75f3 --- /dev/null +++ b/tests/scripts/gen-simple @@ -0,0 +1,12 @@ +#!/bin/sh + +mkdir -p $(for d in "${@}"; do echo "$d"; done | uniq | sed "s|^|reports/|") + +for s in "${@}" +do + echo ".PHONY: $s" >> tests.mk + echo "$s:" >> tests.mk + echo " ./scripts/run-xpass $s" >> tests.mk +done + +echo "TESTS += " "${@}" >> tests.mk -- cgit v1.3