JFYI

-------- Forwarded Message --------
From: Scott Talbert <[email protected]>
Reply-To: Development discussions related to Fedora <
[email protected]>
To: [email protected]
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
things 
not being present in a mock container, e.g, /dev/log doesn't exist.  I
can 
just disable these tests downstream, but upstream might take a change
if I 
can wrap them in a "if !mock" condition.

Thanks,
Scott
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
-- 
Sérgio M. B.
_______________________________________________
buildsys mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to