view tests/test-contrib-emacs.t @ 43622:45c15ed06f33

tests: add optional output when wheel is missing If the `wheel` package isn't installed, pip will emit a warning on stderr complaining about that. Alternatively, we could redirect stderr to stdout and swallow the warning. But I like tests having visibility of warnings, as it helps keep us honest regarding edge cases. Differential Revision: https://phab.mercurial-scm.org/D7371
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 11 Nov 2019 19:04:49 -0800
parents 19979b8b87e2
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)