unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 45d03d67540a795540da7287e1212d460b6289af 279 bytes (raw)
name: test/notmuch-test.h 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
#ifndef _NOTMUCH_TEST_H
#define _NOTMUCH_TEST_H
#include <stdio.h>
#include <notmuch.h>

inline static void
expect0(int line, notmuch_status_t ret)
{
   if (ret) {
	fprintf (stderr, "line %d: %d\n", line, ret);
	exit (1);
   }
}

#define EXPECT0(v)  expect0(__LINE__, v);
#endif

debug log:

solving 45d03d67 ...
found 45d03d67 in https://yhetil.org/notmuch.git/

(*) 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).