Test's cpp files are moved to hphp/test/ext
Also create missing test_ext.inc
Esse commit está contido em:
@@ -1,12 +1,11 @@
|
||||
set(CXX_SOURCES)
|
||||
|
||||
set(RECURSIVE_SOURCE_SUBDIRS vm)
|
||||
set(RECURSIVE_SOURCE_SUBDIRS ext)
|
||||
foreach (dir ${RECURSIVE_SOURCE_SUBDIRS})
|
||||
auto_sources(files "*.cpp" "RECURSE" "${CMAKE_CURRENT_SOURCE_DIR}/${dir}")
|
||||
list(APPEND CXX_SOURCES ${files})
|
||||
endforeach(dir ${RECURSIVE_SOURCE_SUBDIRS})
|
||||
|
||||
auto_sources(files "*.cpp" "")
|
||||
list(APPEND CXX_SOURCES ${files})
|
||||
list(APPEND CXX_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/../hhvm/process_init.cpp")
|
||||
list(APPEND CXX_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/../hhvm/global_variables.cpp")
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
/*
|
||||
* TestExt is mostly deprecated.
|
||||
*
|
||||
* Please don't add new extension tests here if they are possible to
|
||||
* write in php.
|
||||
*
|
||||
* The tests below still remain in C++ generally because they start
|
||||
* temporary servers, which is easier from C++.
|
||||
*/
|
||||
|
||||
RUN_TESTSUITE(TestExtCurl);
|
||||
RUN_TESTSUITE(TestExtMemcached);
|
||||
RUN_TESTSUITE(TestExtMysql);
|
||||
RUN_TESTSUITE(TestExtServer);
|
||||
Referência em uma Nova Issue
Bloquear um usuário