Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-1470 Ensure test files are included for runtime testing

Lewis John McGibbneyd2831a8ed4d2
diff --git a/CHANGES.txt b/CHANGES.txt
index 1dadb605b..b7153c93f 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -2,6 +2,8 @@ Nutch Change Log
(trunk) Current Development:
+* NUTCH-1470 Ensure test files are included for runtime testing (lewismc)
+
* NUTCH-1434 Indexer to delete robots noindex (markus)
* NUTCH-1443 Solr schema version is invalid (markus)
diff --git a/build.xml b/build.xml
index afa84b37b..08d1959fc 100644
--- a/build.xml
+++ b/build.xml
@@ -392,12 +392,22 @@
<copy todir="${test.build.data}">
<fileset dir="src/testresources" includes="**/*"/>
</copy>
+
<copy file="${test.src.dir}/nutch-site.xml"
todir="${test.build.classes}"/>
<copy file="${test.src.dir}/log4j.properties"
todir="${test.build.classes}"/>
+ <copy file="${test.src.dir}/crawl-tests.xml"
+ todir="${test.build.classes}"/>
+
+ <copy file="${test.src.dir}/domain-urlfilter.txt"
+ todir="${test.build.classes}"/>
+
+ <copy file="${test.src.dir}/filter-all.txt"
+ todir="${test.build.classes}"/>
+
<junit printsummary="yes" haltonfailure="no" fork="yes" dir="${basedir}"
errorProperty="tests.failed" failureProperty="tests.failed" maxmemory="1000m">
<sysproperty key="test.build.data" value="${test.build.data}"/>