diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-07 11:01:36 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-07 12:13:03 +0100 |
commit | fc77dc63fe02978d2c30bc48f01f2fe17069ee66 (patch) | |
tree | b609f062b71ac94837f2cd2c95861bedb330c152 /meta | |
parent | e931d910ed5014039ad055ee9f82d50455ed7734 (diff) | |
download | poky-fc77dc63fe02978d2c30bc48f01f2fe17069ee66.tar.gz |
selftest/package: Fix hardlink test when using sstate
The build target won't cause the package task to run if things were already
built and in sstate. Ensure we run the package task explicitly to ensure
the test works as intended.
(From OE-Core rev: be20eb4f4ad77d9444028ca9632b74d5866d96b8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/package.py b/meta/lib/oeqa/selftest/cases/package.py index 1e171b5ebe..f288fcafdb 100644 --- a/meta/lib/oeqa/selftest/cases/package.py +++ b/meta/lib/oeqa/selftest/cases/package.py | |||
@@ -89,7 +89,7 @@ class VersionOrdering(OESelftestTestCase): | |||
89 | class PackageTests(OESelftestTestCase): | 89 | class PackageTests(OESelftestTestCase): |
90 | # Verify that a recipe which sets up hardlink files has those preserved into split packages | 90 | # Verify that a recipe which sets up hardlink files has those preserved into split packages |
91 | def test_preserve_hardlinks(self): | 91 | def test_preserve_hardlinks(self): |
92 | result = bitbake("selftest-hardlink") | 92 | result = bitbake("selftest-hardlink -c package") |
93 | 93 | ||
94 | dest = get_bb_var('PKGDEST', 'selftest-hardlink') | 94 | dest = get_bb_var('PKGDEST', 'selftest-hardlink') |
95 | bindir = get_bb_var('bindir', 'selftest-hardlink') | 95 | bindir = get_bb_var('bindir', 'selftest-hardlink') |