]> SALOME platform Git repositories - modules/yacs.git/commitdiff
Salome HOME
Fix subdir duplicates in CTestTestfile
authorCédric Aguerre <cedric.aguerre@edf.fr>
Wed, 5 Aug 2015 17:06:27 +0000 (19:06 +0200)
committerCédric Aguerre <cedric.aguerre@edf.fr>
Wed, 5 Aug 2015 17:06:27 +0000 (19:06 +0200)
bin/appli_gen.py

index b263cd3e79646495550d8c17e7f58424dd216d09..1c938385297dcceb8ba107155c98a8165dbdb63d 100644 (file)
@@ -194,6 +194,13 @@ def install(prefix, config_file, verbose=0):
             print cle, val
             pass
 
+    # Remove CTestTestfile.cmake; this file will be filled by successive calls to link_module and link_extra_test
+    try:
+      ctest_file = os.path.join(home_dir, 'bin', 'salome', 'test', "CTestTestfile.cmake")
+      os.remove(ctest_file)
+    except:
+      pass
+
     for module in _config.get("modules", []):
         if _config.has_key(module):
             print "--- add module ", module, _config[module]