diff options
Diffstat (limited to 'src/tests/slab_test/bam.lua')
-rw-r--r-- | src/tests/slab_test/bam.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tests/slab_test/bam.lua b/src/tests/slab_test/bam.lua new file mode 100644 index 0000000..87c6666 --- /dev/null +++ b/src/tests/slab_test/bam.lua @@ -0,0 +1,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) |