From a59a4e6247b6c7f090d9b82e17608fbebc9bdd62 Mon Sep 17 00:00:00 2001 From: Adrien Piquerez Date: Tue, 10 Sep 2024 15:06:21 +0200 Subject: [PATCH] Fix -Dscan=false --- project/scripts/cmdTests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/scripts/cmdTests b/project/scripts/cmdTests index dae553d39ca1..1fdf96d53fdd 100755 --- a/project/scripts/cmdTests +++ b/project/scripts/cmdTests @@ -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"