File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -39,3 +39,22 @@ echo "Test loading many standard libraries"
39
39
40
40
$RUBY_BIN -w --experimental-options --lazy-default=false test/truffle/integration/no_extra_output/all_stdlibs.rb 1> temp.txt 2>&1
41
41
check $?
42
+
43
+ echo " Test of the unexpected output to stderr."
44
+ echo " To ensure there are no unexpected warnings for instance."
45
+
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'
50
+ else
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
60
+ fi
You can’t perform that action at this time.
0 commit comments