]> git.eshelyaron.com Git - emacs.git/commit
Fix server-tests run noninteractively (bug#59742)
authorMattias Engdegård <mattiase@acm.org>
Fri, 2 Dec 2022 16:27:16 +0000 (17:27 +0100)
committerMattias Engdegård <mattiase@acm.org>
Fri, 2 Dec 2022 16:32:22 +0000 (17:32 +0100)
commit4b3eb928fed4b236d1ae06ae7d9d51a4466554d2
tree0dfd10c96c71d3bf4df887827b225abf53781263
parent1b567f5a67de1151b76b279311a73a7bf7174c12
Fix server-tests run noninteractively (bug#59742)

This may or may not fix the test run from CI.

* test/lisp/server-tests.el (server-tests/can-create-frames-p):
Don't attempt to create frames if TERM=dumb, which what we have
if run from M-x compile (for instance).
(server-tests/server-force-stop/keeps-frames): Delete created frame so
that it doesn't cause trouble for other tests.
test/lisp/server-tests.el