[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-diffs] Revision f71843f7c883848f634915959070a7d33b38d7
From: |
monotone |
Subject: |
[Monotone-commits-diffs] Revision f71843f7c883848f634915959070a7d33b38d7a6 |
Date: |
Tue, 24 Jul 2007 06:06:02 +0200 |
-----------------------------------------------------------------
Revision: f71843f7c883848f634915959070a7d33b38d7a6
Ancestor: 1ba359499368e5e96fa8846981ab51b7435f4335
Author: address@hidden
Date: 2007-07-24T00:14:15
Branch: net.venge.monotone.parallel-tests
Modified files:
tester-testsuite.lua tester.cc testlib.lua testsuite.lua
ChangeLog:
* tester.cc (main): Isolate test suites running simultaneously from
the same build directory, by adjusting run_dir and logfile. Do not
delete the entire run_dir on startup; it suffices to delete each
test directory as we get to it. Also, cosmetic changes: Reformat.
Kill the nested try-block. Fix handling of informative_failure and
std::exception; add catch-all clause too. Exit 0 if given --help.
Use lua_setglobal where possible.
* testlib.lua (tests): Now local to run_tests.
(logfile): Starts out as nil. Set to a filename by tester.cc, and then
to a real open file in run_tests.
(test): Move to more logical place.
(prepare_to_run_tests, prepare_to_enumerate_tests): New hook functions.
(run_tests): Neutralize NLS environment variables and SSH_AUTH_SOCK here.
Scan testdir for __driver__.lua and use that to establish the set of all
tests. Call the new hook functions as appropriate.
* testsuite.lua: Move all initialization logic to prepare_to_run_tests, so
that evaluating this file just defines functions. No need to scan the
test directory.
* tester-testsuite.lua: Remove list of tests.
txtEUrzq4Dx7g.txt
Description: Diff [1ba359499368e5e96fa8846981ab51b7435f4335] -> [f71843f7c883848f634915959070a7d33b38d7a6]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-diffs] Revision f71843f7c883848f634915959070a7d33b38d7a6,
monotone <=