コード例 #1
0
def test_modular(compiler):

    cmd = [python, faber]
    if compiler:
        cmd.append(get_cxx_opt(compiler))
    with cwd(join('examples', 'modular')):
        check_output(cmd)
        check_output(cmd + clean)
コード例 #2
0
def test_implicit_rules(compiler):

    cmd = [python, faber]
    if compiler:
        cmd.append(get_cxx_opt(compiler))
    with cwd(join('examples', 'implicit_rules')):
        check_output(cmd)
        check_output(cmd + clean)
コード例 #3
0
def test_package(compiler):

    cmd = [python, faber]
    if compiler:
        cmd.append(get_cxx_opt(compiler))
    with cwd(join('examples', 'package')):
        check_output(cmd + ['tgz', 'stgz'])
        check_output(cmd + clean)
コード例 #4
0
def test_python(compiler):

    cmd = [python, faber]
    if compiler:
        cmd.append(get_cc_opt(compiler))
    with cwd(join('examples', 'python')):
        check_output(cmd)
        check_output(cmd + clean)
コード例 #5
0
def test_action():

    with cwd(join('examples', 'action')):
        cmd = [python, faber]
        check_output(cmd)
        check_output(cmd + clean)