mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 09:53:08 +02:00
Removed the incomplete support for the Lua extensions.
This commit is contained in:
parent
c7df1f7acc
commit
7db5377d3b
27 changed files with 17 additions and 928 deletions
|
@ -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'");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue