Phase 30: complete configurable installation and release qualification
This commit is contained in:
parent
afc049e2c8
commit
90eac33a71
18 changed files with 399 additions and 59 deletions
|
|
@ -44,6 +44,11 @@ def main():
|
|||
flags = subprocess.check_output(['pkg-config', '--cflags', '--libs', '--static', 'xtc'], env=env, text=True)
|
||||
assert str(prefix / 'include') in flags or str(prefix / 'lib/pkgconfig/../../include') in flags
|
||||
assert (prefix / 'share/doc/xtc/USER_MANUAL.md').exists()
|
||||
assert (prefix / 'share/doc/xtc/RELEASE_NOTES.md').exists()
|
||||
subprocess.run([str(prefix / 'bin/xtc-check'), '--inspect',
|
||||
str(prefix / 'share/xtc/examples/midi-demo.xtc')], check=True)
|
||||
for name in ('project-performance-baseline.json', 'graph-performance-phase29.json'):
|
||||
assert (prefix / 'share/doc/xtc' / name).is_file()
|
||||
if a.build_dir:
|
||||
again = root / 'repacked.tar.gz'
|
||||
command = [sys.executable, 'tools/package.py', '--build-dir', str(a.build_dir), '--output', str(again)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue