From 11b42e71b48a6b677f879b4b6367250a2eb1d4f2 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 52807e87..52d530f3 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 ec76283b..312e77e5 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 b97be557..1a78fe1e 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 a468220a..10b9fd7d 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