Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 12bb1ad

Browse files
author
Jamie Snape
committed
A debug flag to preserve PHPUnit output behavior across versions
1 parent 778723a commit 12bb1ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function(add_midas_mysql_test TestName TestFile)
4747
IF(EXISTS ${CMAKE_SOURCE_DIR}/tests/configs/mysql.ini)
4848
add_test(
4949
MySQL${TestName}
50-
${PHP} ${CMAKE_SOURCE_DIR}/tests/PHPUnitMySQL.php --bootstrap ${CMAKE_SOURCE_DIR}/tests/TestsBootstrap.php ${CMAKE_CURRENT_SOURCE_DIR}/${TestFile}
50+
${PHP} ${CMAKE_SOURCE_DIR}/tests/PHPUnitMySQL.php --debug --bootstrap ${CMAKE_SOURCE_DIR}/tests/TestsBootstrap.php ${CMAKE_CURRENT_SOURCE_DIR}/${TestFile}
5151
)
5252
set_tests_properties(
5353
MySQL${TestName} PROPERTIES
@@ -61,7 +61,7 @@ function(add_midas_pgsql_test TestName TestFile)
6161
IF(EXISTS ${CMAKE_SOURCE_DIR}/tests/configs/pgsql.ini)
6262
add_test(
6363
PgSQL${TestName}
64-
${PHP} ${CMAKE_SOURCE_DIR}/tests/PHPUnitPgSQL.php --bootstrap ${CMAKE_SOURCE_DIR}/tests/TestsBootstrap.php ${CMAKE_CURRENT_SOURCE_DIR}/${TestFile}
64+
${PHP} ${CMAKE_SOURCE_DIR}/tests/PHPUnitPgSQL.php --debug --bootstrap ${CMAKE_SOURCE_DIR}/tests/TestsBootstrap.php ${CMAKE_CURRENT_SOURCE_DIR}/${TestFile}
6565
)
6666
set_tests_properties(
6767
PgSQL${TestName} PROPERTIES

0 commit comments

Comments
 (0)