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.
- checksums.yaml +4 -4
- data/lib/mesa_test.rb +4 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bdf4d458ea3733da43762a06b695393c56a77fdbeaa3519becb67b4507940b59
|
|
4
|
+
data.tar.gz: 918b07c122c8ab69e036cb2e79b73c8bd375ee347575f8f9fd86474a9a58be87
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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
|
-
|
|
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
|