We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8527a9b commit 46d7f95Copy full SHA for 46d7f95
project/scripts/cmdTests
@@ -55,7 +55,9 @@ cp tests/neg-macros/i6371/A_1.scala $OUT/A.scala
55
cp tests/neg-macros/i6371/B_2.scala $OUT/B.scala
56
"$SBT" "scalac $OUT/A.scala -d $OUT1"
57
rm $OUT/A.scala
58
-"$SBT" "scalac -classpath $OUT1 -d $OUT1 $OUT/B.scala" > "$tmp" 2>&1 || echo "ok"
+# this command is expected to fail
59
+# setting -Dscan=false disables publishing scans to develocity.scala-lang.org
60
+"$SBT" "scalac -classpath $OUT1 -d $OUT1 $OUT/B.scala -Dscan=false" > "$tmp" 2>&1 || echo "ok"
61
# cat "$tmp" # for debugging
62
grep -qe "B.scala:2:7" "$tmp"
63
grep -qe "This location contains code that was inlined from A.scala:3" "$tmp"
0 commit comments