blob: 1925ac51029bc24b97f2bd7c21271cb691c7ecf9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
gem 'minitest'
require 'minitest/autorun'
require 'rack/test'
require_relative '../app'
clear_packages
package = File.read('test/test-logs/1/package').lines.to_a.each(&:strip!)
Package.create(
sha1: package[0],
category: package[1],
name: package[2],
version: package[3],
revision: package[4],
slot: package[5],
identifier: package[6],
amd64_keyword: package[7],
r19_target: package[8],
r20_target: package[9],
r21_target: package[10],
r22_target: package[11],
next_target: package[12],
gem_version: package[13]
)
update_build('test/test-logs/*/*/builds')
update_repoman('test/test-logs/*/*/repomans')
# MiniTest.after_run { clear_packages }
|