mesa_test 0.2.9 → 0.2.10

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mesa_test.rb +4 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 172f85140a56c125b375f0fe494ab7dc9d6b44aa961cc079429629edef524673
4
- data.tar.gz: bd3bea53ddbde259e14e5cf59c7aa60303ed4127ae7a3db56c1ae75291de2b69
3
+ metadata.gz: bdf4d458ea3733da43762a06b695393c56a77fdbeaa3519becb67b4507940b59
4
+ data.tar.gz: 918b07c122c8ab69e036cb2e79b73c8bd375ee347575f8f9fd86474a9a58be87
5
5
  SHA512:
6
- metadata.gz: 60b09d7027612c4a55ff96e2cc5fd864d15b8a5876b7e15144a4556eca1b026010e9ebceca745275b76f11477c6d171802c489413e6924d2234f2e0c7acc3f51
7
- data.tar.gz: b2addfe16f43a486882c81f85a6fa2af89c4103d06959e32ed621e733e7ee7f89cec1d108084a8cdf9818330fdd80a2224e0ed0d95973eee4a3d511be110a100
6
+ metadata.gz: 375a410fe0c4d17e39d1c4e5a13b4bccc390edeb1afe19e3b4ec8ae150f72ad3d352ac4cdcd7bc64bda9baf512eb0547e43cf4444b38a3492a441b7677005094
7
+ data.tar.gz: 99f875807d7828c2f1274600ed39877b18b4a37ff8d49b2fb88eb9db859183cc843b831fd6a6e738c0abd7c746b9d4b647872e32b1aa974d2f93c686547a1ec3
data/lib/mesa_test.rb CHANGED
@@ -1335,7 +1335,8 @@ class MesaTestCase
1335
1335
  run_start = Time.now
1336
1336
 
1337
1337
  # do the run
1338
- rn_command = if ENV['MESASDK_ROOT'] && File.exist?(File.join(ENV['MESASDK_ROOT'], 'bin', 'time'))
1338
+ have_time = system('which time')
1339
+ rn_command = if have_time
1339
1340
  %q(command time -f '%M' -o mem-rn.txt ./rn > out.txt 2> ) +
1340
1341
  'err.txt'
1341
1342
  else
@@ -1415,7 +1416,8 @@ class MesaTestCase
1415
1416
 
1416
1417
  # do restart and consolidate output. Command depends on if we have access
1417
1418
  # to SDK version of gnu time.
1418
- re_command = if ENV['MESASDK_ROOT'] && File.exist?(File.join(ENV['MESASDK_ROOT'], 'bin', 'time'))
1419
+ have_time = system('which time')
1420
+ re_command = if have_time
1419
1421
  %q(command time -f '%M' -o mem-re.txt ./re ) + "#{photo}" \
1420
1422
  ' >> out.txt 2> err.txt'
1421
1423
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mesa_test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Wolf