Skip to content

Commit e31807d

Browse files
committed
fix 'file not found'
1 parent 238828a commit e31807d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

source/module_orbital/test/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,6 @@ AddTest(
4141
LIBS ${math_libs}
4242
SOURCES 1_snap_equal_test.cpp ORB_unittest.cpp
4343
${depend_files}
44-
)
44+
)
45+
install(DIRECTORY GaAs DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/../../../tests)
46+
install(DIRECTORY GaAs DESTINATION ${CMAKE_CURRENT_BINARY_DIR})

source/module_orbital/test/ORB_unittest.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@ class test_orb : public testing::Test
7070

7171
int lmax=1;
7272
double lat0 = 1.0;
73-
string case_dir = "../../../../source/module_orbital/test/GaAs/";
73+
string case_dir = "./GaAs/";
7474
};
7575
#endif

0 commit comments

Comments
 (0)