[PATCH 0/4] Make test-suite build (-DJUST_TESTING) less disruptive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Failed to CC Mike the first time round]

This patch series aims to make the testsuite more convenient to run,
both for "upstream" development and for integration with package managers.

It changes "make check" or "tests/runtests" to do a separate
JUST_TESTING build under tests/build.  This means you don't have to
reconfigure and rebuild after running the test suite.

This isn't completely straightforward.  If we run a test build in a
separate directory, we are required to run *all* builds in a separate
directory.  So I've set up a default build directory, "./build".  I
cribbed ax_configure_builddir.m4 from the autoconf archive, and heavily
modified it so it actually works.

The macro creates a toplevel Makefile which recurses into the build
directory.  Special handling is provided for "make dist", "make
dist-gzip" and "make dist-bzip2".  For convenience, the tarballs created
in the build directory are moved back into the source directory.
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux