Mercurial > hg
comparison tests/test-extension @ 7429:dbc40381620e
tests: Skip tests if they will fail because of outer repo
For different reasons these tests will fail if run in a tmpdir which is in a hg
repo.
The following three tests assumes no .hg in path dirs - I don't know how to
work around that:
* test-dispatch explicitly tests for no repo and expects "abort: There is no
Mercurial repository here (.hg not found)!"
* test-extension expects parentui to be None when not cd'ed to a repo dir
* test-globalopts tests that implicit -R works correctly - that could perhaps be
done from another repo instead of assuming no repo
The following two might be worth investigating further:
* test-convert-svn-sink fails for unknown reasons, starting with "abort:
unresolved merge conflicts (see hg resolve)"
* test-glog gets strange failures when testing "from outer space"
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 27 Nov 2008 00:57:31 +0100 |
parents | 7da76778dbd7 |
children | d2899a856f9f |
comparison
equal
deleted
inserted
replaced
7428:fdcde929ce4f | 7429:dbc40381620e |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 # Test basic extension support | 2 # Test basic extension support |
3 | |
4 "$TESTDIR/hghave" no-outer-repo || exit 80 | |
3 | 5 |
4 cat > foobar.py <<EOF | 6 cat > foobar.py <<EOF |
5 import os | 7 import os |
6 from mercurial import commands | 8 from mercurial import commands |
7 | 9 |