diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2020-01-24 19:38:42 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2020-01-25 22:04:11 -0300 |
commit | 0e3a09b6ed727533b0a6d545c61fcab5f02b6145 (patch) | |
tree | 687940d6a0e574027b05e0237789d436fe561810 /spec/fixtures | |
parent | 2e5748e5ade1566fa2e479aa4f38c0b46fe0ba79 (diff) | |
download | luarocks-0e3a09b6ed727533b0a6d545c61fcab5f02b6145.tar.gz luarocks-0e3a09b6ed727533b0a6d545c61fcab5f02b6145.tar.bz2 luarocks-0e3a09b6ed727533b0a6d545c61fcab5f02b6145.zip |
tests: drop LuaSec dependency on tests, use fixtures instead
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/build_only_deps-0.1-1.rockspec | 18 | ||||
-rw-r--r-- | spec/fixtures/build_only_deps-0.1-1.src.rock | bin | 0 -> 547 bytes | |||
-rw-r--r-- | spec/fixtures/fixturedep.c | 4 |
3 files changed, 22 insertions, 0 deletions
diff --git a/spec/fixtures/build_only_deps-0.1-1.rockspec b/spec/fixtures/build_only_deps-0.1-1.rockspec new file mode 100644 index 00000000..02d2b47e --- /dev/null +++ b/spec/fixtures/build_only_deps-0.1-1.rockspec | |||
@@ -0,0 +1,18 @@ | |||
1 | package = "build_only_deps" | ||
2 | version = "0.1-1" | ||
3 | source = { | ||
4 | url = "file://./a_rock.lua" | ||
5 | } | ||
6 | description = { | ||
7 | summary = "Fixture to test --only-deps", | ||
8 | } | ||
9 | dependencies = { | ||
10 | "lua >= 5.1", | ||
11 | "a_rock 1.0", | ||
12 | } | ||
13 | build = { | ||
14 | type = "builtin", | ||
15 | modules = { | ||
16 | dummy = "a_rock.lua", | ||
17 | } | ||
18 | } | ||
diff --git a/spec/fixtures/build_only_deps-0.1-1.src.rock b/spec/fixtures/build_only_deps-0.1-1.src.rock new file mode 100644 index 00000000..74b2d1e6 --- /dev/null +++ b/spec/fixtures/build_only_deps-0.1-1.src.rock | |||
Binary files differ | |||
diff --git a/spec/fixtures/fixturedep.c b/spec/fixtures/fixturedep.c new file mode 100644 index 00000000..e3fcdd51 --- /dev/null +++ b/spec/fixtures/fixturedep.c | |||
@@ -0,0 +1,4 @@ | |||
1 | |||
2 | int fixturedep_fn() { | ||
3 | return 0; | ||
4 | } | ||