- Timestamp:
- Aug 7, 2018, 3:23:34 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 575a6e5
- Parents:
- 524ed86
- Location:
- tests
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tests/Makefile.am ¶
r524ed86 ra5121bf 31 31 -Wno-unused-function \ 32 32 -quiet @CFA_FLAGS@ \ 33 -DIN_DIR="${srcdir}/.in/" \ 34 @BUILD_IN_TREE_FLAGS@ 33 -DIN_DIR="${srcdir}/.in/" 35 34 36 AM_CFLAGS += ${DEBUG_FLAGS} 35 AM_CFLAGS += ${DEBUG_FLAGS} ${INSTALL_FLAGS} 37 36 38 37 CC = @CFACC@ … … 48 47 #---------------------------------------------------------------------------------------------------------------- 49 48 all-local : 50 @+${TEST_PY} --debug=${debug} ${concurrent} ${quick_test}49 @+${TEST_PY} --debug=${debug} --install=${installed} ${concurrent} ${quick_test} 51 50 52 51 all-tests : 53 @+${TEST_PY} --all --debug=${debug} ${concurrent} # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program52 @+${TEST_PY} --all --debug=${debug} --install=${installed} ${concurrent} # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program 54 53 55 54 clean-local : … … 66 65 67 66 concurrency : 68 @+${TEST_PY} --debug=${debug} -Iconcurrent67 @+${TEST_PY} --debug=${debug} --install=${installed} -Iconcurrent 69 68 70 69 #---------------------------------------------------------------------------------------------------------------- -
TabularUnified tests/Makefile.in ¶
r524ed86 ra5121bf 303 303 # applies to both programs 304 304 AM_CFLAGS = $(if $(test), 2> $(test), ) -g -Wall -Wno-unused-function \ 305 -quiet @CFA_FLAGS@ -DIN_DIR="${srcdir}/.in/" \306 @BUILD_IN_TREE_FLAGS@ ${DEBUG_FLAGS}305 -quiet @CFA_FLAGS@ -DIN_DIR="${srcdir}/.in/" ${DEBUG_FLAGS} \ 306 ${INSTALL_FLAGS} 307 307 fstream_test_SOURCES = fstream_test.c 308 308 avl_test_SOURCES = avltree/avl_test.c avltree/avl0.c avltree/avl1.c avltree/avl2.c avltree/avl3.c avltree/avl4.c avltree/avl-private.c … … 613 613 #---------------------------------------------------------------------------------------------------------------- 614 614 all-local : 615 @+${TEST_PY} --debug=${debug} ${concurrent} ${quick_test}615 @+${TEST_PY} --debug=${debug} --install=${installed} ${concurrent} ${quick_test} 616 616 617 617 all-tests : 618 @+${TEST_PY} --all --debug=${debug} ${concurrent} # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program618 @+${TEST_PY} --all --debug=${debug} --install=${installed} ${concurrent} # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program 619 619 620 620 clean-local : … … 631 631 632 632 concurrency : 633 @+${TEST_PY} --debug=${debug} -Iconcurrent633 @+${TEST_PY} --debug=${debug} --install=${installed} -Iconcurrent 634 634 635 635 #---------------------------------------------------------------------------------------------------------------- -
TabularUnified tests/pybin/settings.py ¶
r524ed86 ra5121bf 67 67 self.flags = """DEBUG_FLAGS="%s" """ % ("-debug" if value else "-nodebug") 68 68 69 class Install: 70 def __init__(self, value): 71 self.string = "installed" if value else "in-tree" 72 self.flags = """INSTALL_FLAGS="%s" """ % ("" if value else "-in-tree") 73 69 74 def init( options ): 70 75 global arch … … 73 78 global make 74 79 global debug 75 global debugFlag80 global install 76 81 77 82 dry_run = options.dry_run … … 79 84 make = 'make' 80 85 debug = Debug(options.debug) 86 install = Install(options.install) 81 87 arch = Architecture(options.arch) 82 88 -
TabularUnified tests/pybin/tools.py ¶
r524ed86 ra5121bf 102 102 test_param, 103 103 settings.debug.flags, 104 settings.install.flags, 104 105 flags, 105 106 target, -
TabularUnified tests/test.py ¶
r524ed86 ra5121bf 86 86 parser = argparse.ArgumentParser(description='Script which runs cforall tests') 87 87 parser.add_argument('--debug', help='Run all tests in debug or release', type=yes_no, default='yes') 88 parser.add_argument('--install', help='Run all tests based on installed binaries or tree binaries', type=yes_no, default='no') 88 89 parser.add_argument('--arch', help='Test for specific architecture', type=str, default='') 89 90 parser.add_argument('--dry-run', help='Don\'t run the tests, only output the commands', action='store_true')
Note: See TracChangeset
for help on using the changeset viewer.