ee6b520ca3
update copyright year to 2014
2014-02-16 21:36:27 +01:00
2709324d8d
make 'cmdtest' work again on Windows.
...
now a new file "tmp-redirect.bat" is used to avoid passing
a complicated command line to Ruby:s "system" function.
2014-01-24 17:03:39 +01:00
c6249ab10d
Util.quote_path now avoids more unnecessary quoting
2014-01-24 16:57:24 +01:00
1e6e3ca0a2
handle current directory containing spaces
2013-11-22 01:36:50 +01:00
5c58af597e
fix broken 'import_file' when using t/ or test/ directory
2013-04-18 08:58:22 +02:00
cce66576cd
get 'import_file' argument relative to CMDTEST file
...
(not current directory)
2012-09-06 15:21:19 +02:00
7a8492e454
Update copyright year to 2012
2012-08-13 19:02:28 +02:00
9ea790b0cb
Use just one tmp-directory when no --parallel=N is used.
2012-07-09 23:40:03 +02:00
ecc8675d1e
implement setenv/unsetenv (preparing for parallel cmdtest)
2012-07-02 09:25:26 +02:00
35620124e5
add file implementing parallelism
2012-07-02 09:23:26 +02:00
fedbfa745a
removed use of 'chdir' (preparing for parallel cmdtest)
2012-06-17 14:17:49 +02:00
c2f45a5882
only pass strings to logger classes (no cmdtest objects)
2012-06-12 00:32:50 +02:00
bb70f757ec
Introduced LogClient class (preparing for parallel cmdtest).
2012-06-11 01:02:47 +02:00
daa7f12fbd
Improve detection of Windows.
2011-11-04 23:38:52 +01:00
892dc530c5
Preparation for parallel cmdtest:
...
- 'runner' parameter to methods instead of constructors
- unique work-directory for each test method
- detect class/method name clashes early
- moved tmp-dir knowledge to "testcase.rb"
2011-11-02 00:03:23 +01:00
27f1f3f80f
Make 'cmdtest' work with Ruby 1.9.3 too.
2011-10-30 20:33:16 +01:00
62392a5e16
Improve the detection of test_* method boundaries.
...
This is used with the -i option to "cmdtest".
Now a leading comment like "## methods: ..." can replace
the "def test_*" line at the beginning of a method.
This handles the case where "define_method" is used in
the testsuite for "cmdtest" itself.
2011-10-13 22:30:26 +02:00
a0663562f0
Avoid setting ENV["PATH"] in cmdtest itself.
...
Instead set PATH in the shell scripts used to execute
the actual commands to test.
2011-09-21 23:38:21 +02:00
dc36a1e023
update copyright year
2010-09-03 09:05:21 +02:00
823f254d60
New file for formatting output.
2010-09-03 08:55:07 +02:00
46607b24c2
Use COMPSEC to find "cmd.exe" on Windows.
2009-11-23 17:11:27 +01:00
43dd9acebf
Added "set_path" method. Cleanup of PATH handling.
2009-11-19 00:14:22 +01:00
1f504f5f9b
Add "chdir" method. Can be used to avoid ruby warning "conflicting
...
chdir during another chdir block".
2009-08-14 14:05:06 +02:00
9e417d8700
Avoide error at weired indentation of Ruby code.
2009-05-10 22:23:33 +00:00
36eb26efb0
Added "time(interval)" method. Also fixed some spelling errors.
2009-05-10 21:57:26 +00:00
658be41113
Added class to "filter" which tests to run, used to implement the -r option.
2009-05-09 11:10:54 +00:00
9ce4b90e18
added 'tests=N' attribute on 'testsuite' element
2009-05-09 06:20:39 +00:00
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
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
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
107f6557db
Remove waiting in "create_file" and "touch_file".
...
It should only be needed *before* "cmd".
2009-04-07 21:00:15 +00:00
54b7536481
Add method "prepend_path" to control PATH when running commands.
2009-03-27 07:23:10 +00:00
8245c819bd
add the code
2009-03-24 08:41:36 +00:00