Patchwork D9017: tests: make emacs test less strict

login
register
mail settings
Submitter phabricator
Date Sept. 11, 2020, 4:55 p.m.
Message ID <differential-rev-PHID-DREV-siqdwj2kw37sdhhibpwp-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47146/
State Superseded
Headers show

Comments

phabricator - Sept. 11, 2020, 4:55 p.m.
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




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

Patch

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)