27 Commits

Author SHA1 Message Date
Johan Holmberg
2bb93b9536 add test with no errors; test exit code too 2015-08-17 23:37:50 +02:00
Johan Holmberg
5021972318 first version using parallel(1)
to implement -jN option to cmdtest.
may need some cleanup/refactoring.
2015-08-17 23:03:42 +02:00
Johan Holmberg
b9c716a80e basic tests of 'cmdtest' command line options 2015-08-04 23:32:20 +02:00
Johan Holmberg
651b613ba0 remove parallel-, revive incremental-support 2015-08-04 10:29:25 +02:00
Johan Holmberg
1765eda504 add 'cmd_cmdtest_verbose' in 'SelftestUtils' 2015-07-29 13:38:12 +02:00
Johan Holmberg
df78fc17d6 test of summary line 2015-07-29 13:38:12 +02:00
Johan Holmberg
d5f29a821c ignore_file accepts shell glob (*, **)
+ test of this new behaviour
2015-07-29 13:32:04 +02:00
Johan Holmberg
bce88a3741 test "Dir.chdir" / "create_file" interaction 2015-06-15 21:32:27 +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
1c9efc3cad test get_path/set_path 2015-05-26 21:04:34 +02:00
Johan Holmberg
73249f5fd5 test use of 'chdir' 2015-05-26 20:44:49 +02:00
Johan Holmberg
ed7f81a5fa tests: change regexp display (?-mix:^22$) --> /^22$/ 2014-09-07 22:57:54 +02: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
dec7206f12 adapt tests to removed 'chdir' 2012-06-17 14:19:10 +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
776f1595ac New CMDTEST_*.rb files testing "cmdtest" itself.
These files will replaces the old tests.
2011-10-12 22:19:44 +02:00
Johan Holmberg
2df6994a6a Add one version of "echo.rb" for each of stdout/stderr.
This makes is easier to write tests for both stdout_equal and stderr_equal.
2011-09-27 23:16:37 +02:00
Johan Holmberg
a3bd727568 Make handling of Windows / Linux symmetric when it comes
to "clines". Implemented as a Perl script on Linux.
2009-05-12 16:53:18 +00:00
Johan Holmberg
2a7bb70fee Add "clines.cpp" in a better way. 2009-05-12 16:41:02 +00:00
Johan Holmberg
d3c5025960 Test passes on Windows now. 2009-05-12 16:31:40 +00:00
Johan Holmberg
c81b4c0c45 modified tests to work on both Windows and Linux. 2009-05-12 16:04:57 +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
0a15996b2a use new REQUIRE instead of SKIP 2009-03-26 21:50:24 +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