b0ff71a8daadd test of -D and -I options to GCC
Johan Holmberg
2010-10-10 23:57:01 +02:00
0075282c4aadd example file testing GCC command line interface
Johan Holmberg
2010-10-10 23:33:22 +02:00
2ef8fce6aeadd a .hgignore file
Johan Holmberg
2010-10-10 23:32:04 +02:00
dc36a1e023update copyright year
Johan Holmberg
2010-09-03 09:05:21 +02:00
823f254d60New file for formatting output.
Johan Holmberg
2010-09-03 08:55:07 +02:00
46607b24c2Use COMPSEC to find "cmd.exe" on Windows.
Johan Holmberg
2009-11-23 17:11:27 +01:00
2fe19ae2ffAdded "set_path()" and "--no-exit-code" info.
Johan Holmberg
2009-11-19 08:42:06 +01:00
43dd9acebfAdded "set_path" method. Cleanup of PATH handling.
Johan Holmberg
2009-11-19 00:14:22 +01:00
aabd98a9b1Make tests work again by supply --no-exit-code.
Johan Holmberg
2009-11-18 23:59:04 +01:00
25f3e618adSet exit code at errors. Add --no-exit-code to disable.
Johan Holmberg
2009-11-18 23:04:06 +01:00
0f29f631fcminor change to 'create_file' description
Johan Holmberg
2009-11-18 22:26:25 +01:00
1f504f5f9bAdd "chdir" method. Can be used to avoid ruby warning "conflicting chdir during another chdir block".
Johan Holmberg
2009-08-14 14:05:06 +02:00
a533ee1300Change checkout example to show use of Mercurial. We changed revision control system from Subversion recently.
Johan Holmberg
2009-06-16 20:58:16 +02:00
c15e9e5ae4Added tag v1.0 for changeset 3b86c7a3be02
Johan Holmberg
2009-06-08 21:19:34 +02:00
c8127b87e2add ruby comment line for emacs
Johan Holmberg
2009-06-06 12:36:12 +00:00
c170b3d889added sections 'Specifying files / directories' and 'PATH handling'
Johan Holmberg
2009-05-27 06:31:46 +00:00
1bc5337156add more info about command line usage
Johan Holmberg
2009-05-12 19:02:20 +00:00
ddfb52d68csearch for test files in 'test/' directory too
Johan Holmberg
2009-05-12 19:01:10 +00:00
c532c65351added method showing output on both stdout and stderr
Johan Holmberg
2009-05-12 18:34:29 +00:00
5f1be57ebcExatract method "_path_separator" to handle JRuby too where the Config::CONFIG hash seem to be buggy.
Johan Holmberg
2009-05-12 16:56:28 +00:00
a3bd727568Make handling of Windows / Linux symmetric when it comes to "clines". Implemented as a Perl script on Linux.
Johan Holmberg
2009-05-12 16:53:18 +00:00
2a7bb70feeAdd "clines.cpp" in a better way.
Johan Holmberg
2009-05-12 16:41:02 +00:00
d3c5025960Test passes on Windows now.
Johan Holmberg
2009-05-12 16:31:40 +00:00
c81b4c0c45modified tests to work on both Windows and Linux.
Johan Holmberg
2009-05-12 16:04:57 +00:00
9e417d8700Avoide error at weired indentation of Ruby code.
Johan Holmberg
2009-05-10 22:23:33 +00:00
3fcf7d7d27re-indented code
Johan Holmberg
2009-05-10 22:02:35 +00:00
36eb26efb0Added "time(interval)" method. Also fixed some spelling errors.
Johan Holmberg
2009-05-10 21:57:26 +00:00
c4acd10b1eDocument "changed_files" instead of "modified_files".
Johan Holmberg
2009-05-10 21:49:10 +00:00
d6817779c8added example testing som UN*X commands
Johan Holmberg
2009-05-10 21:44:12 +00:00
4c6948301aAdded description of -i option.
Johan Holmberg
2009-05-10 21:13:09 +00:00
6898c43c1dre-generated from txt-file
Johan Holmberg
2009-05-10 21:12:29 +00:00
fe042df53cadded basic description of command line options
Johan Holmberg
2009-05-10 21:11:28 +00:00
42242ae1e6Added possiblilty to give "pattern arguments", e.g.: "cmdtest /foo/". Then only test methods matching the regexp will be run.
Johan Holmberg
2009-05-09 16:46:11 +00:00
5342fe0ce4added 'Usage:' line in --help output
Johan Holmberg
2009-05-09 12:40:37 +00:00
fcf4154d72Make written Ruby code have better indentation, to avoid error in "cmdtest" (should be fixed there too, to handle unexpected indentation better).
Johan Holmberg
2009-05-09 12:26:38 +00:00
2fa102ca2cRelax rules for command line options. Now an option can be placed *after* file arguments.
Johan Holmberg
2009-05-09 11:47:04 +00:00
b52d63f91aAdded -r option (incremental mode).
Johan Holmberg
2009-05-09 11:12:45 +00:00
658be41113Added class to "filter" which tests to run, used to implement the -r option.
Johan Holmberg
2009-05-09 11:10:54 +00:00
80db818acbadd --help entry about --xml option
Johan Holmberg
2009-05-09 06:31:36 +00:00
9ce4b90e18added 'tests=N' attribute on 'testsuite' element
Johan Holmberg
2009-05-09 06:20:39 +00:00
0bcb58ae3eadded tests of almost all existing options
Johan Holmberg
2009-04-19 21:48:08 +00:00
6bde7810f2add tests of more options (e.g. -F, -I, -S, -W, -0)
Johan Holmberg
2009-04-19 16:44:32 +00:00
8d749ae0d9document new method 'prepend_local_path'
Johan Holmberg
2009-04-19 16:42:35 +00:00
ec9e081399Moved some responsibility from "prepend_path_dirs" to the callers. The method now assumes that the arguments are absolute paths.
Johan Holmberg
2009-04-19 16:41:37 +00:00
fbdd99c60cNew method "prepend_local_path", to be able to add a directory inside the workdir to the PATH.
Johan Holmberg
2009-04-19 16:39:02 +00:00
b19912853dReverse 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.
Johan Holmberg
2009-04-17 16:23:08 +00:00
74a948f6e5Quote differently on Windows and UN*X. The way command line parsing on Windows is done is very, very, very strange ...
Johan Holmberg
2009-04-17 16:20:29 +00:00
aed8dbfa9dRemove newline from lines when retrurning array of line. Caused problem on Windows for some reason (probably a NL vs. CRNL issue).
Johan Holmberg
2009-04-17 16:12:15 +00:00
64804512a2Make 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.
Johan Holmberg
2009-04-08 07:08:13 +00:00
107f6557dbRemove waiting in "create_file" and "touch_file". It should only be needed *before* "cmd".
Johan Holmberg
2009-04-07 21:00:15 +00:00
e722de3e84Make tests work on Windows too (with CMD.EXE).
Johan Holmberg
2009-04-03 16:13:01 +00:00
804f7d1932Made links to "examples" directory work in HTML.
Johan Holmberg
2009-04-02 21:45:59 +00:00
a145508390Minor changes + adding an HTML-version generated from reStructuredText.
Johan Holmberg
2009-04-02 21:36:32 +00:00
a07af9e11bre-generated from txt-file
Johan Holmberg
2009-03-27 21:25:11 +00:00
95fc571cdcAdded description of "prepend_path".
Johan Holmberg
2009-03-27 21:23:37 +00:00
b4242c1c4fAdd "setup.rb" for installation.
Johan Holmberg
2009-03-27 07:29:54 +00:00
54b7536481Add method "prepend_path" to control PATH when running commands.
Johan Holmberg
2009-03-27 07:23:10 +00:00
0a15996b2ause new REQUIRE instead of SKIP
Johan Holmberg
2009-03-26 21:50:24 +00:00
f6d21b9092Replace the "SKIP" mechanism with a more general "REQUIRE" that can evaluate arbitrary Ruby code to decide if a test should be run.
Johan Holmberg
2009-03-26 21:44:10 +00:00
e2ead001b9set eol-style
Johan Holmberg
2009-03-24 23:04:38 +00:00
52681b6d8eexample testing command line options to ruby
Johan Holmberg
2009-03-24 22:56:37 +00:00
07d7fcdb17create examples dir
Johan Holmberg
2009-03-24 19:09:50 +00:00
9542871e42add example files used by 'rake test'
Johan Holmberg
2009-03-24 08:54:22 +00:00
5059444af1add scripts needed for 'rake test'
Johan Holmberg
2009-03-24 08:47:54 +00:00
2c61efb00dadd tests
Johan Holmberg
2009-03-24 08:43:47 +00:00
8245c819bdadd the code
Johan Holmberg
2009-03-24 08:41:36 +00:00
6b3ed73ae2create basic directory structure for the source
Johan Holmberg
2009-03-24 08:33:48 +00:00
231518a914add user guide and Rakefile
Johan Holmberg
2009-03-24 08:22:27 +00:00
8801bb9ec0add readme and GPL license info
Johan Holmberg
2009-03-24 08:17:50 +00:00
fbda5f7106created directory
Johan Holmberg
2009-01-14 21:37:33 +00:00
27dc6993b6Initial directory structure.
Johan Holmberg
2009-01-14 20:50:55 +00:00