<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/test/src, branch scratch/timsort</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 typo</title>
<updated>2022-03-18T13:26:54+00:00</updated>
<author>
<name>Andrew G Cohen</name>
</author>
<published>2022-03-18T13:26:54+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ac7d9e02229aa49ea936be5bf000fa015da7931c'/>
<id>ac7d9e02229aa49ea936be5bf000fa015da7931c</id>
<content type='text'>
* test/src/fns-tests.el (fns-tests-sort):  Compare with independently
sorted list.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/src/fns-tests.el (fns-tests-sort):  Compare with independently
sorted list.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add another sorting unit test</title>
<updated>2022-03-18T13:21:29+00:00</updated>
<author>
<name>Andrew G Cohen</name>
</author>
<published>2022-03-18T13:21:29+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=186ec2f8d828559da3d53db9122a0be0848c03c3'/>
<id>186ec2f8d828559da3d53db9122a0be0848c03c3</id>
<content type='text'>
* test/src/fns-tests.el (fns-tests-sort): Check for corruption should
garbage-collection occur during sorting.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/src/fns-tests.el (fns-tests-sort): Check for corruption should
garbage-collection occur during sorting.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add more sorting unit tests</title>
<updated>2022-03-17T08:50:11+00:00</updated>
<author>
<name>Andrew G Cohen</name>
</author>
<published>2022-03-17T08:50:11+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=8ef42e085be82a88ed01dc449b26f8bc582c149e'/>
<id>8ef42e085be82a88ed01dc449b26f8bc582c149e</id>
<content type='text'>
* test/src/fns-tests.el (fns-tests-sort): New sorting unit tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/src/fns-tests.el (fns-tests-sort): New sorting unit tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Adjust doc-tests-documentation/autoloaded-macro</title>
<updated>2022-02-20T16:42:21+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2022-02-20T16:42:21+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=c52ef7ec4ba26fde796e96124dffcc57aa6445b1'/>
<id>c52ef7ec4ba26fde796e96124dffcc57aa6445b1</id>
<content type='text'>
* test/src/doc-tests.el
(doc-tests-documentation/autoloaded-macro): Adjust test -- rx is
loaded in nativecomp Emacsen when the tests are run, apparently.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/src/doc-tests.el
(doc-tests-documentation/autoloaded-macro): Adjust test -- rx is
loaded in nativecomp Emacsen when the tests are run, apparently.
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid emacs-module-tests failure on macOS</title>
<updated>2022-02-16T11:33:35+00:00</updated>
<author>
<name>Mattias Engdegård</name>
</author>
<published>2022-02-16T11:26:30+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=bc84c31823e424827a27dc2eb1b5cbee040036cf'/>
<id>bc84c31823e424827a27dc2eb1b5cbee040036cf</id>
<content type='text'>
* test/src/emacs-module-tests.el (module/describe-function-1):
Prevent string mismatch caused by line breaks after filling;
the macOS dynamic library suffix (.dylib) is longer than on other
platforms.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/src/emacs-module-tests.el (module/describe-function-1):
Prevent string mismatch caused by line breaks after filling;
the macOS dynamic library suffix (.dylib) is longer than on other
platforms.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rewrite thread context switch code (bug#48990)</title>
<updated>2022-02-12T20:25:53+00:00</updated>
<author>
<name>Stefan Monnier</name>
</author>
<published>2022-02-12T20:25:53+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=b8460fcb8c320ea6d7449f37f07502d10eb74cd5'/>
<id>b8460fcb8c320ea6d7449f37f07502d10eb74cd5</id>
<content type='text'>
Make the context switch code handle buffer-local variables more
correctly by reusing the code originally written for `backtrace-eval`.
This has the side benefit of making the `saved_value` field unused.

* src/lisp.h (enum specbind_tag): Remove `saved_value` field.
(rebind_for_thread_switch, unbind_for_thread_switch): Delete decls.
(specpdl_unrewind): Declare function.

* src/eval.c (specpdl_saved_value): Delete function.
(specbind): Delete the code related to `saved_value`, and consolidate
common code between the different branches.
(rebind_for_thread_switch, -unbind_for_thread_switch): Move to `thread.c`.
(specpdl_unrewind): New function, extracted from `backtrace_eval_unrewind`.
Use `SET_INTERNAL_THREAD_SWITCH`.  Skip the buffer &amp; excursion unwinds
depending on new arg `vars_only`.
(backtrace_eval_unrewind): Use it.
(mark_specpdl): Don't mark `saved_value`.

* src/thread.c (rebind_for_thread_switch, unbind_for_thread_switch):
Move from `eval.c` and rewrite using `specpdl_unrewind`.

* test/src/thread-tests.el (threads-test-bug48990): New test.

* test/Makefile.in (test_template): Add a + as suggested by make:
"warning: jobserver unavailable: using -j1.  Add '+' to parent make rule".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make the context switch code handle buffer-local variables more
correctly by reusing the code originally written for `backtrace-eval`.
This has the side benefit of making the `saved_value` field unused.

* src/lisp.h (enum specbind_tag): Remove `saved_value` field.
(rebind_for_thread_switch, unbind_for_thread_switch): Delete decls.
(specpdl_unrewind): Declare function.

* src/eval.c (specpdl_saved_value): Delete function.
(specbind): Delete the code related to `saved_value`, and consolidate
common code between the different branches.
(rebind_for_thread_switch, -unbind_for_thread_switch): Move to `thread.c`.
(specpdl_unrewind): New function, extracted from `backtrace_eval_unrewind`.
Use `SET_INTERNAL_THREAD_SWITCH`.  Skip the buffer &amp; excursion unwinds
depending on new arg `vars_only`.
(backtrace_eval_unrewind): Use it.
(mark_specpdl): Don't mark `saved_value`.

* src/thread.c (rebind_for_thread_switch, unbind_for_thread_switch):
Move from `eval.c` and rewrite using `specpdl_unrewind`.

* test/src/thread-tests.el (threads-test-bug48990): New test.

* test/Makefile.in (test_template): Add a + as suggested by make:
"warning: jobserver unavailable: using -j1.  Add '+' to parent make rule".
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge from origin/emacs-28</title>
<updated>2022-02-10T05:56:22+00:00</updated>
<author>
<name>Stefan Kangas</name>
</author>
<published>2022-02-10T05:56:22+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=35bf8d4a025baa8da2affa3cff5a0f426889096f'/>
<id>35bf8d4a025baa8da2affa3cff5a0f426889096f</id>
<content type='text'>
69e82968d7 Fix integer arithmetic miss-compilation (bug#53451)
31af9bca99 Mark flymake as compatible with emacs-26.1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
69e82968d7 Fix integer arithmetic miss-compilation (bug#53451)
31af9bca99 Mark flymake as compatible with emacs-26.1
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix integer arithmetic miss-compilation (bug#53451)</title>
<updated>2022-02-09T16:58:57+00:00</updated>
<author>
<name>Andrea Corallo</name>
</author>
<published>2022-02-09T16:38:10+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=69e82968d7c2b64710f6f6b79597ac98c82449e7'/>
<id>69e82968d7c2b64710f6f6b79597ac98c82449e7</id>
<content type='text'>
* lisp/emacs-lisp/comp-cstr.el (comp-cstr-set-range-for-arithm):
When one of the two sources is negated revert to set dst as
number.
* test/src/comp-tests.el (comp-tests-type-spec-tests): Add test to
verify this is effective.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/emacs-lisp/comp-cstr.el (comp-cstr-set-range-for-arithm):
When one of the two sources is negated revert to set dst as
number.
* test/src/comp-tests.el (comp-tests-type-spec-tests): Add test to
verify this is effective.
</pre>
</div>
</content>
</entry>
<entry>
<title>Silence byte-compiler in two tests</title>
<updated>2022-02-04T13:18:35+00:00</updated>
<author>
<name>Stefan Kangas</name>
</author>
<published>2022-02-04T13:15:33+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=702a5c6feb7a03cf76ec5a3189c9ae0fbcea6d5e'/>
<id>702a5c6feb7a03cf76ec5a3189c9ae0fbcea6d5e</id>
<content type='text'>
* test/lisp/electric-tests.el (electric-pair-define-test-form):
* test/src/buffer-tests.el (buffer-tests--make-test-name): Silence
byte-compiler by defining defuns also at run time.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/lisp/electric-tests.el (electric-pair-define-test-form):
* test/src/buffer-tests.el (buffer-tests--make-test-name): Silence
byte-compiler by defining defuns also at run time.
</pre>
</div>
</content>
</entry>
<entry>
<title>Extend filelock-tests.el for bug#53207</title>
<updated>2022-01-31T14:26:06+00:00</updated>
<author>
<name>Michael Albinus</name>
</author>
<published>2022-01-31T14:26:06+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=3ca32105d2bd88120e2ecf9a28febc6c78b3eb0d'/>
<id>3ca32105d2bd88120e2ecf9a28febc6c78b3eb0d</id>
<content type='text'>
* test/src/filelock-tests.el (filelock-tests--fixture): Make it a
defmacro.  Adapt callees.
(filelock-tests-unlock-spoiled, filelock-tests-kill-buffer-spoiled):
Simplify.
(filelock-tests-detect-external-change): New test
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/src/filelock-tests.el (filelock-tests--fixture): Make it a
defmacro.  Adapt callees.
(filelock-tests-unlock-spoiled, filelock-tests-kill-buffer-spoiled):
Simplify.
(filelock-tests-detect-external-change): New test
</pre>
</div>
</content>
</entry>
</feed>
