aboutsummaryrefslogtreecommitdiffstats
path: root/test/src/comp-resources (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into scratch/comp-static-dataVibhav Pant2023-06-061-0/+21
|\
| * Fix nativecomp ICE compiling structure related code (bug#63674)Andrea Corallo2023-05-241-0/+8
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Define the predicate to be effective at compile time as native comp relies on `cl-typep' that relies o predicates to work. * test/src/comp-resources/comp-test-funcs.el (cl-lib): Require. (comp-test-struct): Define struct. (comp-test-63674-1-f): Add new test.
| * Comp: Fix limplification pass (bug#62537)Andrea Corallo2023-04-051-0/+13
| | | | | | | | | | | | | | | | * test/src/comp-resources/comp-test-funcs.el (comp-test-62537-1-f) (comp-test-62537-2-f): New functions. * lisp/emacs-lisp/comp.el (comp-jump-table-optimizable): Make it stricter add a comment.
* | Add tests for testing immutability of native comp-ed Lisp literals.Vibhav Pant2023-02-021-0/+8
|/ | | | | | | | | | | | * src/comp-test-funcs.el (comp-test-literal-list, comp-test-literal-vector, comp-test-literal-record, comp-test-literal-string): New variables. (comp-test-modify-const-list): New function. * test/src/comp-tests.el (comp-tests-static-lisp-consts): New test, try to destructively modify statically compiled self evaluating Lisp data and make sure it triggers a error with the correct string and object.
* ; Add 2023 to copyright years.Eli Zaretskii2023-01-013-3/+3
|
* ; Fix typosStefan Kangas2022-11-201-4/+4
|
* Merge from origin/emacs-28Stefan Kangas2022-07-141-0/+2
|\ | | | | | | | | | | | | | | | | 9db6817d63 Remove uneffective test 7af88de410 Mark async worker tmp file as utf-8-emacs-unix (bug#48029) # Conflicts: # test/src/comp-resources/comp-test-45603.el # test/src/comp-tests.el
| * Remove uneffective testAndrea Corallo2022-07-131-28/+0
| | | | | | | | | | * test/src/comp-tests.el (45603-1): Remove test. * test/src/comp-resources/comp-test-45603.el: Delete.
| * Mark async worker tmp file as utf-8-emacs-unix (bug#48029)Andrea Corallo2022-07-131-0/+2
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/comp.el (comp-final): Mark async worker tmp file as utf-8. * test/src/comp-tests.el (48029-1): New test. * test/src/comp-resources/comp-test-funcs.el (comp-test-48029-nonascii-žžž-f): New function.
* | Silence byte-compiler slightly in testsStefan Kangas2022-01-272-7/+8
| | | | | | | | | | | | | | | | * test/src/comp-resources/comp-test-45603.el (comp-test-45603--call-marked): * test/src/comp-resources/comp-test-funcs.el (comp-tests-discardn-f, comp-test-42360-f, comp-test-46824-1-f) (comp-test-silly-frame2): Silence byte-compiler.
* | Don't use obsolete second argument to byte-compile-fileStefan Kangas2022-01-271-1/+1
|/ | | | | | * test/src/comp-resources/comp-test-funcs.el (comp-test-big-interactive): Don't use obsolete second argument to byte-compile-file.
* ; Add 2022 to copyright years.Eli Zaretskii2022-01-013-3/+3
|
* Fix checkdoc-related test failureLars Ingebrigtsen2021-09-271-1/+2
|
* ; Minor stylistic checkdoc fixes in test/**/*.elStefan Kangas2021-09-261-7/+7
|
* Make use of `ert-resource-file' `ert-resource-directory' in comp-testsAndrea Corallo2021-04-264-0/+828
* test/src/comp-resources/comp-test-pure.el: Rename. * test/src/comp-resources/comp-test-funcs.el: Likewise. * test/src/comp-resources/comp-test-funcs-dyn.el: Likewise. * test/src/comp-resources/comp-test-45603.el: Likewise. * test/src/comp-tests.el (comp-test-src, comp-test-dyn-src): Use `ert-resource-file'. (comp-tests-bootstrap): Use ert-resource-directory. (comp-tests-45603-1, comp-tests-pure): Use `ert-resource-file'.