aboutsummaryrefslogtreecommitdiff
path: root/web/test
diff options
context:
space:
mode:
Diffstat (limited to 'web/test')
-rw-r--r--web/test/minitest_helper.rb8
-rwxr-xr-xweb/test/test-logs/1/1355314332/builds/current/build.log (renamed from web/test/test-logs/1/current_target/builds/1355314332/build.log)0
-rwxr-xr-xweb/test/test-logs/1/1355314332/builds/current/emerge-info (renamed from web/test/test-logs/1/current_target/builds/1355314332/emerge-info)0
-rwxr-xr-xweb/test/test-logs/1/1355314332/builds/current/emerge-pqv (renamed from web/test/test-logs/1/current_target/builds/1355314332/emerge-pqv)0
-rwxr-xr-xweb/test/test-logs/1/1355314332/builds/current/gem-list (renamed from web/test/test-logs/1/current_target/builds/1355314332/gem-list)0
-rwxr-xr-xweb/test/test-logs/1/1355314332/builds/current/result (renamed from web/test/test-logs/1/current_target/builds/1355314332/result)0
-rwxr-xr-xweb/test/test-logs/1/1355314332/builds/next_target/build.log6
-rwxr-xr-xweb/test/test-logs/1/1355314332/builds/next_target/emerge-info6
-rwxr-xr-xweb/test/test-logs/1/1355314332/builds/next_target/emerge-pqv6
-rwxr-xr-xweb/test/test-logs/1/1355314332/builds/next_target/gem-list6
-rwxr-xr-xweb/test/test-logs/1/1355314332/builds/next_target/result1
-rwxr-xr-xweb/test/test-logs/1/1355314332/repomans/current/repoman_log (renamed from web/test/test-logs/1/current_target/repomans/1355314332/repoman_log)0
-rwxr-xr-xweb/test/test-logs/1/1355314332/repomans/next_target/repoman_log8
-rw-r--r--web/test/test-logs/1/package1
-rw-r--r--web/test/test_ruby_targets.rb2
15 files changed, 40 insertions, 4 deletions
diff --git a/web/test/minitest_helper.rb b/web/test/minitest_helper.rb
index 8618052..1925ac5 100644
--- a/web/test/minitest_helper.rb
+++ b/web/test/minitest_helper.rb
@@ -18,8 +18,10 @@ Package.create(
r20_target: package[9],
r21_target: package[10],
r22_target: package[11],
- gem_version: package[12]
+ next_target: package[12],
+ gem_version: package[13]
)
-update_build('test/test-logs/*/*/builds/*')
+update_build('test/test-logs/*/*/builds')
+update_repoman('test/test-logs/*/*/repomans')
-MiniTest.after_run { clear_packages }
+# MiniTest.after_run { clear_packages }
diff --git a/web/test/test-logs/1/current_target/builds/1355314332/build.log b/web/test/test-logs/1/1355314332/builds/current/build.log
index 7b95d6b..7b95d6b 100755
--- a/web/test/test-logs/1/current_target/builds/1355314332/build.log
+++ b/web/test/test-logs/1/1355314332/builds/current/build.log
diff --git a/web/test/test-logs/1/current_target/builds/1355314332/emerge-info b/web/test/test-logs/1/1355314332/builds/current/emerge-info
index 7b95d6b..7b95d6b 100755
--- a/web/test/test-logs/1/current_target/builds/1355314332/emerge-info
+++ b/web/test/test-logs/1/1355314332/builds/current/emerge-info
diff --git a/web/test/test-logs/1/current_target/builds/1355314332/emerge-pqv b/web/test/test-logs/1/1355314332/builds/current/emerge-pqv
index 7b95d6b..7b95d6b 100755
--- a/web/test/test-logs/1/current_target/builds/1355314332/emerge-pqv
+++ b/web/test/test-logs/1/1355314332/builds/current/emerge-pqv
diff --git a/web/test/test-logs/1/current_target/builds/1355314332/gem-list b/web/test/test-logs/1/1355314332/builds/current/gem-list
index 7b95d6b..7b95d6b 100755
--- a/web/test/test-logs/1/current_target/builds/1355314332/gem-list
+++ b/web/test/test-logs/1/1355314332/builds/current/gem-list
diff --git a/web/test/test-logs/1/current_target/builds/1355314332/result b/web/test/test-logs/1/1355314332/builds/current/result
index 774a5c0..774a5c0 100755
--- a/web/test/test-logs/1/current_target/builds/1355314332/result
+++ b/web/test/test-logs/1/1355314332/builds/current/result
diff --git a/web/test/test-logs/1/1355314332/builds/next_target/build.log b/web/test/test-logs/1/1355314332/builds/next_target/build.log
new file mode 100755
index 0000000..7b95d6b
--- /dev/null
+++ b/web/test/test-logs/1/1355314332/builds/next_target/build.log
@@ -0,0 +1,6 @@
+Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
+incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
+nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
+Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
+fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
+culpa qui officia deserunt mollit anim id est laborum.
diff --git a/web/test/test-logs/1/1355314332/builds/next_target/emerge-info b/web/test/test-logs/1/1355314332/builds/next_target/emerge-info
new file mode 100755
index 0000000..7b95d6b
--- /dev/null
+++ b/web/test/test-logs/1/1355314332/builds/next_target/emerge-info
@@ -0,0 +1,6 @@
+Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
+incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
+nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
+Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
+fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
+culpa qui officia deserunt mollit anim id est laborum.
diff --git a/web/test/test-logs/1/1355314332/builds/next_target/emerge-pqv b/web/test/test-logs/1/1355314332/builds/next_target/emerge-pqv
new file mode 100755
index 0000000..7b95d6b
--- /dev/null
+++ b/web/test/test-logs/1/1355314332/builds/next_target/emerge-pqv
@@ -0,0 +1,6 @@
+Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
+incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
+nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
+Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
+fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
+culpa qui officia deserunt mollit anim id est laborum.
diff --git a/web/test/test-logs/1/1355314332/builds/next_target/gem-list b/web/test/test-logs/1/1355314332/builds/next_target/gem-list
new file mode 100755
index 0000000..7b95d6b
--- /dev/null
+++ b/web/test/test-logs/1/1355314332/builds/next_target/gem-list
@@ -0,0 +1,6 @@
+Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
+incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
+nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
+Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
+fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
+culpa qui officia deserunt mollit anim id est laborum.
diff --git a/web/test/test-logs/1/1355314332/builds/next_target/result b/web/test/test-logs/1/1355314332/builds/next_target/result
new file mode 100755
index 0000000..774a5c0
--- /dev/null
+++ b/web/test/test-logs/1/1355314332/builds/next_target/result
@@ -0,0 +1 @@
+succeeded
diff --git a/web/test/test-logs/1/current_target/repomans/1355314332/repoman_log b/web/test/test-logs/1/1355314332/repomans/current/repoman_log
index e4630e4..e4630e4 100755
--- a/web/test/test-logs/1/current_target/repomans/1355314332/repoman_log
+++ b/web/test/test-logs/1/1355314332/repomans/current/repoman_log
diff --git a/web/test/test-logs/1/1355314332/repomans/next_target/repoman_log b/web/test/test-logs/1/1355314332/repomans/next_target/repoman_log
new file mode 100755
index 0000000..e4630e4
--- /dev/null
+++ b/web/test/test-logs/1/1355314332/repomans/next_target/repoman_log
@@ -0,0 +1,8 @@
+Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
+incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
+nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
+Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
+fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
+culpa qui officia deserunt mollit anim id est laborum.
+
+If everyone were like you, I'd be out of business!
diff --git a/web/test/test-logs/1/package b/web/test/test-logs/1/package
index 1c29f6f..de8085f 100644
--- a/web/test/test-logs/1/package
+++ b/web/test/test-logs/1/package
@@ -9,5 +9,6 @@ amd64
ruby19
ruby20
ruby21
+nil
ruby22
1.2.4
diff --git a/web/test/test_ruby_targets.rb b/web/test/test_ruby_targets.rb
index 9cd76b2..d512f95 100644
--- a/web/test/test_ruby_targets.rb
+++ b/web/test/test_ruby_targets.rb
@@ -27,6 +27,6 @@ class TestWeb < Minitest::Test
assert last_response.body.include? 'ruby19'
assert last_response.body.include? 'ruby20'
assert last_response.body.include? 'ruby21'
- assert last_response.body.include? 'ruby22'
+ assert last_response.body.include? 'nil'
end
end