Changeset e173d3c
- Timestamp:
- Aug 29, 2022, 8:00:07 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation
- Children:
- e2e31c6
- Parents:
- 31b9d3c
- Location:
- tests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/Makefile.am
r31b9d3c re173d3c 54 54 55 55 # 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})56 CC = LC_ALL=C $(if $(DISTCC_CFA_PATH),distcc $(DISTCC_CFA_PATH) ${ARCH_FLAGS} ,$(TARGET_CFA) ${DEBUG_FLAGS} ${ARCH_FLAGS} 57 57 CFACC = $(CC) 58 58 … … 61 61 62 62 # 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})63 CFACCLOCAL = $(if $(DISTCC_CFA_PATH),$(DISTCC_CFA_PATH) ${ARCH_FLAGS} ,$(TARGET_CFA) ${DEBUG_FLAGS} ${ARCH_FLAGS}) 64 64 CFACCLINK = $(CFACCLOCAL) -quiet $(if $(test), 2> $(test), ) $($(shell echo "${@}_FLAGSLD" | sed 's/-\|\//_/g')) 65 65 -
tests/pybin/settings.py
r31b9d3c re173d3c 102 102 self.target = ast 103 103 self.string = "New AST" 104 self.flags = """ AST_FLAGS=-XCFA,--new-ast"""104 self.flags = """""" 105 105 elif ast == "old": 106 106 self.target = ast 107 107 self.string = "Old AST" 108 self.flags = """ AST_FLAGS=-XCFA,--old-ast"""108 self.flags = """""" 109 109 elif ast == None: 110 110 self.target = "new" if config.NEWAST else "old" 111 111 self.string = "Default AST (%s)" % self.target 112 self.flags = """ AST_FLAGS="""112 self.flags = """""" 113 113 else: 114 114 print("""ERROR: Invalid ast configuration, must be "old", "new" or left unspecified, was %s""" % (value), file=sys.stderr) -
tests/test.py
r31b9d3c re173d3c 351 351 352 352 # print the possible options 353 print("-h --help --debug --dry-run --list --a st=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='') 354 354 print(" ".join(map(lambda t: "%s" % (t.target()), tests))) 355 355
Note: See TracChangeset
for help on using the changeset viewer.