update doc structure
This commit is contained in:
@@ -28,7 +28,12 @@ for tool in ['fds-cartridge','fds-emulator']:
|
||||
output=subprocess.check_output([str(root/'usr/bin'/tool),'--version'],text=True).strip()
|
||||
assert output==f'{tool} {version}',output
|
||||
subprocess.run([str(root/'usr/bin'/tool),'--help'],check=True,stdout=subprocess.DEVNULL)
|
||||
assert (root/'usr/share/doc/fds-tools/docs/workstation.md').is_file()
|
||||
assert (root/'usr/share/doc/fds-tools/fds-os.wiki/Workstation.md').is_file()
|
||||
manual = root/'usr/share/doc/fds-tools/fds-os.wiki'
|
||||
for source in (project/'fds-os.wiki').iterdir():
|
||||
if source.suffix in ('.md', '.png'):
|
||||
assert (manual/source.name).read_bytes() == source.read_bytes(), source
|
||||
assert not (manual/'.git').exists()
|
||||
assert (root/'usr/share/licenses/fds-tools/RUST-NOTICES.txt').stat().st_size>0
|
||||
installed=subprocess.check_output(['pacman','--config',str(config),'--root',str(root),'--dbpath',str(root/'var/lib/pacman'),'-Q','fds-tools'],text=True).strip()
|
||||
assert installed==f'fds-tools {version}-1',installed
|
||||
|
||||
Reference in New Issue
Block a user