<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/test/src, branch scratch/ns/performance</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>Fix process-tests on MS-Windows</title>
<updated>2020-12-31T14:50:19+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2020-12-31T14:50:19+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=03608312aee9990fb856ea5f865e3e918050ad21'/>
<id>03608312aee9990fb856ea5f865e3e918050ad21</id>
<content type='text'>
* test/src/process-tests.el (process-tests--fd-setsize-test): On
MS-Windows start the pipe processes in the "stopped" condition.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/src/process-tests.el (process-tests--fd-setsize-test): On
MS-Windows start the pipe processes in the "stopped" condition.
</pre>
</div>
</content>
</entry>
<entry>
<title>* test/src/process-tests.el: Let timeouts fail the tests.  Fix some docstrings</title>
<updated>2020-12-31T14:00:41+00:00</updated>
<author>
<name>Michael Albinus</name>
</author>
<published>2020-12-31T14:00:41+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=87a2cfc085c9e3eae3005a0b8a7af8b4eda01eac'/>
<id>87a2cfc085c9e3eae3005a0b8a7af8b4eda01eac</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Unbreak process tests if 'errno' is not installed.</title>
<updated>2020-12-31T12:17:11+00:00</updated>
<author>
<name>Philipp Stephani</name>
</author>
<published>2020-12-31T12:17:11+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=57d97bb170e86c77dede5456ab8fd178c3a5bf61'/>
<id>57d97bb170e86c77dede5456ab8fd178c3a5bf61</id>
<content type='text'>
* test/src/process-tests.el (process-tests--EMFILE-message): Don't
signal an error if the 'errno' binary is unavailable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/src/process-tests.el (process-tests--EMFILE-message): Don't
signal an error if the 'errno' binary is unavailable.
</pre>
</div>
</content>
</entry>
<entry>
<title>Manually limit file descriptors that we select on to FD_SETSIZE.</title>
<updated>2020-12-30T23:18:02+00:00</updated>
<author>
<name>Philipp Stephani</name>
</author>
<published>2020-12-30T22:43:07+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=8bc85d46cc9214a531f2d2ecb3f5fb48af8105a6'/>
<id>8bc85d46cc9214a531f2d2ecb3f5fb48af8105a6</id>
<content type='text'>
This works even if another thread or process resets the resource limit
for open file descriptors, e.g., using 'prlimit' on GNU/Linux.

* src/process.c (create_process, create_pty, Fmake_pipe_process)
(Fmake_serial_process, connect_network_socket)
(server_accept_connection): Limit file descriptors to FD_SETSIZE.
* test/src/process-tests.el (process-tests--with-raised-rlimit): New
helper macro.
(process-tests--fd-setsize-test): Rename from
'process-tests--with-many-pipes'.  Increase resource limit during test
if possible.
(process-tests/fd-setsize-no-crash/make-process)
(process-tests/fd-setsize-no-crash/make-pipe-process)
(process-tests/fd-setsize-no-crash/make-network-process)
(process-tests--new-pty): Rename callers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This works even if another thread or process resets the resource limit
for open file descriptors, e.g., using 'prlimit' on GNU/Linux.

* src/process.c (create_process, create_pty, Fmake_pipe_process)
(Fmake_serial_process, connect_network_socket)
(server_accept_connection): Limit file descriptors to FD_SETSIZE.
* test/src/process-tests.el (process-tests--with-raised-rlimit): New
helper macro.
(process-tests--fd-setsize-test): Rename from
'process-tests--with-many-pipes'.  Increase resource limit during test
if possible.
(process-tests/fd-setsize-no-crash/make-process)
(process-tests/fd-setsize-no-crash/make-pipe-process)
(process-tests/fd-setsize-no-crash/make-network-process)
(process-tests--new-pty): Rename callers.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a potential unit test breakage on GNU/Linux.</title>
<updated>2020-12-30T23:06:04+00:00</updated>
<author>
<name>Philipp Stephani</name>
</author>
<published>2020-12-30T23:05:14+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=f43f1e32e92ef341077b4ffdfdd743b1a6d9d284'/>
<id>f43f1e32e92ef341077b4ffdfdd743b1a6d9d284</id>
<content type='text'>
* test/src/process-tests.el
(process-tests/fd-setsize-no-crash/make-process): Allow special exit
codes that can happen if terminal setup fails in the child process.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/src/process-tests.el
(process-tests/fd-setsize-no-crash/make-process): Allow special exit
codes that can happen if terminal setup fails in the child process.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix an incorrect Edebug specification.</title>
<updated>2020-12-30T22:13:19+00:00</updated>
<author>
<name>Philipp Stephani</name>
</author>
<published>2020-12-30T22:13:19+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ab5f550bd9ad0bc5d7b6df99093b7eda23218ae6'/>
<id>ab5f550bd9ad0bc5d7b6df99093b7eda23218ae6</id>
<content type='text'>
* test/src/process-tests.el (process-tests--with-many-pipes): Fix
incorrect Edebug specification.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/src/process-tests.el (process-tests--with-many-pipes): Fix
incorrect Edebug specification.
</pre>
</div>
</content>
</entry>
<entry>
<title>Extend and overhaul FD_SETSIZE overflow tests.</title>
<updated>2020-12-30T22:04:31+00:00</updated>
<author>
<name>Philipp Stephani</name>
</author>
<published>2020-12-30T21:28:06+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=3a6137a498fe065cadbbf9a1f0575623155a9e55'/>
<id>3a6137a498fe065cadbbf9a1f0575623155a9e55</id>
<content type='text'>
Instead of trying to generate the right number of processes,
pre-create lots of unused pipe processes until creation fails.  Extend
the tests to the 'pty' connection type and other kinds of process
objects.

* test/src/process-tests.el (process-tests--ignore-EMFILE)
(process-tests--with-buffers, process-tests--with-processes)
(process-tests--with-many-pipes, process-tests--with-temp-file)
(process-tests--with-temp-directory): New helper macros.
(process-tests/fd-setsize-no-crash/make-process): Renamed from
'process-tests/fd-setsize-no-crash'.  Fail on timeout.  Also test the
'pty' connection type.  Pre-create lots of pipe processes so we reach
the FD_SETSIZE limit faster.  Ignore EMFILE more precisely, if
possible.
(process-tests/fd-setsize-no-crash/make-pipe-process)
(process-tests/fd-setsize-no-crash/make-network-process)
(process-tests/fd-setsize-no-crash/make-serial-process): New tests
that test FD_SETSIZE limits for other kinds of processes.
(process-tests--EMFILE-message): New helper function and cache
variable.
(process-tests--new-pty): New helper function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of trying to generate the right number of processes,
pre-create lots of unused pipe processes until creation fails.  Extend
the tests to the 'pty' connection type and other kinds of process
objects.

* test/src/process-tests.el (process-tests--ignore-EMFILE)
(process-tests--with-buffers, process-tests--with-processes)
(process-tests--with-many-pipes, process-tests--with-temp-file)
(process-tests--with-temp-directory): New helper macros.
(process-tests/fd-setsize-no-crash/make-process): Renamed from
'process-tests/fd-setsize-no-crash'.  Fail on timeout.  Also test the
'pty' connection type.  Pre-create lots of pipe processes so we reach
the FD_SETSIZE limit faster.  Ignore EMFILE more precisely, if
possible.
(process-tests/fd-setsize-no-crash/make-pipe-process)
(process-tests/fd-setsize-no-crash/make-network-process)
(process-tests/fd-setsize-no-crash/make-serial-process): New tests
that test FD_SETSIZE limits for other kinds of processes.
(process-tests--EMFILE-message): New helper function and cache
variable.
(process-tests--new-pty): New helper function.
</pre>
</div>
</content>
</entry>
<entry>
<title>; * test/src/process-tests.el: Fix comment style.</title>
<updated>2020-12-30T21:36:42+00:00</updated>
<author>
<name>Philipp Stephani</name>
</author>
<published>2020-12-30T21:16:26+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=f80eb0d44800c45b534056ae38401a03bed814bc'/>
<id>f80eb0d44800c45b534056ae38401a03bed814bc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>; Fix my previous commit</title>
<updated>2020-12-30T07:36:04+00:00</updated>
<author>
<name>Stefan Kangas</name>
</author>
<published>2020-12-30T07:36:04+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=4b6fcb072ab56c472805ecdcdf86f5bada98c1cc'/>
<id>4b6fcb072ab56c472805ecdcdf86f5bada98c1cc</id>
<content type='text'>
* test/src/chartab-tests.el (chartab-test-char-table-extra-slot): Fix
test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/src/chartab-tests.el (chartab-test-char-table-extra-slot): Fix
test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add some char-table tests</title>
<updated>2020-12-30T07:32:36+00:00</updated>
<author>
<name>Stefan Kangas</name>
</author>
<published>2020-12-30T07:29:38+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=2d58e0e803fb5fe397d446d58a0d83f0d35b4fc4'/>
<id>2d58e0e803fb5fe397d446d58a0d83f0d35b4fc4</id>
<content type='text'>
* test/src/chartab-tests.el (chartab-test-char-table-p)
(chartab-test-char-table-subtype)
(chartab-test-char-table-parent)
(chartab-test-char-table-extra-slot): New tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/src/chartab-tests.el (chartab-test-char-table-p)
(chartab-test-char-table-subtype)
(chartab-test-char-table-parent)
(chartab-test-char-table-extra-slot): New tests.
</pre>
</div>
</content>
</entry>
</feed>
