vars: added code to read AQH_VARS from GWEN_DB strings.
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include "aqhome/aqhome.h"
|
||||
#include "aqhome/data/path-t.h"
|
||||
#include "aqhome/data/vars-t.h"
|
||||
#include "aqhome/data/vars_dbread-t.h"
|
||||
|
||||
#include <gwenhywfar/gwenhywfar.h>
|
||||
#include <gwenhywfar/args.h>
|
||||
@@ -322,6 +323,12 @@ int _testModules(int argc, char **argv)
|
||||
return 2;
|
||||
}
|
||||
|
||||
rv=AQH_Vars_DbRead_AddTests(TestFramework_GetModulesRoot(tf));
|
||||
if (rv<0) {
|
||||
fprintf(stderr, "Adding module \"vars_dbread\" failed.\n");
|
||||
return 2;
|
||||
}
|
||||
|
||||
argc--;
|
||||
argv++;
|
||||
rv=TestFramework_Run(tf, argc, argv);
|
||||
|
||||
Reference in New Issue
Block a user