diff options
| author | David Bremner <david@tethera.net> | 2015-03-14 09:02:03 +0100 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2015-03-29 00:33:56 +0100 |
| commit | 1e69afe8af3512c45061cfde99c9f98e1f94e20c (patch) | |
| tree | 7f8ad1626b5f5792aa3beddac43ec6eeaeda03f6 /test/README | |
| parent | baf93369f6a204bc16740358a56af95cbaa1f9b5 (diff) | |
test: add support for compiling and running C snippets
This is to limit the copy-pasta involved in running C tests. I decided
to keep things simple and not try to provide an actual C skeleton.
The setting of LD_LIBRARY_PATH is to force using the built libnotmuch
rather than any potential system one.
Diffstat (limited to 'test/README')
| -rw-r--r-- | test/README | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/README b/test/README index 81a1c82d..daf41600 100644 --- a/test/README +++ b/test/README @@ -84,6 +84,11 @@ the tests in one of the following ways. TEST_EMACS=my-special-emacs TEST_EMACSCLIENT=my-emacsclient ./emacs make test TEST_EMACS=my-special-emacs TEST_EMACSCLIENT=my-emacsclient +Some tests may require a c compiler. You can choose the name and flags similarly +to with emacs, e.g. + + make test TEST_CC=gcc TEST_CFLAGS="-g -O2" + Quiet Execution --------------- |
