aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-11-15 16:37:07 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-11-16 12:10:29 +0000
commit51895fd7df69ddb5d6bfe5c2caf2f6649cc43132 (patch)
tree9e53dd9dcd37163567037774855f82ff114a185e /tests
parentMerge pull request #2818 (diff)
downloadmonero-51895fd7df69ddb5d6bfe5c2caf2f6649cc43132.tar.xz
split wallet and wallet_api
This speeds up building a lot when wallet2.h (or something it includes) changes, since all the API includes wallet2.h
Diffstat (limited to 'tests')
-rw-r--r--tests/libwallet_api_tests/CMakeLists.txt1
-rw-r--r--tests/libwallet_api_tests/main.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/libwallet_api_tests/CMakeLists.txt b/tests/libwallet_api_tests/CMakeLists.txt
index 4c5542d91..7da0d113e 100644
--- a/tests/libwallet_api_tests/CMakeLists.txt
+++ b/tests/libwallet_api_tests/CMakeLists.txt
@@ -39,6 +39,7 @@ add_executable(libwallet_api_tests
target_link_libraries(libwallet_api_tests
PRIVATE
+ wallet_api
wallet
version
epee
diff --git a/tests/libwallet_api_tests/main.cpp b/tests/libwallet_api_tests/main.cpp
index 3434cd530..25fa547f8 100644
--- a/tests/libwallet_api_tests/main.cpp
+++ b/tests/libwallet_api_tests/main.cpp
@@ -30,7 +30,7 @@
#include "gtest/gtest.h"
-#include "wallet/wallet2_api.h"
+#include "wallet/api/wallet2_api.h"
#include "wallet/wallet2.h"
#include "include_base_utils.h"
#include "common/util.h"