diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2022-04-16 18:53:07 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2022-04-16 21:17:34 -0300 |
| commit | 0f82063a51cd9197edd214e0427fe4e84ae9c0b9 (patch) | |
| tree | 90b1f09e2504e8eb97209af4ec24e7ab6fdfbb17 /spec/fixtures | |
| parent | a405d1a5f6c9eb7249a9271ca23ff1f701f91cfe (diff) | |
| download | luarocks-0f82063a51cd9197edd214e0427fe4e84ae9c0b9.tar.gz luarocks-0f82063a51cd9197edd214e0427fe4e84ae9c0b9.tar.bz2 luarocks-0f82063a51cd9197edd214e0427fe4e84ae9c0b9.zip | |
tests: run tests on Lua 5.4 and LuaJIT 2.1
Diffstat (limited to 'spec/fixtures')
| -rw-r--r-- | spec/fixtures/a_repo/manifest | 18 | ||||
| -rw-r--r-- | spec/fixtures/a_repo/manifest-5.1 | 18 | ||||
| -rw-r--r-- | spec/fixtures/a_repo/manifest-5.1.zip | bin | 358 -> 343 bytes | |||
| -rw-r--r-- | spec/fixtures/a_repo/manifest-5.2 | 18 | ||||
| -rw-r--r-- | spec/fixtures/a_repo/manifest-5.2.zip | bin | 358 -> 343 bytes | |||
| -rw-r--r-- | spec/fixtures/a_repo/manifest-5.3 | 18 | ||||
| -rw-r--r-- | spec/fixtures/a_repo/manifest-5.3.zip | bin | 358 -> 343 bytes | |||
| -rw-r--r-- | spec/fixtures/a_repo/manifest-5.4 | 90 | ||||
| -rw-r--r-- | spec/fixtures/a_repo/manifest-5.4.zip | bin | 0 -> 343 bytes | |||
| -rw-r--r-- | spec/fixtures/a_repo/manifests/a_user/manifest-5.4 | 14 | ||||
| -rw-r--r-- | spec/fixtures/a_repo/manifests/another_user/manifest-5.4 | 14 |
11 files changed, 190 insertions, 0 deletions
diff --git a/spec/fixtures/a_repo/manifest b/spec/fixtures/a_repo/manifest index 5ab87d25..a5f770a1 100644 --- a/spec/fixtures/a_repo/manifest +++ b/spec/fixtures/a_repo/manifest | |||
| @@ -68,5 +68,23 @@ repository = { | |||
| 68 | arch = "src" | 68 | arch = "src" |
| 69 | } | 69 | } |
| 70 | } | 70 | } |
| 71 | }, | ||
| 72 | non_lua_file = { | ||
| 73 | ["1.0-1"] = { | ||
| 74 | { | ||
| 75 | arch = "rockspec" | ||
| 76 | }, | ||
| 77 | { | ||
| 78 | arch = "src" | ||
| 79 | } | ||
| 80 | }, | ||
| 81 | ["1.0-2"] = { | ||
| 82 | { | ||
| 83 | arch = "rockspec" | ||
| 84 | }, | ||
| 85 | { | ||
| 86 | arch = "src" | ||
| 87 | } | ||
| 88 | } | ||
| 71 | } | 89 | } |
| 72 | } | 90 | } |
diff --git a/spec/fixtures/a_repo/manifest-5.1 b/spec/fixtures/a_repo/manifest-5.1 index 5ab87d25..a5f770a1 100644 --- a/spec/fixtures/a_repo/manifest-5.1 +++ b/spec/fixtures/a_repo/manifest-5.1 | |||
| @@ -68,5 +68,23 @@ repository = { | |||
| 68 | arch = "src" | 68 | arch = "src" |
| 69 | } | 69 | } |
| 70 | } | 70 | } |
| 71 | }, | ||
| 72 | non_lua_file = { | ||
| 73 | ["1.0-1"] = { | ||
| 74 | { | ||
| 75 | arch = "rockspec" | ||
| 76 | }, | ||
| 77 | { | ||
| 78 | arch = "src" | ||
| 79 | } | ||
| 80 | }, | ||
| 81 | ["1.0-2"] = { | ||
| 82 | { | ||
| 83 | arch = "rockspec" | ||
| 84 | }, | ||
| 85 | { | ||
| 86 | arch = "src" | ||
| 87 | } | ||
| 88 | } | ||
| 71 | } | 89 | } |
| 72 | } | 90 | } |
diff --git a/spec/fixtures/a_repo/manifest-5.1.zip b/spec/fixtures/a_repo/manifest-5.1.zip index 65e316df..e63d6f1f 100644 --- a/spec/fixtures/a_repo/manifest-5.1.zip +++ b/spec/fixtures/a_repo/manifest-5.1.zip | |||
| Binary files differ | |||
diff --git a/spec/fixtures/a_repo/manifest-5.2 b/spec/fixtures/a_repo/manifest-5.2 index 5ab87d25..a5f770a1 100644 --- a/spec/fixtures/a_repo/manifest-5.2 +++ b/spec/fixtures/a_repo/manifest-5.2 | |||
| @@ -68,5 +68,23 @@ repository = { | |||
| 68 | arch = "src" | 68 | arch = "src" |
| 69 | } | 69 | } |
| 70 | } | 70 | } |
| 71 | }, | ||
| 72 | non_lua_file = { | ||
| 73 | ["1.0-1"] = { | ||
| 74 | { | ||
| 75 | arch = "rockspec" | ||
| 76 | }, | ||
| 77 | { | ||
| 78 | arch = "src" | ||
| 79 | } | ||
| 80 | }, | ||
| 81 | ["1.0-2"] = { | ||
| 82 | { | ||
| 83 | arch = "rockspec" | ||
| 84 | }, | ||
| 85 | { | ||
| 86 | arch = "src" | ||
| 87 | } | ||
| 88 | } | ||
| 71 | } | 89 | } |
| 72 | } | 90 | } |
diff --git a/spec/fixtures/a_repo/manifest-5.2.zip b/spec/fixtures/a_repo/manifest-5.2.zip index b4334a65..cec28c07 100644 --- a/spec/fixtures/a_repo/manifest-5.2.zip +++ b/spec/fixtures/a_repo/manifest-5.2.zip | |||
| Binary files differ | |||
diff --git a/spec/fixtures/a_repo/manifest-5.3 b/spec/fixtures/a_repo/manifest-5.3 index 5ab87d25..a5f770a1 100644 --- a/spec/fixtures/a_repo/manifest-5.3 +++ b/spec/fixtures/a_repo/manifest-5.3 | |||
| @@ -68,5 +68,23 @@ repository = { | |||
| 68 | arch = "src" | 68 | arch = "src" |
| 69 | } | 69 | } |
| 70 | } | 70 | } |
| 71 | }, | ||
| 72 | non_lua_file = { | ||
| 73 | ["1.0-1"] = { | ||
| 74 | { | ||
| 75 | arch = "rockspec" | ||
| 76 | }, | ||
| 77 | { | ||
| 78 | arch = "src" | ||
| 79 | } | ||
| 80 | }, | ||
| 81 | ["1.0-2"] = { | ||
| 82 | { | ||
| 83 | arch = "rockspec" | ||
| 84 | }, | ||
| 85 | { | ||
| 86 | arch = "src" | ||
| 87 | } | ||
| 88 | } | ||
| 71 | } | 89 | } |
| 72 | } | 90 | } |
diff --git a/spec/fixtures/a_repo/manifest-5.3.zip b/spec/fixtures/a_repo/manifest-5.3.zip index bab15712..23df5c30 100644 --- a/spec/fixtures/a_repo/manifest-5.3.zip +++ b/spec/fixtures/a_repo/manifest-5.3.zip | |||
| Binary files differ | |||
diff --git a/spec/fixtures/a_repo/manifest-5.4 b/spec/fixtures/a_repo/manifest-5.4 new file mode 100644 index 00000000..a5f770a1 --- /dev/null +++ b/spec/fixtures/a_repo/manifest-5.4 | |||
| @@ -0,0 +1,90 @@ | |||
| 1 | commands = {} | ||
| 2 | modules = {} | ||
| 3 | repository = { | ||
| 4 | a_build_dep = { | ||
| 5 | ["1.0-1"] = { | ||
| 6 | { | ||
| 7 | arch = "src" | ||
| 8 | }, | ||
| 9 | { | ||
| 10 | arch = "rockspec" | ||
| 11 | } | ||
| 12 | } | ||
| 13 | }, | ||
| 14 | a_rock = { | ||
| 15 | ["1.0-1"] = { | ||
| 16 | { | ||
| 17 | arch = "src" | ||
| 18 | }, | ||
| 19 | { | ||
| 20 | arch = "rockspec" | ||
| 21 | } | ||
| 22 | }, | ||
| 23 | ["2.0-1"] = { | ||
| 24 | { | ||
| 25 | arch = "src" | ||
| 26 | } | ||
| 27 | } | ||
| 28 | }, | ||
| 29 | busted_project = { | ||
| 30 | ["0.1-1"] = { | ||
| 31 | { | ||
| 32 | arch = "src" | ||
| 33 | }, | ||
| 34 | { | ||
| 35 | arch = "rockspec" | ||
| 36 | } | ||
| 37 | } | ||
| 38 | }, | ||
| 39 | has_another_namespaced_dep = { | ||
| 40 | ["1.0-1"] = { | ||
| 41 | { | ||
| 42 | arch = "rockspec" | ||
| 43 | }, | ||
| 44 | { | ||
| 45 | arch = "src" | ||
| 46 | } | ||
| 47 | } | ||
| 48 | }, | ||
| 49 | has_build_dep = { | ||
| 50 | ["1.0-1"] = { | ||
| 51 | { | ||
| 52 | arch = "rockspec" | ||
| 53 | }, | ||
| 54 | { | ||
| 55 | arch = "src" | ||
| 56 | }, | ||
| 57 | { | ||
| 58 | arch = "all" | ||
| 59 | } | ||
| 60 | } | ||
| 61 | }, | ||
| 62 | has_namespaced_dep = { | ||
| 63 | ["1.0-1"] = { | ||
| 64 | { | ||
| 65 | arch = "rockspec" | ||
| 66 | }, | ||
| 67 | { | ||
| 68 | arch = "src" | ||
| 69 | } | ||
| 70 | } | ||
| 71 | }, | ||
| 72 | non_lua_file = { | ||
| 73 | ["1.0-1"] = { | ||
| 74 | { | ||
| 75 | arch = "rockspec" | ||
| 76 | }, | ||
| 77 | { | ||
| 78 | arch = "src" | ||
| 79 | } | ||
| 80 | }, | ||
| 81 | ["1.0-2"] = { | ||
| 82 | { | ||
| 83 | arch = "rockspec" | ||
| 84 | }, | ||
| 85 | { | ||
| 86 | arch = "src" | ||
| 87 | } | ||
| 88 | } | ||
| 89 | } | ||
| 90 | } | ||
diff --git a/spec/fixtures/a_repo/manifest-5.4.zip b/spec/fixtures/a_repo/manifest-5.4.zip new file mode 100644 index 00000000..14b5621e --- /dev/null +++ b/spec/fixtures/a_repo/manifest-5.4.zip | |||
| Binary files differ | |||
diff --git a/spec/fixtures/a_repo/manifests/a_user/manifest-5.4 b/spec/fixtures/a_repo/manifests/a_user/manifest-5.4 new file mode 100644 index 00000000..74b0c618 --- /dev/null +++ b/spec/fixtures/a_repo/manifests/a_user/manifest-5.4 | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | commands = {} | ||
| 2 | modules = {} | ||
| 3 | repository = { | ||
| 4 | a_rock = { | ||
| 5 | ["2.0-1"] = { | ||
| 6 | { | ||
| 7 | arch = "rockspec" | ||
| 8 | }, | ||
| 9 | { | ||
| 10 | arch = "src" | ||
| 11 | } | ||
| 12 | } | ||
| 13 | } | ||
| 14 | } | ||
diff --git a/spec/fixtures/a_repo/manifests/another_user/manifest-5.4 b/spec/fixtures/a_repo/manifests/another_user/manifest-5.4 new file mode 100644 index 00000000..185aed08 --- /dev/null +++ b/spec/fixtures/a_repo/manifests/another_user/manifest-5.4 | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | commands = {} | ||
| 2 | modules = {} | ||
| 3 | repository = { | ||
| 4 | a_rock = { | ||
| 5 | ["3.0-1"] = { | ||
| 6 | { | ||
| 7 | arch = "src" | ||
| 8 | }, | ||
| 9 | { | ||
| 10 | arch = "rockspec" | ||
| 11 | } | ||
| 12 | } | ||
| 13 | } | ||
| 14 | } | ||
