Don't produce core files while running test suite

Issue #953 closed
Erik Schnetter created an issue

I suggest to disable core file while running the test suite:

$ svn diff bin/RunTestSuite
Index: bin/RunTestSuite
===================================================================
--- bin/RunTestSuite    (revision 1694)
+++ bin/RunTestSuite    (working copy)
@@ -13,4 +13,7 @@
 # This is the number of MPI processes to run on
 export CCTK_TESTSUITE_RUN_PROCESSORS=@NUM_PROCS@

+# Do not produce core files
+ulimit -c 0
+
 make @CONFIGURATION@-testsuite PROMPT=no

Keyword:

Comments (6)

  1. Frank Löffler
    • removed comment

    It might users to not get core files in that case, although that could be documented and/or given as hint when executing. Is there a reason why it would be better to disable core files when running testsuites?

  2. Erik Schnetter reporter
    • removed comment

    People are unlikely to examine the contents of the simulation for core files. Hence, core files (if they are created) take up much space and are basically useless (since unused). It is also unlikely that people will want to debug all core-file producing test-case failures at once.

    If one wants to track down a particular failure, it is easy to re-run just one test, which would not use Simfactory's mechanism to run all tests.

  3. Log in to comment