From: Francois Perrad Date: Sun, 9 Jun 2019 14:37:33 +0000 (+0200) Subject: package/luarocks: fix test file creation on br-external X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de1313fb06c704a51f675bd3c235e53258f31e73;p=buildroot.git package/luarocks: fix test file creation on br-external first, add the creation of the needed subdirectories Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- 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