view tests/test-contrib-emacs.t @ 41788:19979b8b87e2

tests: add test for hg-test-mode emacs code This is just coverage for the compilation-mode support, but that was enough of a hassle that I wanted to have it covered somehow. Test methodology is _extremely_ cargo-culted from the test for compilation-mode in emacs, so I still have no idea what I'm doing. Differential Revision: https://phab.mercurial-scm.org/D6003
author Augie Fackler <augie@google.com>
date Thu, 21 Feb 2019 23:07:54 -0500
parents
children 814c7430f828
line wrap: on
line source

#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
  
  Ran 1 tests, 1 results as expected (*) (glob)