Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AddTest(
TARGET container_ops_uts
LIBS parameter ${math_libs}
SOURCES einsum_op_test.cpp linalg_op_test.cpp
SOURCES einsum_op_test.cpp linalg_op_test.cpp ../../kernels/lapack.cpp
)

target_link_libraries(container_ops_uts container base device)
4 changes: 2 additions & 2 deletions source/module_elecstate/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ AddTest(
AddTest(
TARGET elecstate_fp_energy
LIBS parameter ${math_libs} base device
SOURCES elecstate_fp_energy_test.cpp ../fp_energy.cpp
SOURCES elecstate_fp_energy_test.cpp ../fp_energy.cpp ../elecstate_energy_terms.cpp
)

AddTest(
Expand Down Expand Up @@ -64,7 +64,7 @@ AddTest(
AddTest(
TARGET elecstate_energy
LIBS parameter ${math_libs} base device
SOURCES elecstate_energy_test.cpp ../elecstate_energy.cpp ../fp_energy.cpp
SOURCES elecstate_energy_test.cpp ../elecstate_energy.cpp ../fp_energy.cpp ../elecstate_energy_terms.cpp
)

AddTest(
Expand Down
2 changes: 2 additions & 0 deletions source/module_elecstate/test/elecstate_base_test.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include <string>

#include"module_cell/setup_nonlocal.h"

#include "gmock/gmock.h"
#include "gtest/gtest.h"
#define private public
Expand Down
2 changes: 2 additions & 0 deletions source/module_elecstate/test/elecstate_print_test.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include <string>

#include"module_cell/setup_nonlocal.h"

#include "gmock/gmock.h"
#include "gtest/gtest.h"
#define private public
Expand Down
Loading