From: Ian Jackson Date: Thu, 8 Jul 2021 18:14:25 +0000 (+0100) Subject: jstest: wip lower test, currently just a skeleton X-Git-Tag: otter-0.7.2~232 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=be96c96407325eccf721d440169d9be3afa6b5d9;p=otter.git jstest: wip lower test, currently just a skeleton Signed-off-by: Ian Jackson --- diff --git a/Makefile b/Makefile index 8bd155cc..72222b2b 100644 --- a/Makefile +++ b/Makefile @@ -254,7 +254,7 @@ docs/html/examples/%.toml: specs/%.toml #---------- jstest ---------- -JSTESTS= basic +JSTESTS= basic lower .PHONY: jstest jstest jstests: $(foreach t,$(JSTESTS),stamp/$t.jstest) diff --git a/jstest/lower.nodejs b/jstest/lower.nodejs new file mode 100644 index 00000000..e3aae5eb --- /dev/null +++ b/jstest/lower.nodejs @@ -0,0 +1,9 @@ +// -*- JavaScript -*- +// +// @@expect +// @@end + +const fs = require('fs'); +let wasm_bindgen = require('otter_wasm.js'); + +//lower_targets({ });