diff mbox

KVM test: Make install test not strip binaries

Message ID 1252595341-6154-1-git-send-email-lmr@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lucas Meneghel Rodrigues Sept. 10, 2009, 3:09 p.m. UTC
Don't strip binaries on all supported build methods.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
---
 client/tests/kvm/kvm_install.py |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/client/tests/kvm/kvm_install.py b/client/tests/kvm/kvm_install.py
index 673445f..148513f 100755
--- a/client/tests/kvm/kvm_install.py
+++ b/client/tests/kvm/kvm_install.py
@@ -271,12 +271,14 @@  class GitInstaller:
             utils.system('make -j %s' % utils.count_cpus())
             logging.info('Building KVM userspace code')
             os.chdir(self.userspace_srcdir)
-            utils.system('./configure --prefix=%s' % self.prefix)
+            utils.system('./configure --disable-strip --prefix=%s' %
+                         self.prefix)
             utils.system('make clean')
             utils.system('make -j %s' % utils.count_cpus())
         else:
             os.chdir(self.userspace_srcdir)
-            utils.system('./configure --prefix=%s' % self.prefix)
+            utils.system('./configure --disable-strip --prefix=%s' %
+                         self.prefix)
             logging.info('Building KVM modules')
             utils.system('make clean')
             utils.system('make -C kernel LINUX=%s sync' % self.kernel_srcdir)