From ff1a59bd27103908a139e7ccf652fc41ab49b9d9 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Fri, 20 Dec 2013 22:36:29 +0100 Subject: test/run: Documentation update * Remove the implemented features from the to-do list. * Document the command line interface. --- test/run | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'test/run') diff --git a/test/run b/test/run index 64279ec..4e1216a 100755 --- a/test/run +++ b/test/run @@ -31,11 +31,19 @@ # Possible improvements: # # - distinguish stdout and stderr output -# - add environment variable like assignments -# - run up to a specific line # - resume at a specific line # +# +# Command line parameters: +# +# -l N Stop the test after line N +# -q Quiet mode: buffer the output while processing and print the +# result at the end; on success, only the summary is printed +# -v Verbose mode: print the output of successful commands (by +# default the output is only printed for failed commands) +# + use strict; use FileHandle; use Getopt::Std; @@ -277,8 +285,6 @@ sub exec_test($$) { return sg($prog->[1]); } elsif ($prog->[0] eq "export") { my ($name, $value) = split /=/, $prog->[1]; - # FIXME: need to evaluate $value, so that things like this will work: - # export dir=$PWD/dir $ENV{$name} = $value; return 0, []; } elsif ($prog->[0] eq "unset") { -- cgit