aboutsummaryrefslogtreecommitdiff
blob: e9a46d754d3de1cfd0e0eae0d085bdcb238c9a8e (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],
	r20_target: package[8],
	r21_target: package[9],
  r22_target: package[10],
  r23_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 }