Removed the incomplete support for the Lua extensions.
This commit is contained in:
@@ -31,23 +31,12 @@
|
||||
#include <main.h>
|
||||
#include <test.h>
|
||||
|
||||
#ifdef HAVE_LIBLUA
|
||||
extern "C"
|
||||
{
|
||||
#include <lua.h>
|
||||
}
|
||||
#endif
|
||||
|
||||
Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int argc, char** argv)
|
||||
{
|
||||
#if defined(HAVE_LIBLUA)
|
||||
UnitTest t (7);
|
||||
#else
|
||||
UnitTest t (6);
|
||||
#endif
|
||||
|
||||
try
|
||||
{
|
||||
@@ -57,9 +46,6 @@ 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