forked from platformio/platformio-core
Fix issue with package packing when re-map is used and manifest is missed in "include" (copy it now)
This commit is contained in:
1 parent
a688edbdf1
commit
368c66727b
2 files changed
+13
-8
No files matched your search
@@ -61,7 +61,10 @@ def test_filters(tmpdir_factory):
|
||||
)
|
||||
p = PackagePacker(str(pkg_dir))
|
||||
with tarfile.open(p.pack(str(pkg_dir)), "r:gz") as tar:
|
||||
assert set(tar.getnames()) == set(["util/helpers.cpp", "main.cpp"])
|
||||
assert set(tar.getnames()) == set(
|
||||
["util/helpers.cpp", "main.cpp", "library.json"]
|
||||
)
|
||||
os.unlink(str(src_dir.join("library.json")))
|
||||
|
||||
# test include "src" and "include"
|
||||
pkg_dir.join("library.json").write(
|
||||
|
||||
Reference in new issue
Block a user