mirror of https://github.com/kiwix/libkiwix.git
Merge pull request #356 from kiwix/fix_test_httplib
This commit is contained in:
commit
48cc277468
|
@ -12,9 +12,13 @@ tests = [
|
|||
'kiwixserve',
|
||||
'book',
|
||||
'manager',
|
||||
'server'
|
||||
]
|
||||
|
||||
if build_machine.system() != 'windows'
|
||||
tests += ['server']
|
||||
endif
|
||||
|
||||
|
||||
|
||||
gtest_dep = dependency('gtest',
|
||||
main:true,
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
|
||||
#include "./httplib.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "../include/manager.h"
|
||||
#include "../include/server.h"
|
||||
#include "../include/name_mapper.h"
|
||||
|
||||
#include "./httplib.h"
|
||||
|
||||
using TestContextImpl = std::vector<std::pair<std::string, std::string> >;
|
||||
struct TestContext : TestContextImpl {
|
||||
|
|
Loading…
Reference in New Issue