D9017: tests: make emacs test less strict

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Fri Sep 11 16:55:29 UTC 2020


martinvonz created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  It was failing like this for me:
  
    @@ -2,7 +2,7 @@
       $ 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
    +     passed  1/1  hg-test-mode--compilation-mode-support (0.045732 sec)
    
    -  Ran 1 tests, 1 results as expected (*) (glob)
    +  Ran 1 tests, 1 results as expected, 0 unexpected (2020-09-11 16:49:56+0000, 0.046034 sec)

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D9017

AFFECTED FILES
  tests/test-contrib-emacs.t

CHANGE DETAILS

diff --git a/tests/test-contrib-emacs.t b/tests/test-contrib-emacs.t
--- a/tests/test-contrib-emacs.t
+++ b/tests/test-contrib-emacs.t
@@ -2,7 +2,7 @@
   $ 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
+     passed  1/1  hg-test-mode--compilation-mode-support* (glob)
   
-  Ran 1 tests, 1 results as expected (*) (glob)
+  Ran 1 tests, 1 results as expected* (glob)
   



To: martinvonz, #hg-reviewers
Cc: mercurial-patches, mercurial-devel


More information about the Mercurial-devel mailing list