src/emacs -Q
+ To test Emacs further (intended mostly to help developers):
+
+ make check
+
6. Assuming that the program 'src/emacs' starts and displays its
opening screen, you can install the program and its auxiliary
files into their installation directories:
$ make
-If you want to install Emacs, type 'make install' instead of 'make' in
-the last command.
+You can also type 'make check' to test and 'make install' to install
+Emacs.
Occasionally the file 'lisp/loaddefs.el' (and similar automatically
generated files, such as 'esh-groups.el', and '*-loaddefs.el' in some
results against the new tar contents.
7. tar -xf emacs-NEW.tar; cd emacs-NEW
- ./configure --prefix=/tmp/emacs && make && make install
+ ./configure --prefix=/tmp/emacs && make check && make install
Use 'script' or M-x compile to save the compilation log in
compile-NEW.log and compare it against an old one. The easiest way
to do that is to visit the old log in Emacs, change the version
SUBDIR_MAKEFILES="subdir_makefiles"
AC_CONFIG_FILES(subdir_makefiles)
-dnl test/ is not present in release tarfiles.
+dnl The test/ directory is missing if './make-dist --no-tests' was used.
opt_makefile=test/Makefile
-
if test -f "$srcdir/$opt_makefile.in"; then
SUBDIR_MAKEFILES="$SUBDIR_MAKEFILES $opt_makefile"
dnl Again, it's best not to use a variable. Though you can add
(See etc/DEBUG for the details of using the modern replacements of the
removed configure options.)
++++
+** The distribution tarball now has test cases; 'make check' runs them.
+This is intended mostly to help developers.
+
---
** Emacs now requires GTK 2.24 and GTK 3.10 for the GTK 2 and GTK 3
builds respectively.
default_gzip=gzip
newer=""
with_info=yes
-with_tests=no
+with_tests=yes
changelog=yes
verbose=no
;;
## Include the test/ directory.
- ## This option is mainly for the hydra build server.
+ ## This is for backward compability to when --no-tests was the default.
"--tests")
with_tests=yes
;;
+ ## Exclude the test/ directory.
+ "--no-tests")
+ with_tests=no
+ ;;
+
"--verbose")
verbose=yes
;;
echo " --no-update don't recompile or do analogous things"
echo " --no-changelog don't generate the top-level ChangeLog"
echo " --no-info don't include info files"
+ echo " --no-tests don't include the test/ directory"
echo " --snapshot same as --clean-up --no-update --tar --no-check"
echo " --tar make a tar file"
- echo " --tests include the test/ directory"
echo " --verbose noisier output"
echo ""
exit 0