From: Cédric Aguerre Date: Tue, 5 Apr 2016 12:06:31 +0000 (+0200) Subject: Increase output message length for ctest X-Git-Tag: V8_1_0a1~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8ede54c665f7346641e012417c29166e86f9cdcf;p=modules%2Fkernel.git Increase output message length for ctest --- 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',