package/luarocks: fix test file creation on br-external
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>
This commit is contained in:
parent
280149ce60
commit
de1313fb06
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user