コード例 #1
0
 def install(self):
     fio_url = f"http://brick.kernel.dk/snaps/{self.fio_version}.tar.bz2"
     fio_package = os_utils.download_file(fio_url)
     fs_utils.uncompress_archive(fio_package)
     TestRun.executor.run_expect_success(
         f"cd {fio_package.parent_dir}/{self.fio_version};"
         f"./configure && make -j && make install")
コード例 #2
0
ファイル: fio.py プロジェクト: robertbaldyga/test-framework
 def install(self):
     fio_url = f"http://brick.kernel.dk/snaps/{self.fio_version}.tar.bz2"
     fio_package = os_utils.download_file(fio_url)
     fs_utils.uncompress_archive(fio_package)
     TestProperties.execute_command_and_check_if_passed(
         f"cd {fio_package.parent_dir}/{self.fio_version};"
         f"./configure && make -j && make install")