[OE-core] [PATCH 2/2] oeqa/buildproject: Run gnu-configize by default

Richard Purdie richard.purdie at linuxfoundation.org
Fri Feb 3 10:41:20 UTC 2017


The runtime oeqa tests were failing in the on-target case, only for
aarch64. This was because an old config.sub was being used.

Similar to the SDK testing, call gnu-configize in the on-target
case too to resolve the failing tests.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oeqa/sdk/utils/sdkbuildproject.py | 2 +-
 meta/lib/oeqa/utils/buildproject.py        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/lib/oeqa/sdk/utils/sdkbuildproject.py b/meta/lib/oeqa/sdk/utils/sdkbuildproject.py
index 4e4e507..4e25114 100644
--- a/meta/lib/oeqa/sdk/utils/sdkbuildproject.py
+++ b/meta/lib/oeqa/sdk/utils/sdkbuildproject.py
@@ -29,7 +29,7 @@ class SDKBuildProject(BuildProject):
         #Change targetdir to project folder
         self.targetdir = os.path.join(self.targetdir, self.fname)
 
-    def run_configure(self, configure_args='', extra_cmds=' gnu-configize; '):
+    def run_configure(self, configure_args='', extra_cmds=''):
         return super(SDKBuildProject, self).run_configure(configure_args=(configure_args or '$CONFIGURE_FLAGS'), extra_cmds=extra_cmds)
 
     def run_install(self, install_args=''):
diff --git a/meta/lib/oeqa/utils/buildproject.py b/meta/lib/oeqa/utils/buildproject.py
index b3c487b..fc8879c 100644
--- a/meta/lib/oeqa/utils/buildproject.py
+++ b/meta/lib/oeqa/utils/buildproject.py
@@ -39,7 +39,7 @@ class BuildProject(metaclass=ABCMeta):
     # The timeout parameter of target.run is set to 0 to make the ssh command
     # run with no timeout.
     def run_configure(self, configure_args='', extra_cmds=''):
-        return self._run('cd %s; %s ./configure %s' % (self.targetdir, extra_cmds, configure_args))
+        return self._run('cd %s; gnu-configize; %s ./configure %s' % (self.targetdir, extra_cmds, configure_args))
 
     def run_make(self, make_args=''):
         return self._run('cd %s; make %s' % (self.targetdir, make_args))
-- 
2.7.4




More information about the Openembedded-core mailing list