diff options
| author | Miroslav Šulc <fordfrog@gentoo.org> | 2021-04-19 12:56:01 +0200 |
|---|---|---|
| committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-04-19 12:57:38 +0200 |
| commit | 2e0474035f24d91e373c261bc7739bbfa2e71dfa (patch) | |
| tree | 5d9287ad8382674b2a6399eae2a59f57283f7289 /dev-java/apache-rat-tasks/files/apache-rat-tasks-0.13-fix-tests.patch | |
| parent | ae8c0f988a0d3c31c318231ba345b2de139862b5 (diff) | |
| download | gentoo-2e0474035f24d91e373c261bc7739bbfa2e71dfa.tar.gz gentoo-2e0474035f24d91e373c261bc7739bbfa2e71dfa.tar.bz2 gentoo-2e0474035f24d91e373c261bc7739bbfa2e71dfa.zip | |
dev-java/apache-rat-tasks: new package
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/apache-rat-tasks/files/apache-rat-tasks-0.13-fix-tests.patch')
| -rw-r--r-- | dev-java/apache-rat-tasks/files/apache-rat-tasks-0.13-fix-tests.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-java/apache-rat-tasks/files/apache-rat-tasks-0.13-fix-tests.patch b/dev-java/apache-rat-tasks/files/apache-rat-tasks-0.13-fix-tests.patch new file mode 100644 index 000000000000..536b68371c3a --- /dev/null +++ b/dev-java/apache-rat-tasks/files/apache-rat-tasks-0.13-fix-tests.patch @@ -0,0 +1,41 @@ +diff --git a/src/test/resources/antunit/report-junit.xml b/src/test/resources/antunit/report-junit.xml +index 54b0c9c..d12fee4 100644 +--- a/src/test/resources/antunit/report-junit.xml ++++ b/src/test/resources/antunit/report-junit.xml +@@ -48,7 +48,7 @@ + <target name="all"/> + + <target name="testWithReportSentToFile"> +- <property name="report.file" location="${output.dir}/selftest.report"/> ++ <property name="report.file" location="../../../../target/anttasks/selftest.report"/> + <rat:report reportFile="${report.file}"> + <file file="${ant.file}"/> + </rat:report> +@@ -88,22 +88,22 @@ + <target name="testAddLicenseHeaders"> + <delete dir="${output.dir}/it-sources"/> + <mkdir dir="${output.dir}/it-sources"/> +- <copy file="src/test/resources/antunit/index.apt" tofile="${output.dir}/it-sources/index.apt"/> ++ <copy file="index.apt" tofile="../../../../target/anttasks/it-sources/index.apt"/> + <rat:report addLicenseHeaders="true"> +- <file file="${output.dir}/it-sources/index.apt"/> ++ <file file="../../../../target/anttasks/it-sources/index.apt"/> + </rat:report> + </target> + + <target name="testISO88591"> + <rat:report format="xml"> +- <file file="src/test/resources/org/example/iso-8859-1.html"/> ++ <file file="../../../../src/test/resources/org/example/iso-8859-1.html"/> + </rat:report> + </target> + + <target name="testISO88591WithReportFile"> +- <property name="report.file" location="${output.dir}/selftest.report"/> ++ <property name="report.file" location="../../../../target/anttasks/selftest.report"/> + <rat:report reportFile="${report.file}" format="xml"> +- <file file="src/test/resources/org/example/iso-8859-1.html"/> ++ <file file="../../../../src/test/resources/org/example/iso-8859-1.html"/> + </rat:report> + </target> + </project> |
