Browse Source

Test: PityTest - Fix linux build

pull/8/head Release_3.0-RC6
heck 4 years ago
parent
commit
651ce9be45
  1. 2
      .gitignore
  2. 2
      test/pitytest11/Makefile
  3. 1
      test/pitytest11/src/PityTree.hh
  4. 1
      test/pitytest11/src/PityTree.hxx

2
.gitignore

@ -55,3 +55,5 @@ test_pEpLog_basic
/test/test_tofu_one2many /test/test_tofu_one2many
/test/test_swarm_group /test/test_swarm_group
/test/pitytest11/test/pitytest_data/ /test/pitytest11/test/pitytest_data/
/test/test_pEpSQLite
/test/test_swarm_tofu

2
test/pitytest11/Makefile

@ -2,7 +2,7 @@ include ../../Makefile.conf
TARGET=src/libPityTest.a TARGET=src/libPityTest.a
LDFLAGS:=-L../../src/ $(LDFLAGS) -L../framework/ LDFLAGS:=-L../../src/ $(LDFLAGS) -L../framework/
LDLIBS=-lstdc++ -lpEpAdapter -lpEpEngine LDLIBS=-lstdc++ -lpEpAdapter -lpEpEngine -lpthread -ldl
CXXFLAGS:=-std=c++11 -g -I./src $(CXXFLAGS) CXXFLAGS:=-std=c++11 -g -I./src $(CXXFLAGS)
TEST_EXTRA_OBJS=../framework/utils.o TEST_EXTRA_OBJS=../framework/utils.o

1
test/pitytest11/src/PityTree.hh

@ -10,6 +10,7 @@
#include <memory> #include <memory>
#include <functional> #include <functional>
#include <type_traits> #include <type_traits>
#include <vector>
namespace pEp { namespace pEp {
namespace PityTest11 { namespace PityTest11 {

1
test/pitytest11/src/PityTree.hxx

@ -7,6 +7,7 @@
#include "PityTree.hh" #include "PityTree.hh"
#include <memory> #include <memory>
#include <sstream> #include <sstream>
#include <algorithm>
namespace pEp { namespace pEp {
namespace PityTest11 { namespace PityTest11 {

Loading…
Cancel
Save