Bug #807
- Fixed bug #807, which caused a lack of Lua to prevent tests from building (thanks to Owen Clarke).
This commit is contained in:
@@ -156,6 +156,8 @@
|
||||
(thanks to Bryce Harrington).
|
||||
+ Applied patch for #803, allowing rc.confirmation to bypass confirmation of
|
||||
the deletion of a recurring task (thanks to Matt Kraai).
|
||||
+ Fixed bug #807, which caused a lack of Lua to prevent tests from building
|
||||
(thanks to Owen Clarke).
|
||||
|
||||
# Untracked Bugs, biggest first.
|
||||
+ Fixed bug that required the '%YAML' prologue in a YAML import.
|
||||
|
||||
@@ -42,7 +42,11 @@ Context context;
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int argc, char** argv)
|
||||
{
|
||||
#if defined(HAVE_LIBLUA)
|
||||
UnitTest t (7);
|
||||
#else
|
||||
UnitTest t (6);
|
||||
#endif
|
||||
|
||||
try
|
||||
{
|
||||
@@ -52,7 +56,9 @@ int main (int argc, char** argv)
|
||||
// TODO dom.get rc.name
|
||||
DOM dom;
|
||||
t.is (dom.get ("system.version"), VERSION, "DOM system.version -> VERSION");
|
||||
#ifdef HAVE_LIBLUA
|
||||
t.is (dom.get ("system.lua.version"), LUA_RELEASE, "DOM system.lua.version -> LUA_RELEASE");
|
||||
#endif
|
||||
t.ok (dom.get ("system.os") != "<unknown>", "DOM system.os -> != Unknown");
|
||||
t.is (dom.get ("context.program"), "task", "DOM context.program -> 'task'");
|
||||
t.is (dom.get ("context.args"), "task", "DOM context.args -> 'task'");
|
||||
|
||||
Reference in New Issue
Block a user