def getTestsOfThisDir(): """This functions returns all the tests in this directory""" tests = make_tests(".", True) # mark optionals for test in tests: if test.getName() in optionals: test.opt() return tests
def allTests(): """ This function returns a list of tests. """ tests = make_tests("sema/negative", False) # mark optionals for test in tests: if test.getName() in optionals: test.opt() return tests
def allTests(): """ This function returns a list of tests. """ tests = make_tests("static-taint", "show-taint.sh", True) for test in tests: # mark optionals if test.getName() in optionals: test.opt() return tests
def allTests(): """ This function returns a list of tests. """ tests = make_tests("type_inference/positive", True, ["--emit-annotated"]) # mark optionals for test in tests: if test.getName() in optionals: test.opt() return tests
def allTests(): """ This function returns a list of tests. """ tests = make_tests("syscall", "../dynalize.sh", True, ["--no-color"]) for test in tests: # mark optionals if basename(splitext(splitext(test.getName())[0])[0]) in optionals: test.opt() test.timeoutFactor = 3 return tests
def allTests(): """ This function returns a list of tests. """ tests = make_tests("aop", "../dynalize.sh", True, ["--no-color"]) for test in tests: # mark optionals if test.getName() in optionals: test.opt() test.timeoutFactor = 3 return tests
def allTests(): """ This function returns a list of tests. """ tests = make_tests("instr_aop", "../dynalize.sh", True, ["--no-color"]) for test in tests: # mark optionals if test.getName() in optionals: test.opt() test.timeoutFactor = 3 return tests
def allTests(): """ This function returns a list of tests. """ tests = make_tests("instr_syscall", "../dynalize.sh", True, ["--no-color"]) for test in tests: # mark optionals if basename(splitext(splitext(test.getName())[0])[0]) in optionals: test.opt() test.timeoutFactor = 3 return tests
def allTests(): """ This function returns a list of tests for the parser. """ return make_tests("parser/negative", False)