Ignore:
Timestamp:
Apr 16, 2020, 12:00:42 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
7215000, 9a7c88f
Parents:
1c412aa
Message:

Fixed regenerate-expected with respect to new multi-arch feature

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/pybin/settings.py

    r1c412aa r41af19c  
    2323class Architecture:
    2424        KnownArchitectures = {
    25                 'x64'           : 'x64',
    26                 'x86-64'        : 'x64',
    27                 'x86_64'        : 'x64',
    28                 'x86'           : 'x86',
    29                 'aarch64'       : 'arm',
    30                 'i386'          : 'x86',
    31                 'i486'          : 'x86',
    32                 'i686'          : 'x86',
    33                 'Intel 80386'   : 'x86',
    34                 'arm'           : 'arm',
    35                 'ARM'           : 'arm',
     25                'x64'         : 'x64',
     26                'x86-64'      : 'x64',
     27                'x86_64'      : 'x64',
     28                'x86'         : 'x86',
     29                'aarch64'     : 'arm',
     30                'i386'        : 'x86',
     31                'i486'        : 'x86',
     32                'i686'        : 'x86',
     33                'Intel 80386' : 'x86',
     34                'arm'         : 'arm',
     35                'ARM'         : 'arm',
    3636        }
    3737
     
    129129        global timeout2gdb
    130130
    131         all_arch     = [Architecture(o) for o in list(dict.fromkeys(options.arch   ))]
     131        all_arch     = [Architecture(o) for o in list(dict.fromkeys(options.arch   ))] if options.arch else [Architecture(None)]
    132132        all_debug    = [Debug(o)        for o in list(dict.fromkeys(options.debug  ))]
    133133        all_install  = [Install(o)      for o in list(dict.fromkeys(options.install))]
Note: See TracChangeset for help on using the changeset viewer.