mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Update test scripts
This commit is contained in:
parent
7d7f4c2f57
commit
3a3a738249
@ -6,6 +6,8 @@
|
||||
# See http://www.cryptopp.com/wiki/Android_(Command_Line) for more details
|
||||
# ====================================================================
|
||||
|
||||
#############################################################################
|
||||
|
||||
if [ -z "$(command -v ./setenv-android.sh)" ]; then
|
||||
echo "Failed to locate setenv-android.sh"
|
||||
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1
|
||||
|
@ -1,5 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ====================================================================
|
||||
# Tests Autotools builds
|
||||
#
|
||||
# See https://www.cryptopp.com/wiki/Autotools for more details
|
||||
# ====================================================================
|
||||
|
||||
#############################################################################
|
||||
|
||||
# Default tools
|
||||
GREP=grep
|
||||
SED=sed
|
||||
AWK=awk
|
||||
@ -79,7 +88,7 @@ files=(configure.ac Makefile.am libcryptopp.pc.in)
|
||||
|
||||
for file in "${files[@]}"; do
|
||||
echo "Downloading $file"
|
||||
if ! curl -o "$file" --silent --insecure "https://raw.githubusercontent.com/noloader/cryptopp-autotools/master/$file"; then
|
||||
if ! curl -o "$file" --silent "https://raw.githubusercontent.com/noloader/cryptopp-autotools/master/$file"; then
|
||||
echo "$file download failed"
|
||||
exit 1
|
||||
fi
|
||||
@ -116,7 +125,7 @@ fi
|
||||
|
||||
# Update config.sub config.guess. GNU recommends using the latest for all projects.
|
||||
echo "Updating config.sub"
|
||||
curl -o config.sub.new --silent --insecure 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub'
|
||||
curl -o config.sub.new --silent 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub'
|
||||
|
||||
# Solaris removes +w, can't overwrite
|
||||
chmod +w build-aux/config.sub
|
||||
@ -129,7 +138,7 @@ if [[ "$IS_DARWIN" -ne 0 ]] && [[ -n $(command -v xattr 2>/dev/null) ]]; then
|
||||
fi
|
||||
|
||||
echo "Updating config.guess"
|
||||
curl -o config.guess.new --silent --insecure 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess'
|
||||
curl -o config.guess.new --silent 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess'
|
||||
|
||||
# Solaris removes +w, can't overwrite
|
||||
chmod +w build-aux/config.guess
|
||||
|
@ -1,5 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ====================================================================
|
||||
# Tests CMake builds
|
||||
#
|
||||
# See https://www.cryptopp.com/wiki/CMake for more details
|
||||
# ====================================================================
|
||||
|
||||
#############################################################################
|
||||
|
||||
# Fixup ancient Bash
|
||||
# https://unix.stackexchange.com/q/468579/56041
|
||||
if [[ -z "$BASH_SOURCE" ]]; then
|
||||
|
@ -59,7 +59,7 @@ files=(pem_create.sh pem_verify.sh pem_test.cxx pem_eol.cxx
|
||||
|
||||
for file in "${files[@]}"; do
|
||||
echo "Downloading $file"
|
||||
if ! curl -o "$file" --silent --insecure "https://raw.githubusercontent.com/noloader/cryptopp-pem/master/$file"; then
|
||||
if ! curl -o "$file" --silent "https://raw.githubusercontent.com/noloader/cryptopp-pem/master/$file"; then
|
||||
echo "$file download failed"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user