Håkan Thörngren
f486a15f66
Allow Python cmdtest to be used as a library.
...
Added cmdtest_in_dir(path) to allow Python cmdtest to be used as part of
another Python script. Factored out most of the functionality from
main() to the common function test_files().
2015-12-09 20:49:13 -08:00
Håkan Thörngren
f4754a10fd
Corrected name of program and spelling.
2015-11-19 14:52:26 -08:00
Johan Holmberg
d3d884a2f1
minimal 'files_equal'
...
the reporting at error should be improved
2015-07-01 08:34:52 +02:00
Johan Holmberg
15c06bab11
add 'transcode_file' helper method
2015-06-17 22:32:07 +02:00
Johan Holmberg
ce6fed5947
add statistics and exit code
2015-06-17 00:48:34 +02:00
Johan Holmberg
dcf4ce246b
wait file mtime delta before new cmd
...
to make it possible ot detect written files
2015-06-17 00:16:07 +02:00
Johan Holmberg
96b8f3a42f
minimal ARGV parsing, similar to Ruby-version
2015-06-16 19:56:20 +02:00
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
4805d50e05
use 'utf-8' reading 'CMDTEST_*.py'
2015-06-15 21:48:52 +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