Skip to content

Compatibility

Michael Baas edited this page Apr 30, 2020 · 2 revisions

Compatibility

DBuildTest is compatible with Dyalog v12 and onwards. It runs in the classic or unicode edition on all platforms.

Using the tools with Dyalog v12.0, v12.1 and v13.0

Due to problems with SALT, we can't run the tools as user-commands under these old version. So you need to bring them in with ]Load and then pass arguments to the differently. Follow these examples:

⍝ adjust path as appropriate:

]load C:\Git\DBuild\DyalogBuild.dyalog

⍝ set flags as appropriate:

ns←⎕ns'' ⋄ ns.Arguments←,⊂'FileOrDir with dyalogtest' ⋄ ns.(verbose filter halt quiet trace repeat suite tests setup teardown)←1 0 0 0 0 0 0 0 0 0 ⋄ #.DyalogBuild.Test ns

⍝ nb: do not save! (first )erase #.DyalogBuild!)

ns←⎕NS'' ⋄ ns.Arguments←,⊂'FileOrDir with build-file' ⋄ ns.(production quiet save clear halt checklassic)←1 0 0 0 1 0 ⋄ #.DyalogBuild.Build ns

NB: we apologize in advance for any VALUE ERRORs these statements may cause when we introduce new switches or modifiers and forget to update this pages. (It may happen!) The important thing is to follow this principle of passing values for all switches and modifiers in the namespace.