diff options
| author | Laurence Warne | 2024-11-15 16:22:52 +0100 |
|---|---|---|
| committer | Michael Albinus | 2024-11-15 16:22:52 +0100 |
| commit | 926d47ab2ca72054f1a5c774916927160a839dc1 (patch) | |
| tree | c930e55d41d6ce3465292ce2a02ae20d2aab4702 /src/bytecode.c | |
| parent | c29c54410ea889bafc1bb4a29664827bc893b7d4 (diff) | |
| download | emacs-926d47ab2ca72054f1a5c774916927160a839dc1.tar.gz 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 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions