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

Re: testing packages at build

On Wed, 8 Oct 2003 21:09:31 +0200, Bill Allombert <allomber@math.u-bordeaux.fr> said: 

> Hello Debian policy, Ancient policy [1] frowned upon running
> automated check of runtime behavior of packages in debian/rules to
> save time for the autobuilders, and say that such test should be run
> by maintainers manually before uploading.

	Since this is not in policy anymore, this is not relevant.

> I see two possibility to implement this proposal:

> 1°) Let maintainers run tests in the build or binary target.
> Eventually we add a notest DEBBUILD_OPTION to disable it.

> 2°) We add a test target in debian/rules. Autobuilders will need to
> be modified to take advantage of this. We can then go farther and
> implement special testing facility.

> I am sorry for the long post, but I do believe we can make toolchain
> transitions and release easier with a proper automated test
> architecture for the autobuilder.

	Umm, this is the wrong list. Development issues belong on
 -devel, not on -policy; follow ups set.

	For the record, flex runs an extensive test suite at build
 time, as do as many of my other packages as I have had time to create
 tests for (kernel-package; the old pkg-order, etc).

	If developer routinely add tests to the build option we do not
 need to modify anything. If you can persuade people that adding a new
 target to the rules file is better, we can perhaps have both -- it
 would be easy enough to call the test target from the build target

XXVI: If a sufficient number of management layers are superimposed on
each other, it can be assured that disaster is not left to
chance. XXVII: Rank does not intimidate hardware.  Neither does the
lack of rank. XXVIII: It is better to be the reorganizer than the
reorganizee. XXIX: Executives who do not produce successful results
hold on to their jobs only about five years.  Those who produce
effective results hang on about half a decade. XXX: By the time the
people asking the questions are ready for the answers, the people
doing the work have lost track of the questions. Norman Augustine
Manoj Srivastava   <srivasta@debian.org>  <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C

Reply to: