Files
libfaketime/test/_use_lib_test.c
Daniel Kahn Gillmor 7e62881c8f Name "snippets" explicitly
Earlier, this code was conceived of to test a "function" specifically,
but some future snippet could test multiple function calls, or a
subset of a function call (e.g. snippets/syscall_clock_gettime.c
already only tests one particular syscall diversion number).

Normalizing on the name "snippet" should make it easier to understand
the code going forward.
2021-03-01 15:06:22 -05:00

8 lines
178 B
C

#include "snippets/include_headers.h"
extern void SNIPPET_NAME_as_needed();
#define where "program"
int main() {
SNIPPET_NAME_as_needed();
#include "snippets/SNIPPET_NAME.c"
}