X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/7ed767557eb608a0ad7097dc80d84af568ab00b1..1efb208032164d21d2feb8c62b445878d3f5141c:/test/Makefile.in diff --git a/test/Makefile.in b/test/Makefile.in index 7ebc0ded4e..33e625fc99 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -106,14 +106,17 @@ else SELECTOR_ACTUAL=$(SELECTOR_EXPENSIVE) endif +## Byte-compile all test files to test for errors (unless explicitly +## told not to), but then evaluate the un-byte-compiled files, because +## they give cleaner stacktraces. +## Beware: it approximates 'no-byte-compile', so watch out for false-positives! %.log: %.el - @if grep '^;.*no-byte-compile: t' $< > /dev/null; then \ - loadfile=$<; \ - else \ - loadfile=$ /dev/null; then \ + ${MAKE} $$elc; \ fi; \ + loadfile=$<; \ echo Testing $$loadfile; \ stat=OK ; \ ${MKDIR_P} $(dir $@) ; \