Changeset bdbf536


Ignore:
Timestamp:
May 27, 2023, 6:44:46 PM (18 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ast-experimental, master
Children:
124400b
Parents:
b2fa3c2
Message:

remove/specialize test/Makfile.am variables concurrent/timeout, respectively

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/Makefile.am

    rb2fa3c2 rbdbf536  
    1111## Created On       : Sun May 31 09:08:15 2015
    1212## Last Modified By : Peter A. Buhr
    13 ## Last Modified On : Fri May 26 13:34:12 2023
    14 ## Update Count     : 180
     13## Last Modified On : Sat May 27 18:27:08 2023
     14## Update Count     : 190
    1515###############################################################################
    1616
     
    2626ARCH = ${if ${arch},"--arch=${arch}"}
    2727arch_support = "x86/x64/arm"
     28TIMEOUT = ${if ${timeout},"--timeout=${timeout}"}
    2829DEBUG_FLAGS = -debug -g -O0
    2930
     
    3132
    3233archiveerrors=
    33 concurrent=
    34 timeouts=
    3534
    3635TEST_PY = python3 ${builddir}/test.py
     
    6766PRETTY_PATH = mkdir -p ${dir ${abspath ${@}}} && cd ${srcdir} &&
    6867
    69 .PHONY : list .validate .test_makeflags
     68.PHONY : concurrency list .validate .test_makeflags
    7069.INTERMEDIATE : .validate .validate.cfa .test_makeflags
    7170EXTRA_PROGRAMS = avl_test linkonce linking/mangling/anon .dummy_hack # build but do not install
     
    110109
    111110all-local : # This name is important to automake and implies the default build target.
    112         @+${TEST_PY} --debug=${debug} --install=${installed} --invariant --archive-errors=${archiveerrors} ${concurrent} ${timeouts} ${ARCH} --all # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program
     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
    113112
    114113install : all-local # PAB only
     
    117116
    118117quick :
    119         @+${TEST_PY} --debug=${debug} --install=${installed} --archive-errors=${archiveerrors} ${concurrent} ${timeouts} ${ARCH} ${quick_test}
     118        @+${TEST_PY} --debug=${debug} --install=${installed} --archive-errors=${archiveerrors} ${ARCH} ${quick_test}
    120119
    121120concurrency :
    122         @+${TEST_PY} --debug=${debug} --install=${installed} ${ARCH} -Iconcurrent
     121        @+${TEST_PY} --debug=${debug} --install=${installed} ${TIMEOUT} ${ARCH} -Iconcurrency
    123122
    124123list :
    125         @+${TEST_PY} --list ${concurrent}
     124        @+${TEST_PY} --list
    126125
    127126help :
    128127        @echo "user targets:"
    129128        @echo "    Run the complete test suite."
    130         @echo "    $$ make (null) / tests [debug=yes/no] [installed=yes/no] [arch=${arch_support}]"
     129        @echo "    $$ make (null) / tests [debug=yes/no] [installed=yes/no] [timeout=integer-seconds] [arch=${arch_support}]"
    131130        @echo ""
    132131        @echo "    Run the short (quick) test suite."
    133132        @echo "    $$ make quick [debug=yes/no] [installed=yes/no] [arch=${arch_support}]"
    134133        @echo ""
    135         @echo "    Run the concurrent test suite."
    136         @echo "    $$ make concurrency [debug=yes/no] [installed=yes/no] [arch=${arch_support}]"
     134        @echo "    Run the concurrency test suite."
     135        @echo "    $$ make concurrency [debug=yes/no] [installed=yes/no] [timeout=integer-seconds] [arch=${arch_support}]"
    137136        @echo ""
    138137        @echo "    List all tests in the test suite."
Note: See TracChangeset for help on using the changeset viewer.