origen 0.60.4 → 0.60.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/config/version.rb +1 -1
- data/lib/origen/application/lsf_manager.rb +30 -10
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db57b94cabfd9e14047a2922c410b920da75fd4bb9a66ba8bba6bb972cb4b125
|
4
|
+
data.tar.gz: ad5be66cb94c42632a2d801b463ffb2984fd4fa9cdaffb5104d9bc3707bf53d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9df386c2629ca963ddb93b0c65d6eb0a6281bc394a0c5f5bf17a0c8c3502b4d184c45fdc97ab6f3f2b1ade1fd3141aa8725dcda06a68549954dcdbe9f5799e2
|
7
|
+
data.tar.gz: 855228da5608fb39726acfe33e56e00ac46f5d2a5c557bb6f1c840cfc912a2bd1ae1627e19ac37f3cee67bac31d82acd177a0d9d774eb6440cbed76cfd7bb86e
|
data/config/version.rb
CHANGED
@@ -253,6 +253,16 @@ module Origen
|
|
253
253
|
|
254
254
|
# Build the log file from the completed jobs
|
255
255
|
def build_log(options = {})
|
256
|
+
@completed_patterns = 0
|
257
|
+
@total_vectors = 0
|
258
|
+
@total_duration = 0
|
259
|
+
@completed_files = 0
|
260
|
+
@changed_patterns = 0
|
261
|
+
@changed_files = 0
|
262
|
+
@new_patterns = 0
|
263
|
+
@new_files = 0
|
264
|
+
@failed_patterns = 0
|
265
|
+
@failed_files = 0
|
256
266
|
log_method = options[:log_file] ? options[:log_file] : :info
|
257
267
|
Origen.log.send(log_method, '*' * 70)
|
258
268
|
completed_jobs.each do |job|
|
@@ -271,25 +281,25 @@ module Origen
|
|
271
281
|
begin
|
272
282
|
line.gsub!(/\e\[\d+m/, '') # Remove any coloring
|
273
283
|
if line =~ /Total patterns:\s+(\d+)/
|
274
|
-
|
284
|
+
@completed_patterns = Regexp.last_match[1].to_i
|
275
285
|
elsif line =~ /Total vectors:\s+(\d+)/
|
276
|
-
|
286
|
+
@total_vectors = Regexp.last_match[1].to_i
|
277
287
|
elsif line =~ /Total duration:\s+(\d+\.\d+)/
|
278
|
-
|
288
|
+
@total_duration = Regexp.last_match[1].to_f
|
279
289
|
elsif line =~ /Total files:\s+(\d+)/
|
280
|
-
|
290
|
+
@completed_files = Regexp.last_match[1].to_i
|
281
291
|
elsif line =~ /Changed patterns:\s+(\d+)/
|
282
|
-
|
292
|
+
@changed_patterns = Regexp.last_match[1].to_i
|
283
293
|
elsif line =~ /Changed files:\s+(\d+)/
|
284
|
-
|
294
|
+
@changed_files = Regexp.last_match[1].to_i
|
285
295
|
elsif line =~ /New patterns:\s+(\d+)/
|
286
|
-
|
296
|
+
@new_patterns = Regexp.last_match[1].to_i
|
287
297
|
elsif line =~ /New files:\s+(\d+)/
|
288
|
-
|
298
|
+
@new_files = Regexp.last_match[1].to_i
|
289
299
|
elsif line =~ /FAILED patterns:\s+(\d+)/
|
290
|
-
|
300
|
+
@failed_patterns = Regexp.last_match[1].to_i
|
291
301
|
elsif line =~ /FAILED files:\s+(\d+)/
|
292
|
-
|
302
|
+
@failed_files = Regexp.last_match[1].to_i
|
293
303
|
elsif line =~ /ERROR!/
|
294
304
|
stats.errors += 1
|
295
305
|
Origen.log.send :relog, line, options
|
@@ -318,6 +328,16 @@ module Origen
|
|
318
328
|
end
|
319
329
|
end
|
320
330
|
end
|
331
|
+
stats.completed_patterns += @completed_patterns
|
332
|
+
stats.total_vectors += @total_vectors
|
333
|
+
stats.total_duration += @total_duration
|
334
|
+
stats.completed_files += @completed_files
|
335
|
+
stats.changed_patterns += @changed_patterns
|
336
|
+
stats.changed_files += @changed_files
|
337
|
+
stats.new_patterns += @new_patterns
|
338
|
+
stats.new_files += @new_files
|
339
|
+
stats.failed_patterns += @failed_patterns
|
340
|
+
stats.failed_files += @failed_files
|
321
341
|
end
|
322
342
|
Origen.log.send(log_method, '*' * 70)
|
323
343
|
stats.print_summary
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: origen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.60.
|
4
|
+
version: 0.60.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen McGinty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -749,7 +749,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
749
749
|
- !ruby/object:Gem::Version
|
750
750
|
version: 1.8.11
|
751
751
|
requirements: []
|
752
|
-
rubygems_version: 3.
|
752
|
+
rubygems_version: 3.2.31
|
753
753
|
signing_key:
|
754
754
|
specification_version: 4
|
755
755
|
summary: The Semiconductor Developer's Kit
|