[Bf-committers] unit testing

Josh Stratton strattonbrazil at gmail.com
Fri Aug 1 18:05:15 CEST 2014


Thanks.  I appear to have the build dependencies worked out using scons,
but I don't see a blender binary created.  According to the docs there
should be an "install" directory, which I don't see.  I see a "release" and
"release/bin" containing "blender-softwaregl" and "blender-thumbnailer.py",
but nothing else.

$ python scons/scons.py
...
Install file:
"release/scripts/addons/add_curve_extra_objects/add_curve_torus_knots.py"
as
"/home/josh.stratton/Public/install/linux/2.71/scripts/addons/add_curve_extra_objects/add_curve_torus_knots.py"
Install file:
"release/scripts/addons/add_curve_extra_objects/add_curve_spirals.py" as
"/home/josh.stratton/Public/install/linux/2.71/scripts/addons/add_curve_extra_objects/add_curve_spirals.py"
Install file: "release/scripts/addons/add_curve_extra_objects/__init__.py"
as
"/home/josh.stratton/Public/install/linux/2.71/scripts/addons/add_curve_extra_objects/__init__.py"
scons: done building targets.

$


On Thu, Jul 31, 2014 at 10:34 PM, Campbell Barton <ideasman42 at gmail.com>
wrote:

> You didn't say what OS you're on but each platform has similar steps:
>
> http://wiki.blender.org/index.php/Dev:Doc/Building_Blender
> Link to your OS (eg Linux)
>
> http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux
> Link to the Distro (eg Ubuntu/CMake)
>
> Each doc on building has a section like this:
>
> http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux/Ubuntu/CMake#Get_the_source
>
> On Fri, Aug 1, 2014 at 3:12 PM, Josh Stratton <strattonbrazil at gmail.com>
> wrote:
> > I've been to that page and neighboring pages, but I must be crazy
> > because I don't see the URL for the repository. Is it on that page?
> > All I see are build instructions for scons/cmake after  it's been
> > cloned.
> >
> > On 7/31/14, Campbell Barton <ideasman42 at gmail.com> wrote:
> >> While some devs use github, the main Blender code repo is hosted on
> >> our own servers.
> >>
> >> To build blender see:
> >>   http://wiki.blender.org/index.php/Dev:Doc/Building_Blender
> >>
> >> If you run into troubles, you can ask for help in our IRC chat room
> >> #blendercoders
> >>    http://wiki.blender.org/index.php/Community:Chat
> >>
> >> (You can post here too, but typically IRC is better for
> troubleshooting).
> >>
> >> On Fri, Aug 1, 2014 at 12:32 PM, Josh Stratton <
> strattonbrazil at gmail.com>
> >> wrote:
> >>> Cool, I'll check it out.  Where is the actual git repo to clone?  I
> don't
> >>> see it anywhere on the wiki.  All the dev steps just say to download it
> >>> without any links to the repo.  I found a blender3d group on github,
> but
> >>> I
> >>> don't see any projects that look like blender3d itself.
> >>>
> >>>
> >>> On Wed, Jul 30, 2014 at 9:12 AM, Campbell Barton <ideasman42 at gmail.com
> >
> >>> wrote:
> >>>
> >>>> Hi Josh,
> >>>>
> >>>> Suggest try build blender and run some of tests (enable WITH_GTEST
> >>>> option). they should all pass, just checked.
> >>>>
> >>>> There is a project for automated testing with basic info on tests,
> see:
> >>>>   https://developer.blender.org/tag/automated_testing/
> >>>>
> >>>> Here are 2 TODO's, which would be a good starting point since the
> >>>> tests are already setup, but without such good coverage.
> >>>>
> >>>> https://developer.blender.org/T41252 - BLI_path_util_test.cc
> >>>> https://developer.blender.org/T41253 - BLI_math_geom_test.cc (polygon
> >>>> tests)
> >>>>
> >>>> We also have Python tests which have the advantage that you can work
> >>>> on them without building Blender.
> >>>> https://developer.blender.org/T39451 - mathutils py module.
> >>>>
> >>>>
> >>>> In replying to this mail I realize we don't have good docs on how to
> >>>> run tests, so I added some brief info to the automated-tests project
> >>>> page.
> >>>> *(Sergey - correct me if I'm wrong!)
> >>>>
> >>>>
> >>>> On Thu, Jul 31, 2014 at 12:50 AM, Josh Stratton
> >>>> <strattonbrazil at gmail.com> wrote:
> >>>> > Reading the wiki it says the unit tests for blender are somewhat
> >>>> >  lacking. Is that something I could help contribute work on? Also, I
> >>>> >  don't see a repo link in the getting started section. Is it just
> the
> >>>> >  hit repo in the downloads section?
> >>>> > _______________________________________________
> >>>> > Bf-committers mailing list
> >>>> > Bf-committers at blender.org
> >>>> > http://lists.blender.org/mailman/listinfo/bf-committers
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> - Campbell
> >>>> _______________________________________________
> >>>> Bf-committers mailing list
> >>>> Bf-committers at blender.org
> >>>> http://lists.blender.org/mailman/listinfo/bf-committers
> >>>>
> >>> _______________________________________________
> >>> Bf-committers mailing list
> >>> Bf-committers at blender.org
> >>> http://lists.blender.org/mailman/listinfo/bf-committers
> >>
> >>
> >>
> >> --
> >> - Campbell
> >> _______________________________________________
> >> Bf-committers mailing list
> >> Bf-committers at blender.org
> >> http://lists.blender.org/mailman/listinfo/bf-committers
> >>
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-committers
>
>
>
> --
> - Campbell
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list