12#include <sysio/vm/backend.hpp>
20 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.0.wasm");
27 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.1.wasm");
32BACKEND_TEST_CASE(
"Testing wasm <binary-leb128_10_wasm>",
"[binary-leb128_10_wasm_tests]" ) {
34 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.10.wasm");
39BACKEND_TEST_CASE(
"Testing wasm <binary-leb128_11_wasm>",
"[binary-leb128_11_wasm_tests]" ) {
41 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.11.wasm");
46BACKEND_TEST_CASE(
"Testing wasm <binary-leb128_12_wasm>",
"[binary-leb128_12_wasm_tests]" ) {
48 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.12.wasm");
53BACKEND_TEST_CASE(
"Testing wasm <binary-leb128_13_wasm>",
"[binary-leb128_13_wasm_tests]" ) {
55 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.13.wasm");
60BACKEND_TEST_CASE(
"Testing wasm <binary-leb128_14_wasm>",
"[binary-leb128_14_wasm_tests]" ) {
62 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.14.wasm");
67BACKEND_TEST_CASE(
"Testing wasm <binary-leb128_15_wasm>",
"[binary-leb128_15_wasm_tests]" ) {
69 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.15.wasm");
74BACKEND_TEST_CASE(
"Testing wasm <binary-leb128_16_wasm>",
"[binary-leb128_16_wasm_tests]" ) {
76 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.16.wasm");
81BACKEND_TEST_CASE(
"Testing wasm <binary-leb128_17_wasm>",
"[binary-leb128_17_wasm_tests]" ) {
83 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.17.wasm");
88BACKEND_TEST_CASE(
"Testing wasm <binary-leb128_18_wasm>",
"[binary-leb128_18_wasm_tests]" ) {
90 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.18.wasm");
95BACKEND_TEST_CASE(
"Testing wasm <binary-leb128_19_wasm>",
"[binary-leb128_19_wasm_tests]" ) {
97 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.19.wasm");
104 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.2.wasm");
111 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.20.wasm");
118 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.21.wasm");
125 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.22.wasm");
132 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.23.wasm");
139 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.24.wasm");
146 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.25.wasm");
152 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.26.wasm");
158 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.27.wasm");
164 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.28.wasm");
170 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.29.wasm");
176 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.3.wasm");
183 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.30.wasm");
189 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.31.wasm");
195 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.32.wasm");
201 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.33.wasm");
207 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.34.wasm");
213 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.35.wasm");
219 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.36.wasm");
225 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.37.wasm");
231 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.38.wasm");
237 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.39.wasm");
243 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.4.wasm");
250 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.40.wasm");
256 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.41.wasm");
262 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.42.wasm");
268 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.43.wasm");
274 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.44.wasm");
280 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.45.wasm");
286 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.46.wasm");
292 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.47.wasm");
298 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.48.wasm");
304 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.49.wasm");
310 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.5.wasm");
317 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.50.wasm");
323 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.51.wasm");
329 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.52.wasm");
335 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.53.wasm");
341 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.54.wasm");
347 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.55.wasm");
353 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.56.wasm");
359 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.57.wasm");
365 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.58.wasm");
371 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.59.wasm");
377 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.6.wasm");
384 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.60.wasm");
390 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.61.wasm");
396 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.62.wasm");
402 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.63.wasm");
408 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.64.wasm");
414 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.65.wasm");
420 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.66.wasm");
426 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.67.wasm");
432 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.68.wasm");
438 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.69.wasm");
444 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.7.wasm");
451 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.70.wasm");
457 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.71.wasm");
463 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.72.wasm");
469 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.73.wasm");
475 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.74.wasm");
481 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.75.wasm");
487 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.76.wasm");
493 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.77.wasm");
499 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.78.wasm");
505 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.79.wasm");
511 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.8.wasm");
518 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.80.wasm");
524 auto code =
read_wasm( std::string(wasm_directory) +
"binary-leb128.9.wasm");
backend_t bkend(hello_wasm, ehm, &wa)
sysio::vm::backend< rhf_t > backend_t
#define CHECK_THROWS_AS(expr, exceptionType)
std::vector< uint8_t > read_wasm(const std::string &fname)
#define BACKEND_TEST_CASE(name, tags)