summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
diff options
context:
space:
mode:
authorLaurence Warne <laurencewarne@gmail.com>2024-11-15 16:22:52 +0100
committerMichael Albinus <michael.albinus@gmx.de>2024-11-15 16:22:52 +0100
commit926d47ab2ca72054f1a5c774916927160a839dc1 (patch)
treec930e55d41d6ce3465292ce2a02ae20d2aab4702 /lisp/emacs-lisp/lisp.el
parentc29c54410ea889bafc1bb4a29664827bc893b7d4 (diff)
downloademacs-926d47ab2ca72054f1a5c774916927160a839dc1.tar.gz
emacs-926d47ab2ca72054f1a5c774916927160a839dc1.tar.bz2
emacs-926d47ab2ca72054f1a5c774916927160a839dc1.zip
Don't error in Proced tests if %CPU is a NaN
* test/lisp/proced-tests.el (proced--cpu-at-point): New function. (proced--assert-process-valid-cpu-refinement) (proced-refine-test, proced-refine-with-update-test): If %CPU for any process visited is a NaN skip the test. (proced-update-preserves-pid-at-point-test): Fix typo in comment. (proced--assert-process-valid-cpu-refinement-explainer): Add process attributes to the explainer along with tweaking how the process %CPU is obtained to account for circumstances where it's not numeric (most notably '-nan').
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions