summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-05-27 15:02:33 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-05-27 15:02:33 +0200
commit2e772fb16078401daaf14d7a6f7ef2a6f062dbf0 (patch)
tree4126fb7a6bb475c0f7917ba24aa4b8151bf25f7c /scripts/genie.lua
parentccc42edb39a5b148558f2d8a5df1859899b6a12a (diff)
Added lua script/makefile changes to support building tests and portaudio (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 79702a38c78..db9481277f4 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -60,6 +60,11 @@ newoption {
}
newoption {
+ trigger = "with-tests",
+ description = "Enable building tests.",
+}
+
+newoption {
trigger = "osd",
description = "Choose OSD layer implementation",
}
@@ -1138,3 +1143,7 @@ if _OPTIONS["with-tools"] then
dofile(path.join("src", "tools.lua"))
end
+if _OPTIONS["with-tests"] then
+ group "tests"
+ dofile(path.join("src", "tests.lua"))
+end