<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/Makefile.local, branch 0.15.2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.15.2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.15.2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2012-12-06T21:14:36Z</updated>
<entry>
<title>Changing build tool for test/random-corpus to CXX instead of CC.</title>
<updated>2012-12-06T21:14:36Z</updated>
<author>
<name>Peter Feigl</name>
<email>craven@gmx.net</email>
</author>
<published>2012-12-04T13:47:00Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2bd922ff06a4e989dc05a1a6739f649c85dae92e'/>
<id>urn:sha1:2bd922ff06a4e989dc05a1a6739f649c85dae92e</id>
<content type='text'>
Without this change, GCC complains as follows:
gcc  test/random-corpus.o test/database-test.o notmuch-config.o command-line-arguments.o lib/libnotmuch.a util/libutil.a parse-time-string/libparse-time-string.a -o test/random-corpus -lgmime-2.6 -lgio-2.0 -lgobject-2.0 -lglib-2.0   -Wl,-rpath,/usr/lib -ltalloc   -lxapian
/usr/bin/ld: lib/libnotmuch.a(database.o): undefined reference to symbol '_ZNSs4_Rep10_M_destroyERKSaIcE@@GLIBCXX_3.4'
/usr/bin/ld: note: '_ZNSs4_Rep10_M_destroyERKSaIcE@@GLIBCXX_3.4' is defined in DSO /usr/lib/libstdc++.so.6 so try adding it to the linker command line
/usr/lib/libstdc++.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [test/random-corpus] Error 1
</content>
</entry>
<entry>
<title>test: add generator for random "stub" messages</title>
<updated>2012-12-02T19:51:32Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-08-05T18:13:12Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=76fa93e2a2002940335c941e76e94d69abd71fe9'/>
<id>urn:sha1:76fa93e2a2002940335c941e76e94d69abd71fe9</id>
<content type='text'>
Initial use case is testing dump and restore, so we only have
message-ids and tags.

The message ID's are nothing like RFC compliant, but it doesn't seem
any harder to roundtrip random UTF-8 strings than RFC-compliant ones.

Tags are UTF-8, even though notmuch is in principle more generous than
that.

updated for id:m2wr04ocro.fsf@guru.guru-group.fi

- talk about Unicode value rather some specific encoding
- call talloc_realloc less times
</content>
</entry>
<entry>
<title>test: add database routines for testing</title>
<updated>2012-12-02T19:51:32Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-08-05T18:13:11Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=990e3988ce0f8ad1993e91635a46904c3c75fff5'/>
<id>urn:sha1:990e3988ce0f8ad1993e91635a46904c3c75fff5</id>
<content type='text'>
Initially, provide a way to create "stub" messages in the notmuch
database without corresponding files.  This is essentially cut and
paste from lib/database.cc. This is a seperate file since we don't
want to export these symbols from libnotmuch or bloat the library with
non-exported code.
</content>
</entry>
<entry>
<title>test/hex-xcode: new test binary</title>
<updated>2012-12-02T13:14:59Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-06-14T22:08:37Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4216e830e9a372fa45f482dd710e7ecc2af212ca'/>
<id>urn:sha1:4216e830e9a372fa45f482dd710e7ecc2af212ca</id>
<content type='text'>
This program is used both as a test-bed/unit-tester for
../util/hex-escape.c, and also as a utility in future tests of dump
and restore.
</content>
</entry>
<entry>
<title>test: add new test tool parse-time for date/time parser</title>
<updated>2012-10-31T19:44:55Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2012-10-30T20:32:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=519be192501bae330db78af728c4d6e26b9053ee'/>
<id>urn:sha1:519be192501bae330db78af728c4d6e26b9053ee</id>
<content type='text'>
Add a smoke testing tool to support testing the date/time parser
module directly and independent of the rest of notmuch.

Credits to Michal Sojka &lt;sojkam1@fel.cvut.cz&gt; for the stdin parsing
idea and consequent massive improvement in testability.
</content>
</entry>
<entry>
<title>test/Makefile.local: Use $(XAPIAN_LDFLAGS) for symbol-test</title>
<updated>2012-09-02T02:16:05Z</updated>
<author>
<name>Mike Kelly</name>
<email>pioto@pioto.org</email>
</author>
<published>2012-05-30T07:01:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8428e0465a24858dbe0e002539607c018c9c6839'/>
<id>urn:sha1:8428e0465a24858dbe0e002539607c018c9c6839</id>
<content type='text'>
On FreeBSD, and probably anywhere else someone installed xapian to
some other prefix, we need to use XAPIAN_LDFLAGS to make the linker can
actually find libxapian.
</content>
</entry>
<entry>
<title>build system: remove directories created by tests in "make clean"</title>
<updated>2012-08-03T00:09:45Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-08-02T12:27:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8a745d310f966194e82f12f6453f05cc877379d6'/>
<id>urn:sha1:8a745d310f966194e82f12f6453f05cc877379d6</id>
<content type='text'>
These extra directories cause problems for building on Debian
twice in a row.

In order to remove directories, we need to us "rm -rf" instead of
"rm -f". So now we should be extra careful what we add to the
variable CLEAN.
</content>
</entry>
<entry>
<title>Fix dependency generation for compat, test, and util</title>
<updated>2012-01-19T13:19:12Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-01-15T20:20:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5c12ee4b5d942b5c9efc79922d25b1cf9934aab0'/>
<id>urn:sha1:5c12ee4b5d942b5c9efc79922d25b1cf9934aab0</id>
<content type='text'>
This adds source files in compat, test, and util to SRCS so that the
top-level Makefile.local will generate dependency files for them.
</content>
</entry>
<entry>
<title>Fix build with binutils-2.22</title>
<updated>2011-12-18T01:54:21Z</updated>
<author>
<name>Thomas Jost</name>
<email>schnouki@schnouki.net</email>
</author>
<published>2011-12-15T19:41:58Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6dcd575d7be806dfaac5facba6fb6908a6ae076b'/>
<id>urn:sha1:6dcd575d7be806dfaac5facba6fb6908a6ae076b</id>
<content type='text'>
binutils-2.22 changes the behaviour of ld by defaulting to
--no-copy-dt-needed-entries, which means that required objects/libs are not
"indirectly" linked through intermediate objects/libs anymore. As a consequence,
when using binutils-2.22, building symbol-test fails with the following error:

    /usr/bin/ld: test/symbol-test.o: undefined reference to symbol
    'std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt;
    &gt;::~basic_string()@@GLIBCXX_3.4'

    /usr/bin/ld: note: 'std::basic_string&lt;char, std::char_traits&lt;char&gt;,
    std::allocator&lt;char&gt; &gt;::~basic_string()@@GLIBCXX_3.4' is defined in DSO
    /usr/lib/libstdc++.so.6 so try adding it to the linker command line

    /usr/lib/libstdc++.so.6: could not read symbols: Invalid operation

An easy fix is to link using CXX instead of CC.
</content>
</entry>
<entry>
<title>test: tests for command-line-arguments.c</title>
<updated>2011-12-09T00:24:24Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-12-07T18:37:13Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5800a44bd5b77390d2243426f0c82de4d0495a1c'/>
<id>urn:sha1:5800a44bd5b77390d2243426f0c82de4d0495a1c</id>
<content type='text'>
This was needed because no current notmuch code exercises the
NOTMUCH_OPT_STRING style arguments.
</content>
</entry>
</feed>
