Example #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
Example #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
Example #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
Example #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
Example #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
Example #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
Example #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
Example #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
Example #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
Example #10
0
def allTests():
    """
    This function returns a list of tests for the parser.
    """

    return make_tests("parser/negative", False)