[Cmake-commits] CMake branch, next, updated. v2.8.11.2-3235-g6642eca

Stephen Kelly steveire at gmail.com
Thu Jul 18 15:50:59 EDT 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  6642ecadef89ef85ed0e0f5677ceb1b73e2a0994 (commit)
       via  444afd91f55fc2e8cabd8d9d275623f9f0f78238 (commit)
      from  76151237b9c502c9b7f452ddfc85ad9feb0d8d19 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6642ecadef89ef85ed0e0f5677ceb1b73e2a0994
commit 6642ecadef89ef85ed0e0f5677ceb1b73e2a0994
Merge: 7615123 444afd9
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Thu Jul 18 15:50:57 2013 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Jul 18 15:50:57 2013 -0400

    Merge topic 'compile-defs-debugging' into next
    
    444afd9 Differentiate tests.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=444afd91f55fc2e8cabd8d9d275623f9f0f78238
commit 444afd91f55fc2e8cabd8d9d275623f9f0f78238
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Thu Jul 18 21:50:26 2013 +0200
Commit:     Stephen Kelly <steveire at gmail.com>
CommitDate: Thu Jul 18 21:50:26 2013 +0200

    Differentiate tests.

diff --git a/Tests/CompileDefinitions/runtest.c b/Tests/CompileDefinitions/runtest.c
index 9a236e9..8eec1a8 100644
--- a/Tests/CompileDefinitions/runtest.c
+++ b/Tests/CompileDefinitions/runtest.c
@@ -44,12 +44,24 @@ int main()
     }
 #endif
 #ifdef TEST_SEMICOLON
-  if(strcmp(SEMICOLON_STRING1, "foo;bar") != 0
-      || strcmp(SEMICOLON_STRING2, "foo;bar") != 0
-      || strcmp(SEMICOLON_STRING3, "foo;bar") != 0
-      || strcmp(SEMICOLON_STRING4, "foo;bar") != 0)
+  if(strcmp(SEMICOLON_STRING1, "foo;bar") != 0)
     {
-    fprintf(stderr, "SEMICOLON_STRING is not \"foo;bar\"\n");
+    fprintf(stderr, "SEMICOLON_STRING1 is not \"foo;bar\"\n");
+    return 1;
+    }
+  if(strcmp(SEMICOLON_STRING2, "foo;bar") != 0)
+    {
+    fprintf(stderr, "SEMICOLON_STRING2 is not \"foo;bar\"\n");
+    return 1;
+    }
+  if(strcmp(SEMICOLON_STRING3, "foo;bar") != 0)
+    {
+    fprintf(stderr, "SEMICOLON_STRING3 is not \"foo;bar\"\n");
+    return 1;
+    }
+  if(strcmp(SEMICOLON_STRING4, "foo;bar") != 0)
+    {
+    fprintf(stderr, "SEMICOLON_STRING4 is not \"foo;bar\"\n");
     return 1;
     }
 #endif

-----------------------------------------------------------------------

Summary of changes:
 Tests/CompileDefinitions/runtest.c |   22 +++++++++++++++++-----
 1 files changed, 17 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list