From 76a259bc6704c24bf24484fc51209d47cf59a52b Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Aguerre?= Date: Wed, 5 Aug 2015 19:06:27 +0200 Subject: [PATCH] Fix subdir duplicates in CTestTestfile --- bin/appli_gen.py | 7 +++++++ 1 file changed, 7 insertions(+) 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] -- 2.39.2