diff options
author | Igor Gnatenko <i.gnatenko.brain@gmail.com> | 2015-03-20 23:51:44 +0300 |
---|---|---|
committer | Igor Gnatenko <i.gnatenko.brain@gmail.com> | 2015-03-21 00:50:21 +0300 |
commit | 0a43406059cfc726a259c0da20d7ec3650e7867a (patch) | |
tree | a5cd6b854a74efd569abc01115812e87d2ba0a58 /modules | |
parent | 11d95bd5aba15bb6fa7136f2637aa4d5e133376b (diff) | |
download | meson-0a43406059cfc726a259c0da20d7ec3650e7867a.zip meson-0a43406059cfc726a259c0da20d7ec3650e7867a.tar.gz meson-0a43406059cfc726a259c0da20d7ec3650e7867a.tar.bz2 |
modules/rpm: enable tests in check section
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/rpm.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/rpm.py b/modules/rpm.py index 97d3d86..d50e0f6 100644 --- a/modules/rpm.py +++ b/modules/rpm.py @@ -88,6 +88,11 @@ class RPMModule: if len(to_delete) > 0: fn.write('rm -rf %s\n' % ' '.join(to_delete)) fn.write('\n') + fn.write('%check\n') + fn.write('pushd rpmbuilddir\n') + fn.write(' ninja-build -v test\n') + fn.write('popd\n') + fn.write('\n') fn.write('%files\n') for f in files: fn.write('%s\n' % f) |