summaryrefslogtreecommitdiffstats
path: root/Tests/LoadCommandOneConfig/LoadedCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-12-05 16:55:53 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-12-05 16:55:53 (GMT)
commit8d20322160e6e8c7bf9c6d69de9319f57373de5d (patch)
tree79d5389ecb72b083f53bc7e0f8da3b8f473c5f1a /Tests/LoadCommandOneConfig/LoadedCommand.cxx
parentd6e6dcc3c0f2b432da1701bb7e162bbbbc7a7974 (diff)
downloadCMake-8d20322160e6e8c7bf9c6d69de9319f57373de5d.zip
CMake-8d20322160e6e8c7bf9c6d69de9319f57373de5d.tar.gz
CMake-8d20322160e6e8c7bf9c6d69de9319f57373de5d.tar.bz2
Speedup the test
Diffstat (limited to 'Tests/LoadCommandOneConfig/LoadedCommand.cxx')
-rw-r--r--Tests/LoadCommandOneConfig/LoadedCommand.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/LoadCommandOneConfig/LoadedCommand.cxx b/Tests/LoadCommandOneConfig/LoadedCommand.cxx
index 65483c8..8f073d4 100644
--- a/Tests/LoadCommandOneConfig/LoadedCommand.cxx
+++ b/Tests/LoadCommandOneConfig/LoadedCommand.cxx
@@ -1,7 +1,18 @@
#include "LoadedCommand.h"
+#include <stdio.h>
int main ()
{
+#ifdef HAVE_VSBLABLA
+ printf("Should not be able to find vsblabla\n");
+ return 1;
+#endif
+
+#if !defined( HAVE_PRINTF )
+ printf("Should be able to find printf\n");
+ return 1;
+#endif
+
#ifdef CMAKE_IS_FUN
return SIZEOF_CHAR-1;
#else