]> Creatis software - gdcm.git/commitdiff
Add a *really* empty test, to know if gdcm dll is loadable or not :-(
authorjpr <jpr>
Tue, 6 Jun 2006 15:15:48 +0000 (15:15 +0000)
committerjpr <jpr>
Tue, 6 Jun 2006 15:15:48 +0000 (15:15 +0000)
Testing/CMakeLists.txt
Testing/TestEmpty.cxx [new file with mode: 0755]

index e0fae4eb319e9847a42d3ab868450c4687d1d93d..07cbf7889967795faabda4ac0ba69ce221514dfe 100644 (file)
@@ -8,6 +8,7 @@ SET(GDCM_TESTS ${CXX_TEST_PATH}/gdcmTests)
 # add test that does not require data:
 # They usally return if no argument is given
 SET(TEST_SOURCES
+  TestEmpty.cxx
   TestUtil.cxx
   TestBug.cxx
   TestHash.cxx
diff --git a/Testing/TestEmpty.cxx b/Testing/TestEmpty.cxx
new file mode 100755 (executable)
index 0000000..8ca1f7c
--- /dev/null
@@ -0,0 +1,23 @@
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: TestEmpty.cxx,v $
+  Language:  C++
+  Date:      $Date: 2006/06/06 15:15:48 $
+  Version:   $Revision: 1.1 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
+// Just to know, at test time, if the dll is loadable
+int TestEmpty(int argc, char *argv[])
+{ 
+   return 0;
+}