Ignore:
Timestamp:
Apr 16, 2020, 12:00:42 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, 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/test_run.py

    r1c412aa r41af19c  
    4545
    4646        @classmethod
    47         def from_target(_, target):
     47        def new_target(_, target, arch):
    4848                test = Test()
    4949                test.name = os.path.basename(target)
    5050                test.path = os.path.relpath (os.path.dirname(target), settings.SRCDIR)
    51                 test.arch = settings.arch.target if settings.arch.cross_compile else ''
     51                test.arch = arch.target if arch else ''
    5252                return test
    5353
Note: See TracChangeset for help on using the changeset viewer.