diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2011-05-31 19:17:01 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2011-05-31 19:33:39 (GMT) |
commit | fa4dc08a1a69d0766cb17b03f1e3154e2dd0c0e7 (patch) | |
tree | 0406144e16a6c284dc2de90328b606448269d61f /Tests/BundleUtilities/testbundleutils.cpp | |
parent | e40b79e79fc0beb0a71889817f21bf196a892b09 (diff) | |
download | CMake-fa4dc08a1a69d0766cb17b03f1e3154e2dd0c0e7.zip CMake-fa4dc08a1a69d0766cb17b03f1e3154e2dd0c0e7.tar.gz CMake-fa4dc08a1a69d0766cb17b03f1e3154e2dd0c0e7.tar.bz2 |
BundleUtilities: Fix issues with custom target DEPENDS in test (#12034)
Diffstat (limited to 'Tests/BundleUtilities/testbundleutils.cpp')
-rw-r--r-- | Tests/BundleUtilities/testbundleutils.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/BundleUtilities/testbundleutils.cpp b/Tests/BundleUtilities/testbundleutils.cpp index 0b1828f..87eaae3 100644 --- a/Tests/BundleUtilities/testbundleutils.cpp +++ b/Tests/BundleUtilities/testbundleutils.cpp @@ -1,6 +1,7 @@ #include "framework.h" #include "shared.h" +#include "stdio.h" #if defined(WIN32) #include <windows.h> @@ -19,5 +20,10 @@ int main(int, char**) void* lib = dlopen("module.so", RTLD_LAZY); #endif + if(!lib) + { + printf("Failed to open module\n"); + } + return lib == 0 ? 1 : 0; } |