Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 43 |
Nodes: | 6 (0 / 6) |
Uptime: | 94:12:37 |
Calls: | 290 |
Calls today: | 1 |
Files: | 904 |
Messages: | 76,378 |
Dear mentors:
Many GNU packages have built-in tests that test the just-built programs.
Is there a general procedure/trick/idiom to modify them so that they test
the installed version instead? (so that they can be reused with minimal changes).
(I'd like to do this for several packages without reinventing the wheel).
Dear mentors:
Many GNU packages have built-in tests that test the just-built
programs.
Is there a general procedure/trick/idiom to modify them so that
they test the installed version instead? (so that they can be
reused with minimal changes).
This is what grep does [0]:
#!/bin/sh
set -e
export DEB_BUILD_PROFILES="nocheck nodoc" DEB_BUILD_OPTIONS="nocheck nodoc"
dpkg-source --before-build `pwd`
dpkg-buildpackage -rfakeroot --target=clean
dpkg-buildpackage -rfakeroot --target=build
make -C tests check-am
Many GNU packages have built-in tests that test the just-built programs.
Is there a general procedure/trick/idiom to modify them so that they test
the installed version instead? (so that they can be reused with minimal changes).