Run tests in multiple reusable forks to improve test performance
This commit is contained in:
parent
1be85f2d9e
commit
7b1c571078
@ -26,12 +26,13 @@ to assist with developing IO functionality.
|
||||
%setup -q -n commons-io-%{version}-src
|
||||
sed -i 's/\r//' *.txt
|
||||
|
||||
%build
|
||||
# Run tests in multiple reusable forks to improve test performance
|
||||
sed -i -e /reuseForks/d -e /forkCount/d pom.xml
|
||||
|
||||
%mvn_file : commons-io %{name}
|
||||
%mvn_alias : org.apache.commons:
|
||||
|
||||
# NOTE: tests *may* fail because commons-io is on surefire's classpath and causes
|
||||
# tests to be run against the system version and not the one we just built
|
||||
%build
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user