Skip to content

Commit

Permalink
Fix -Dscan=false
Browse files Browse the repository at this point in the history
  • Loading branch information
adpi2 committed Sep 10, 2024
1 parent a440a23 commit a59a4e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/scripts/cmdTests
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ cp tests/neg-macros/i6371/B_2.scala $OUT/B.scala
rm $OUT/A.scala
# this command is expected to fail
# setting -Dscan=false disables publishing scans to develocity.scala-lang.org
"$SBT" "scalac -classpath $OUT1 -d $OUT1 $OUT/B.scala -Dscan=false" > "$tmp" 2>&1 || echo "ok"
"$SBT" "scalac -classpath $OUT1 -d $OUT1 $OUT/B.scala" -Dscan=false > "$tmp" 2>&1 || echo "ok"
# cat "$tmp" # for debugging
grep -qe "B.scala:2:7" "$tmp"
grep -qe "This location contains code that was inlined from A.scala:3" "$tmp"
Expand Down

0 comments on commit a59a4e6

Please sign in to comment.