aboutsummaryrefslogtreecommitdiff
path: root/spec/fixtures
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-05-07 11:22:07 -0300
committerHisham Muhammad <hisham@gobolinux.org>2018-05-07 19:27:37 -0300
commit1dcdaa77c0a52ad02f49bc7fdde2fd7dee956ddf (patch)
tree30a6e8dbabc0e36b3a9ff25dfde2fa60327ae402 /spec/fixtures
parent5bff41c6b4adac49c0456f125c9f208b0a429d86 (diff)
downloadluarocks-1dcdaa77c0a52ad02f49bc7fdde2fd7dee956ddf.tar.gz
luarocks-1dcdaa77c0a52ad02f49bc7fdde2fd7dee956ddf.tar.bz2
luarocks-1dcdaa77c0a52ad02f49bc7fdde2fd7dee956ddf.zip
Tests: test the "busted" backend of `luarocks test` with a local fixture
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/a_repo/busted_project-0.1-1.rockspec19
-rw-r--r--spec/fixtures/a_repo/busted_project-0.1-1.src.rockbin0 -> 937 bytes
-rw-r--r--spec/fixtures/a_repo/manifest10
-rw-r--r--spec/fixtures/a_repo/manifest-5.110
-rw-r--r--spec/fixtures/a_repo/manifest-5.1.zipbin0 -> 350 bytes
-rw-r--r--spec/fixtures/a_repo/manifest-5.210
-rw-r--r--spec/fixtures/a_repo/manifest-5.2.zipbin0 -> 350 bytes
-rw-r--r--spec/fixtures/a_repo/manifest-5.310
-rw-r--r--spec/fixtures/a_repo/manifest-5.3.zipbin0 -> 350 bytes
-rw-r--r--spec/fixtures/busted_project-0.1-1.rockspec19
-rw-r--r--spec/fixtures/busted_project-0.1.tar.gzbin0 -> 345 bytes
11 files changed, 78 insertions, 0 deletions
diff --git a/spec/fixtures/a_repo/busted_project-0.1-1.rockspec b/spec/fixtures/a_repo/busted_project-0.1-1.rockspec
new file mode 100644
index 00000000..54ed28a5
--- /dev/null
+++ b/spec/fixtures/a_repo/busted_project-0.1-1.rockspec
@@ -0,0 +1,19 @@
1rockspec_format = "3.0"
2package = "busted_project"
3version = "0.1-1"
4source = {
5 url = "http://localhost:8080/file/busted_project-0.1.tar.gz",
6 dir = "busted_project",
7}
8description = {
9 summary = "A project that uses Busted tests",
10}
11build = {
12 type = "builtin",
13 modules = {
14 sum = "sum.lua",
15 }
16}
17test = {
18 type = "busted",
19}
diff --git a/spec/fixtures/a_repo/busted_project-0.1-1.src.rock b/spec/fixtures/a_repo/busted_project-0.1-1.src.rock
new file mode 100644
index 00000000..db924117
--- /dev/null
+++ b/spec/fixtures/a_repo/busted_project-0.1-1.src.rock
Binary files differ
diff --git a/spec/fixtures/a_repo/manifest b/spec/fixtures/a_repo/manifest
index 1a5f8d55..3b01b427 100644
--- a/spec/fixtures/a_repo/manifest
+++ b/spec/fixtures/a_repo/manifest
@@ -21,6 +21,16 @@ repository = {
21 } 21 }
22 } 22 }
23 }, 23 },
24 busted_project = {
25 ["0.1-1"] = {
26 {
27 arch = "src"
28 },
29 {
30 arch = "rockspec"
31 }
32 }
33 },
24 has_another_namespaced_dep = { 34 has_another_namespaced_dep = {
25 ["1.0-1"] = { 35 ["1.0-1"] = {
26 { 36 {
diff --git a/spec/fixtures/a_repo/manifest-5.1 b/spec/fixtures/a_repo/manifest-5.1
index 1a5f8d55..3b01b427 100644
--- a/spec/fixtures/a_repo/manifest-5.1
+++ b/spec/fixtures/a_repo/manifest-5.1
@@ -21,6 +21,16 @@ repository = {
21 } 21 }
22 } 22 }
23 }, 23 },
24 busted_project = {
25 ["0.1-1"] = {
26 {
27 arch = "src"
28 },
29 {
30 arch = "rockspec"
31 }
32 }
33 },
24 has_another_namespaced_dep = { 34 has_another_namespaced_dep = {
25 ["1.0-1"] = { 35 ["1.0-1"] = {
26 { 36 {
diff --git a/spec/fixtures/a_repo/manifest-5.1.zip b/spec/fixtures/a_repo/manifest-5.1.zip
new file mode 100644
index 00000000..7b53aeb0
--- /dev/null
+++ 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 1a5f8d55..3b01b427 100644
--- a/spec/fixtures/a_repo/manifest-5.2
+++ b/spec/fixtures/a_repo/manifest-5.2
@@ -21,6 +21,16 @@ repository = {
21 } 21 }
22 } 22 }
23 }, 23 },
24 busted_project = {
25 ["0.1-1"] = {
26 {
27 arch = "src"
28 },
29 {
30 arch = "rockspec"
31 }
32 }
33 },
24 has_another_namespaced_dep = { 34 has_another_namespaced_dep = {
25 ["1.0-1"] = { 35 ["1.0-1"] = {
26 { 36 {
diff --git a/spec/fixtures/a_repo/manifest-5.2.zip b/spec/fixtures/a_repo/manifest-5.2.zip
new file mode 100644
index 00000000..d2eddc40
--- /dev/null
+++ 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 1a5f8d55..3b01b427 100644
--- a/spec/fixtures/a_repo/manifest-5.3
+++ b/spec/fixtures/a_repo/manifest-5.3
@@ -21,6 +21,16 @@ repository = {
21 } 21 }
22 } 22 }
23 }, 23 },
24 busted_project = {
25 ["0.1-1"] = {
26 {
27 arch = "src"
28 },
29 {
30 arch = "rockspec"
31 }
32 }
33 },
24 has_another_namespaced_dep = { 34 has_another_namespaced_dep = {
25 ["1.0-1"] = { 35 ["1.0-1"] = {
26 { 36 {
diff --git a/spec/fixtures/a_repo/manifest-5.3.zip b/spec/fixtures/a_repo/manifest-5.3.zip
new file mode 100644
index 00000000..686fe232
--- /dev/null
+++ b/spec/fixtures/a_repo/manifest-5.3.zip
Binary files differ
diff --git a/spec/fixtures/busted_project-0.1-1.rockspec b/spec/fixtures/busted_project-0.1-1.rockspec
new file mode 100644
index 00000000..54ed28a5
--- /dev/null
+++ b/spec/fixtures/busted_project-0.1-1.rockspec
@@ -0,0 +1,19 @@
1rockspec_format = "3.0"
2package = "busted_project"
3version = "0.1-1"
4source = {
5 url = "http://localhost:8080/file/busted_project-0.1.tar.gz",
6 dir = "busted_project",
7}
8description = {
9 summary = "A project that uses Busted tests",
10}
11build = {
12 type = "builtin",
13 modules = {
14 sum = "sum.lua",
15 }
16}
17test = {
18 type = "busted",
19}
diff --git a/spec/fixtures/busted_project-0.1.tar.gz b/spec/fixtures/busted_project-0.1.tar.gz
new file mode 100644
index 00000000..bd4e055b
--- /dev/null
+++ b/spec/fixtures/busted_project-0.1.tar.gz
Binary files differ