Skip to content

Commit 121efdc

Browse files
committed
Skip the check on darwin-amd64
1 parent d505437 commit 121efdc

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

test/truffle/integration/no_extra_output.sh

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,18 @@ check $?
4343
echo "Test of the unexpected output to stderr."
4444
echo "To ensure there are no unexpected warnings for instance."
4545

46-
jt --silent test specs fast --error-output stderr 2>stderr.txt
47-
if [ -s stderr.txt ]; then
48-
echo Extra output:
49-
cat stderr.txt
50-
exit 1
46+
# There is linter extra output on darwin-amd64 (GR-44301)
47+
platform="$(uname -s)-$(uname -m)"
48+
if [[ "$platform" == "Darwin-x86_64" ]]; then
49+
echo '[GR-44301] Skipping test on darwin-amd64 as it fails'
5150
else
52-
echo No extra output
53-
rm -f stderr.txt
51+
jt --silent test specs fast --error-output stderr 2>stderr.txt
52+
if [ -s stderr.txt ]; then
53+
echo Extra output:
54+
cat stderr.txt
55+
exit 1
56+
else
57+
echo No extra output
58+
rm -f stderr.txt
59+
fi
5460
fi

0 commit comments

Comments
 (0)