From 360da84db0d7165c84d160b518f39cd16006c758 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 13 Jul 2016 22:31:46 +0200 Subject: Migrate to BAM build tool --- src/tests/slab_test/bam.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/tests/slab_test/bam.lua (limited to 'src/tests/slab_test/bam.lua') 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) -- cgit v1.2.3