Skip to content

Commit caba073

Browse files
author
Nejc Stebe
committed
add stdout clearing examples to the examples
1 parent d4162cb commit caba073

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

test_scripts/run_unittests_golang.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ cp -R $1/* $GO_BUILD_SUBFOLDER
3737
cd "$GO_BUILD_SUBFOLDER" 2>/dev/null
3838

3939
if [ $? -ne 0 ]; then
40+
clear
4041
printf "Error: Go build folder '$GO_BUILD_SUBFOLDER' does not exist.\n"
4142
exit $UNRECOVERABLE_ERROR_EXIT_CODE
4243
fi

test_scripts/run_unittests_python.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ cp -R $1/* $PYTHON_BUILD_SUBFOLDER
4747
cd "$PYTHON_BUILD_SUBFOLDER" 2>/dev/null
4848

4949
if [ $? -ne 0 ]; then
50+
clear
5051
printf "Error: Python build folder '$PYTHON_BUILD_SUBFOLDER' does not exist.\n"
5152
exit $UNRECOVERABLE_ERROR_EXIT_CODE
5253
fi

test_scripts/run_unittests_react.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ cp -R $1/* $NODE_SUBFOLDER
4545
cd "$NODE_SUBFOLDER" 2>/dev/null
4646

4747
if [ $? -ne 0 ]; then
48+
clear
4849
echo "Error: Subfolder '$1' does not exist."
4950
exit $UNRECOVERABLE_ERROR_EXIT_CODE
5051
fi

0 commit comments

Comments
 (0)