summaryrefslogtreecommitdiffstats
path: root/Tests/Preprocess/preprocess.c
diff options
context:
space:
mode:
authorFrancisco Facioni <fran6co@gmail.com>2020-01-10 14:00:43 (GMT)
committerBrad King <brad.king@kitware.com>2020-02-28 16:07:38 (GMT)
commit1ae9ddbb9dc763564255ecdf1ad25925f7982451 (patch)
treed4232306eb61813f1f3fffd763fe76058a37ed96 /Tests/Preprocess/preprocess.c
parent2caae281722b645a5842e1f1689b152b72bb6038 (diff)
downloadCMake-1ae9ddbb9dc763564255ecdf1ad25925f7982451.zip
CMake-1ae9ddbb9dc763564255ecdf1ad25925f7982451.tar.gz
CMake-1ae9ddbb9dc763564255ecdf1ad25925f7982451.tar.bz2
Tests: Output the expected value in Preprocess test for debugging
Diffstat (limited to 'Tests/Preprocess/preprocess.c')
-rw-r--r--Tests/Preprocess/preprocess.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Tests/Preprocess/preprocess.c b/Tests/Preprocess/preprocess.c
index 958c77e..b3117da 100644
--- a/Tests/Preprocess/preprocess.c
+++ b/Tests/Preprocess/preprocess.c
@@ -15,21 +15,21 @@ int check_defines_C(void)
result = 0;
}
if (strcmp(TARGET_STRING, STRING_VALUE) != 0) {
- fprintf(stderr, "TARGET_STRING has wrong value in C [%s]\n",
- TARGET_STRING);
+ fprintf(stderr, "TARGET_STRING has wrong value in C [%s] vs [%s]\n",
+ TARGET_STRING, STRING_VALUE);
result = 0;
}
{
int x = 2;
int y = 3;
if ((FILE_EXPR) != (EXPR)) {
- fprintf(stderr, "FILE_EXPR did not work in C [%s]\n",
- TO_STRING(FILE_EXPR));
+ fprintf(stderr, "FILE_EXPR did not work in C [%s] vs [%s]\n",
+ TO_STRING(FILE_EXPR), TO_STRING(EXPR));
result = 0;
}
if ((TARGET_EXPR) != (EXPR)) {
- fprintf(stderr, "TARGET_EXPR did not work in C [%s]\n",
- TO_STRING(FILE_EXPR));
+ fprintf(stderr, "TARGET_EXPR did not work in C [%s] vs [%s]\n",
+ TO_STRING(TARGET_EXPR), TO_STRING(EXPR));
result = 0;
}
}