From c48f9194ac7cd2a15d0f86d8d03b0a8d6001d387 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Thu, 8 Oct 2020 09:05:33 +0200 Subject: Added test range selection for long valgrind tests --- README.md | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 27b3644..7bbc73c 100644 --- a/README.md +++ b/README.md @@ -11,28 +11,33 @@ The default path to your project is `..` but you can change it the the [configur ```sh $ ./run # run all tests -$❯ ./run -h -usage: run [-h] [-k] [-x] [-v] [-b] [-n] [-l] [-m] [-p] [suite [suite ...]] +$ ./run --help +usage: run [-h] [-k] [-x] [-r BEGIN END] [--show-range] [-v] [-b] [-n] [-l] + [-m] [-p] + [suite [suite ...]] Minishell test positional arguments: - suite Test suites/group to run. It tries to be smart and - autocomplete the suite name (e.g ./run int -> ./run - preprocess/interpolation) + suite Test suites/group to run. It tries to be smart and + autocomplete the suite name (e.g ./run int -> ./run + preprocess/interpolation) optional arguments: - -h, --help show this help message and exit - -k, --check-leaks Run valgrind on tests (disable usual comparison with - bash) - -x, --exit-first Exit on first fail - -v, --verbose Increase verbosity level (e.g -vv == 2) - -b, --bonus Enable bonus tests - -n, --no-bonus Disable bonus tests - -l, --list Print available test suites - -m, --make Make minishell and exit - -p, --pager After running the test, display the result in a pager of - your choice ./run --help + -h, --help show this help message and exit + -k, --check-leaks Run valgrind on tests (disable usual comparison with + bash) + -x, --exit-first Exit on first fail + -r BEGIN END, --range BEGIN END + Range of test index to run (imply --show-index) + --show-range Show test index (useful with --range) + -v, --verbose Increase verbosity level (e.g -vv == 2) + -b, --bonus Enable bonus tests + -n, --no-bonus Disable bonus tests + -l, --list Print available test suites + -m, --make Make minishell and exit + -p, --pager After running the test, display the result in a pager + of your choice ``` ## Test compatibility -- cgit