diff options
| author | George Roman <george.roman.99@gmail.com> | 2018-06-12 00:19:32 +0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-06-12 15:23:42 -0300 |
| commit | 56150aad8614bef64e25866108a2bf65052f503a (patch) | |
| tree | 88f025410e44c2fe6b7714332bcdf9648456af31 | |
| parent | 9f00925a3d5e70350ad73d908d99c8ef634dc7eb (diff) | |
| download | luarocks-56150aad8614bef64e25866108a2bf65052f503a.tar.gz luarocks-56150aad8614bef64e25866108a2bf65052f503a.tar.bz2 luarocks-56150aad8614bef64e25866108a2bf65052f503a.zip | |
Include 0% coverage files in the luacov report
| -rw-r--r-- | spec/dummy_spec.lua | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/spec/dummy_spec.lua b/spec/dummy_spec.lua new file mode 100644 index 00000000..80f04ffb --- /dev/null +++ b/spec/dummy_spec.lua | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | -- Dummy test file for including files with 0% coverage in the luacov report | ||
| 2 | |||
| 3 | local test_env = require("spec.util.test_env") | ||
| 4 | local testing_paths = test_env.testing_paths | ||
| 5 | |||
| 6 | test_env.unload_luarocks() | ||
| 7 | |||
| 8 | local runner = require("luacov.runner") | ||
| 9 | runner.init(testing_paths.testrun_dir .. "/luacov.config") | ||
| 10 | |||
| 11 | require("luarocks.build.cmake") | ||
| 12 | require("luarocks.build.command") | ||
| 13 | require("luarocks.tools.tar") | ||
| 14 | require("luarocks.fetch.cvs") | ||
| 15 | require("luarocks.fetch.git_file") | ||
| 16 | require("luarocks.fetch.git_https") | ||
| 17 | require("luarocks.fetch.git_ssh") | ||
| 18 | require("luarocks.fetch.hg_http") | ||
| 19 | require("luarocks.fetch.hg_https") | ||
| 20 | require("luarocks.fetch.hg_ssh") | ||
| 21 | require("luarocks.fetch.hg") | ||
| 22 | require("luarocks.fetch.sscm") | ||
| 23 | require("luarocks.fetch.svn") | ||
| 24 | |||
| 25 | runner.shutdown() | ||
