A few mc tests validate 'fork' functionality by mocking
out fork(). check uses fork() by default as a way to
isolate testsiute. This causes conflict.
To resove conflict we disable forking in check via
CK_FORK=no environment variable.
Reported-by: Rolf Eike Beer
Closes: https://bugs.gentoo.org/644462
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
econf "${myeconfargs[@]}"
}
+src_test() {
+ # CK_FORK=no to avoid using fork() in check library
+ # as mc mocks fork() itself: bug #644462.
+ #
+ # VERBOSE=1 to make test failures contain detailed
+ # information.
+ CK_FORK=no emake check VERBOSE=1
+}
+
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS README NEWS
econf "${myeconfargs[@]}"
}
+src_test() {
+ # CK_FORK=no to avoid using fork() in check library
+ # as mc mocks fork() itself: bug #644462.
+ #
+ # VERBOSE=1 to make test failures contain detailed
+ # information.
+ CK_FORK=no emake check VERBOSE=1
+}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS doc/{FAQ,NEWS,README}