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

Commit

Permalink
A debug flag to preserve PHPUnit output behavior across versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Snape committed Jun 26, 2014
1 parent 778723a commit 12bb1ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function(add_midas_mysql_test TestName TestFile)
IF(EXISTS ${CMAKE_SOURCE_DIR}/tests/configs/mysql.ini)
add_test(
MySQL${TestName}
${PHP} ${CMAKE_SOURCE_DIR}/tests/PHPUnitMySQL.php --bootstrap ${CMAKE_SOURCE_DIR}/tests/TestsBootstrap.php ${CMAKE_CURRENT_SOURCE_DIR}/${TestFile}
${PHP} ${CMAKE_SOURCE_DIR}/tests/PHPUnitMySQL.php --debug --bootstrap ${CMAKE_SOURCE_DIR}/tests/TestsBootstrap.php ${CMAKE_CURRENT_SOURCE_DIR}/${TestFile}
)
set_tests_properties(
MySQL${TestName} PROPERTIES
Expand All @@ -61,7 +61,7 @@ function(add_midas_pgsql_test TestName TestFile)
IF(EXISTS ${CMAKE_SOURCE_DIR}/tests/configs/pgsql.ini)
add_test(
PgSQL${TestName}
${PHP} ${CMAKE_SOURCE_DIR}/tests/PHPUnitPgSQL.php --bootstrap ${CMAKE_SOURCE_DIR}/tests/TestsBootstrap.php ${CMAKE_CURRENT_SOURCE_DIR}/${TestFile}
${PHP} ${CMAKE_SOURCE_DIR}/tests/PHPUnitPgSQL.php --debug --bootstrap ${CMAKE_SOURCE_DIR}/tests/TestsBootstrap.php ${CMAKE_CURRENT_SOURCE_DIR}/${TestFile}
)
set_tests_properties(
PgSQL${TestName} PROPERTIES
Expand Down

0 comments on commit 12bb1ad

Please sign in to comment.