diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-04-23 10:56:35 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-05-07 19:27:37 -0300 |
commit | 28124aadbeaaa35f2c22b12cae96092466c1ded4 (patch) | |
tree | a0109dbf4907de490c05d84e3df84b1205a4c561 | |
parent | 3d8a9fffacec6bbd3be6429f6e849d82d3812827 (diff) | |
download | luarocks-28124aadbeaaa35f2c22b12cae96092466c1ded4.tar.gz luarocks-28124aadbeaaa35f2c22b12cae96092466c1ded4.tar.bz2 luarocks-28124aadbeaaa35f2c22b12cae96092466c1ded4.zip |
Tests: ensure that extra_rocks specified in test files were downloaded
-rw-r--r-- | spec/util/test_env.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/util/test_env.lua b/spec/util/test_env.lua index 998aeb2b..7b5b66b9 100644 --- a/spec/util/test_env.lua +++ b/spec/util/test_env.lua | |||
@@ -324,9 +324,9 @@ local function download_rocks(urls, save_path) | |||
324 | -- check if already downloaded | 324 | -- check if already downloaded |
325 | if not test_env.exists(save_path .. url) then | 325 | if not test_env.exists(save_path .. url) then |
326 | if test_env.TEST_TARGET_OS == "windows" then | 326 | if test_env.TEST_TARGET_OS == "windows" then |
327 | execute_bool(test_env.testing_paths.win_tools .. "/wget -cP " .. save_path .. " " .. luarocks_repo .. url .. " --no-check-certificate") | 327 | assert(execute_bool(test_env.testing_paths.win_tools .. "/wget -cP " .. save_path .. " " .. luarocks_repo .. url .. " --no-check-certificate")) |
328 | else | 328 | else |
329 | execute_bool("wget -cP " .. save_path .. " " .. luarocks_repo .. url) | 329 | assert(execute_bool("wget -cP " .. save_path .. " " .. luarocks_repo .. url)) |
330 | end | 330 | end |
331 | make_manifest = true | 331 | make_manifest = true |
332 | end | 332 | end |