unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 4a45a668399091e6cd93a5100c9243d18eed9dc6 518 bytes (raw)
name: test/emacs-ert 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
 
#!/bin/bash
test_description="emacs interface (ert)"
. test-lib.sh

EXPECTED=../emacs.expected-output

test_begin_subtest "Emacs tests using ert"
output=$(emacs \
    --batch --no-init-file --no-site-file \
    --directory ../../emacs --directory ../ert \
    --load notmuch-test.el \
    --eval "(notmuch-test-batch)" \
    2>&1 | sed -e 's/[0-9][0-9]*-[0-9][0-9]-[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9].[0-9][0-9]*/today/g')
expected=$(cat $EXPECTED/emacs-ert)
test_expect_equal "$output" "$expected"

test_done

debug log:

solving 4a45a66 ...
found 4a45a66 in https://yhetil.org/notmuch/1290682750-30283-3-git-send-email-dme@dme.org/

applying [1/1] https://yhetil.org/notmuch/1290682750-30283-3-git-send-email-dme@dme.org/
diff --git a/test/emacs-ert b/test/emacs-ert
new file mode 100755
index 0000000..4a45a66

Checking patch test/emacs-ert...
Applied patch test/emacs-ert cleanly.

index at:
100755 4a45a668399091e6cd93a5100c9243d18eed9dc6	test/emacs-ert

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).