mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-13 15:36:51 +01:00
BugFix: Segmentation fault of Tree32
Add: "make test" to .travis.yaml Add: compile GatewayTester to .travis.yaml Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -135,8 +135,6 @@ install:
|
||||
cp -pf $(CLIENTS) ../../
|
||||
|
||||
exectest:
|
||||
cp -pf $(CONFIG) $(OUTDIR)
|
||||
cd $(OUTDIR)
|
||||
./$(TESTPROGNAME) -f ./gateway.conf
|
||||
./$(OUTDIR)/$(TESTPROGNAME) -f ./gateway.conf
|
||||
|
||||
|
||||
@@ -257,10 +257,10 @@ private:
|
||||
/*=====================================
|
||||
Class Tree23
|
||||
====================================*/
|
||||
#define TREE23_INSERT_ACTIVE (1)
|
||||
#define TREE23_DELETE_ACTIVE (2)
|
||||
#define TREE23_BI_NODE (3)
|
||||
#define TREE23_TRI_NODE (4)
|
||||
#define TREE23_INSERT_ACTIVE (-2)
|
||||
#define TREE23_DELETE_ACTIVE (-1)
|
||||
#define TREE23_BI_NODE (2)
|
||||
#define TREE23_TRI_NODE (3)
|
||||
|
||||
template <typename K, typename V>
|
||||
class Tree23Elm{
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
using namespace std;
|
||||
using namespace MQTTSNGW;
|
||||
|
||||
#define ARGV "./testPFW"
|
||||
#define ARGV "./Build/testPFW"
|
||||
#define CONFDIR "./"
|
||||
#define CONF "gateway.conf"
|
||||
|
||||
@@ -121,5 +121,5 @@ void TestProcess::run(void)
|
||||
_evQue.post(ev);
|
||||
}
|
||||
|
||||
MultiTaskProcess::run();
|
||||
//MultiTaskProcess::run();
|
||||
}
|
||||
|
||||
@@ -76,7 +76,6 @@ void TestTree23::test(void)
|
||||
assert(rc == false);
|
||||
//printf("key=%d find=%d\n", i, rc);
|
||||
Integer* val = this->getVal(r1[i]);
|
||||
//printf("key=%d val=%d\n", i, val->_val);
|
||||
assert(val == 0);
|
||||
}
|
||||
for ( int i = 50; i < N; i++)
|
||||
|
||||
Reference in New Issue
Block a user