Esempio n. 1
0
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
Esempio n. 2
0
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
Esempio n. 3
0
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
Esempio n. 4
0
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
Esempio n. 5
0
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
Esempio n. 6
0
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
Esempio n. 7
0
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
Esempio n. 8
0
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
Esempio n. 9
0
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
Esempio n. 10
0
def allTests():
    """
    This function returns a list of tests for the parser.
    """

    return make_tests("parser/negative", False)