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)
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)
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)
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)
def test_action(): with cwd(join('examples', 'action')): cmd = [python, faber] check_output(cmd) check_output(cmd + clean)