Skip to content

Commit 6b032e3

Browse files
committed
[PLUTO-1411] Add script
1 parent 6669cc8 commit 6b032e3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

run-tool-tests.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
22

3+
# Initialize failed tools file
4+
echo "" > /tmp/failed_tools.txt
5+
36
# Check if tool name is provided
47
if [ -z "$1" ]; then
58
echo "Usage: $0 <tool_name>"
@@ -56,7 +59,7 @@ fi
5659
cd ../../../../..
5760

5861
# Check if any tools failed
59-
if [ -f /tmp/failed_tools.txt ]; then
62+
if [ -s /tmp/failed_tools.txt ]; then
6063
echo -e "\n❌ The following tools failed their tests:"
6164
cat /tmp/failed_tools.txt
6265
rm /tmp/failed_tools.txt

0 commit comments

Comments
 (0)