diff options
author | Scott Weaver <weaverjs@gmail.com> | 2021-09-05 18:27:38 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-07 21:54:39 +0100 |
commit | 7de1e4cd7a183a68212be30b6f4e964a54852f1d (patch) | |
tree | ee97c66066c727c54e275bb76595bad5f3709d6e /bitbake/lib/codegen.py | |
parent | 3b58b1fc1c4d7351029cc24a2dd8f0d776cef00c (diff) | |
download | poky-7de1e4cd7a183a68212be30b6f4e964a54852f1d.tar.gz |
bitbake: bitbake: tests/fetch: add and fix npm tests
This adds one new test that verifies the use of a specific filename
when defined in PREMIRRORS.
bb.tests.fetch.NPMTest:
- test_npm_premirrors_with_specified_filename
While testing bz#13039, it was found that test_npm_registry_alternate
fails with ENOTFOUND. This was corrected by using npmjs's public mirror.
The change to fetch2 for bz#13039 highlighted an issue with the
test_npm_premirrors test where the created file:// mirror was using the
downloadfilename rather than the tarball that is defined by the npm url.
(Bitbake rev: 5ba191a0407af9e652e3b86302dce3e952d6b587)
Signed-off-by: Scott Weaver <weaverjs@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/codegen.py')
0 files changed, 0 insertions, 0 deletions