1
0
mirror of https://github.com/sstephenson/bats.git synced 2024-09-29 20:48:27 +02:00
bats/libexec
Mike Bland fac51df957
exec-test: Replace caller with FUNCNAME, etc.
This is part of the effort to improve performance by reducing the number
of command substitutions/subshells spawned by `bats_debug_trap`.

Under Bash 3.2.57(1)-release on a MacBook Pro with a 2.9GHz Intel Core
i5 CPU and 8GB 1867MHz DDR3 RAM, this makes `bin/bats test/` go from the
following for the previous commit:

  44 tests, 0 failures

  real    0m5.293s
  user    0m2.853s
  sys     0m2.087s

to:

  real    0m4.319s
  user    0m2.559s
  sys     0m1.454s
2017-09-30 15:12:38 -04:00
..
bats Updating paths #5 2017-09-24 10:26:25 -07:00
bats-exec-suite Prefer let x+=1 for incrementing counters 2013-10-28 21:01:51 -05:00
bats-exec-test exec-test: Replace caller with FUNCNAME, etc. 2017-09-30 15:12:38 -04:00
bats-format-tap-stream Add skipped count tests in the summary 2014-08-13 14:32:35 +01:00
bats-preprocess preprocess: Use printf -v in encode_name 2017-09-30 15:12:37 -04:00