Skip to content

Commit

Permalink
CI: disable sunmd5 tests on ARM architecture
Browse files Browse the repository at this point in the history
SunMD5 format crashes on ARM (macOS and Linux)
See #5296.

Signed-off-by: Claudio André <claudioandre.br@gmail.com>
  • Loading branch information
claudioandre-br committed Jan 6, 2024
1 parent 054a025 commit d81fbd1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .ci/disable_formats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ echo 'KeePass-opencl = Y' >> ../run/john-local.conf
# These formats fail OpenCL CPU runtime
echo 'RAR-opencl = Y' >> ../run/john-local.conf

# SunMD5 format crashes on ARM. macOS and Linux
# See https://github.com/openwall/john/issues/5296
echo 'sunmd5 = Y' >> ../run/john-local.conf

# These formats run very slowly inside CI
# Time measures are from Intel CPU driver running inside Docker
echo 'ansible-opencl = Y' >> ../run/john-local.conf # (282.202952 secs) PASS
Expand Down
3 changes: 3 additions & 0 deletions .circleci/circle-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ if [[ $1 == "BUILD" ]]; then
echo '--------------------------------------------------------------------------------'

elif [[ $1 == "TEST" ]]; then
# Disable problematic formats before testing
source ../.ci/disable_formats.sh

echo '---------------------------------- Build Info ----------------------------------'
$WINE $JTR --list=build-info
echo '--------------------------------------------------------------------------------'
Expand Down

0 comments on commit d81fbd1

Please sign in to comment.