aboutsummaryrefslogtreecommitdiff
path: root/tests/wasm_compile_simple_module/Makefile
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-09-21 11:02:00 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-09-21 11:02:00 +0200
commit6dfb056f484e98f627d16a44eca8f6fff87f5f0e (patch)
treec74c843a22299c0b27fe3e27a8d2131ada90fb26 /tests/wasm_compile_simple_module/Makefile
parent605ac7f13be9f597d3cf7ab3786b71f5cda8c9fa (diff)
downloadAGH-engineering-thesis-6dfb056f484e98f627d16a44eca8f6fff87f5f0e.tar.gz
AGH-engineering-thesis-6dfb056f484e98f627d16a44eca8f6fff87f5f0e.zip
prepare to perform wasm_compile tests a bit different from stack_machine tests
Diffstat (limited to 'tests/wasm_compile_simple_module/Makefile')
-rw-r--r--tests/wasm_compile_simple_module/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/wasm_compile_simple_module/Makefile b/tests/wasm_compile_simple_module/Makefile
new file mode 100644
index 0000000..1efd03a
--- /dev/null
+++ b/tests/wasm_compile_simple_module/Makefile
@@ -0,0 +1,16 @@
+DEPENDS = instructions.mem words_to_verify.mem
+
+DEPENDS += slave.v
+
+DEPENDS += master_arbiter.v wrapped_stack_machine.v interface_wrapper.v \
+ stack_machine.v div.v
+
+DEPENDS += messages.vh
+
+IVFLAGS = \
+ -DINSTRUCTIONS_COUNT=$(call FILE_LINES,instructions.mem) \
+ -DWORDS_TO_VERIFY_COUNT=$(call FILE_LINES,words_to_verify.mem)
+
+TOP = wasm_compile_test
+
+include ../../Makefile.test