File: testthat.h

package info (click to toggle)
r-cran-sourcetools 0.1.7-1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 308 kB
  • sloc: cpp: 1,985; ansic: 505; sh: 10; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef SOURCETOOLS_TESTS_TESTTHAT_H
#define SOURCETOOLS_TESTS_TESTTHAT_H

// disable testthat with older gcc
#if defined(__GNUC__) && defined(__GNUC_MINOR__) && !defined(__clang__)
# if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6)
#  define TESTTHAT_DISABLED
# endif
#endif

// include testthat.h
#include <testthat.h>

#endif /* SOURCETOOLS_TESTS_TESTTHAT_H */