sapling/tests
Laurent Charignon 1e1c21421b fastmanifest: don't stop when we cannot get the lock
Summary:
Before this patch we were stopping execution when the lock couldn't
be taken. This was problematic when running hg command for someone else's repo
(for example to debug problems). This patch allows us to continue the execution
of the command when that happen, except we won't use fastmanifest.

Test Plan: This is reflected in the test output

Reviewers: ttung

Differential Revision: https://phabricator.intern.facebook.com/D3422458
2016-06-13 15:26:55 -07:00
..
blacklist-sqldirstate sqldirstate: disable tests using hooks 2016-05-25 14:12:09 -07:00
conduithttp.py fbconduit: the deamon-postexec is a list now 2016-03-31 13:34:21 -07:00
dummyext1.py cleanup: make all the code compliant with the i18n rules for ui strings 2016-01-11 10:19:22 -08:00
dummyext2.py cleanup: make all the code compliant with the i18n rules for ui strings 2016-01-11 10:19:22 -08:00
histedit-helpers.sh fb-histedit: Add a histedit extension that adds stop 2014-10-09 10:54:43 -07:00
killdaemons.py Add missing killdaemons 2015-11-09 12:21:39 -08:00
README spelling: fix numerous spelling errors 2016-04-04 12:48:01 -07:00
run-sqlitedirstate-test.py sqldirstate: the extension 2016-05-06 16:56:45 -07:00
test-arcconfig.t add arcconfig accessors 2016-04-27 09:27:56 -07:00
test-backup.t backups: show warning message for createmarkers even when evolve is not enabled 2016-01-11 07:41:42 -08:00
test-catnotate.t echo -n not platform-agnostic 2016-06-10 13:37:24 -07:00
test-check-code-hg.t [fastmanifes] rename fastmanifest_wrapper as cfastmanifest 2016-05-26 11:34:56 -07:00
test-commitextras.t cleanup: use backtick instead of parent to capture output of shell cmd 2016-01-07 18:30:24 -08:00
test-diff-since-last-arc-diff.t hgext: refactor last-diff code into diffprops.py 2016-05-12 13:11:08 -07:00
test-dirsync.t dirsync: disable dirsync during shelve/unshelve 2016-05-05 14:51:59 -07:00
test-errorredirect.t errorredirect: wrap handlecommandexception instead of sys.exit 2016-04-19 10:59:22 -07:00
test-extorder.t extorder: Fix test 2015-12-15 09:23:53 -08:00
test-fastmanifest-access.t [fastmanifest] split test-fastmanifest.t into multiple files 2016-06-03 17:03:55 -07:00
test-fastmanifest-permission.t fastmanifest: don't stop when we cannot get the lock 2016-06-13 15:26:55 -07:00
test-fastmanifest-remotenames.t [fastmanifest] record repos that need cache updates, execute once at end 2016-05-29 10:03:39 -07:00
test-fastmanifest-writepath.t [fastmanifest] fastpath for manifest writing 2016-06-08 10:46:11 -07:00
test-fastmanifest.py fastmanifest: pass dummyui in test-fastmanifest.py and remove None guard 2016-06-01 13:46:38 -07:00
test-fastmanifest.t fastmanifest: add metrics collection 2016-06-08 14:34:26 -07:00
test-fbamend.t fbamend: fix some bugs & style issues in unamend implementation 2016-04-26 04:58:59 -07:00
test-fbconduit.t cleanup: fix quoting patterns in tests 2016-01-07 18:30:24 -08:00
test-fbhistedit-exec-obsolete.t adjust tests for "hg update" output change 2016-02-08 14:46:24 -08:00
test-fbhistedit-exec.t adjust tests for "hg update" output change 2016-02-08 14:46:24 -08:00
test-fbhistedit-rebase-interactive.t fbhistedit: update to work with upstream histedit 2016-01-20 13:40:15 -08:00
test-fbhistedit-stop-obsolete.t spelling: fix numerous spelling errors 2016-04-04 12:48:01 -07:00
test-fbhistedit-stop.t fix test-fbhistedit-stop.t test 2016-06-10 13:37:33 -07:00
test-git-getmeta.t Dropped local run-tests in favour of using mercurial's own test runner 2015-10-01 13:03:03 -07:00
test-githelp.t githelp: change advice to log task with sourcecontrolux tag 2016-04-28 04:14:31 -07:00
test-grepdiff.t grepdiff: an revset for code archeology 2016-06-06 14:16:10 -07:00
test-inhibitwarn.t cleanup: fix whitespaces in expression and trailing whitespaces 2016-01-07 18:30:24 -08:00
test-mergedriver.t test: match new quoting conventions in core 2016-04-19 15:33:58 -07:00
test-morestatus.t test: match new quoting conventions in core 2016-04-19 15:33:58 -07:00
test-patchpython.py patchpython: new extension to patch buggy Python modules 2016-06-03 11:11:30 +01:00
test-perftweaks.t test-perftweaks: fix file permission test case 2016-04-07 16:53:18 -07:00
test-phabdiff.t phabdiff: make phabdiff more URL-agnostic 2016-04-28 10:55:06 -07:00
test-phabstatus.t Add conduit client 2016-04-27 09:27:56 -07:00
test-pull-createmarkers-hide-later.t [pullcreatemarkers] also obsolete parents of commits landed in this pull 2016-03-21 18:08:04 -07:00
test-pull-createmarkers.t phabdiff: make phabdiff more URL-agnostic 2016-04-28 10:55:06 -07:00
test-pushrebase-protection.t store the pushvars in the bundle2 operation object 2016-02-18 21:32:11 -08:00
test-pushrebase-remotenames.t pushrebase: support pushing to non-pushrebase repos 2016-03-22 10:57:29 -07:00
test-pushrebase.t Fix graphmod-related test failures 2016-04-19 11:19:20 +01:00
test-pushvars-remotenames.t store the pushvars in the bundle2 operation object 2016-02-18 21:32:11 -08:00
test-pushvars.t store the pushvars in the bundle2 operation object 2016-02-18 21:32:11 -08:00
test-rage.t rage: silence exceptions when reading details 2016-02-11 21:00:33 +00:00
test-reflog-remotenames.t extutil: move wrapfilecache from reflog to extutil 2016-05-19 16:25:28 -07:00
test-reflog.t extutil: move wrapfilecache from reflog to extutil 2016-05-19 16:25:28 -07:00
test-reset-remotenames.t cleanup: use backtick instead of parent to capture output of shell cmd 2016-01-07 18:30:24 -08:00
test-reset.t cleanup: use backtick instead of parent to capture output of shell cmd 2016-01-07 18:30:24 -08:00
test-sampling.t sampling: add event filtering 2016-06-07 10:24:56 -07:00
test-scm-prompt-git.t scm-prompt: add test for git behavior 2016-04-29 10:49:36 -07:00
test-scm-prompt-hg.t scm-prompt: fix check-code test problems 2016-04-29 06:58:12 -07:00
test-share-reflog-remotebookmark.t extutil: move wrapfilecache from reflog to extutil 2016-05-19 16:25:28 -07:00
test-show.t spelling: fix numerous spelling errors 2016-04-04 12:48:01 -07:00
test-simplecache.t cleanup: use backtick instead of parent to capture output of shell cmd 2016-01-07 18:30:24 -08:00
test-smartlog-remotenames.t smartlog: warn user when there is no master commit locally 2016-02-02 11:15:28 -08:00
test-smartlog-tweakdefaults.t smartlog: add template keywords that would display rebase/amend targets 2016-04-27 04:14:12 -07:00
test-smartlog.t Fix graphmod-related test failures 2016-04-19 11:19:20 +01:00
test-sparse-clone.t [sparse] fix check-code errors in sparse 2016-02-08 14:27:09 -08:00
test-sparse-extensions.t Prepare for hgwatchman being replaced by fsmonitor 2016-04-14 10:59:05 +01:00
test-sparse-merges.t sparse: fix temporary includes that are not in working copy 2015-05-19 10:18:50 -07:00
test-sparse-profiles.t sparse: update test output with simple change 2016-01-20 13:40:15 -08:00
test-sparse.t spelling: fix numerous spelling errors 2016-04-04 12:48:01 -07:00
test-sqldirstate-shelve.t sqldirstate: test for interaction with shelve 2016-05-26 13:21:52 -07:00
test-sqldirstate-upgrade.t sqldirstate: write a flat dirstate with just parents for backwards comp 2016-05-27 14:54:48 -07:00
test-tweakdefaults-blame.t fix code that didn't pass test-check-code-hg.t 2016-04-07 15:52:47 -07:00
test-tweakdefaults-histgrep.t histgrep: add a config option to allow histgrepping on the whole repo 2016-02-11 03:39:59 -08:00
test-tweakdefaults-opawarecommands.t tweakdefaults: make amend/rebase write their names to metadata 2016-04-25 08:12:10 -07:00
test-tweakdefaults-ordering.t cleanup: use backtick instead of parent to capture output of shell cmd 2016-01-07 18:30:24 -08:00
test-tweakdefaults-remotenames.t cleanup: use backtick instead of parent to capture output of shell cmd 2016-01-07 18:30:24 -08:00
test-tweakdefaults.t tweakdefaults: make rebaseskipobsolete behave in a more expected way 2016-06-11 15:25:13 -07:00

How to run Facebook experimental extensions tests
=================================================

Running the tests
-----------------

To run the tests, `cd` into this directory (./tests/) and run the `run-tests.py`
script from the core Mercurial repository (tests directory too).

For example if you have a 'hg-crew' repository checked out next to this one,
use:

  ../../hg-crew/tests/run-tests.py

Obtaining the test runners
--------------------------

If you do not already have a copy of the Mercurial repository, you can obtains
one with:

  $ hg clone http://selenic.com/hg/

Running against various Mercurial versions
------------------------------------------

By default, the test runners will run against the version of Mercurial in the
repository it lives in. you can run against other version of Mercurial using
the --with-hg=PATH flag. For example to run against the installed version of
Mercurial you can use --with-hg=`which hg`