]> git.notmuchmail.org Git - notmuch/blobdiff - test/README
test: add support for compiling and running C snippets
[notmuch] / test / README
index 81a1c82dcdbdb9487cdbc701f7db5aa6bd9c43f0..daf416002ae16274757e06649647563cccd79caf 100644 (file)
@@ -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
 ---------------