From 5cd9e7b5e7a4f4b55814590abdf56254fb84b54e Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Mon, 6 Jul 2020 13:32:18 -0400 Subject: Add dcshim to call compiler from any current directory --- test/dt.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/dt.js b/test/dt.js index 86f10357..49636a66 100755 --- a/test/dt.js +++ b/test/dt.js @@ -9,9 +9,8 @@ const t=load('cases.bqn').split('\n').filter(x=>x).map(x=>x.split(' % ')) , expt=t.map(e=>+e[0]) var compiler = execFile( - __dirname+'/../spec/dzref', - [ __dirname+'/../dc.bqn', - '{•←Compile𝕩}¨⟨'+test+'⟩' ], + __dirname+'/../dcshim.bqn', + [ '{•←Compile𝕩}¨⟨'+test+'⟩' ], function (error, stdout, stderr) { const rslt=stdout.split('\n').filter(a=>a.length) .map(a=>runWasm(a.split("‿").map(n=>+n))) -- cgit v1.2.3