Changeset d144c26 for tests


Ignore:
Timestamp:
Jun 16, 2023, 10:00:03 AM (17 months ago)
Author:
caparsons <caparson@…>
Branches:
master
Children:
5dbb9f3
Parents:
60f4919
Message:

updated invariant flag to be default, can be toggled off with --no-invariant

Location:
tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/Makefile.am

    r60f4919 rd144c26  
    111111# '@' => do not echo command (SILENT), '+' => allows recursive make from within python program
    112112all-local : # This name is important to automake and implies the default build target.
    113         @+${TEST_PY} --debug=${debug} --install=${installed} --invariant ${ARCHIVE_ERRORS} ${TIMEOUT} ${GLOBAL_TIMEOUT} ${ARCH} --all
     113        @+${TEST_PY} --debug=${debug} --install=${installed} ${ARCHIVE_ERRORS} ${TIMEOUT} ${GLOBAL_TIMEOUT} ${ARCH} --all
    114114
    115115tests : all-local # synonym
  • tests/test.py

    r60f4919 rd144c26  
    114114        parser.add_argument('--install', help='Run all tests based on installed binaries or tree binaries', type=comma_separated(yes_no), default='no')
    115115        parser.add_argument('--continue', help='When multiple specifications are passed (debug/install/arch), sets whether or not to continue if the last specification failed', type=yes_no, default='yes', dest='continue_')
    116         parser.add_argument('--invariant', help='Tell the compiler to check invariants while running.', action='store_true')
     116        parser.add_argument('--no-invariant', help='Tell the compiler to not check invariant while running.', action='store_false')
    117117        parser.add_argument('--timeout', help='Maximum duration in seconds after a single test is considered to have timed out', type=int, default=180)
    118118        parser.add_argument('--global-timeout', help='Maximum cumulative duration in seconds after the ALL tests are considered to have timed out', type=int, default=7200)
Note: See TracChangeset for help on using the changeset viewer.