-------- Forwarded Message --------
From: Scott Talbert <swt(a)techie.net>
Reply-To: Development discussions related to Fedora <
Subject: Detecting when building under mock?
Date: Tue, 7 Apr 2020 11:43:26 -0400 (EDT)
Is there a recommended way for detecting when a package is being built
under mock? I have a package where some tests fail due to various
not being present in a mock container, e.g, /dev/log doesn't exist. I
just disable these tests downstream, but upstream might take a change
can wrap them in a "if !mock" condition.
devel mailing list -- devel(a)lists.fedoraproject.org
To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
Sérgio M. B.