Commit Graph

5 Commits

Author SHA1 Message Date
Bryan O'Sullivan
a03fea73e0 Allow tests to run in parallel. 2007-10-05 12:17:01 -07:00
Vadim Gelfer
832c369ab0 tests: add timeouts, make run-tests.py clean up dead daemon processes
test timeout feature is needed for test with python 2.5 beta.  if test
does not complete in time (30 seconds is default), it is killed.

some times daemon process used in test can be alive after the test
is killed by user or by timeout.  tests now record daemon pids into
$DAEMON_PIDS and run-tests.py kills all living daemons after every test.

final little change is to add newline to end of pid file printed by
"hg serve", else "cat hg.pid >> $DAEMON_FILES" gives garbage.
2006-07-06 11:45:34 -07:00
Vadim Gelfer
f5cc524830 test-webraw: do not store hostname in test output 2006-06-30 22:04:02 -07:00
Eric Hopper
9a350e9c92 Fix new tests to be better. In particular, fix webraw test to
specify a date on commit to be less brittle, and fix test-oldcgi to test
fetching a subdirectory of a webdir instance.
2006-06-30 08:45:52 -07:00
Eric Hopper
6ae7c3c284 Add a test for getting raw files via the web UI. 2006-06-29 16:44:23 -07:00