Commit Graph

58 Commits

Author SHA1 Message Date
Moritz Bunkus
648900e9dd
tests: allow specifying test case to run via file name 2021-08-16 20:29:41 +02:00
Moritz Bunkus
8cd0dea492
tests: add option for showing how long each test took 2021-07-07 16:16:23 +02:00
Moritz Bunkus
640a0ba0a6
tests: convert to four-digit numbers 2021-07-07 16:10:13 +02:00
Moritz Bunkus
518b2f6bbb
tests: use Windows-specific UI language names on Windows 2021-07-06 20:34:58 +02:00
Moritz Bunkus
b4b8bf2a18
tests: always force Unix newlines for writing text files 2021-07-06 20:27:41 +02:00
Moritz Bunkus
15962e1b10
tests: don't hardcode path to temporary directory 2021-07-06 20:27:41 +02:00
Moritz Bunkus
f681458bfc
tests: provide global vars distinguishing platforms 2021-07-06 20:27:41 +02:00
Moritz Bunkus
0a2cb7d1bd
tests: support skipping tests for certain build configurations 2021-04-09 18:06:57 +02:00
Moritz Bunkus
686cc15da4
tests: add options for excluding certain tests 2021-04-08 00:06:03 +02:00
Moritz Bunkus
29cdba5f29
chapters: take smallest timestamp in first file into account
When generating chapters mkvmerge has to take into account things such
as splitting and file linking. This requires shifting chapter
timestamps to match file timestamps. However, for files which don't
start at 0 generated chapters would be wrongfully shifted down to
below 0 causing invalid timestamps.

Fixes #2432.
2018-11-16 09:54:52 +01:00
Moritz Bunkus
08ef5f6460 test runner: require all Gems from the main program 2018-03-07 10:05:50 +01:00
Moritz Bunkus
68b2377c88 test runner: drop compatibility with Ruby < 1.9 2018-03-07 10:05:32 +01:00
Moritz Bunkus
0094e3ffa2 tests: add option for listing all failed case IDs 2016-05-13 19:46:12 +02:00
Moritz Bunkus
498c097bb8 truehd_parser_c: implement identification of Dolby Atmos
Implements #1519.
2015-12-29 16:35:15 +01:00
Moritz Bunkus
8078f78725 Test runner: improve regex name matching 2015-10-26 20:29:51 +01:00
Moritz Bunkus
0ffb2b592c test runner: prefix regex for "run.rb /re/" syntax with .* 2015-10-11 22:19:23 +02:00
Moritz Bunkus
738df974c8 test runner: fail if regex doesn't match anything 2015-10-03 22:26:44 +02:00
Moritz Bunkus
c6a376cda2 tests run.rb: add help text 2015-09-17 21:48:05 +02:00
Moritz Bunkus
b70c55c9df Capture and return program messages output for further analysis by tests 2012-03-26 09:28:42 +02:00
Moritz Bunkus
e50b1d0933 SimpleTest framework 2012-01-31 14:17:18 +01:00
Moritz Bunkus
e8ae268284 Re-factor run.rb into smaller files 2012-01-26 20:02:25 +01:00
Moritz Bunkus
50861d42b4 Add support for "--engage no_variable_data" in all tools 2011-12-03 16:03:13 +01:00
Moritz Bunkus
2b5ec42425 Add function for running mkvpropedit in tests easily 2011-12-03 15:07:24 +01:00
Moritz Bunkus
5f02cab8f2 Fix running the tests on Mac OS 2011-12-02 21:15:06 +01:00
Moritz Bunkus
dcd9ba154f Add range and regex based methods of running tests 2011-10-21 20:12:04 +02:00
Moritz Bunkus
b0fe2c0ecf Show the class name of failed tests 2011-09-25 18:23:33 +02:00
Moritz Bunkus
b168402c9a Ruby v1.8.x compatibility fix 2011-06-02 16:09:46 +02:00
Moritz Bunkus
b31c6c28f8 Simply call ruby instead of ruby1.9 2010-07-27 15:55:37 +02:00
Moritz Bunkus
a371c33157 Run tests ordered by the time they take (longest first)
Saves 20% in total execution time on a six core machine.
2010-07-18 12:27:17 +02:00
Moritz Bunkus
e04c86a492 Cosmetics, code refactoring 2010-07-18 11:54:20 +02:00
Moritz Bunkus
dcb716961c Fix nil.+ if a newly added test fails on its initial run 2010-06-29 13:39:22 +02:00
Moritz Bunkus
812ee87d69 Always unlink temporary files 2010-06-19 12:38:55 +02:00
Moritz Bunkus
fd6fc9cd9c Fix various bugs in run.rb after switch to multithreaded implementation 2010-06-18 12:24:12 +02:00
Moritz Bunkus
3e95747170 Uninterruptible message output 2010-06-18 09:10:05 +02:00
Moritz Bunkus
260c03bd2e Detect number of threads to run automatically by number of processors present 2010-06-16 11:15:06 +02:00
Moritz Bunkus
07e0a4b29e Parallel version of tests/run.rb activated by e.g. "-j2" 2010-06-16 00:26:19 +02:00
Moritz Bunkus
5bd318428b Cosmetics 2010-05-22 16:24:25 +02:00
Moritz Bunkus
938d313fee Run tests with under a UTF-8 locale. 2010-05-22 16:24:17 +02:00
Moritz Bunkus
d3d5b880b6 Added an way for keeping temp files 2009-02-28 19:17:17 +01:00
Moritz Bunkus
d2b010988c More shell compatibility fixes 2007-07-04 14:35:32 +00:00
Moritz Bunkus
b3d9434177 Compatibility fix. 2007-07-04 14:30:33 +00:00
Moritz Bunkus
0f82880d15 Doh! 2005-09-03 12:08:10 +00:00
Moritz Bunkus
3cdfb8b3fe Only try to delete a file that actually exists. 2005-09-03 12:03:31 +00:00
Moritz Bunkus
1c493df414 Easier removal of temporary files for test classes. Added a new exception for handling inside the test classes themselves so that they do not have to use RuntimeError which is used extensively by the Test class itself. 2005-02-02 15:15:17 +00:00
Moritz Bunkus
96ba68b2e9 Only delete a file if it actually exists. 2005-01-11 08:18:34 +00:00
Moritz Bunkus
6a569bacc3 Merged 2237 2004-09-29 09:35:27 +00:00
Moritz Bunkus
a2e6cad821 Merged 2215 2004-09-27 12:51:18 +00:00
Moritz Bunkus
fccd0ff6c2 Merged 2201:2203 2004-09-25 20:14:35 +00:00
Moritz Bunkus
51dc226606 Merged 2188 2004-09-20 17:25:37 +00:00
Moritz Bunkus
ef5fbcc943 Merged 2112:2115 2004-08-30 21:27:45 +00:00