diff options
Diffstat (limited to 'Tests/LoadCommandOneConfig/LoadedCommand.cxx')
-rw-r--r-- | Tests/LoadCommandOneConfig/LoadedCommand.cxx | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/Tests/LoadCommandOneConfig/LoadedCommand.cxx b/Tests/LoadCommandOneConfig/LoadedCommand.cxx deleted file mode 100644 index c58bcf1..0000000 --- a/Tests/LoadCommandOneConfig/LoadedCommand.cxx +++ /dev/null @@ -1,41 +0,0 @@ -#include "LoadedCommand.h" -#include <stdio.h> - -int testSizeOf(int s1, int s2) -{ - return s1 - s2; -} - -int main () -{ - int ret = 0; -#ifdef HAVE_VSBLABLA - printf("Should not be able to find vsblabla\n"); - ret = 1; -#endif - -#if !defined( HAVE_PRINTF ) - printf("Should be able to find printf\n"); - ret= 1; -#endif - -#if !defined( ADDED_DEFINITION ) - printf("Should have ADDED_DEFINITION defined\n"); - ret= 1; -#endif -#if !defined(CMAKE_IS_FUN) - printf("Loaded Command was not built with CMAKE_IS_FUN: failed.\n"); - ret = 1; -#endif - if(testSizeOf(SIZEOF_CHAR, sizeof(char))) - { - printf("Size of char is broken.\n"); - ret = 1; - } - if(testSizeOf(SIZEOF_SHORT, sizeof(short))) - { - printf("Size of short is broken.\n"); - ret = 1; - } - return ret; -} |