• F
    tests: Add vm test lib · ff2ebff0
    Fam Zheng 提交于
    This is the common code to implement a "VM test" to
    
      1) Download and initialize a pre-defined VM that has necessary
      dependencies to build QEMU and SSH access.
    
      2) Archive $SRC_PATH to a .tar file.
    
      3) Boot the VM, and pass the source tar file to the guest.
    
      4) SSH into the VM, untar the source tarball, build from the source.
    Signed-off-by: NFam Zheng <famz@redhat.com>
    Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
    ff2ebff0
basevm.py 9.8 KB