From: Dmitry Gutov Date: Mon, 11 Jan 2016 21:17:49 +0000 (+0300) Subject: test/automated/vc-hg.el: Support out-of-tree build X-Git-Tag: emacs-25.0.90~198 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1f6898d0510cd15455f665c0f38451755a374243;p=emacs.git test/automated/vc-hg.el: Support out-of-tree build * test/automated/vc-hg.el (vc-hg-annotate-extract-revision-at-line-with-filename) (vc-hg-annotate-extract-revision-at-line-with-both): Don't refer to source-directory. http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00755.html --- diff --git a/test/automated/vc-hg.el b/test/automated/vc-hg.el index 68282713a8a..ba966598c4d 100644 --- a/test/automated/vc-hg.el +++ b/test/automated/vc-hg.el @@ -34,8 +34,7 @@ (should (equal (vc-hg-annotate-extract-revision-at-line) (cons "215" - (expand-file-name "test/automated/CONTENTS" - source-directory)))))) + (expand-file-name "CONTENTS")))))) (ert-deftest vc-hg-annotate-extract-revision-at-line-with-user () (with-temp-buffer @@ -49,8 +48,7 @@ (should (equal (vc-hg-annotate-extract-revision-at-line) (cons "218075" - (expand-file-name "test/automated/CLOBBER" - source-directory)))))) + (expand-file-name "CLOBBER")))))) (ert-deftest vc-hg-annotate-time () (with-temp-buffer