s/QuickTests/TestUnit/g
I looked at all the tests, and they seem to be unit tests for small parts of hphp. They were run at the start of every TestExt test too, so I changed that so they are really just their own test now.
Esse commit está contido em:
@@ -15,7 +15,6 @@ list(APPEND CXX_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/../hhvm/global_variables.cp
|
||||
add_definitions(-DHPHPI_PATH="hphpi/hphpi")
|
||||
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/test_base_suite.inc ${CMAKE_CURRENT_SOURCE_DIR}/test_suite.inc COPYONLY)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/test_base_fast.inc ${CMAKE_CURRENT_SOURCE_DIR}/test_fast.inc COPYONLY)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/dummy_mysql_info.inc ${CMAKE_CURRENT_SOURCE_DIR}/test_mysql_info.inc COPYONLY)
|
||||
|
||||
add_executable(test ${CXX_SOURCES})
|
||||
|
||||
@@ -68,11 +68,12 @@ void Test::RunTestsImpl(bool &allPassed, std::string &suite,
|
||||
RUN_TESTSUITE(TestServer);
|
||||
return;
|
||||
}
|
||||
// QuickTests
|
||||
if (set != "TestExt") {
|
||||
#include <test/test_base_fast.inc>
|
||||
}
|
||||
if (set == "QuickTests") {
|
||||
if (set == "TestUnit") {
|
||||
RUN_TESTSUITE(TestParserExpr);
|
||||
RUN_TESTSUITE(TestParserStmt);
|
||||
RUN_TESTSUITE(TestCodeError);
|
||||
RUN_TESTSUITE(TestUtil);
|
||||
RUN_TESTSUITE(TestCppBase);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
RUN_TESTSUITE(TestParserExpr);
|
||||
RUN_TESTSUITE(TestParserStmt);
|
||||
RUN_TESTSUITE(TestCodeError);
|
||||
RUN_TESTSUITE(TestUtil);
|
||||
RUN_TESTSUITE(TestCppBase);
|
||||
Referência em uma Nova Issue
Bloquear um usuário