def test_build_template_boost_default_non_pure_c():
    _set_upload_when_stable()
    builder = build_template_boost_default.get_builder(pure_c=False)
    for settings, options, env_vars, build_requires, reference in builder.items:
        assert "boost_*:shared" in options
    assert 16 == len(builder.items)
    assert "" == _get_upload_when_stable()
示例#2
0
def test_build_template_boost_default():
    _set_upload_when_stable()
    builder = build_template_boost_default.get_builder()
    for settings, options, env_vars, build_requires, reference in builder.items:
        assert "foobar:shared" in options
    assert 8 == len(builder.items)
    assert "" == _get_upload_when_stable()
示例#3
0
def test_build_template_boost_default():
    builder = build_template_boost_default.get_builder()

    for settings, options, env_vars, build_requires, reference in builder.items:
        assert "foobar:shared" in options
        assert "boost_*:shared" in options
        if platform.system() == "Darwin":
            assert "x86_64" == settings['arch']

    if platform.system() == "Linux":
        assert 8 == len(builder.items)
    elif platform.system() == "Windows":
        assert 6 == len(builder.items)
    elif platform.system() == "Darwin":
        assert 4 == len(builder.items)

    assert False == builder.upload_only_when_stable
示例#4
0
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from bincrafters import build_template_boost_default


if __name__ == "__main__":
    builder = build_template_boost_default.get_builder()
    builder.run()