Re: TODO fix the build system

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

 



122eac1d720c2fd9f0ce6a8e2be476f93329c771

+build
+-----
+	* Fix "make dist" to build documentation.
+	* Fix "make distcheck" at the same time.


How were you planning to fix "make distcheck"? I had a look at it after reading up on autotools, and the main problem was our unconventional test suite. "make distcheck" requires that the tests write only to a separate build directory. The source directory is marked read-only, including tests/. But our "make check" tries to write to tests/tmp, tests/data, (and now tests/build).

Rather than piling on the hacks, I think it's time we admitted that the testsuite just doesn't fit "make check" :-). "make check" is supposed to test the normal program, not a special testing version.

HACKING should then explicitly mention "tests/runtests", as the way to run the testsuite.

Regards
Alan
--
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