Execute only FIPS Unit tests, not UT of dependent modules (#22038)
This commit is contained in:
parent
ec86d16c43
commit
ee6a29fdf1
1 changed files with 6 additions and 2 deletions
8
.github/scripts/run-fips-ut.sh
vendored
8
.github/scripts/run-fips-ut.sh
vendored
|
@ -8,8 +8,12 @@ if [ $? -ne 0 ]; then
|
|||
fi
|
||||
echo "fips.provider.7=XMLDSig" >>/etc/alternatives/java_sdk_17/conf/security/java.security
|
||||
export JAVA_HOME=/etc/alternatives/java_sdk_17
|
||||
./mvnw test -nsu -B -am -pl crypto/default,crypto/fips1402 -Dcom.redhat.fips=true
|
||||
|
||||
# Build all dependent modules
|
||||
./mvnw install -nsu -B -am -pl crypto/default,crypto/fips1402 -DskipTests
|
||||
|
||||
./mvnw test -nsu -B -pl crypto/default,crypto/fips1402 -Dcom.redhat.fips=true
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
./mvnw test -nsu -B -am -pl crypto/default,crypto/fips1402 -Dcom.redhat.fips=true -Dorg.bouncycastle.fips.approved_only=true
|
||||
./mvnw test -nsu -B -pl crypto/default,crypto/fips1402 -Dcom.redhat.fips=true -Dorg.bouncycastle.fips.approved_only=true
|
||||
|
|
Loading…
Reference in a new issue