mirror of
https://github.com/wolfcw/libfaketime.git
synced 2026-05-17 00:26:16 +03:00
tests: normalize "where" variable to include framework prefix and snippet name
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include "snippets/include_headers.h"
|
||||
#define where "library"
|
||||
#define where "libSNIPPET_NAME"
|
||||
void SNIPPET_NAME_as_needed() {
|
||||
printf(" called SNIPPET_NAME_as_needed() \n");
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "snippets/include_headers.h"
|
||||
#define where "direct"
|
||||
#define where "run_SNIPPET_NAME"
|
||||
int main() {
|
||||
#include "snippets/SNIPPET_NAME.c"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "snippets/include_headers.h"
|
||||
extern void SNIPPET_NAME_as_needed();
|
||||
#define where "program"
|
||||
#define where "use_lib_SNIPPET_NAME"
|
||||
int main() {
|
||||
SNIPPET_NAME_as_needed();
|
||||
#include "snippets/SNIPPET_NAME.c"
|
||||
|
||||
Reference in New Issue
Block a user