Changes in / [3ce2425:3315e3d]
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
r3ce2425 r3315e3d 155 155 156 156 def test() { 157 try { 158 build_stage('Test: short', !Settings.RunAllTests) { 159 dir (BuildDir) { 160 //Run the tests from the tests directory 161 sh "make --no-print-directory -C tests archiveerrors=${BuildDir}/tests/crashes/short" 162 } 163 } 164 165 build_stage('Test: full', Settings.RunAllTests) { 166 dir (BuildDir) { 167 //Run the tests from the tests directory 168 sh """make --no-print-directory -C tests timeouts="--timeout=600 --global-timeout=14400" all-tests debug=yes archiveerrors=${BuildDir}/tests/crashes/full-debug""" 169 sh """make --no-print-directory -C tests timeouts="--timeout=600 --global-timeout=14400" all-tests debug=no archiveerrors=${BuildDir}/tests/crashes/full-nodebug""" 170 } 171 } 172 } 173 catch (Exception err) { 174 echo "Archiving core dumps" 175 dir (BuildDir) { 176 archiveArtifacts artifacts: "tests/crashes/**/*", fingerprint: true 177 } 178 throw err 157 build_stage('Test: short', !Settings.RunAllTests) { 158 dir (BuildDir) { 159 //Run the tests from the tests directory 160 sh 'make --no-print-directory -C tests' 161 } 162 } 163 164 build_stage('Test: full', Settings.RunAllTests) { 165 dir (BuildDir) { 166 //Run the tests from the tests directory 167 sh 'make --no-print-directory -C tests timeouts="--timeout=600 --global-timeout=14400" all-tests debug=yes' 168 sh 'make --no-print-directory -C tests timeouts="--timeout=600 --global-timeout=14400" all-tests debug=no ' 169 } 179 170 } 180 171 } -
tests/pybin/tools.py
r3ce2425 r3315e3d 311 311 312 312 def core_archive(dst, name, exe): 313 # Get the core dump313 # Get the files to copy 314 314 core = os.path.join(os.getcwd(), "core" ) 315 315 316 # update the path for this test317 dst = os.path.join(dst, name)316 # Uncomment if we want timestamps on coredumps 317 # dst = os.path.join(dst, "%s_%s" % (name, pretty_now())) 318 318 319 319 # make a directory for this test 320 # mkdir makes the parent directory only so add a dummy321 320 mkdir(os.path.join(dst, "dir")) 322 321
Note: See TracChangeset
for help on using the changeset viewer.