Changeset 5007618 for tests/Makefile.am


Ignore:
Timestamp:
May 28, 2023, 8:31:29 AM (11 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ast-experimental, master
Children:
4d5c855
Parents:
124400b
Message:

update tests/Makefile.am and corresponding Jenkinsfile with more specialized variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/Makefile.am

    r124400b r5007618  
    1111## Created On       : Sun May 31 09:08:15 2015
    1212## Last Modified By : Peter A. Buhr
    13 ## Last Modified On : Sat May 27 18:27:08 2023
    14 ## Update Count     : 190
     13## Last Modified On : Sun May 28 08:15:43 2023
     14## Update Count     : 196
    1515###############################################################################
    1616
     
    2727arch_support = "x86/x64/arm"
    2828TIMEOUT = ${if ${timeout},"--timeout=${timeout}"}
     29GLOBAL_TIMEOUT = ${if ${global-timeout},"--global-timeout=${global-timeout}"}
     30ARCHIVE_ERRORS = ${if ${archive-errors},"--archive-errors=${archive-errors}"}
     31
    2932DEBUG_FLAGS = -debug -g -O0
    3033
    3134quick_test = avl_test operators numericConstants expression enum array typeof cast raii/dtor-early-exit raii/init_once attributes meta/dumpable
    32 
    33 archiveerrors=
    3435
    3536TEST_PY = python3 ${builddir}/test.py
     
    108109#----------------------------------------------------------------------------------------------------------------
    109110
     111# '@' => do not echo command (SILENT), '+' => allows recursive make from within python program
    110112all-local : # This name is important to automake and implies the default build target.
    111         @+${TEST_PY} --debug=${debug} --install=${installed} --invariant --archive-errors=${archiveerrors} ${TIMEOUT} ${ARCH} --all # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program
    112 
    113 install : all-local # PAB only
    114 
    115 tests : all-local
     113        @+${TEST_PY} --debug=${debug} --install=${installed} --invariant ${ARCHIVE_ERRORS} ${TIMEOUT} ${GLOBAL_TIMEOUT} ${ARCH} --all
     114
     115tests : all-local # synonym
     116
     117install : all-local  # synonym, PAB only
    116118
    117119quick :
    118         @+${TEST_PY} --debug=${debug} --install=${installed} --archive-errors=${archiveerrors} ${ARCH} ${quick_test}
     120        @+${TEST_PY} --debug=${debug} --install=${installed} ${ARCHIVE_ERRORS} ${ARCH} ${quick_test}
    119121
    120122concurrency :
    121         @+${TEST_PY} --debug=${debug} --install=${installed} ${TIMEOUT} ${ARCH} -Iconcurrency
     123        @+${TEST_PY} --debug=${debug} --install=${installed} ${ARCHIVE_ERRORS} ${TIMEOUT} ${GLOBAL_TIMEOUT} ${ARCH} -Iconcurrency
    122124
    123125list :
     
    127129        @echo "user targets:"
    128130        @echo "    Run the complete test suite."
    129         @echo "    $$ make (null) / tests [debug=yes/no] [installed=yes/no] [timeout=integer-seconds] [arch=${arch_support}]"
     131        @echo "    $$ make (null) / tests [debug=yes/no] [installed=yes/no] [archive-errors=dump-dir] [timeout=seconds] [global-timeout=seconds] [arch=${arch_support}]"
    130132        @echo ""
    131133        @echo "    Run the short (quick) test suite."
    132         @echo "    $$ make quick [debug=yes/no] [installed=yes/no] [arch=${arch_support}]"
     134        @echo "    $$ make quick [debug=yes/no] [installed=yes/no] [archive-errors=dump-dir] [arch=${arch_support}]"
    133135        @echo ""
    134136        @echo "    Run the concurrency test suite."
    135         @echo "    $$ make concurrency [debug=yes/no] [installed=yes/no] [timeout=integer-seconds] [arch=${arch_support}]"
     137        @echo "    $$ make concurrency [debug=yes/no] [installed=yes/no] [archive-errors=dump-dir] [timeout=seconds] [global-timeout=seconds] [arch=${arch_support}]"
    136138        @echo ""
    137139        @echo "    List all tests in the test suite."
Note: See TracChangeset for help on using the changeset viewer.