On Thu, May 21, 2020 at 1:04 PM Richard Shaw <hobbes1...@gmail.com> wrote:
>
> On Thu, May 21, 2020 at 11:56 AM Aleksandra Fedorova <al...@bookwar.info> 
> wrote:
>>
>> On Thu, May 21, 2020 at 6:30 PM Richard Shaw <hobbes1...@gmail.com> wrote:
>> >
>> > On Thu, May 21, 2020 at 10:37 AM Przemo Firszt <prz...@firszt.eu> wrote:
>> >>
>> >> "FreeCAD -t 0" performs approx 470 tests. No GUI required. Example
>> >> output starts here:
>> >> https://travis-ci.org/github/FreeCAD/FreeCAD/jobs/689681966#L9103
>> >
>> >
>> > May need some work to get working from inside mock:
>> >
>> > # ./FreeCAD -t 0
>> > FreeCAD 0.18, Libs: 0.18RUnknown
>> > © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
>> >   #####                 ####  ###   ####
>> >   #                    #      # #   #   #
>> >   #     ##  #### ####  #     #   #  #   #
>> >   ####  # # #  # #  #  #     #####  #   #
>> >   #     #   #### ####  #    #     # #   #
>> >   #     #   #    #     #    #     # #   #  ##  ##  ##
>> >   #     #   #### ####   ### #     # ####   ##  ##  ##
>> >
>> > Aborted (core dumped)
>>
>> Please don't run it inside mock.

Mock testing is extremely useful for testing in a completely defined
environment, for standalone laptop environments with no active
network, and also for testing docker and small VM compatibility. If
tests need to be segregated for entirely local, or isolated testing,
then perhaps the tests can be segregated with some "local" option?

Since a mistyped "%build" step can do "rm -rf /" as the build user,
it's just a lot safer for everyonr in the build environments to use
the mock or other chroot cages or docker images.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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/devel@lists.fedoraproject.org

Reply via email to