Skip to content

Commit 2321e18

Browse files
idodeclareVladimir Kotal
authored andcommitted
Fix so tests are repeatable again without clean
796b45a left out some needed cleanup from the setup of -create-svn-repository
1 parent 2173ed7 commit 2321e18

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

opengrok-indexer/build.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ information: Portions Copyright [yyyy] [name of copyright owner]
1919
CDDL HEADER END
2020
2121
Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved.
22+
Portions Copyright (c) 2020, Chris Fraire <[email protected]>.
2223
2324
-->
2425
<project name="OpenGrok" default="jar" basedir=".">
@@ -112,7 +113,9 @@ Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved.
112113

113114
<target name="-create-svn-repository">
114115
<delete dir="${test.svn}"/>
116+
<delete dir="${test.svn2}"/>
115117
<delete dir="${build.test.reposroots}/svn"/>
118+
<delete dir="${build.test.reposroots}/svn2"/>
116119
<mkdir dir="${build.test.reposroots}"/>
117120
<exec executable="svnadmin" failifexecutionfails="true">
118121
<arg value="create"/>
@@ -180,7 +183,7 @@ Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved.
180183
</target>
181184

182185
<!-- clean up generated test repositories -->
183-
<target name="-delete-generated-repository-files">
186+
<target name="-delete-generated-repository-files">
184187
<delete dir="${test.bk}/.bk"/>
185188
<delete dir="${test.bzr}/.bzr"/>
186189
<delete dir="${test.hg}/.hg"/>

0 commit comments

Comments
 (0)