Changeset e173d3c for tests


Ignore:
Timestamp:
Aug 29, 2022, 8:00:07 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master, pthread-emulation
Children:
e2e31c6
Parents:
31b9d3c
Message:

'soft' removed old ast from tests.
Option still works but no longer has any effect.

Location:
tests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tests/Makefile.am

    r31b9d3c re173d3c  
    5454
    5555# adjust CC to current flags
    56 CC = LC_ALL=C $(if $(DISTCC_CFA_PATH),distcc $(DISTCC_CFA_PATH) ${ARCH_FLAGS} ${AST_FLAGS},$(TARGET_CFA) ${DEBUG_FLAGS} ${ARCH_FLAGS} ${AST_FLAGS})
     56CC = LC_ALL=C $(if $(DISTCC_CFA_PATH),distcc $(DISTCC_CFA_PATH) ${ARCH_FLAGS} ,$(TARGET_CFA) ${DEBUG_FLAGS} ${ARCH_FLAGS}
    5757CFACC = $(CC)
    5858
     
    6161
    6262# adjusted CC but without the actual distcc call
    63 CFACCLOCAL = $(if $(DISTCC_CFA_PATH),$(DISTCC_CFA_PATH) ${ARCH_FLAGS} ${AST_FLAGS},$(TARGET_CFA) ${DEBUG_FLAGS} ${ARCH_FLAGS} ${AST_FLAGS})
     63CFACCLOCAL = $(if $(DISTCC_CFA_PATH),$(DISTCC_CFA_PATH) ${ARCH_FLAGS} ,$(TARGET_CFA) ${DEBUG_FLAGS} ${ARCH_FLAGS})
    6464CFACCLINK = $(CFACCLOCAL) -quiet $(if $(test), 2> $(test), ) $($(shell echo "${@}_FLAGSLD" | sed 's/-\|\//_/g'))
    6565
  • tests/pybin/settings.py

    r31b9d3c re173d3c  
    102102                        self.target = ast
    103103                        self.string = "New AST"
    104                         self.flags  = """AST_FLAGS=-XCFA,--new-ast"""
     104                        self.flags  = """"""
    105105                elif ast == "old":
    106106                        self.target = ast
    107107                        self.string = "Old AST"
    108                         self.flags  = """AST_FLAGS=-XCFA,--old-ast"""
     108                        self.flags  = """"""
    109109                elif ast == None:
    110110                        self.target = "new" if config.NEWAST else "old"
    111111                        self.string = "Default AST (%s)" % self.target
    112                         self.flags  = """AST_FLAGS="""
     112                        self.flags  = """"""
    113113                else:
    114114                        print("""ERROR: Invalid ast configuration, must be "old", "new" or left unspecified, was %s""" % (value), file=sys.stderr)
  • tests/test.py

    r31b9d3c re173d3c  
    351351
    352352                # print the possible options
    353                 print("-h --help --debug --dry-run --list --ast=new --ast=old --arch --all --regenerate-expected --archive-errors --install --timeout --global-timeout --timeout-with-gdb -j --jobs -I --include -E --exclude --continue ", end='')
     353                print("-h --help --debug --dry-run --list --arch --all --regenerate-expected --archive-errors --install --timeout --global-timeout --timeout-with-gdb -j --jobs -I --include -E --exclude --continue ", end='')
    354354                print(" ".join(map(lambda t: "%s" % (t.target()), tests)))
    355355
Note: See TracChangeset for help on using the changeset viewer.