6. rv_build_install module¶
- rv_build_install.py - Builds and installs packages specified
- using the build_install.py script
Requires: connected binaries remote-viewer, Xorg, gnome session, git
-
rv_build_install.build_install_qxl(vm_root_session, vm_script_path, params)¶ Build and install QXL in the VM
Parameters: - vm_root_session – VM Session object.
- vm_script_path – path where to find build_install.py script
- params – Dictionary with test parameters.
-
rv_build_install.build_install_spicegtk(vm_root_session, vm_script_path, params)¶ Build and install spice-gtk in the VM
Parameters: - vm_root_session – VM Session object.
- vm_script_path – path where to find build_install.py script
- params – Dictionary with test parameters.
-
rv_build_install.build_install_vdagent(vm_root_session, vm_script_path, params)¶ Build and install spice-vdagent in the VM
Parameters: - vm_root_session – VM Session object.
- vm_script_path – path where to find build_install.py script
- params – Dictionary with test parameters.
-
rv_build_install.connect_to_vm(vm_name, env, params)¶ Connects to VM and powers it on and gets session information
Parameters: - vm_name – name of VM to connect to
- params – Dictionary with test parameters.
- env – Test environment.
-
rv_build_install.install_req_pkgs(pkgsRequired, vm_root_session, params)¶ Checks to see if packages are installed and if not, installs the package
Params rpms_to_install: List of packages to check Params vm_root_session: Session object of VM Parameters: params – Dictionary with test parameters.
-
rv_build_install.run_rv_build_install(test, params, env)¶ Build and install packages from git on the client or guest VM
Supported configurations: build_install_pkg: name of the package to get from git, build and install
Parameters: - test – QEMU test object.
- params – Dictionary with the test parameters.
- env – Dictionary with test environment.