Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Automating tests before a CVS commit

by EvdB (Deacon)
on Jul 08, 2004 at 11:09 UTC ( #372745=note: print w/replies, xml ) Need Help??


in reply to Re: Automating tests before a CVS commit
in thread Automating tests before a CVS commit

I'm having trouble getting this working as I want it to.
--- commitinfo --- pl$ $CVSROOT/CVSROOT/commit-perl.bash pm$ $CVSROOT/CVSROOT/commit-perl.bash PL$ $CVSROOT/CVSROOT/commit-perl.bash --- commit-perl.bash --- #!/bin/bash perl -c $1 || exit 1 perltidy -b $1 || exit 1 --- sample.pl --- #!/usr/bin/perl my $test = '";
I am still allowed to commit sample.pl, even though I shouldn't be. Any suggestions.

Also I would like to run tests locally (ie not on server). Can this be done?.

--tidiness is the memory loss of environmental mnemonics

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://372745]
help
Chatterbox?
[davido]: The code seems pretty sane, and relatively foolproof. I guess I can answer my own question; move() should work across filesystems so long as they're mounted, rw, and not filled up.

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2016-12-10 03:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (159 votes). Check out past polls.