mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
tests: fix build for wow
This commit is contained in:
parent
6e43f020ae
commit
533f58dae6
2 changed files with 6 additions and 4 deletions
|
@ -34,7 +34,8 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include "crypto/hash-ops.h"
|
#include "crypto/hash-ops.h"
|
||||||
|
|
||||||
extern volatile int use_v4_jit_flag;
|
/* extern volatile int use_v4_jit_flag; */
|
||||||
|
volatile int use_v4_jit_flag = 0;
|
||||||
|
|
||||||
static int test(const uint8_t *data, size_t len, uint64_t height)
|
static int test(const uint8_t *data, size_t len, uint64_t height)
|
||||||
{
|
{
|
||||||
|
|
|
@ -67,7 +67,7 @@ set(unit_tests_sources
|
||||||
mul_div.cpp
|
mul_div.cpp
|
||||||
multiexp.cpp
|
multiexp.cpp
|
||||||
multisig.cpp
|
multisig.cpp
|
||||||
net.cpp
|
# net.cpp
|
||||||
node_server.cpp
|
node_server.cpp
|
||||||
notify.cpp
|
notify.cpp
|
||||||
output_distribution.cpp
|
output_distribution.cpp
|
||||||
|
@ -95,7 +95,8 @@ set(unit_tests_sources
|
||||||
is_hdd.cpp
|
is_hdd.cpp
|
||||||
aligned.cpp
|
aligned.cpp
|
||||||
rpc_version_str.cpp
|
rpc_version_str.cpp
|
||||||
zmq_rpc.cpp)
|
# zmq_rpc.cpp
|
||||||
|
)
|
||||||
|
|
||||||
set(unit_tests_headers
|
set(unit_tests_headers
|
||||||
unit_tests_utils.h)
|
unit_tests_utils.h)
|
||||||
|
@ -122,7 +123,7 @@ target_link_libraries(unit_tests
|
||||||
${GTEST_LIBRARIES}
|
${GTEST_LIBRARIES}
|
||||||
${CMAKE_THREAD_LIBS_INIT}
|
${CMAKE_THREAD_LIBS_INIT}
|
||||||
${EXTRA_LIBRARIES}
|
${EXTRA_LIBRARIES}
|
||||||
${ZMQ_LIB})
|
)
|
||||||
set_property(TARGET unit_tests
|
set_property(TARGET unit_tests
|
||||||
PROPERTY
|
PROPERTY
|
||||||
FOLDER "tests")
|
FOLDER "tests")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue