Skip to content

Commit

Permalink
Do not byte compile when running tests on multiple versions (#623)
Browse files Browse the repository at this point in the history
  • Loading branch information
matsl authored Dec 17, 2024
1 parent c4c5daa commit 2de6ac6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2024-12-16 Mats Lidell <[email protected]>

* Makefile (docker-all-tests, docker-batch-tests): No byte compiling to
speed up running tests.

2024-12-16 Bob Weiner <[email protected]>

* test/hbut-tests.el: Change most "/tmp" to "/tmp/" for ease of comparison
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Bob Weiner
#
# Orig-Date: 15-Jun-94 at 03:42:38
# Last-Mod: 24-Nov-24 at 22:28:43 by Mats Lidell
# Last-Mod: 16-Dec-24 at 23:36:16 by Mats Lidell
#
# Copyright (C) 1994-2023 Free Software Foundation, Inc.
# See the file HY-COPY for license information.
Expand Down Expand Up @@ -576,7 +576,7 @@ internal-docker-all-tests-ert-output:
docker-all-tests:
@total_summary=$(shell mktemp); \
for i in $(DOCKER_VERSIONS); do printf "=== Emacs $$i ===\n" | tee -a $$total_summary; \
make docker version=$$i targets='clean bin internal-docker-all-tests-ert-output'; \
make docker version=$$i targets='clean internal-docker-all-tests-ert-output'; \
cat /tmp/ERT-OUTPUT-ERT | tee -a $$total_summary; \
done; \
printf "\n\n=== Summary ===\n"; cat $$total_summary; \
Expand All @@ -585,7 +585,7 @@ docker-all-tests:
docker-batch-tests:
@total_summary=$(shell mktemp); build_summary=$(shell mktemp); \
for i in $(DOCKER_VERSIONS); do printf "=== Emacs $$i ===\n" | tee -a $$total_summary; \
make docker version=$$i targets='clean bin test' | tee $$build_summary; \
make docker version=$$i targets='clean test' | tee $$build_summary; \
sed -n -E '/^Ran [0123456789]+ tests/,/^make:/p' $$build_summary | head -n-1 | tee -a $$total_summary; \
done; \
printf "\n\n=== Summary ===\n"; cat $$total_summary; \
Expand Down

0 comments on commit 2de6ac6

Please sign in to comment.