Commit Graph

34 Commits

Author SHA1 Message Date
James McKay
d23dcbe43f tests: Use tempfile.TemporaryFile instead of os.tmpfile() to redirect stdout.
os.tmpfile requires administrator privileges on Windows XP and may be blocked
by UAC on Windows Vista/7. In any case, it is deprecated in favour of
tempfile.TemporaryFile. See http://bugs.python.org/issue2232
2010-07-04 21:41:42 +01:00
Augie Fackler
2b51d7f616 tests/run.py: make sure our hgsubversion loads correctly 2010-05-18 14:46:50 -05:00
Dan Villiom Podlaski Christiansen
f5f972b21f testrunner: use demandimport, with an option to disable it 2010-05-14 20:27:24 +02:00
Dan Villiom Podlaski Christiansen
5cce3e0739 testrunner: delay and `simplify' importing of tests 2010-05-14 20:26:06 +02:00
Dan Villiom Podlaski Christiansen
a0077c3bfc testrunner: use optparse 2010-05-14 17:39:26 +02:00
Dirkjan Ochtman
e4c4a43451 tests: make sure single dir clone tests get run by non-nose users 2010-02-26 14:52:50 +01:00
Augie Fackler
3b059f8c48 tests.run: exit nonzero if tests did not pass 2010-03-01 17:45:00 -06:00
Augie Fackler
34e86485e6 tests: make comprehensive tests work properly with nose and run.py 2009-06-15 12:26:20 -05:00
Dirkjan Ochtman
0adf46f3a3 svncommands: add verify command 2009-06-11 19:14:05 +02:00
Dirkjan Ochtman
f6a407653c tests: add -A option to run.py for running comprehensive tests 2009-06-11 11:34:37 +02:00
Dirkjan Ochtman
f18ad364f2 tests: send warning to stderr instead of redirected stdout 2009-06-11 11:39:45 +02:00
Dirkjan Ochtman
821671f633 Allow passing in module arguments to the test runs. 2009-05-28 08:48:57 +02:00
Dan Villiom Podlaski Christiansen
4464869581 Remove the 'outgoing' wrapper, and use the Mercurial infrastructure instead. 2009-05-22 15:12:31 +02:00
Dan Villiom Podlaski Christiansen
d0cf8cc8c4 tests: silence tests when using run.py 2009-05-15 17:24:08 +02:00
Augie Fackler
94a7ecbe68 Reorganize to have a more conventional module structure.
This means that hgsubversion now uses absolute imports instead of
relative ones, which makes the tests more reliable.
2009-05-13 21:39:39 -05:00
Dan Villiom Podlaski Christiansen
4a604b8889 First merge, totally untested. 2009-05-01 10:28:59 +02:00
Martijn Pieters
f7cafd1975 Implement -u/--update support when pulling.
Status messages now more closely follow standard hg pull. Added generic pull
tests as well as specific tests for this change.
2009-04-27 09:39:39 -05:00
Daniel Tang
4a245c23b5 Add support for user:pass@url repositories to be hg-like 2009-04-06 11:19:51 -04:00
Dan Villiom Podlaski Christiansen
858bc7c969 Minor tweaks to how the tests are run. 2009-03-27 03:42:52 +01:00
Patrick Mezard
ae52abfad6 Convert svn:externals properties into a .hgsvnexternals file 2009-01-02 15:54:05 -06:00
Patrick Mezard
f64f7be3b4 fetch_command: cancel patching when encountering binary diffs
Mercurial patching code does not support hunks with embedded nul characters.
2008-12-30 20:33:56 -06:00
Augie Fackler
42010019a9 authormap: Add tests, fix in stupid mode. 2008-12-30 20:14:03 -06:00
Augie Fackler
6f8b90fbad utility_commands: Implement rebuildmeta so that metadata can be rebuilt.
hg_delta_editor: Fixed some longstanding branch_info bugs detected while
rebuilding meta.
2008-12-23 22:19:26 -06:00
Augie Fackler
bb1ad558ba tests: Fix some missing suite definitions so that running the full testsuite
does not require installing nose.
2008-12-23 17:45:34 -06:00
Patrick Mezard
a9f4c82415 run.py: register and develop test_fetch_symlinks 2008-12-10 11:03:19 -06:00
Patrick Mezard
cc0dbae2c2 Move and complete execute bit conversion tests into test_fetch_exec.py 2008-12-10 11:03:18 -06:00
Patrick Mezard
05423736da Add a disabled test for unrelated branches
The fix is not obvious but preserving the test helps fixing other stuff.
2008-11-29 11:25:01 -06:00
Patrick Mezard
551321fbc7 Add a test to check EOLs are correctly converted 2008-11-20 22:41:16 -06:00
Patrick Mezard
074290e2b2 fetch_command: handle nullid parent in stupid non-diffy mode 2008-11-14 16:18:24 -06:00
Patrick Mezard
f1278f2869 push_cmd: delete empty svn directories, refactor directory creation 2008-11-14 16:18:24 -06:00
Patrick Mezard
b4460d5cb9 hg_delta_editor: register svn file copies 2008-11-05 13:37:07 +01:00
Augie Fackler
b7e24a980b Add tests for tags and fix a bug in the tag-finding code that was found by the tests. 2008-10-08 20:37:01 -05:00
Augie Fackler
b4aa725c13 Fix a stupid mistake. A reminder of why Nose is handy. 2008-10-07 22:19:18 -05:00
Augie Fackler
7a17d8e401 Add a basic system for running the hgsubversion tests (although not the svnwrap ones) without requiring Nose. Nose is still the recommended way to run the tests.
Also added some tests for pushing.
2008-10-07 22:13:14 -05:00