Skip to content

Commit 590df40

Browse files
committed
Load rdf-isomorphic earlier in spec_helper.
1 parent 8e43c14 commit 590df40

4 files changed

Lines changed: 322 additions & 313 deletions

File tree

script/tc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ def run_tc(tc, options)
9999
}
100100
end
101101

102+
options[:result_count][result] ||= 0
103+
options[:result_count][result] += 1
104+
102105
puts "#{"test result:" unless options[:quiet]} #{result}"
103106
end
104107

@@ -142,9 +145,15 @@ manifest = Fixtures::SuiteTest::BASE + "manifest.ttl"
142145

143146
earl_preamble(options) if options[:earl]
144147

148+
result_count = {}
149+
145150
Fixtures::SuiteTest::Manifest.open(manifest) do |m|
146151
m.entries.each do |tc|
147152
next unless ARGV.empty? || ARGV.any? {|n| tc.name.match(/#{n}/)}
148-
run_tc(tc, options)
153+
run_tc(tc, options.merge(result_count: result_count))
149154
end
150155
end
156+
157+
result_count.each do |result, count|
158+
puts "#{result}: #{count}"
159+
end

0 commit comments

Comments
 (0)