From 83f3d94b0f63d4f2a389559bfbb9cdd8ab8cc875 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Aleksander=20Styczy=C5=84ski?= Date: Fri, 20 Oct 2017 11:23:41 +0200 Subject: [PATCH] Update README.md --- README.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index bb1bb28..321437f 100644 --- a/README.md +++ b/README.md @@ -48,25 +48,25 @@ And sometimes gives suggestions what program you may want to test. To test input folder (only .in and .out): - `utest ` + utest ### Basic in + out + ignore err (err is not checked anytime) To test input folder (only .in and .out): - `utest --tierr ` + utest --tierr ### Basic in + out + err (missing .err file cause error) To test input folder (.in, .out, and .err files): - `utest --tnerr ` + utest --tnerr ### Basic in + out + err (missing .err files are ignored) To test input folder (.in, .out, and .err files): - `utest --tgerr ` + utest --tgerr ### Globbing input files @@ -85,7 +85,7 @@ tests We want to feed utest with input files nested in subdirectories. For that purpose just use: - `utest "./tests/**/*.in"` + utest "./tests/**/*.in" **Note that globbing must be provided in quotes otherwise it will be parsed by shell and won't work!** @@ -110,7 +110,7 @@ We must tell utest where to find output files. We use `--tgout` flag that utilizes dynamic variable to generate output path. You can read more about dynamic variables in *variables* section. - `utest --tgout "%input_file_folder/out" "./tests/**/input.txt"` + utest --tgout "%input_file_folder/out" "./tests/**/input.txt" **Note that globbing must be provided in quotes otherwise it will be parsed by shell and won't work!** @@ -138,6 +138,9 @@ You can read more about dynamic variables in *variables* section. | **--tsty-format** | | Make tester use !error!, !info! etc. output format | | **--tterm-format** | | Make tester use (default) term color formatting | | **--tc**
**--tnone-format** | | Make tester use clean (only-text) formatting | +| **--tpipe-in** |*[command]* | Use preprocessing of input. See Piping section | +| **--tpipe-out** |*[command]* | Use postprocessing of output. See Piping section | +| **--tpipe-out-err** |*[command]* | Use postprocessing of output error stream. See Piping section | | **--ts** | | Skips always oks | | **--tierr** | | Always ignore stderr output | | **--tgout** | *[dir]* | Sets (good) .out input directory
(default is the same as dir/inputs will be still found in dir location/use when .out and .in are in separate locations) |