diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-03 10:32:40 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-05 09:22:17 +0000 |
commit | 08858ff213cb692227ab7b9b3808ac9954864564 (patch) | |
tree | a5a8b4d750c625ff4c84e5879ce621b2f54d7c19 /meta | |
parent | 6840618f1a718d3aa8fd9e7e4fd3ffde01559e7d (diff) | |
download | poky-08858ff213cb692227ab7b9b3808ac9954864564.tar.gz |
oeqa/buildproject: Run gnu-configize by default
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.
(From OE-Core rev: 7918fe08d8e48f46cf2402afa66d35063eb72545)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/sdk/utils/sdkbuildproject.py | 2 | ||||
-rw-r--r-- | 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 4e4e5077c0..4e251142d7 100644 --- a/meta/lib/oeqa/sdk/utils/sdkbuildproject.py +++ b/meta/lib/oeqa/sdk/utils/sdkbuildproject.py | |||
@@ -29,7 +29,7 @@ class SDKBuildProject(BuildProject): | |||
29 | #Change targetdir to project folder | 29 | #Change targetdir to project folder |
30 | self.targetdir = os.path.join(self.targetdir, self.fname) | 30 | self.targetdir = os.path.join(self.targetdir, self.fname) |
31 | 31 | ||
32 | def run_configure(self, configure_args='', extra_cmds=' gnu-configize; '): | 32 | def run_configure(self, configure_args='', extra_cmds=''): |
33 | return super(SDKBuildProject, self).run_configure(configure_args=(configure_args or '$CONFIGURE_FLAGS'), extra_cmds=extra_cmds) | 33 | return super(SDKBuildProject, self).run_configure(configure_args=(configure_args or '$CONFIGURE_FLAGS'), extra_cmds=extra_cmds) |
34 | 34 | ||
35 | def run_install(self, install_args=''): | 35 | def run_install(self, install_args=''): |
diff --git a/meta/lib/oeqa/utils/buildproject.py b/meta/lib/oeqa/utils/buildproject.py index b3c487b6c6..fc8879cfb8 100644 --- a/meta/lib/oeqa/utils/buildproject.py +++ b/meta/lib/oeqa/utils/buildproject.py | |||
@@ -39,7 +39,7 @@ class BuildProject(metaclass=ABCMeta): | |||
39 | # The timeout parameter of target.run is set to 0 to make the ssh command | 39 | # The timeout parameter of target.run is set to 0 to make the ssh command |
40 | # run with no timeout. | 40 | # run with no timeout. |
41 | def run_configure(self, configure_args='', extra_cmds=''): | 41 | def run_configure(self, configure_args='', extra_cmds=''): |
42 | return self._run('cd %s; %s ./configure %s' % (self.targetdir, extra_cmds, configure_args)) | 42 | return self._run('cd %s; gnu-configize; %s ./configure %s' % (self.targetdir, extra_cmds, configure_args)) |
43 | 43 | ||
44 | def run_make(self, make_args=''): | 44 | def run_make(self, make_args=''): |
45 | return self._run('cd %s; make %s' % (self.targetdir, make_args)) | 45 | return self._run('cd %s; make %s' % (self.targetdir, make_args)) |