Skip to content

Commit 01cfa02

Browse files
committed
fix tests path
1 parent 8a64802 commit 01cfa02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ endif()
183183
# copy the input file next to the generated executable
184184
add_custom_command(TARGET phpbot POST_BUILD
185185
COMMAND ${CMAKE_COMMAND} -E copy_if_different
186-
"${PROJECT_SOURCE_DIR}/test.php"
186+
"${PROJECT_SOURCE_DIR}/tests/test.php"
187187
$<TARGET_FILE_DIR:phpbot>)
188188

189189
# necessary because the default working directory of Visual Studio
@@ -194,6 +194,6 @@ add_custom_command(TARGET phpbot POST_BUILD
194194
if (WIN32)
195195
add_custom_command(TARGET phpbot POST_BUILD
196196
COMMAND ${CMAKE_COMMAND} -E copy_if_different
197-
"${PROJECT_SOURCE_DIR}/test.php"
197+
"${PROJECT_SOURCE_DIR}/tests/test.php"
198198
$<TARGET_FILE_DIR:phpbot>/../)
199199
endif()

0 commit comments

Comments
 (0)