From cff96f600abbb2e06e314f43a9a59a0488fcee06 Mon Sep 17 00:00:00 2001 From: Harry Ramsey Date: Thu, 3 Oct 2024 15:34:18 +0100 Subject: [PATCH] Remove obsolete Travis CI scripts This commit removes obsolete Travis CI scripts that are no longer required due to the transition to a publically available CI image. Signed-off-by: Harry Ramsey --- scripts/windows_msbuild.bat | 20 ----------------- tests/scripts/travis-log-failure.sh | 35 ----------------------------- 2 files changed, 55 deletions(-) delete mode 100644 scripts/windows_msbuild.bat delete mode 100755 tests/scripts/travis-log-failure.sh diff --git a/scripts/windows_msbuild.bat b/scripts/windows_msbuild.bat deleted file mode 100644 index 2bc6a51ce8..0000000000 --- a/scripts/windows_msbuild.bat +++ /dev/null @@ -1,20 +0,0 @@ -@rem Build and test Mbed TLS with Visual Studio using msbuild. -@rem Usage: windows_msbuild [RETARGET] -@rem RETARGET: version of Visual Studio to emulate -@rem https://docs.microsoft.com/en-us/cpp/build/how-to-modify-the-target-framework-and-platform-toolset - -@rem These parameters are hard-coded for now. -set "arch=x64" & @rem "x86" or "x64" -set "cfg=Release" & @rem "Debug" or "Release" -set "vcvarsall=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" - -if not "%~1"=="" set "retarget=,PlatformToolset=%1" - -@rem If the %USERPROFILE%\Source directory exists, then running -@rem vcvarsall.bat will silently change the directory to that directory. -@rem Setting the VSCMD_START_DIR environment variable causes it to change -@rem to that directory instead. -set "VSCMD_START_DIR=%~dp0\..\visualc\VS2017" - -"%vcvarsall%" x64 && ^ -msbuild /t:Rebuild /p:Configuration=%cfg%%retarget% /m mbedTLS.sln diff --git a/tests/scripts/travis-log-failure.sh b/tests/scripts/travis-log-failure.sh deleted file mode 100755 index 3daecf30df..0000000000 --- a/tests/scripts/travis-log-failure.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh - -# travis-log-failure.sh -# -# Copyright The Mbed TLS Contributors -# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later -# -# Purpose -# -# List the server and client logs on failed ssl-opt.sh and compat.sh tests. -# This script is used to make the logs show up in the Travis test results. -# -# Some of the logs can be very long: this means usually a couple of megabytes -# but it can be much more. For example, the client log of test 273 in ssl-opt.sh -# is more than 630 Megabytes long. - -if [ -d include/mbedtls ]; then :; else - echo "$0: must be run from root" >&2 - exit 1 -fi - -FILES="o-srv-*.log o-cli-*.log c-srv-*.log c-cli-*.log o-pxy-*.log" -MAX_LOG_SIZE=1048576 - -for PATTERN in $FILES; do - for LOG in $( ls tests/$PATTERN 2>/dev/null ); do - echo - echo "****** BEGIN file: $LOG ******" - echo - tail -c $MAX_LOG_SIZE $LOG - echo "****** END file: $LOG ******" - echo - rm $LOG - done -done