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:
ptarjan
2013-04-15 15:21:23 -07:00
commit de Sara Golemon
commit db6f5f3d54
3 arquivos alterados com 6 adições e 11 exclusões
-1
Ver Arquivo
@@ -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})
+6 -5
Ver Arquivo
@@ -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;
}
-5
Ver Arquivo
@@ -1,5 +0,0 @@
RUN_TESTSUITE(TestParserExpr);
RUN_TESTSUITE(TestParserStmt);
RUN_TESTSUITE(TestCodeError);
RUN_TESTSUITE(TestUtil);
RUN_TESTSUITE(TestCppBase);