mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
selftest/recipetool: Drop globbing SRC_URI test, no longer supported
Globbing is a bad idea in SRC_URI, it breaks the task checksums and can't really be fixed. Since we're removing it, drop the test for its interaction with recipetool. (From OE-Core rev: 8bf93fa89aa1ba73f6eec05b95d6e8ca5f7d4c4b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -226,19 +226,6 @@ class RecipetoolTests(RecipetoolBase):
|
||||
_, output = self._try_recipetool_appendfile('selftest-recipetool-appendfile', '/usr/share/selftest-replaceme-subdir', self.testfile, '', expectedlines, ['testfile'])
|
||||
self.assertNotIn('WARNING: ', output)
|
||||
|
||||
def test_recipetool_appendfile_src_glob(self):
|
||||
# A file that's in SRC_URI as a glob
|
||||
expectedlines = ['FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"\n',
|
||||
'\n',
|
||||
'SRC_URI += "file://testfile"\n',
|
||||
'\n',
|
||||
'do_install_append() {\n',
|
||||
' install -d ${D}${datadir}\n',
|
||||
' install -m 0644 ${WORKDIR}/testfile ${D}${datadir}/selftest-replaceme-src-globfile\n',
|
||||
'}\n']
|
||||
_, output = self._try_recipetool_appendfile('selftest-recipetool-appendfile', '/usr/share/selftest-replaceme-src-globfile', self.testfile, '', expectedlines, ['testfile'])
|
||||
self.assertNotIn('WARNING: ', output)
|
||||
|
||||
def test_recipetool_appendfile_inst_glob(self):
|
||||
# A file that's in do_install as a glob
|
||||
expectedlines = ['FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"\n',
|
||||
|
||||
Reference in New Issue
Block a user