Lines Matching +full:check +full:- +full:deprecated
1 # SPDX-License-Identifier: GPL-2.0+
21 """Enable --fs-type option.
26 parser: Pytest command-line parser.
31 parser.addoption('--fs-type', action='append', default=None,
37 A file system explicitly named with --fs-type option is selected
92 """Convert a file system type to an U-boot specific string
95 or a config name in u-boot. Currently fat16 and fat32 are handled
110 """Check whether a file system is enabled in u-boot configuration.
143 mkfs_opt = '-F 16'
145 mkfs_opt = '-F 32'
154 count = (size + 1048576 - 1) / 1048576
157 check_call('rm -f %s' % fs_img, shell=True)
164 call('rm -f %s' % fs_img, shell=True)
169 """Check whether a given command is available on host.
202 check_call('guestmount -a %s -m /dev/sda %s'
209 check_call('sudo mount -o %s %s %s'
234 # derived from test/fs/fs-test.sh
236 # NOTE: yield_fixture was deprecated since pytest-3.0
243 u_boot_config: U-boot configuration.
266 check_call('mkdir -p %s' % mount_dir, shell=True)
289 # check_call('rm -f "%s.w"' % MB1, shell=True)
290 # check_call('rm -f "%s.w2"' % MB1, shell=True)
339 call('rm -f %s' % fs_img, shell=True)
344 # NOTE: yield_fixture was deprecated since pytest-3.0
351 u_boot_config: U-boot configuration.
374 check_call('mkdir -p %s' % mount_dir, shell=True)
426 call('rm -f %s' % fs_img, shell=True)
431 # NOTE: yield_fixture was deprecated since pytest-3.0
438 u_boot_config: U-boot configuration.
459 call('rm -f %s' % fs_img, shell=True)
464 # NOTE: yield_fixture was deprecated since pytest-3.0
471 u_boot_config: U-boot configuration.
491 check_call('mkdir -p %s' % mount_dir, shell=True)
525 call('rm -f %s' % fs_img, shell=True)