~registry/kmod/master

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Lucas De Marchi
  • Date: 2021-02-06 03:52:00 UTC
  • Revision ID: git-v1:1921c370c25cb4735105397c285ffa38a04b286b
testsuite: compress modules if feature is enabled

Since the output needs to be the same, regardless if the module is
compressed, change populate-modules.sh to conditionally compress the
module if that feature is enabled.

This way we can execute the tests with any build-time configuration and
it should still pass.

Suggested-by: Michal Suchánek <msuchanek@suse.de>
Reviewed-by: Michal Suchánek <msuchanek@suse.de>
Tested-by: Michal Suchánek <msuchanek@suse.de>
Reviewed-by: Petr Vorel <pvorel@suse.cz>

Show diffs side-by-side

added added

removed removed

Lines of Context:
249
249
                                find $(ROOTFS) -type d -exec chmod +w {} \; && \
250
250
                                find $(ROOTFS) -type f -name .gitignore -exec rm -f {} \; && \
251
251
                                $(top_srcdir)/testsuite/populate-modules.sh \
252
 
                                        $(MODULE_PLAYGROUND) $(ROOTFS) ) && \
 
252
                                        $(MODULE_PLAYGROUND) $(ROOTFS) $(top_builddir)/config.h ) && \
253
253
                                touch testsuite/stamp-rootfs
254
254
 
255
255
build-module-playground: