From 32669fbd255afad9f2db7fcce6fe91a8dec03547 Mon Sep 17 00:00:00 2001 From: Joao Matos Date: Mon, 30 Oct 2023 11:51:59 +0000 Subject: [PATCH] Fix CI error with tput in shell scripts. --- tests/emscripten/test.sh | 6 +++--- tests/napi/test.sh | 6 +++--- tests/quickjs/test.sh | 6 +++--- tests/ts/test.sh | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/emscripten/test.sh b/tests/emscripten/test.sh index 52807e87dd..52d530f35d 100755 --- a/tests/emscripten/test.sh +++ b/tests/emscripten/test.sh @@ -7,9 +7,9 @@ configuration=debug platform=x64 jsinterp=node -red=`tput setaf 1` -green=`tput setaf 2` -reset=`tput sgr0` +red=`tput -T ansi setaf 1` +green=`tput -T ansi setaf 2` +reset=`tput -T ansi sgr0` generate=true diff --git a/tests/napi/test.sh b/tests/napi/test.sh index ec76283b8f..312e77e500 100755 --- a/tests/napi/test.sh +++ b/tests/napi/test.sh @@ -5,9 +5,9 @@ rootdir="$dir/../.." configuration=Release platform=x64 -red=`tput setaf 1` -green=`tput setaf 2` -reset=`tput sgr0` +red=`tput -T ansi setaf 1` +green=`tput -T ansi setaf 2` +reset=`tput -T ansi sgr0` echo "${green}Generating bindings${reset}" dotnet $rootdir/bin/${configuration}_${platform}/CppSharp.CLI.dll \ diff --git a/tests/quickjs/test.sh b/tests/quickjs/test.sh index b97be557de..1a78fe1ee6 100755 --- a/tests/quickjs/test.sh +++ b/tests/quickjs/test.sh @@ -7,9 +7,9 @@ configuration=debug platform=x64 jsinterp="$rootdir/deps/quickjs/qjs-debug" -red=`tput setaf 1` -green=`tput setaf 2` -reset=`tput sgr0` +red=`tput -T ansi setaf 1` +green=`tput -T ansi setaf 2` +reset=`tput -T ansi sgr0` generate=true diff --git a/tests/ts/test.sh b/tests/ts/test.sh index a468220a76..10b9fd7d62 100755 --- a/tests/ts/test.sh +++ b/tests/ts/test.sh @@ -7,9 +7,9 @@ configuration=debug platform=x64 jsinterp="$rootdir/deps/quickjs/qjs-debug" -red=`tput setaf 1` -green=`tput setaf 2` -reset=`tput sgr0` +red=`tput -T ansi setaf 1` +green=`tput -T ansi setaf 2` +reset=`tput -T ansi sgr0` generate=true