unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 3a0e90a3ecf93200e5f38a854e2c57183dacda8b 406 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
17
18
19
20
21
22
23
 
#ifndef _NOTMUCH_TEST_H
#define _NOTMUCH_TEST_H
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/wait.h>
#include <talloc.h>
#include <unistd.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 3a0e90a3 ...
found 3a0e90a3 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).