Debian Codegraph @

inst/include/sourcetools/tests/testthat.h

raw
1 #ifndef SOURCETOOLS_TESTS_TESTTHAT_H
2 #define SOURCETOOLS_TESTS_TESTTHAT_H
3
4 // disable testthat with older gcc
5 #if defined(__GNUC__) && defined(__GNUC_MINOR__) && !defined(__clang__)
6 # if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6)
7 # define TESTTHAT_DISABLED
8 # endif
9 #endif
10
11 // include testthat.h
12 #include <testthat.h>
13
14 #endif /* SOURCETOOLS_TESTS_TESTTHAT_H */