From de1313fb06c704a51f675bd3c235e53258f31e73 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sun, 9 Jun 2019 16:37:33 +0200 Subject: [PATCH] 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) --- 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 -- 2.30.2