Skip to content

Commit e6c1ca3

Browse files
authored
Merge pull request #1127 from giuseppe/no-dist-binary-tests
dist: do not include binary tests
2 parents 1f4fa30 + 83de960 commit e6c1ca3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Makefile.am

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ PY_LOG_COMPILER = $(PYTHON)
145145
PY_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/build-aux/tap-driver.sh
146146
LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/build-aux/tap-driver.sh
147147

148-
TESTS = tests/test_capabilities.py \
148+
PYTHON_TESTS = tests/test_capabilities.py \
149149
tests/test_cwd.py \
150150
tests/test_checkpoint_restore.py \
151151
tests/test_devices.py \
@@ -166,8 +166,9 @@ TESTS = tests/test_capabilities.py \
166166
tests/test_resources.py \
167167
tests/test_start.py \
168168
tests/test_exec.py \
169-
tests/test_seccomp.py \
170-
$(UNIT_TESTS)
169+
tests/test_seccomp.py
170+
171+
TESTS = $(PYTHON_TESTS) $(UNIT_TESTS)
171172

172173
.version:
173174
$(AM_V_GEN)echo $(VERSION) > $@-t && mv $@-t $@
@@ -185,7 +186,7 @@ dist-hook:
185186
$(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version
186187
$(AM__GEN)cp git-version.h $(distdir)/git-version.h
187188

188-
EXTRA_DIST += $(TESTS) tests/Makefile.tests tests/run_all_tests.sh tests/tests_utils.py build-aux/git-version-gen .version git-version.h src/libcrun/signals.perf src/libcrun/mount_flags.perf
189+
EXTRA_DIST += $(PYTHON_TESTS) tests/Makefile.tests tests/run_all_tests.sh tests/tests_utils.py build-aux/git-version-gen .version git-version.h src/libcrun/signals.perf src/libcrun/mount_flags.perf
189190
BUILT_SOURCES = .version git-version.h
190191

191192
man1_MANS = crun.1

0 commit comments

Comments
 (0)