147 Commits

Author SHA1 Message Date
Johan Holmberg
9e417d8700 Avoide error at weired indentation of Ruby code. 2009-05-10 22:23:33 +00:00
Johan Holmberg
3fcf7d7d27 re-indented code 2009-05-10 22:02:35 +00:00
Johan Holmberg
36eb26efb0 Added "time(interval)" method. Also fixed some spelling errors. 2009-05-10 21:57:26 +00:00
Johan Holmberg
c4acd10b1e Document "changed_files" instead of "modified_files". 2009-05-10 21:49:10 +00:00
Johan Holmberg
d6817779c8 added example testing som UN*X commands 2009-05-10 21:44:12 +00:00
Johan Holmberg
4c6948301a Added description of -i option. 2009-05-10 21:13:09 +00:00
Johan Holmberg
6898c43c1d re-generated from txt-file 2009-05-10 21:12:29 +00:00
Johan Holmberg
fe042df53c added basic description of command line options 2009-05-10 21:11:28 +00:00
Johan Holmberg
42242ae1e6 Added possiblilty to give "pattern arguments", e.g.: "cmdtest /foo/".
Then only test methods matching the regexp will be run.
2009-05-09 16:46:11 +00:00
Johan Holmberg
5342fe0ce4 added 'Usage:' line in --help output 2009-05-09 12:40:37 +00:00
Johan Holmberg
fcf4154d72 Make written Ruby code have better indentation, to avoid error in "cmdtest"
(should be fixed there too, to handle unexpected indentation better).
2009-05-09 12:26:38 +00:00
Johan Holmberg
2fa102ca2c Relax rules for command line options.
Now an option can be placed *after* file arguments.
2009-05-09 11:47:04 +00:00
Johan Holmberg
b52d63f91a Added -r option (incremental mode). 2009-05-09 11:12:45 +00:00
Johan Holmberg
658be41113 Added class to "filter" which tests to run, used to implement the -r option. 2009-05-09 11:10:54 +00:00
Johan Holmberg
80db818acb add --help entry about --xml option 2009-05-09 06:31:36 +00:00
Johan Holmberg
9ce4b90e18 added 'tests=N' attribute on 'testsuite' element 2009-05-09 06:20:39 +00:00
Johan Holmberg
0bcb58ae3e added tests of almost all existing options 2009-04-19 21:48:08 +00:00
Johan Holmberg
6bde7810f2 add tests of more options (e.g. -F, -I, -S, -W, -0) 2009-04-19 16:44:32 +00:00
Johan Holmberg
8d749ae0d9 document new method 'prepend_local_path' 2009-04-19 16:42:35 +00:00
Johan Holmberg
ec9e081399 Moved some responsibility from "prepend_path_dirs" to the callers.
The method now assumes that the arguments are absolute paths.
2009-04-19 16:41:37 +00:00
Johan Holmberg
fbdd99c60c New method "prepend_local_path", to be able to add a directory inside
the workdir to the PATH.
2009-04-19 16:39:02 +00:00
Johan Holmberg
b19912853d Reverse previous attempt to get it working on Windows.
Now we rely on the array argument form of "cmd" and
different quoting applied on Windows and UN*X.
2009-04-17 16:23:08 +00:00
Johan Holmberg
74a948f6e5 Quote differently on Windows and UN*X.
The way command line parsing on Windows is done
is very, very, very strange ...
2009-04-17 16:20:29 +00:00
Johan Holmberg
aed8dbfa9d Remove newline from lines when retrurning array of line.
Caused problem on Windows for some reason
(probably a NL vs. CRNL issue).
2009-04-17 16:12:15 +00:00
Johan Holmberg
64804512a2 Make it possible to give an array as argument to "cmd".
The intention is that the array should be passed "as is" to
the invoked program. This should work on both UN*X and Windows
so it has to deal with the quoting of both sh(1) and CMD.EXE.
The Windows part has not been done yet.
2009-04-08 07:08:13 +00:00
Johan Holmberg
107f6557db Remove waiting in "create_file" and "touch_file".
It should only be needed *before* "cmd".
2009-04-07 21:00:15 +00:00
Johan Holmberg
e722de3e84 Make tests work on Windows too (with CMD.EXE). 2009-04-03 16:13:01 +00:00
Johan Holmberg
804f7d1932 Made links to "examples" directory work in HTML. 2009-04-02 21:45:59 +00:00
Johan Holmberg
a145508390 Minor changes + adding an HTML-version generated from reStructuredText. 2009-04-02 21:36:32 +00:00
Johan Holmberg
a07af9e11b re-generated from txt-file 2009-03-27 21:25:11 +00:00
Johan Holmberg
95fc571cdc Added description of "prepend_path". 2009-03-27 21:23:37 +00:00
Johan Holmberg
b4242c1c4f Add "setup.rb" for installation. 2009-03-27 07:29:54 +00:00
Johan Holmberg
54b7536481 Add method "prepend_path" to control PATH when running commands. 2009-03-27 07:23:10 +00:00
Johan Holmberg
0a15996b2a use new REQUIRE instead of SKIP 2009-03-26 21:50:24 +00:00
Johan Holmberg
f6d21b9092 Replace the "SKIP" mechanism with a more general "REQUIRE" that can
evaluate arbitrary Ruby code to decide if a test should be run.
2009-03-26 21:44:10 +00:00
Johan Holmberg
e2ead001b9 set eol-style 2009-03-24 23:04:38 +00:00
Johan Holmberg
52681b6d8e example testing command line options to ruby 2009-03-24 22:56:37 +00:00
Johan Holmberg
07d7fcdb17 create examples dir 2009-03-24 19:09:50 +00:00
Johan Holmberg
9542871e42 add example files used by 'rake test' 2009-03-24 08:54:22 +00:00
Johan Holmberg
5059444af1 add scripts needed for 'rake test' 2009-03-24 08:47:54 +00:00
Johan Holmberg
2c61efb00d add tests 2009-03-24 08:43:47 +00:00
Johan Holmberg
8245c819bd add the code 2009-03-24 08:41:36 +00:00
Johan Holmberg
6b3ed73ae2 create basic directory structure for the source 2009-03-24 08:33:48 +00:00
Johan Holmberg
231518a914 add user guide and Rakefile 2009-03-24 08:22:27 +00:00
Johan Holmberg
8801bb9ec0 add readme and GPL license info 2009-03-24 08:17:50 +00:00
Johan Holmberg
fbda5f7106 created directory 2009-01-14 21:37:33 +00:00
Johan Holmberg
27dc6993b6 Initial directory structure. 2009-01-14 20:50:55 +00:00