o If we are not actually in an SVN repository then don't run tests that require SVN.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@580653 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2007-09-29 22:11:05 +00:00
parent 85085b529c
commit b3461d5936
1 changed files with 10 additions and 5 deletions

View File

@ -33,6 +33,10 @@ public class EmbedderUsingScmPluginTest
public void testRunningScmPlugin() public void testRunningScmPlugin()
throws Exception throws Exception
{
File svnDirectory = new File( getBasedir(), ".svn" );
if ( svnDirectory.exists() )
{ {
Properties p = new Properties(); Properties p = new Properties();
@ -45,3 +49,4 @@ public class EmbedderUsingScmPluginTest
File basedir = runWithProject( "scm:diff", p ); File basedir = runWithProject( "scm:diff", p );
} }
} }
}