コード例 #1
0
def test_install_source():
    from xylem.platforms.source import install_source, SourceInstall
    resolved = SourceInstall()
    resolved.tarball = 'https://kforge.ros.org/rosrelease/xylem/raw-file/tip/test/source/foo.tar.gz'
    resolved.tarball_md5sum = 'fd34dc39f8f192b97fcc191fe0a6befc'
    resolved.install_command = """#!/bin/sh
exit 0
"""
    resolved.exec_path = ''
    install_source(resolved)