]> git.eshelyaron.com Git - emacs.git/commit
Replace Unix commands with Emacs in process tests.
authorPhilipp Stephani <phst@google.com>
Mon, 18 Jan 2021 10:38:58 +0000 (11:38 +0100)
committerPhilipp Stephani <phst@google.com>
Mon, 18 Jan 2021 10:40:34 +0000 (11:40 +0100)
commit3b4050154e3f72c06501cd9a5ad83841b92c7bd6
tree158350cfcd30ae761e618b67852b6267da2e1b05
parentb215e83a784be1118bb5d729f17597c4f1c62b52
Replace Unix commands with Emacs in process tests.

That way, the tests only depend on Emacs, and not on utilities that
might not be available during test time.

* test/src/process-tests.el (process-tests--eval)
(process-tests--emacs-command, process-tests--emacs-binary)
(process-tests--dump-file)
(process-tests--usable-file-for-reinvoke): New helper functions.
(process-tests/sentinel-called)
(process-tests/sentinel-with-multiple-processes): Use them.
test/src/process-tests.el