Changeset 4c0acb0 for tests


Ignore:
Timestamp:
Jun 16, 2023, 12:03:17 PM (12 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
3a7aa94
Parents:
da4a570
Message:

add back --invariant with --no-invariant as both are needed for toggling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/test.py

    rda4a570 r4c0acb0  
    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('--no-invariant', help='Tell the compiler to not check invariant while running.', action='store_false')
     116        parser.add_argument('--invariant', help='Tell the compiler to check invariants.', action='store_true')
     117        parser.add_argument('--no-invariant', help='Tell the compiler not to check invariant while running.', action='store_false')
    117118        parser.add_argument('--timeout', help='Maximum duration in seconds after a single test is considered to have timed out', type=int, default=180)
    118119        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.