All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/luarocks: fix test file creation on br-external
@ 2019-06-09 21:40 Arnout Vandecappelle
  0 siblings, 0 replies; only message in thread
From: Arnout Vandecappelle @ 2019-06-09 21:40 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=de1313fb06c704a51f675bd3c235e53258f31e73
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

first, add the creation of the needed subdirectories

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/luarocks/buildroot.lua | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/luarocks/buildroot.lua b/package/luarocks/buildroot.lua
index 39f0fe759e..35223c1192 100644
--- a/package/luarocks/buildroot.lua
+++ b/package/luarocks/buildroot.lua
@@ -400,6 +400,8 @@ function buildroot.command(flags, rockname, fsname)
    generate_mk(rockspec, fsname:lower(), licenses)
    generate_hash(rockspec, fsname:lower(), rock_file, licenses, digest)
    if has_c_files(rockspec) then
+      ok, err = fs.make_dir('support/testing/tests/package')
+      if not ok then return nil, err end
       generate_test(rockspec, fsname:lower())
    end
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-09 21:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-09 21:40 [Buildroot] [git commit] package/luarocks: fix test file creation on br-external Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.