GithubHelp home page GithubHelp logo

Installation from CPAN fails about templer HOT 3 CLOSED

skx avatar skx commented on September 26, 2024
Installation from CPAN fails

from templer.

Comments (3)

skx avatar skx commented on September 26, 2024

I think this is caused by a lack of running Redis-server on localhost. If it is installed we run the tests, if not we skip them. I guess the skipping is failing here.

Does this update work?

  --- a/t/test-templer-plugin-redis.t
  +++ b/t/test-templer-plugin-redis.t
  @@ -60,7 +60,11 @@ $skip = 1 unless ( $redis && $redis->ping() );
   SKIP:
   {

  -    skip "Redis must be running on localhost" unless ( !$skip );
  +    if ( $skip )
  +    {
  +        done_testing;
  +        exit(0);
  +    }


       #
  @@ -149,9 +153,9 @@ EOF
           $redis->del("steve.kemp");
       }

  -
  -    #
  -    # All done.
  -    #
  -    done_testing;
   }
  +
  +#
  +# All done.
  +#
  +done_testing;

from templer.

pwaring avatar pwaring commented on September 26, 2024

That seems to do the trick, make test install fails before the patch and succeeds afterwards. Thanks. :)

from templer.

skx avatar skx commented on September 26, 2024

Thanks for the confirmation - I'll leave it a couple of days to see if you spot more problems/issues, and then make a new release with it.

from templer.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.