Johan Holmberg
6faf657da0
use os.pathsep instead of ':'
2015-06-16 19:33:46 +02:00
Johan Holmberg
e1bdc5b403
try to use 'win_unicode_console' on Windows
2015-06-15 23:28:21 +02:00
Johan Holmberg
a72025c385
'file_match' now handles multi line patterns
2015-06-15 23:15:23 +02:00
Johan Holmberg
58260c5a21
add 'file_equal' and 'file_match'
2015-06-15 22:35:06 +02:00
Johan Holmberg
4d1fdabb55
improve handling of newline on Windows
2015-06-15 22:17:55 +02:00
Johan Holmberg
35c6425a44
implement 'stderr_match' like 'stdout_match'
2015-06-15 22:17:55 +02:00
Johan Holmberg
79be5a3a87
change relative paths in example code
2015-06-15 22:17:40 +02:00
Johan Holmberg
4805d50e05
use 'utf-8' reading 'CMDTEST_*.py'
2015-06-15 21:48:52 +02:00
Johan Holmberg
bce88a3741
test "Dir.chdir" / "create_file" interaction
2015-06-15 21:32:27 +02:00
Johan Holmberg
8dce49ef45
pass new "chdir" tests
2015-06-15 21:22:17 +02:00
Johan Holmberg
43078cab8e
test 'chdir' and 'Dir.chdir' in test methods
...
should work both in normal mode and with -jN
2015-06-15 21:06:48 +02:00
Johan Holmberg
82d49d40b9
finally add 'cmdtest.py'
...
even if it is unfinished, and not as functional
as the Ruby version.
2015-06-15 00:54:03 +02:00
Johan Holmberg
a476690279
implement get_path
2015-05-26 21:05:09 +02:00
Johan Holmberg
1c9efc3cad
test get_path/set_path
2015-05-26 21:04:34 +02:00
Johan Holmberg
7ff1b8c330
chdir calls Dir.chdir when not parallel
2015-05-26 20:49:42 +02:00
Johan Holmberg
73249f5fd5
test use of 'chdir'
2015-05-26 20:44:49 +02:00
Johan Holmberg
7b014a94ca
update README to use "git" instead of "hg"
...
the repository has been converted Mercurial --> Git
2015-01-19 23:06:20 +01:00
Johan Holmberg
5a663b92bf
internally convert --xml option to absolute path.
2015-01-18 00:43:03 +01:00
Johan Holmberg
151bf74753
First version of stdout_contain/stderr_contain.
2014-09-09 00:00:26 +02:00
Johan Holmberg
21aa24282b
implement changed regexp display (?-mix:^22$) --> /^22$/
2014-09-07 22:59:15 +02:00
Johan Holmberg
ed7f81a5fa
tests: change regexp display (?-mix:^22$) --> /^22$/
2014-09-07 22:57:54 +02:00
Johan Holmberg
c989a9f974
avoid silly Emacs ruby-mode problems with <<....
...
by using [[...]] instead of <<...>>
2014-09-06 21:02:00 +02:00
Johan Holmberg
7edd2313ff
add simple SIGINT handler
2014-02-16 21:59:44 +01:00
Johan Holmberg
ee6b520ca3
update copyright year to 2014
2014-02-16 21:36:27 +01:00
Johan Holmberg
d9f0a4e903
Document more methods, handling of current directory. Change Hudson --> Jenkins.
2014-02-16 18:33:31 +01:00
Johan Holmberg
0683c9eb32
set LC_ALL=C on MacOS in Rakefile
2014-02-16 14:39:00 +01:00
Johan Holmberg
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
Johan Holmberg
c6249ab10d
Util.quote_path now avoids more unnecessary quoting
2014-01-24 16:57:24 +01:00
Johan Holmberg
21ac1f4f01
use File::PATH_SEPARATOR (correct on Windows with Ruby 2.x)
2014-01-24 15:53:45 +01:00
Johan Holmberg
1e6e3ca0a2
handle current directory containing spaces
2013-11-22 01:36:50 +01:00
Johan Holmberg
77ca78c161
test current directory can contain spaces
2013-11-22 01:32:38 +01:00
Johan Holmberg
5cbd5214c0
update README file for bitbucket
2013-08-13 22:25:42 +02:00
Johan Holmberg
9c6159a525
Rename README.txt --> README.rst (for bitbucket)
2013-08-13 20:31:55 +02:00
Johan Holmberg
5c58af597e
fix broken 'import_file' when using t/ or test/ directory
2013-04-18 08:58:22 +02:00
Johan Holmberg
785629e86a
shebang line should use /usr/bin/ruby
2013-04-18 08:06:13 +02:00
Johan Holmberg
cce66576cd
get 'import_file' argument relative to CMDTEST file
...
(not current directory)
2012-09-06 15:21:19 +02:00
Johan Holmberg
7a8492e454
Update copyright year to 2012
2012-08-13 19:02:28 +02:00
Johan Holmberg
9ea790b0cb
Use just one tmp-directory when no --parallel=N is used.
2012-07-09 23:40:03 +02:00
Johan Holmberg
b772c8b7f8
Call "Dir.chdir" when no --parallel=N was given.
...
This should make "old" tests work with newer versions.
2012-07-09 22:52:43 +02:00
Johan Holmberg
ffe0a34b40
start using 'notify' for parallelism, add -j option
2012-07-02 09:46:16 +02:00
Johan Holmberg
ecc8675d1e
implement setenv/unsetenv (preparing for parallel cmdtest)
2012-07-02 09:25:26 +02:00
Johan Holmberg
35620124e5
add file implementing parallelism
2012-07-02 09:23:26 +02:00
Johan Holmberg
dec7206f12
adapt tests to removed 'chdir'
2012-06-17 14:19:10 +02:00
Johan Holmberg
fedbfa745a
removed use of 'chdir' (preparing for parallel cmdtest)
2012-06-17 14:17:49 +02:00
Johan Holmberg
c2f45a5882
only pass strings to logger classes (no cmdtest objects)
2012-06-12 00:32:50 +02:00
Johan Holmberg
bb70f757ec
Introduced LogClient class (preparing for parallel cmdtest).
2012-06-11 01:02:47 +02:00
Johan Holmberg
daa7f12fbd
Improve detection of Windows.
2011-11-04 23:38:52 +01:00
Johan Holmberg
21411e4a87
Renamed "echo-stdout.rb" and "echo-stderr.rb"
...
to get automatic addition of "ruby -S" on Windows.
2011-11-04 23:12:48 +01:00
Johan Holmberg
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
Johan Holmberg
27f1f3f80f
Make 'cmdtest' work with Ruby 1.9.3 too.
2011-10-30 20:33:16 +01:00