Optimize tramp-tests.el
commitbcc146a66867f1106f405f7f0dc1f1e02810a992
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 17 Mar 2018 14:10:46 +0000 (17 15:10 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 17 Mar 2018 14:10:46 +0000 (17 15:10 +0100)
tree6c3b505ac9700c439d97bce33a8190dd5ba9661f
parentf7346a584ed46fdb0bfcbbdd3673fee022d2c1c3
Optimize tramp-tests.el

* test/lisp/net/tramp-tests.el (tramp--test-expensive-test):
Make it a defsubst.  Adapt all callees.
(tramp--test-print-duration): New defmacro.
(tramp-test11-copy-file, tramp-test12-rename-file)
(tramp-test21-file-links, tramp--test-special-characters):
Run some parts only if expensive tests are enabled.  (Bug#30807)
test/lisp/net/tramp-tests.el