summaryrefslogtreecommitdiff
path: root/make-dist
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-05-16 10:42:27 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-05-16 10:51:27 -0700
commit4ac234ad576cf9068419805ef338701024265afb (patch)
tree7912230e7627aa92ae97cbe17c30bb8522348774 /make-dist
parentbc0adf112d82a9b89f858f80e04f1ee2f401fa05 (diff)
downloademacs-4ac234ad576cf9068419805ef338701024265afb.tar.gz
Distribute test cases in tarballs by default
* INSTALL, INSTALL.REPO, admin/make-tarball.txt: Mention ‘make check’. * configure.ac: Update comment. * etc/NEWS: Say that tarballs have a test directory. * make-dist (with_tests): Default to "yes". Add an option --no-tests to make it "no".
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist11
1 files changed, 8 insertions, 3 deletions
diff --git a/make-dist b/make-dist
index 74660032e93..e4e6d40d982 100755
--- a/make-dist
+++ b/make-dist
@@ -52,7 +52,7 @@ make_tar=no
default_gzip=gzip
newer=""
with_info=yes
-with_tests=no
+with_tests=yes
changelog=yes
verbose=no
@@ -110,11 +110,16 @@ while [ $# -gt 0 ]; do
;;
## 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
;;
@@ -131,9 +136,9 @@ while [ $# -gt 0 ]; do
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