Changeset ab8315f for Jenkinsfile


Ignore:
Timestamp:
Jun 25, 2019, 4:06:42 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
f93f35a
Parents:
e791851
Message:

Jenkins will now display short tests and full tests as 2 different stages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    re791851 rab8315f  
    128128
    129129def test() {
    130         build_stage('Test', true) {
    131 
     130        build_stage('Test: short', !Settings.RunAllTests) {
    132131                dir (BuildDir) {
    133132                        //Run the tests from the tests directory
    134                         if ( Settings.RunAllTests ) {
    135                                 sh 'make --no-print-directory -C tests timeouts="--timeout=1200" all-tests debug=yes'
    136                                 sh 'make --no-print-directory -C tests timeouts="--timeout=1200" all-tests debug=no '
    137                         }
    138                         else {
    139                                 sh 'make --no-print-directory -C tests'
    140                         }
     133                        sh 'make --no-print-directory -C tests'
     134                }
     135        }
     136
     137        build_stage('Test: full', Settings.RunAllTests)
     138                dir (BuildDir) {
     139                        //Run the tests from the tests directory
     140                        sh 'make --no-print-directory -C tests timeouts="--timeout=1200" all-tests debug=yes'
     141                        sh 'make --no-print-directory -C tests timeouts="--timeout=1200" all-tests debug=no '
    141142                }
    142143        }
Note: See TracChangeset for help on using the changeset viewer.