You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2022/06/26 20:50:47 UTC
[commons-crypto] branch master updated (1a52e1b -> dd9f830)
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git
from 1a52e1b Useless parentheses (PMD)
new 70aa5c9 Show build details
new dd9f830 Check run conditions
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/docker/build.sh | 2 +-
src/test/java/org/apache/commons/crypto/CryptoTest.java | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
[commons-crypto] 01/02: Show build details
Posted by se...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git
commit 70aa5c9fc1cc57ffc8416a480c4aa9c92a560570
Author: Sebb <se...@apache.org>
AuthorDate: Sun Jun 26 21:50:17 2022 +0100
Show build details
---
src/docker/build.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/docker/build.sh b/src/docker/build.sh
index e6b718d..7755275 100755
--- a/src/docker/build.sh
+++ b/src/docker/build.sh
@@ -25,7 +25,7 @@ cd /home/crypto # must agree with virtual mount in docker-compose.yaml
cp /usr/include/x86_64-linux-gnu/openssl/opensslconf.h /usr/include/openssl
# Run the 64-bit builds.
-mvn package
+mvn -V package
# use process-classes rather than package to speed up builds
mvn -DskipTests -Drat.skip process-classes -P linux-aarch64
[commons-crypto] 02/02: Check run conditions
Posted by se...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git
commit dd9f830a73aeb1b249ba1ccd48aba3635366a503
Author: Sebb <se...@apache.org>
AuthorDate: Sun Jun 26 21:50:38 2022 +0100
Check run conditions
---
src/test/java/org/apache/commons/crypto/CryptoTest.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/crypto/CryptoTest.java b/src/test/java/org/apache/commons/crypto/CryptoTest.java
index 992e8ee..c94f4d6 100644
--- a/src/test/java/org/apache/commons/crypto/CryptoTest.java
+++ b/src/test/java/org/apache/commons/crypto/CryptoTest.java
@@ -49,8 +49,10 @@ public class CryptoTest {
@Test
public void testMain() throws Throwable {
+ // Check that Crypt.main will actually run tests
+ assertTrue(Crypto.isNativeCodeLoaded(), "Native code loaded OK");
Crypto.main(new String[]{"-q"}); // output causes issues for testing
- assertTrue(true, "Completed OK");
+ assertTrue(Crypto.isNativeCodeLoaded(), "Completed OK");
}
@Test