From: Cédric Aguerre Date: Wed, 5 Aug 2015 17:06:27 +0000 (+0200) Subject: Fix subdir duplicates in CTestTestfile X-Git-Tag: V7_7_0a1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=76a259bc6704c24bf24484fc51209d47cf59a52b;p=modules%2Fkernel.git Fix subdir duplicates in CTestTestfile --- diff --git a/bin/appli_gen.py b/bin/appli_gen.py index b263cd3e7..1c9383852 100644 --- a/bin/appli_gen.py +++ b/bin/appli_gen.py @@ -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]