You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficcontrol.apache.org by Nir Sopher <ni...@qwilt.com> on 2017/01/23 21:44:51 UTC

Traffic Ops - Running Test Cases

Hi,

I am trying to run "prove t/" in order to test my branch after a minor
change I did.
However, the command keeps on failing due to missing Perl modules (not
brought a part of the "carton" command). For example: Mojo::Base,
NetAddr::IP, File::Slurp, String::CamelCase, ....

Is there somewhere a list of modules to be installed in order to allow the
UTs to run?

10x,
Nir

Re: Traffic Ops - Running Test Cases

Posted by Nir Sopher <ni...@qwilt.com>.
Indeed.
I was accidentally worked with the wrong user, for which the ENV var was
not set.
Sorry for the noise.
Nir

On Mon, Jan 23, 2017 at 11:51 PM, Dave Neuman <ne...@apache.org> wrote:

> Is your PERL5LIB set to include
> traffic_control/traffic_ops/app/local/lib/perl5? If not, you will need to
> make sure it does. As far as I know, everything that you need should be
> installed by Carton.
>
> —Dave
> ​
>
> On Mon, Jan 23, 2017 at 2:44 PM, Nir Sopher <ni...@qwilt.com> wrote:
>
> > Hi,
> >
> > I am trying to run "prove t/" in order to test my branch after a minor
> > change I did.
> > However, the command keeps on failing due to missing Perl modules (not
> > brought a part of the "carton" command). For example: Mojo::Base,
> > NetAddr::IP, File::Slurp, String::CamelCase, ....
> >
> > Is there somewhere a list of modules to be installed in order to allow
> the
> > UTs to run?
> >
> > 10x,
> > Nir
> >
>

Re: Traffic Ops - Running Test Cases

Posted by Dave Neuman <ne...@apache.org>.
Is your PERL5LIB set to include
traffic_control/traffic_ops/app/local/lib/perl5? If not, you will need to
make sure it does. As far as I know, everything that you need should be
installed by Carton.

—Dave
​

On Mon, Jan 23, 2017 at 2:44 PM, Nir Sopher <ni...@qwilt.com> wrote:

> Hi,
>
> I am trying to run "prove t/" in order to test my branch after a minor
> change I did.
> However, the command keeps on failing due to missing Perl modules (not
> brought a part of the "carton" command). For example: Mojo::Base,
> NetAddr::IP, File::Slurp, String::CamelCase, ....
>
> Is there somewhere a list of modules to be installed in order to allow the
> UTs to run?
>
> 10x,
> Nir
>