Skip to content

Commit 7c86e46

Browse files
committed
[PLUTO-1411] Add script
1 parent 191948a commit 7c86e46

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true,
5+
"node": true
6+
},
7+
"extends": "eslint:recommended",
8+
"parserOptions": {
9+
"ecmaVersion": "latest",
10+
"sourceType": "module"
11+
},
12+
"rules": {
13+
"no-unused-vars": "warn",
14+
"no-console": "warn"
15+
}
16+
}

run-tool-tests.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,11 @@ cd ../../../../..
6060

6161
# Check if any tools failed
6262
if [ -s /tmp/failed_tools.txt ]; then
63-
echo -e "\n❌ The following tools failed their tests:"
64-
cat /tmp/failed_tools.txt
65-
rm /tmp/failed_tools.txt
63+
# Only print the message if we haven't printed it before
64+
if [ -z "$FAILED_TOOLS_PRINTED" ]; then
65+
echo -e "\n❌ The following tools failed their tests:"
66+
cat /tmp/failed_tools.txt
67+
export FAILED_TOOLS_PRINTED=1
68+
fi
6669
exit 1
6770
fi

0 commit comments

Comments
 (0)