Mercurial > jhg
comparison build.gradle @ 462:ad0322a4af20
Update tests not to fail with Mercurial 2.2 changes, run tests with gradle
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 20 Jun 2012 16:52:39 +0200 |
parents | 55e9588b84b8 |
children | 3ace1fc95d0a |
comparison
equal
deleted
inserted
replaced
461:613c883e360e | 462:ad0322a4af20 |
---|---|
140 test { | 140 test { |
141 // <property name="test-repos-root" value="${java.io.tmpdir}/hg4j-tests/"/> | 141 // <property name="test-repos-root" value="${java.io.tmpdir}/hg4j-tests/"/> |
142 // <delete dir="${test-repos-root}" quiet="yes"/> | 142 // <delete dir="${test-repos-root}" quiet="yes"/> |
143 // <unjar src="test-data/test-repos.jar" dest="${test-repos-root}"/> | 143 // <unjar src="test-data/test-repos.jar" dest="${test-repos-root}"/> |
144 | 144 |
145 File testReposRoot = new File(project.getBuildDir(), "hg4j-tests2/"); | 145 File testReposRoot = new File(project.getBuildDir(), "hg4j-tests/"); |
146 if ( testReposRoot.exists() ) { | 146 if ( testReposRoot.exists() ) { |
147 project.delete(testReposRoot) | 147 project.delete(testReposRoot) |
148 } | 148 } |
149 testReposRoot.mkdirs(); | 149 testReposRoot.mkdirs(); |
150 | 150 |