From cbe639614994a10eb49d4a970139ba73356d9009 Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Tue, 22 Feb 2022 08:00:37 -0600 Subject: [PATCH] docs ~ (GnuTests) add reference and notes re GNU coreutils testing processes --- .github/workflows/GnuTests.yml | 4 +++- util/run-gnu-test.sh | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/GnuTests.yml b/.github/workflows/GnuTests.yml index fbd6f4c0f..6b9cdefc6 100644 --- a/.github/workflows/GnuTests.yml +++ b/.github/workflows/GnuTests.yml @@ -1,6 +1,8 @@ name: GnuTests -# spell-checker:ignore (names) gnulib ; (jargon) submodules ; (people) Dawid Dziurla * dawidd ; (utils) autopoint chksum gperf pyinotify shopt texinfo ; (vars) FILESET XPASS +# spell-checker:ignore (names) gnulib ; (jargon) submodules ; (people) Dawid Dziurla * dawidd ; (utils) autopoint chksum gperf pyinotify shopt texinfo ; (vars) FILESET SUBDIRS XPASS + +# * note: to run a single test => `REPO/util/run-gnu-test.sh PATH/TO/TEST/SCRIPT` on: [push, pull_request] diff --git a/util/run-gnu-test.sh b/util/run-gnu-test.sh index f478e4058..9b784699c 100755 --- a/util/run-gnu-test.sh +++ b/util/run-gnu-test.sh @@ -6,6 +6,9 @@ # spell-checker:ignore (env/vars) GNULIB SRCDIR SUBDIRS ; (utils) shellcheck +# ref: [How the GNU coreutils are tested](https://www.pixelbeat.org/docs/coreutils-testing.html) @@ +# * note: to run a single test => `make check TESTS=PATH/TO/TEST/SCRIPT SUBDIRS=. VERBOSE=yes` + ME_dir="$(dirname -- "$(readlink -fm -- "$0")")" REPO_main_dir="$(dirname -- "${ME_dir}")"