]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
oeqa/buildproject: Run gnu-configize by default
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 3 Feb 2017 10:32:40 +0000 (10:32 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 5 Feb 2017 09:20:22 +0000 (09:20 +0000)
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@linuxfoundation.org>
meta/lib/oeqa/sdk/utils/sdkbuildproject.py
meta/lib/oeqa/utils/buildproject.py

index 4e4e5077c086b5843c719159c0456cddfb6589c5..4e251142d7ca42aa68e44c42b8131763563e9699 100644 (file)
@@ -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=''):
index b3c487b6c661e0393aea7c41536507eaeb53718d..fc8879cfb82a5aee3f627c0d382412ac7cad74ce 100644 (file)
@@ -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))