tests/test-contrib-emacs.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 28 Jul 2021 13:18:13 +0200
branchstable
changeset 47775 036b9b3cc79a
parent 45460 814c7430f828
permissions -rw-r--r--
run-tests: use a small timeout for chg instance There is case where the test runner fails to clean up the temporary files in that case, spawned chg instance can stay around for 1 hours. Getting them to shut down sooner cannot hurt. (We should also use a more robust approach for this cleanup) Differential Revision: https://phab.mercurial-scm.org/D11227

#require emacs
  $ emacs -q -no-site-file -batch -l $TESTDIR/../contrib/hg-test-mode.el \
  >  -f ert-run-tests-batch-and-exit
  Running 1 tests (*) (glob)
     passed  1/1  hg-test-mode--compilation-mode-support* (glob)
  
  Ran 1 tests, 1 results as expected* (glob)