+ return 0;
+}
+
+int TestAllVM(int argc, char *argv[])
+{
+ int i = 0;
+ if( argc >= 2 )
+ {
+ const char *filename = argv[1];
+ if( DoTheVMTest( filename ) )
+ return 1;
+ return 0;
+ }
+ // else
+
+ while( gdcmDataImages[i] != 0 )
+ {
+ std::string filename = GDCM_DATA_ROOT;
+ filename += "/";
+ filename += gdcmDataImages[i];
+
+ if (!strcmp(gdcmDataImages[i],"00191113.dcm")) // Track bug on Darwin
+ gdcm::Debug::DebugOn();
+ else
+ gdcm::Debug::DebugOff();
+
+ if( DoTheVMTest( filename ) )
+ return 1;