mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-02 08:25:55 +00:00
Tidy up test sources:
Test support classes are moved to beast/extras/test.
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
# Part of Beast
|
||||
|
||||
GroupSources(include/beast)
|
||||
GroupSources(examples)
|
||||
GroupSources(test)
|
||||
GroupSources(extras/beast beast)
|
||||
GroupSources(include/beast beast)
|
||||
|
||||
GroupSources(examples "/")
|
||||
|
||||
add_executable (http-crawl
|
||||
${BEAST_INCLUDES}
|
||||
@@ -22,7 +23,6 @@ add_executable (http-server
|
||||
http_stream.hpp
|
||||
http_stream.ipp
|
||||
http_sync_server.hpp
|
||||
../test/sig_wait.hpp
|
||||
http_server.cpp
|
||||
)
|
||||
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
|
||||
#include "http_async_server.hpp"
|
||||
#include "http_sync_server.hpp"
|
||||
#include "../test/sig_wait.hpp"
|
||||
|
||||
#include <beast/test/sig_wait.hpp>
|
||||
#include <boost/program_options.hpp>
|
||||
|
||||
#include <iostream>
|
||||
@@ -72,5 +72,5 @@ int main(int ac, char const* av[])
|
||||
http_sync_server server(ep, root);
|
||||
else
|
||||
http_async_server server(ep, threads, root);
|
||||
sig_wait();
|
||||
beast::test::sig_wait();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user