Skip to content

Commit 9595ae9

Browse files
committed
gate truffle debug options
1 parent 6921cde commit 9595ae9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

ci.jsonnet

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@
5353
error "unknown field: "+field+" in "+object+", valid choices are: "+std.objectFields(object)
5454
else
5555
object[field],
56+
57+
graalOption: function(name, value)
58+
["--Ja", "@-Dgraal."+name+"="+value],
5659
},
5760

5861
// ------------------------------------------------------------------------------------------------------
@@ -191,9 +194,12 @@
191194
local baseGate = commonBuilder + {
192195
tags: "tags must be defined",
193196

197+
// local truffleDebugFlags = utils.graalOption("TraceTruffleCompilation", "true"),
198+
local truffleDebugFlags = utils.graalOption("TraceTruffleCompilationDetails", "true"),
199+
// local truffleDebugFlags = [],
194200
targets: TARGET.gate,
195201
run +: [
196-
["mx", "--strict-compliance", "--dynamicimports", super.dynamicImports, "--primary", "gate", "--tags", self.tags, "-B=--force-deprecation-as-warning-for-dependencies"],
202+
["mx"] + truffleDebugFlags + ["--strict-compliance", "--dynamicimports", super.dynamicImports, "--primary", "gate", "--tags", self.tags, "-B=--force-deprecation-as-warning-for-dependencies"],
197203
]
198204
},
199205

0 commit comments

Comments
 (0)