Jens Schmidt <jschmidt4...@vodafonemail.de> writes: > Suppose my cwd is at the top-level of the Org Git repo. > > - How would I byte-compile a single Org source? Any make target > available for that?
There is a Makefile inside lisp/ directory, but I strongly recommend re-compiling everything. Simply because Org source code is interleaved and a lot and changes in one .el files may require re-compiling many others. > - And: How do I run a single Org ERT test? Emacs's Makefiles > provide targets so that one can do > > ( cd test && make lisp/test-name ) > > but for Org I had to resort to this monster to only run tests > from, say, "testing/lisp/test-org.el": > > ~/work/emacs-master/src/emacs --batch -L lisp -l ert -l > testing/org-test.el -l testing/lisp/test-org.el -f > ert-run-tests-batch-and-exit > > but that is again hacky and results seems to differ compared > to those done by a "make check". See testing/README. You can use BTEST_RE selector. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>