Goose  Artifact [dece10943c]

Artifact dece10943c56d318237d049638f2800279b067df15f4f98f7e35d12bd77f40bc:

  • File bs/cir/tests/meson.build — part of check-in [dd5c48041c] at 2022-05-26 11:31:44 on branch cir-stack-language — Re-enabled codegen and related tests, and adapted it to the now stack-based CIR language (user: zlodo size: 757)

tests = [
    'dom-1',
    'dom-2'
]

# We need to link these low level test of the cir with the entire planet
# because my module dependencies are a clusterfuck.
foreach t : tests
    exe = executable( 'cir-' + t, t + '.cpp',
        link_with:
        [
            goose_util,
            goose_eir,
            goose_cir,
            goose_builtins,
            goose_sema,
            goose_lex,
            goose_parse,
            goose_diagnostics,
            goose_execute,
            goose_codegen,
            # TODO_REENABLE_VERIFY
            #goose_verify,
            goose_compile
        ],
        include_directories: bsinc,
        dependencies: [catch2_dep, llvm_dep, lld_deps, tracy_dep]
    )
    test( 'cir-' + t, exe )
endforeach