unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 1c1f34e2f3ffa05747188aa792d855d4c033449e 569 bytes (raw)
name: test/symbol-hiding 	 # 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
 
#!/usr/bin/env bash
#
# Copyright (c) 2011 David Bremner
#

test_description='exception symbol test

This test tests whether hiding Xapian::Error symbols in libnotmuch
also hides them for other users of libxapian. This is motivated by
the discussion in http://gcc.gnu.org/wiki/Visibility'

. ./test-lib.sh

output="Error opening database at /nonexistant/.notmuch: No such file or directory
caught No chert database found at path \`/nonexistant'"

g++ -o symbol-test ../symbol-test.cc -L../lib -lnotmuch -lxapian
test_expect_success "$message" ./symbol-test
test_done



debug log:

solving 1c1f34e ...
found 1c1f34e in https://yhetil.org/notmuch/1308744156-18123-1-git-send-email-david@tethera.net/

applying [1/1] https://yhetil.org/notmuch/1308744156-18123-1-git-send-email-david@tethera.net/
diff --git a/test/symbol-hiding b/test/symbol-hiding
new file mode 100755
index 0000000..1c1f34e

Checking patch test/symbol-hiding...
1:26: new blank line at EOF.
+
Applied patch test/symbol-hiding cleanly.
warning: 1 line adds whitespace errors.

index at:
100755 1c1f34e2f3ffa05747188aa792d855d4c033449e	test/symbol-hiding

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