From 8ede54c665f7346641e012417c29166e86f9cdcf Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Aguerre?= Date: Tue, 5 Apr 2016 14:06:31 +0200 Subject: [PATCH] Increase output message length for ctest --- bin/appli_gen.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/appli_gen.py b/bin/appli_gen.py index 10bf434f7..4c64c7a79 100644 --- a/bin/appli_gen.py +++ b/bin/appli_gen.py @@ -227,6 +227,12 @@ def install(prefix, config_file, verbose=0): pass pass + # Generate CTestCustom.cmake to handle long output + ctest_custom = os.path.join(home_dir, 'bin', 'salome', 'test', "CTestCustom.cmake") + with open(ctest_custom, 'w') as f: + f.write("SET(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 1048576) # 1MB\n") + f.write("SET(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE 1048576) # 1MB\n") + appliskel_dir = os.path.join(home_dir, 'bin', 'salome', 'appliskel') for fn in ('envd', -- 2.39.2