aboutsummaryrefslogblamecommitdiff
path: root/src/tests/slab_test/bam.lua
blob: 87c6666e3251a044c003b373597192cc457b0971 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                  
local source = {"src/common/libkogata/slab_alloc.c",
				"src/tests/slab_test/slab_test.c"}
local obj = Compile(host_settings, source)

local bin = Link(host_settings, "build/tests/slab_test", obj)

local slab_test = "build/tests/slab_test.log"
AddJob(slab_test, "slab_test", "./" .. bin .. " > " .. slab_test)
AddDependency(slab_test, bin)

table.insert(tests, slab_test)