From e839c01f5b8b9fbe0d297be9d9bf8a429b49a1b1 Mon Sep 17 00:00:00 2001 From: Naveen Arunachalam Date: Sun, 12 Aug 2018 16:10:06 -0400 Subject: [PATCH] Clarify usage of "Test" argument in Koch (#8613) Minor change to help people (e.g. like myself) who are starting out :) Currently, the readme mentions the use of `./koch tests cat async`, but the help text for koch doesn't mention it. Helptexts are modified accordingly. --- koch.nim | 3 ++- tests/testament/tester.nim | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/koch.nim b/koch.nim index ad6a774e8..aa36d94a1 100644 --- a/koch.nim +++ b/koch.nim @@ -57,7 +57,8 @@ Commands for core developers: zip builds the installation zip package xz builds the installation tar.xz package testinstall test tar.xz package; Unix only! - tests [options] run the testsuite + tests [options] run the testsuite (run a subset of tests by + specifying a category, e.g. `tests cat async`) temp options creates a temporary compiler for testing winrelease creates a Windows release pushcsource push generated C sources to its repo diff --git a/tests/testament/tester.nim b/tests/testament/tester.nim index 136a509e4..9558257a6 100644 --- a/tests/testament/tester.nim +++ b/tests/testament/tester.nim @@ -22,7 +22,7 @@ const Command: all run all tests - c|category run all the tests of a certain category + c|cat|category run all the tests of a certain category r|run run single test file html generate $1 from the database Arguments: