Changeset 597e395


Ignore:
Timestamp:
Sep 15, 2022, 4:51:45 PM (22 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master, pthread-emulation
Children:
9a90092
Parents:
0fc91db1
Message:

Jenkins now runs all tests in debug on push

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    r0fc91db1 r597e395  
    150150                sh 'ulimit -a'
    151151
    152                 Tools.BuildStage('Test: short', !Settings.RunAllTests) {
     152                jopt = '-j $(nproc)'
     153
     154                Tools.BuildStage('Test: Debug') {
    153155                        dir (BuildDir) {
    154156                                //Run the tests from the tests directory
    155                                 sh "make --no-print-directory -C tests archiveerrors=${BuildDir}/tests/crashes/short"
     157                                sh """make ${jopt} --no-print-directory -C tests timeouts="--timeout=600 --global-timeout=14400" all-tests debug=yes archiveerrors=${BuildDir}/tests/crashes/full-debug"""
    156158                        }
    157159                }
    158160
    159                 Tools.BuildStage('Test: full', Settings.RunAllTests) {
     161                Tools.BuildStage('Test: Release', Settings.RunAllTests) {
    160162                        dir (BuildDir) {
    161                                         jopt = '-j $(nproc)'
    162                                         if( Settings.Architecture.node == 'x86' ) {
    163                                                 jopt = '-j2'
    164                                         }
    165                                         //Run the tests from the tests directory
    166                                         sh """make ${jopt} --no-print-directory -C tests timeouts="--timeout=600 --global-timeout=14400" all-tests debug=yes archiveerrors=${BuildDir}/tests/crashes/full-debug"""
    167                                         sh """make ${jopt} --no-print-directory -C tests timeouts="--timeout=600 --global-timeout=14400" all-tests debug=no  archiveerrors=${BuildDir}/tests/crashes/full-nodebug"""
     163                                //Run the tests from the tests directory
     164                                sh """make ${jopt} --no-print-directory -C tests timeouts="--timeout=600 --global-timeout=14400" all-tests debug=no  archiveerrors=${BuildDir}/tests/crashes/full-nodebug"""
    168165                        }
    169166                }
     
    384381                                ],                                                                                              \
    385382                                [$class: 'BooleanParameterDefinition',                                                  \
    386                                         description: 'If false, only the quick test suite is ran',              \
     383                                        description: 'If false, the test suite is only ran in debug',   \
    387384                                        name: 'RunAllTests',                                                            \
    388385                                        defaultValue: false,                                                            \
Note: See TracChangeset for help on using the changeset viewer.