benchcc 0.0.13 → 0.0.14

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b8243cc1559e8ee287502dcb4194b0941c0be2f3
4
- data.tar.gz: a655ef4e80122c825b01b439f0380027ca93204d
3
+ metadata.gz: 1f7818480339895167b048d89adba8d5200fbe59
4
+ data.tar.gz: ffa04e7dbead8b7f554c07a5deb1bdda8d8b1b05
5
5
  SHA512:
6
- metadata.gz: ad8aec35fc6e7dc0cbb4d661d171499096da08fea2e6d3084ea3599e53b3f25a8c4a01019c156d8d1957c2574444053cab3b8d6e7ef123f5d70559ce819eab13
7
- data.tar.gz: d56d66e33dc98558aa4fa998def2fc81f5c2e3b85208122a24ae8356a21b19499232c9bdab453f1055628e628ca1818cfe223cf5fe62b1f0bab058c6ac9844c2
6
+ metadata.gz: 47b29699c551498671a150ec4e84c33139e62a6f36bfeafec184bb44e1c1ca9b23f11da8abdff3c9f642c9683ac4db7c5c9fdd0ebcf9724cf9909fcf41405fce
7
+ data.tar.gz: c6f5095ca0094781c317b1d3997c300fe75202e2b5220c727a71b5afd91ced04e77141d619e7f1b44e72b0dc4be359485ef3983c57116f018f3ad0c41aee2e9c
@@ -17,6 +17,7 @@ module Benchcc
17
17
  def call(input_file:, features:, compiler_executable:, compiler_options:,
18
18
  compilation_timeout:, execution_timeout:)
19
19
  stats = {}
20
+ input_file = Pathname.new(input_file)
20
21
  Dir.mktmpdir do |tmp_dir|
21
22
  if features.include?(:compilation_time)
22
23
  compiler_options << '-ftime-report'
@@ -1,3 +1,3 @@
1
1
  module Benchcc
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.14"
3
3
  end
@@ -16,7 +16,7 @@ require 'rspec'
16
16
  it('fails cleanly on invalid input') {
17
17
  expect {
18
18
  @cc.call(
19
- input_file: @invalid,
19
+ input_file: @invalid.to_s,
20
20
  features: [],
21
21
  compiler_executable: executable,
22
22
  compiler_options: [],
@@ -29,7 +29,7 @@ require 'rspec'
29
29
  it('fails cleanly on runtime error') {
30
30
  expect {
31
31
  @cc.call(
32
- input_file: @invalid_runtime,
32
+ input_file: @invalid_runtime.to_s,
33
33
  features: [:execution_time],
34
34
  compiler_executable: executable,
35
35
  compiler_options: [],
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: benchcc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Louis Dionne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-25 00:00:00.000000000 Z
11
+ date: 2014-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gnuplot