tests/test-contrib-emacs.t
author Augie Fackler <augie@google.com>
Thu, 21 Feb 2019 23:07:54 -0500
changeset 41788 19979b8b87e2
child 45449 814c7430f828
permissions -rw-r--r--
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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
41788
19979b8b87e2 tests: add test for hg-test-mode emacs code
Augie Fackler <augie@google.com>
parents:
diff changeset
     1
#require emacs
19979b8b87e2 tests: add test for hg-test-mode emacs code
Augie Fackler <augie@google.com>
parents:
diff changeset
     2
  $ emacs -q -no-site-file -batch -l $TESTDIR/../contrib/hg-test-mode.el \
19979b8b87e2 tests: add test for hg-test-mode emacs code
Augie Fackler <augie@google.com>
parents:
diff changeset
     3
  >  -f ert-run-tests-batch-and-exit
19979b8b87e2 tests: add test for hg-test-mode emacs code
Augie Fackler <augie@google.com>
parents:
diff changeset
     4
  Running 1 tests (*) (glob)
19979b8b87e2 tests: add test for hg-test-mode emacs code
Augie Fackler <augie@google.com>
parents:
diff changeset
     5
     passed  1/1  hg-test-mode--compilation-mode-support
19979b8b87e2 tests: add test for hg-test-mode emacs code
Augie Fackler <augie@google.com>
parents:
diff changeset
     6
  
19979b8b87e2 tests: add test for hg-test-mode emacs code
Augie Fackler <augie@google.com>
parents:
diff changeset
     7
  Ran 1 tests, 1 results as expected (*) (glob)
19979b8b87e2 tests: add test for hg-test-mode emacs code
Augie Fackler <augie@google.com>
parents:
diff changeset
     8