FS#15145 - [makepkg] allow check function to be optionally run between build and package
Attached to Project:
Pacman
Opened by Allan McRae (Allan) - Wednesday, 17 June 2009, 08:04 GMT
Last edited by Allan McRae (Allan) - Thursday, 30 December 2010, 01:40 GMT
Opened by Allan McRae (Allan) - Wednesday, 17 June 2009, 08:04 GMT
Last edited by Allan McRae (Allan) - Thursday, 30 December 2010, 01:40 GMT
|
Details
Summary and Info:
It would be nice if a check() function could be specified in a PKGBUILD that would (optionally?) run the test suite after build() has finished. |
This task depends upon
Closed by Allan McRae (Allan)
Thursday, 30 December 2010, 01:40 GMT
Reason for closing: Implemented
Additional comments about closing: http://projects.archlinux.org/users/alla n/pacman.git/commit/?id=0c29eb43
Thursday, 30 December 2010, 01:40 GMT
Reason for closing: Implemented
Additional comments about closing: http://projects.archlinux.org/users/alla n/pacman.git/commit/?id=0c29eb43
I'm not sure I'd even make it require any sort of option flag other than simply the presence of a check() function in the build script. I think more useful would be command line options (either --nocheck or --check, depending on what we decide the default should be).
Could checkdepends just be makedepends?