]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Increase output message length for ctest
authorCédric Aguerre <cedric.aguerre@edf.fr>
Tue, 5 Apr 2016 12:06:31 +0000 (14:06 +0200)
committerCédric Aguerre <cedric.aguerre@edf.fr>
Tue, 5 Apr 2016 12:06:31 +0000 (14:06 +0200)
bin/appli_gen.py

index 10bf434f71380074ced514aa1ba09852e87c67df..4c64c7a79b8a234254d55d6ee4ba961521a7ad48 100644 (file)
@@ -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',