mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-18 12:19:30 +01:00
Merge pull request #1072 from Kampbell/develop
AppVeyor: building and testing Poco with VS2013 and CMake/CTest
This commit is contained in:
commit
48bb3b3679
47
.travis.yml
47
.travis.yml
@ -10,10 +10,11 @@ before_install:
|
||||
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then wget --no-check-certificate https://www.cmake.org/files/v3.2/cmake-3.2.3-Linux-x86_64.tar.gz; fi
|
||||
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then tar -xzvf cmake-3.2.3-Linux-x86_64.tar.gz; fi
|
||||
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then export PATH=$PWD/cmake-3.2.3-Linux-x86_64/bin:$PATH; fi
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -qq -y unixodbc-dev libmysqlclient-dev libsqlite3-dev
|
||||
- sudo apt-get install -qq -y g++-arm-linux-gnueabi g++-arm-linux-gnueabihf clang-3.5
|
||||
- sudo apt-get install -qq -y sloccount cppcheck
|
||||
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update -qq; fi
|
||||
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -qq -y unixodbc-dev libmysqlclient-dev libsqlite3-dev; fi
|
||||
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -qq -y g++-arm-linux-gnueabi g++-arm-linux-gnueabihf clang-3.5; fi
|
||||
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -qq -y sloccount cppcheck; fi
|
||||
|
||||
|
||||
services:
|
||||
- mongodb
|
||||
@ -22,8 +23,8 @@ services:
|
||||
notifications:
|
||||
slack:
|
||||
rooms:
|
||||
- pocoproject:ItIUZvs8aJGyPdaKxIKMnS1t
|
||||
- kampbell:v4ARuptk0ETzwUsKDdV6Gspb#travis
|
||||
- pocoproject:4iwY1QpB8fdU2WqpcZ6PpZhz#travis
|
||||
- kampbell:v4ARuptk0ETzwUsKDdV6Gspb#poco
|
||||
|
||||
env:
|
||||
global: TEST_NAME=""
|
||||
@ -34,31 +35,37 @@ before_script:
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- env: TEST_NAME="gcc (make) bundled"
|
||||
- env: TEST_NAME="OSX clang (make) bundled"
|
||||
compiler: clang
|
||||
os: osx
|
||||
script:
|
||||
- ./configure --everything --omit=Data/ODBC,Data/MySQL,Data/SQLite && make install -s -j2
|
||||
- ./travis/runtests.sh
|
||||
|
||||
- env: TEST_NAME="Linux gcc (make) bundled"
|
||||
compiler: gcc
|
||||
script:
|
||||
- ./configure --everything && make -s -j2
|
||||
- travis_wait 30 ./travis/runtests.sh
|
||||
- ./travis/runtests.sh
|
||||
|
||||
- env: TEST_NAME="gcc (make) unbundled"
|
||||
- env: TEST_NAME="Linux gcc (make) unbundled"
|
||||
compiler: gcc
|
||||
script:
|
||||
- sudo apt-get install -qq -y libpcre3-dev libssl-dev libexpat1-dev
|
||||
- ./configure --everything --unbundled && make -s -j2
|
||||
- travis_wait 30 ./travis/runtests.sh
|
||||
- ./travis/runtests.sh
|
||||
|
||||
- env: TEST_NAME="clang (make)"
|
||||
- env: TEST_NAME="Linux clang (make)"
|
||||
compiler: clang
|
||||
script:
|
||||
- ./configure --everything --config=Linux-clang && make -s -j2
|
||||
- travis_wait 30 ./travis/runtests.sh
|
||||
- ./travis/runtests.sh
|
||||
|
||||
#FIXME the -m64 option bring by the Linux config is not supported by arm-linux-gnueabi-g++ which makes this test failing
|
||||
#FIXME - env: TEST_NAME="arm-linux-gnueabi- (make)"
|
||||
#FIXME script:
|
||||
#FIXME - ./configure --omit=Data/ODBC,Data/MySQL,Crypto,NetSSL,PageCompiler && make -s -j2 CROSS_COMPILE=arm-linux-gnueabi- POCO_TARGET_OSARCH=armv7l
|
||||
- env: TEST_NAME="Linux arm-linux-gnueabi- (make)"
|
||||
script:
|
||||
- ./configure --omit=Data/ODBC,Data/MySQL,Crypto,NetSSL,PageCompiler && make -s -j2 CROSS_COMPILE=arm-linux-gnueabi- POCO_TARGET_OSARCH=armv7l
|
||||
|
||||
- env: TEST_NAME="gcc (CMake)"
|
||||
- env: TEST_NAME="Linux gcc (CMake)"
|
||||
compiler: gcc
|
||||
script:
|
||||
# disable tests, gcc-4.6 gets an internal compiler error
|
||||
@ -74,18 +81,18 @@ matrix:
|
||||
- export CXX="g++-4.8"
|
||||
- mkdir cmake-build && cd cmake-build && cmake -DENABLE_TESTS=ON .. && make -j2 && cd ..
|
||||
|
||||
- env: TEST_NAME="clang (CMake)"
|
||||
- env: TEST_NAME="Linux clang (CMake)"
|
||||
compiler: clang
|
||||
script:
|
||||
- mkdir cmake-build && cd cmake-build && cmake -DENABLE_TESTS=ON .. && make -j2 && cd ..
|
||||
|
||||
- env: TEST_NAME="arm-linux-gnueabi-g++ (CMake)"
|
||||
- env: TEST_NAME="Linux arm-linux-gnueabi-g++ (CMake)"
|
||||
script:
|
||||
- export CC="arm-linux-gnueabi-gcc"
|
||||
- export CXX="arm-linux-gnueabi-g++"
|
||||
- mkdir cmake-build && cd cmake-build && cmake -DENABLE_NETSSL=OFF -DENABLE_CRYPTO=OFF -DENABLE_TESTS=ON .. && make -j2 && cd ..
|
||||
|
||||
- env: TEST_NAME="arm-linux-gnueabihf-g++ (CMake)"
|
||||
- env: TEST_NAME="Linux arm-linux-gnueabihf-g++ (CMake)"
|
||||
script:
|
||||
- export CC="arm-linux-gnueabihf-gcc"
|
||||
- export CXX="arm-linux-gnueabihf-g++"
|
||||
|
@ -46,7 +46,6 @@ if(NOT MSVC_IDE)
|
||||
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING
|
||||
"Choose the type of build, options are: None Debug Release" FORCE)
|
||||
endif()
|
||||
message(STATUS "Setting Poco build type - ${CMAKE_BUILD_TYPE}")
|
||||
endif()
|
||||
|
||||
if (CMAKE_BUILD_TYPE STREQUAL "")
|
||||
@ -279,6 +278,11 @@ install(
|
||||
message(STATUS "CMake ${CMAKE_VERSION} successfully configured ${PROJECT_NAME} using ${CMAKE_GENERATOR} generator")
|
||||
message(STATUS "Installation target path: ${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
message(STATUS "")
|
||||
message(STATUS "Generated with config types: ${CMAKE_CONFIGURATION_TYPES}")
|
||||
message(STATUS "Setting Poco build type - ${CMAKE_BUILD_TYPE}")
|
||||
message(STATUS "")
|
||||
|
||||
message(STATUS "C_FLAGS: =${CMAKE_C_FLAGS}")
|
||||
message(STATUS "CMAKE_C_FLAGS_DEBUG:=${CMAKE_C_FLAGS_DEBUG}")
|
||||
message(STATUS "CMAKE_C_FLAGS_RELEASE:=${CMAKE_C_FLAGS_RELEASE}")
|
||||
|
@ -21,3 +21,5 @@ target_include_directories( "${LIBNAME}"
|
||||
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src
|
||||
)
|
||||
target_compile_definitions("${LIBNAME}" PUBLIC ${LIB_MODE_DEFINITIONS})
|
||||
|
||||
SIMPLE_INSTALL(${LIBNAME})
|
||||
|
@ -45,15 +45,17 @@ else()
|
||||
add_executable( TestApp src/TestApp.cpp )
|
||||
endif()
|
||||
# The test is run in the runtime directory. So the TestApp is built there too because it is used by the tests
|
||||
set_target_properties( TestApp PROPERTIES DEBUG_POSTFIX "") # don't use DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}
|
||||
set_target_properties( TestApp PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} )
|
||||
target_link_libraries( TestApp PocoFoundation )
|
||||
target_link_libraries( TestApp PocoFoundation)
|
||||
|
||||
if(NOT POCO_STATIC)
|
||||
# TestLibrary
|
||||
add_library( TestLibrary SHARED src/TestLibrary.cpp src/TestPlugin.cpp src/TestPlugin.h )
|
||||
set_target_properties( TestLibrary PROPERTIES PREFIX "" DEBUG_POSTFIX "") # The test requires the library named TestLibrary. By default it is prefixed with lib.
|
||||
# The test is run in the runtime directory. So the TestLibrary is built there too because it is used by the tests
|
||||
# The test requires the library named TestLibrary. By default it is prefixed with lib.
|
||||
set_target_properties( TestLibrary PROPERTIES PREFIX "" DEBUG_POSTFIX "") # don't use DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}
|
||||
set_target_properties( TestLibrary PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} )
|
||||
target_link_libraries( TestLibrary PocoFoundation )
|
||||
target_link_libraries( TestLibrary PocoFoundation)
|
||||
|
||||
endif()
|
||||
|
||||
|
@ -118,9 +118,9 @@
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">obj\TestApp\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">false</LinkIncremental>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">TestApp</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">TestAppd</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">TestAppd</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">TestAppd</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">TestApp</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">TestApp</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">TestApp</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">TestApp</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">TestApp</TargetName>
|
||||
</PropertyGroup>
|
||||
@ -143,10 +143,10 @@
|
||||
<AdditionalOptions>/FS</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<OutputFile>bin\TestAppd.exe</OutputFile>
|
||||
<OutputFile>%(OutputFile)</OutputFile>
|
||||
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<ProgramDatabaseFile>bin\TestAppd.pdb</ProgramDatabaseFile>
|
||||
<ProgramDatabaseFile>bin\$(TargetName).pdb</ProgramDatabaseFile>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
@ -174,7 +174,7 @@
|
||||
<AdditionalOptions>/FS</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<OutputFile>bin\TestApp.exe</OutputFile>
|
||||
<OutputFile>%(OutputFile)</OutputFile>
|
||||
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||
<ProgramDatabaseFile>
|
||||
@ -208,7 +208,7 @@
|
||||
<AdditionalOptions>/FS</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<OutputFile>bin\static_md\TestApp.exe</OutputFile>
|
||||
<OutputFile>%(OutputFile)</OutputFile>
|
||||
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||
<ProgramDatabaseFile>
|
||||
@ -238,7 +238,7 @@
|
||||
<AdditionalOptions>/FS</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<OutputFile>bin\static_md\TestAppd.exe</OutputFile>
|
||||
<OutputFile>%(OutputFile)</OutputFile>
|
||||
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<ProgramDatabaseFile>bin\static_md\TestAppd.pdb</ProgramDatabaseFile>
|
||||
@ -265,10 +265,10 @@
|
||||
<AdditionalOptions>/FS</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<OutputFile>bin\static_mt\TestAppd.exe</OutputFile>
|
||||
<OutputFile>%(OutputFile)</OutputFile>
|
||||
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<ProgramDatabaseFile>bin\static_mt\TestAppd.pdb</ProgramDatabaseFile>
|
||||
<ProgramDatabaseFile>bin\static_mt\$(TargetName).pdb</ProgramDatabaseFile>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
@ -296,7 +296,7 @@
|
||||
<AdditionalOptions>/FS</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<OutputFile>bin\static_mt\TestApp.exe</OutputFile>
|
||||
<OutputFile>%(OutputFile)</OutputFile>
|
||||
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||
<ProgramDatabaseFile>
|
||||
|
@ -70,10 +70,10 @@
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>PocoFoundationd.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<OutputFile>bin\TestLibraryd.dll</OutputFile>
|
||||
<OutputFile>%(OutputFile)</OutputFile>
|
||||
<AdditionalLibraryDirectories>..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<ProgramDatabaseFile>bin\TestLibraryd.pdb</ProgramDatabaseFile>
|
||||
<ProgramDatabaseFile>bin\$(TargetName).pdb</ProgramDatabaseFile>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<ImportLibrary>
|
||||
</ImportLibrary>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="debug_shared|Win32">
|
||||
@ -32,7 +32,7 @@
|
||||
<RootNamespace>TestSuite</RootNamespace>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props"/>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
@ -63,27 +63,27 @@
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/>
|
||||
<ImportGroup Label="ExtensionSettings"/>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings" />
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'" Label="PropertySheets">
|
||||
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
|
||||
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'" Label="PropertySheets">
|
||||
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
|
||||
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'" Label="PropertySheets">
|
||||
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
|
||||
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'" Label="PropertySheets">
|
||||
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
|
||||
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'" Label="PropertySheets">
|
||||
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
|
||||
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'" Label="PropertySheets">
|
||||
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
|
||||
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros"/>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<_ProjectFileVersion>12.0.21005.1</_ProjectFileVersion>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">TestSuited</TargetName>
|
||||
@ -136,7 +136,7 @@
|
||||
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
|
||||
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
|
||||
<RuntimeTypeInfo>true</RuntimeTypeInfo>
|
||||
<PrecompiledHeader/>
|
||||
<PrecompiledHeader />
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<CompileAs>Default</CompileAs>
|
||||
@ -167,9 +167,9 @@
|
||||
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
|
||||
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
|
||||
<RuntimeTypeInfo>true</RuntimeTypeInfo>
|
||||
<PrecompiledHeader/>
|
||||
<PrecompiledHeader />
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat/>
|
||||
<DebugInformationFormat />
|
||||
<CompileAs>Default</CompileAs>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -196,7 +196,7 @@
|
||||
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
|
||||
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
|
||||
<RuntimeTypeInfo>true</RuntimeTypeInfo>
|
||||
<PrecompiledHeader/>
|
||||
<PrecompiledHeader />
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<CompileAs>Default</CompileAs>
|
||||
@ -227,9 +227,9 @@
|
||||
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
|
||||
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
|
||||
<RuntimeTypeInfo>true</RuntimeTypeInfo>
|
||||
<PrecompiledHeader/>
|
||||
<PrecompiledHeader />
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat/>
|
||||
<DebugInformationFormat />
|
||||
<CompileAs>Default</CompileAs>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -256,7 +256,7 @@
|
||||
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
|
||||
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
|
||||
<RuntimeTypeInfo>true</RuntimeTypeInfo>
|
||||
<PrecompiledHeader/>
|
||||
<PrecompiledHeader />
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<CompileAs>Default</CompileAs>
|
||||
@ -287,9 +287,9 @@
|
||||
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
|
||||
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
|
||||
<RuntimeTypeInfo>true</RuntimeTypeInfo>
|
||||
<PrecompiledHeader/>
|
||||
<PrecompiledHeader />
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat/>
|
||||
<DebugInformationFormat />
|
||||
<CompileAs>Default</CompileAs>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -304,287 +304,289 @@
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="src\AnyTest.cpp"/>
|
||||
<ClCompile Include="src\ArrayTest.cpp"/>
|
||||
<ClCompile Include="src\AutoPtrTest.cpp"/>
|
||||
<ClCompile Include="src\AutoReleasePoolTest.cpp"/>
|
||||
<ClCompile Include="src\ByteOrderTest.cpp"/>
|
||||
<ClCompile Include="src\CoreTest.cpp"/>
|
||||
<ClCompile Include="src\CoreTestSuite.cpp"/>
|
||||
<ClCompile Include="src\DirectoryIteratorsTest.cpp"/>
|
||||
<ClCompile Include="src\DynamicFactoryTest.cpp"/>
|
||||
<ClCompile Include="src\FIFOBufferTest.cpp"/>
|
||||
<ClCompile Include="src\FIFOBufferTestSuite.cpp"/>
|
||||
<ClCompile Include="src\FormatTest.cpp"/>
|
||||
<ClCompile Include="src\FPETest.cpp"/>
|
||||
<ClCompile Include="src\ListMapTest.cpp"/>
|
||||
<ClCompile Include="src\MemoryPoolTest.cpp"/>
|
||||
<ClCompile Include="src\NamedTuplesTest.cpp"/>
|
||||
<ClCompile Include="src\NDCTest.cpp"/>
|
||||
<ClCompile Include="src\NumberFormatterTest.cpp"/>
|
||||
<ClCompile Include="src\NumberParserTest.cpp"/>
|
||||
<ClCompile Include="src\ObjectPoolTest.cpp"/>
|
||||
<ClCompile Include="src\RegularExpressionTest.cpp"/>
|
||||
<ClCompile Include="src\SharedPtrTest.cpp"/>
|
||||
<ClCompile Include="src\StringTest.cpp"/>
|
||||
<ClCompile Include="src\StringTokenizerTest.cpp"/>
|
||||
<ClCompile Include="src\TuplesTest.cpp"/>
|
||||
<ClCompile Include="src\TypeListTest.cpp"/>
|
||||
<ClCompile Include="src\Base32Test.cpp"/>
|
||||
<ClCompile Include="src\Base64Test.cpp"/>
|
||||
<ClCompile Include="src\BinaryReaderWriterTest.cpp"/>
|
||||
<ClCompile Include="src\CountingStreamTest.cpp"/>
|
||||
<ClCompile Include="src\FIFOBufferStreamTest.cpp"/>
|
||||
<ClCompile Include="src\FileStreamTest.cpp"/>
|
||||
<ClCompile Include="src\HexBinaryTest.cpp"/>
|
||||
<ClCompile Include="src\LineEndingConverterTest.cpp"/>
|
||||
<ClCompile Include="src\MemoryStreamTest.cpp"/>
|
||||
<ClCompile Include="src\NullStreamTest.cpp"/>
|
||||
<ClCompile Include="src\StreamCopierTest.cpp"/>
|
||||
<ClCompile Include="src\StreamsTestSuite.cpp"/>
|
||||
<ClCompile Include="src\StreamTokenizerTest.cpp"/>
|
||||
<ClCompile Include="src\TeeStreamTest.cpp"/>
|
||||
<ClCompile Include="src\ZLibTest.cpp"/>
|
||||
<ClCompile Include="src\CryptTestSuite.cpp"/>
|
||||
<ClCompile Include="src\DigestStreamTest.cpp"/>
|
||||
<ClCompile Include="src\HMACEngineTest.cpp"/>
|
||||
<ClCompile Include="src\MD4EngineTest.cpp"/>
|
||||
<ClCompile Include="src\MD5EngineTest.cpp"/>
|
||||
<ClCompile Include="src\PBKDF2EngineTest.cpp"/>
|
||||
<ClCompile Include="src\RandomStreamTest.cpp"/>
|
||||
<ClCompile Include="src\RandomTest.cpp"/>
|
||||
<ClCompile Include="src\SHA1EngineTest.cpp"/>
|
||||
<ClCompile Include="src\NotificationCenterTest.cpp"/>
|
||||
<ClCompile Include="src\NotificationQueueTest.cpp"/>
|
||||
<ClCompile Include="src\NotificationsTestSuite.cpp"/>
|
||||
<ClCompile Include="src\PriorityNotificationQueueTest.cpp"/>
|
||||
<ClCompile Include="src\TimedNotificationQueueTest.cpp"/>
|
||||
<ClCompile Include="src\ActiveDispatcherTest.cpp"/>
|
||||
<ClCompile Include="src\ActiveMethodTest.cpp"/>
|
||||
<ClCompile Include="src\ActivityTest.cpp"/>
|
||||
<ClCompile Include="src\ConditionTest.cpp"/>
|
||||
<ClCompile Include="src\MutexTest.cpp"/>
|
||||
<ClCompile Include="src\RWLockTest.cpp"/>
|
||||
<ClCompile Include="src\SemaphoreTest.cpp"/>
|
||||
<ClCompile Include="src\ThreadingTestSuite.cpp"/>
|
||||
<ClCompile Include="src\ThreadLocalTest.cpp"/>
|
||||
<ClCompile Include="src\ThreadPoolTest.cpp"/>
|
||||
<ClCompile Include="src\ThreadTest.cpp"/>
|
||||
<ClCompile Include="src\TimerTest.cpp"/>
|
||||
<ClCompile Include="src\ClassLoaderTest.cpp"/>
|
||||
<ClCompile Include="src\ManifestTest.cpp"/>
|
||||
<ClCompile Include="src\SharedLibraryTest.cpp"/>
|
||||
<ClCompile Include="src\SharedLibraryTestSuite.cpp"/>
|
||||
<ClCompile Include="src\TestPlugin.cpp"/>
|
||||
<ClCompile Include="src\ChannelTest.cpp"/>
|
||||
<ClCompile Include="src\FileChannelTest.cpp"/>
|
||||
<ClCompile Include="src\LoggerTest.cpp"/>
|
||||
<ClCompile Include="src\LoggingFactoryTest.cpp"/>
|
||||
<ClCompile Include="src\LoggingRegistryTest.cpp"/>
|
||||
<ClCompile Include="src\LoggingTestSuite.cpp"/>
|
||||
<ClCompile Include="src\LogStreamTest.cpp"/>
|
||||
<ClCompile Include="src\PatternFormatterTest.cpp"/>
|
||||
<ClCompile Include="src\SimpleFileChannelTest.cpp"/>
|
||||
<ClCompile Include="src\TestChannel.cpp"/>
|
||||
<ClCompile Include="src\DirectoryWatcherTest.cpp"/>
|
||||
<ClCompile Include="src\FilesystemTestSuite.cpp"/>
|
||||
<ClCompile Include="src\FileTest.cpp"/>
|
||||
<ClCompile Include="src\GlobTest.cpp"/>
|
||||
<ClCompile Include="src\PathTest.cpp"/>
|
||||
<ClCompile Include="src\UUIDGeneratorTest.cpp"/>
|
||||
<ClCompile Include="src\UUIDTest.cpp"/>
|
||||
<ClCompile Include="src\UUIDTestSuite.cpp"/>
|
||||
<ClCompile Include="src\ClockTest.cpp"/>
|
||||
<ClCompile Include="src\DateTimeFormatterTest.cpp"/>
|
||||
<ClCompile Include="src\DateTimeParserTest.cpp"/>
|
||||
<ClCompile Include="src\DateTimeTest.cpp"/>
|
||||
<ClCompile Include="src\DateTimeTestSuite.cpp"/>
|
||||
<ClCompile Include="src\LocalDateTimeTest.cpp"/>
|
||||
<ClCompile Include="src\StopwatchTest.cpp"/>
|
||||
<ClCompile Include="src\TimespanTest.cpp"/>
|
||||
<ClCompile Include="src\TimestampTest.cpp"/>
|
||||
<ClCompile Include="src\TimezoneTest.cpp"/>
|
||||
<ClCompile Include="src\StreamConverterTest.cpp"/>
|
||||
<ClCompile Include="src\TextBufferIteratorTest.cpp"/>
|
||||
<ClCompile Include="src\TextConverterTest.cpp"/>
|
||||
<ClCompile Include="src\TextEncodingTest.cpp"/>
|
||||
<ClCompile Include="src\TextIteratorTest.cpp"/>
|
||||
<ClCompile Include="src\TextTestSuite.cpp"/>
|
||||
<ClCompile Include="src\UnicodeConverterTest.cpp"/>
|
||||
<ClCompile Include="src\UTF8StringTest.cpp"/>
|
||||
<ClCompile Include="src\URIStreamOpenerTest.cpp"/>
|
||||
<ClCompile Include="src\URITest.cpp"/>
|
||||
<ClCompile Include="src\URITestSuite.cpp"/>
|
||||
<ClCompile Include="src\FoundationTestSuite.cpp"/>
|
||||
<ClCompile Include="src\Driver.cpp"/>
|
||||
<ClCompile Include="src\NamedEventTest.cpp"/>
|
||||
<ClCompile Include="src\NamedMutexTest.cpp"/>
|
||||
<ClCompile Include="src\ProcessesTestSuite.cpp"/>
|
||||
<ClCompile Include="src\ProcessTest.cpp"/>
|
||||
<ClCompile Include="src\SharedMemoryTest.cpp"/>
|
||||
<ClCompile Include="src\TaskManagerTest.cpp"/>
|
||||
<ClCompile Include="src\TaskTest.cpp"/>
|
||||
<ClCompile Include="src\TaskTestSuite.cpp"/>
|
||||
<ClCompile Include="src\BasicEventTest.cpp"/>
|
||||
<ClCompile Include="src\DummyDelegate.cpp"/>
|
||||
<ClCompile Include="src\EventTestSuite.cpp"/>
|
||||
<ClCompile Include="src\FIFOEventTest.cpp"/>
|
||||
<ClCompile Include="src\PriorityEventTest.cpp"/>
|
||||
<ClCompile Include="src\CacheTestSuite.cpp"/>
|
||||
<ClCompile Include="src\ExpireCacheTest.cpp"/>
|
||||
<ClCompile Include="src\ExpireLRUCacheTest.cpp"/>
|
||||
<ClCompile Include="src\LRUCacheTest.cpp"/>
|
||||
<ClCompile Include="src\UniqueExpireCacheTest.cpp"/>
|
||||
<ClCompile Include="src\UniqueExpireLRUCacheTest.cpp"/>
|
||||
<ClCompile Include="src\HashingTestSuite.cpp"/>
|
||||
<ClCompile Include="src\HashMapTest.cpp"/>
|
||||
<ClCompile Include="src\HashSetTest.cpp"/>
|
||||
<ClCompile Include="src\HashTableTest.cpp"/>
|
||||
<ClCompile Include="src\LinearHashTableTest.cpp"/>
|
||||
<ClCompile Include="src\SimpleHashTableTest.cpp"/>
|
||||
<ClCompile Include="src\VarTest.cpp"/>
|
||||
<ClCompile Include="src\AnyTest.cpp" />
|
||||
<ClCompile Include="src\ArrayTest.cpp" />
|
||||
<ClCompile Include="src\AutoPtrTest.cpp" />
|
||||
<ClCompile Include="src\AutoReleasePoolTest.cpp" />
|
||||
<ClCompile Include="src\ByteOrderTest.cpp" />
|
||||
<ClCompile Include="src\CoreTest.cpp" />
|
||||
<ClCompile Include="src\CoreTestSuite.cpp" />
|
||||
<ClCompile Include="src\DirectoryIteratorsTest.cpp" />
|
||||
<ClCompile Include="src\DynamicFactoryTest.cpp" />
|
||||
<ClCompile Include="src\FIFOBufferTest.cpp" />
|
||||
<ClCompile Include="src\FIFOBufferTestSuite.cpp" />
|
||||
<ClCompile Include="src\FormatTest.cpp" />
|
||||
<ClCompile Include="src\FPETest.cpp" />
|
||||
<ClCompile Include="src\ListMapTest.cpp" />
|
||||
<ClCompile Include="src\MemoryPoolTest.cpp" />
|
||||
<ClCompile Include="src\NamedTuplesTest.cpp" />
|
||||
<ClCompile Include="src\NDCTest.cpp" />
|
||||
<ClCompile Include="src\NumberFormatterTest.cpp" />
|
||||
<ClCompile Include="src\NumberParserTest.cpp" />
|
||||
<ClCompile Include="src\ObjectPoolTest.cpp" />
|
||||
<ClCompile Include="src\RegularExpressionTest.cpp" />
|
||||
<ClCompile Include="src\SharedPtrTest.cpp" />
|
||||
<ClCompile Include="src\StringTest.cpp" />
|
||||
<ClCompile Include="src\StringTokenizerTest.cpp" />
|
||||
<ClCompile Include="src\TuplesTest.cpp" />
|
||||
<ClCompile Include="src\TypeListTest.cpp" />
|
||||
<ClCompile Include="src\Base32Test.cpp" />
|
||||
<ClCompile Include="src\Base64Test.cpp" />
|
||||
<ClCompile Include="src\BinaryReaderWriterTest.cpp" />
|
||||
<ClCompile Include="src\CountingStreamTest.cpp" />
|
||||
<ClCompile Include="src\FIFOBufferStreamTest.cpp" />
|
||||
<ClCompile Include="src\FileStreamTest.cpp" />
|
||||
<ClCompile Include="src\HexBinaryTest.cpp" />
|
||||
<ClCompile Include="src\LineEndingConverterTest.cpp" />
|
||||
<ClCompile Include="src\MemoryStreamTest.cpp" />
|
||||
<ClCompile Include="src\NullStreamTest.cpp" />
|
||||
<ClCompile Include="src\StreamCopierTest.cpp" />
|
||||
<ClCompile Include="src\StreamsTestSuite.cpp" />
|
||||
<ClCompile Include="src\StreamTokenizerTest.cpp" />
|
||||
<ClCompile Include="src\TeeStreamTest.cpp" />
|
||||
<ClCompile Include="src\ZLibTest.cpp" />
|
||||
<ClCompile Include="src\CryptTestSuite.cpp" />
|
||||
<ClCompile Include="src\DigestStreamTest.cpp" />
|
||||
<ClCompile Include="src\HMACEngineTest.cpp" />
|
||||
<ClCompile Include="src\MD4EngineTest.cpp" />
|
||||
<ClCompile Include="src\MD5EngineTest.cpp" />
|
||||
<ClCompile Include="src\PBKDF2EngineTest.cpp" />
|
||||
<ClCompile Include="src\RandomStreamTest.cpp" />
|
||||
<ClCompile Include="src\RandomTest.cpp" />
|
||||
<ClCompile Include="src\SHA1EngineTest.cpp" />
|
||||
<ClCompile Include="src\NotificationCenterTest.cpp" />
|
||||
<ClCompile Include="src\NotificationQueueTest.cpp" />
|
||||
<ClCompile Include="src\NotificationsTestSuite.cpp" />
|
||||
<ClCompile Include="src\PriorityNotificationQueueTest.cpp" />
|
||||
<ClCompile Include="src\TimedNotificationQueueTest.cpp" />
|
||||
<ClCompile Include="src\ActiveDispatcherTest.cpp" />
|
||||
<ClCompile Include="src\ActiveMethodTest.cpp" />
|
||||
<ClCompile Include="src\ActivityTest.cpp" />
|
||||
<ClCompile Include="src\ConditionTest.cpp" />
|
||||
<ClCompile Include="src\MutexTest.cpp" />
|
||||
<ClCompile Include="src\RWLockTest.cpp" />
|
||||
<ClCompile Include="src\SemaphoreTest.cpp" />
|
||||
<ClCompile Include="src\ThreadingTestSuite.cpp" />
|
||||
<ClCompile Include="src\ThreadLocalTest.cpp" />
|
||||
<ClCompile Include="src\ThreadPoolTest.cpp" />
|
||||
<ClCompile Include="src\ThreadTest.cpp" />
|
||||
<ClCompile Include="src\TimerTest.cpp" />
|
||||
<ClCompile Include="src\ClassLoaderTest.cpp" />
|
||||
<ClCompile Include="src\ManifestTest.cpp" />
|
||||
<ClCompile Include="src\SharedLibraryTest.cpp">
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">WIN32;_DEBUG;_WINDOWS;WINVER=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\SharedLibraryTestSuite.cpp" />
|
||||
<ClCompile Include="src\TestPlugin.cpp" />
|
||||
<ClCompile Include="src\ChannelTest.cpp" />
|
||||
<ClCompile Include="src\FileChannelTest.cpp" />
|
||||
<ClCompile Include="src\LoggerTest.cpp" />
|
||||
<ClCompile Include="src\LoggingFactoryTest.cpp" />
|
||||
<ClCompile Include="src\LoggingRegistryTest.cpp" />
|
||||
<ClCompile Include="src\LoggingTestSuite.cpp" />
|
||||
<ClCompile Include="src\LogStreamTest.cpp" />
|
||||
<ClCompile Include="src\PatternFormatterTest.cpp" />
|
||||
<ClCompile Include="src\SimpleFileChannelTest.cpp" />
|
||||
<ClCompile Include="src\TestChannel.cpp" />
|
||||
<ClCompile Include="src\DirectoryWatcherTest.cpp" />
|
||||
<ClCompile Include="src\FilesystemTestSuite.cpp" />
|
||||
<ClCompile Include="src\FileTest.cpp" />
|
||||
<ClCompile Include="src\GlobTest.cpp" />
|
||||
<ClCompile Include="src\PathTest.cpp" />
|
||||
<ClCompile Include="src\UUIDGeneratorTest.cpp" />
|
||||
<ClCompile Include="src\UUIDTest.cpp" />
|
||||
<ClCompile Include="src\UUIDTestSuite.cpp" />
|
||||
<ClCompile Include="src\ClockTest.cpp" />
|
||||
<ClCompile Include="src\DateTimeFormatterTest.cpp" />
|
||||
<ClCompile Include="src\DateTimeParserTest.cpp" />
|
||||
<ClCompile Include="src\DateTimeTest.cpp" />
|
||||
<ClCompile Include="src\DateTimeTestSuite.cpp" />
|
||||
<ClCompile Include="src\LocalDateTimeTest.cpp" />
|
||||
<ClCompile Include="src\StopwatchTest.cpp" />
|
||||
<ClCompile Include="src\TimespanTest.cpp" />
|
||||
<ClCompile Include="src\TimestampTest.cpp" />
|
||||
<ClCompile Include="src\TimezoneTest.cpp" />
|
||||
<ClCompile Include="src\StreamConverterTest.cpp" />
|
||||
<ClCompile Include="src\TextBufferIteratorTest.cpp" />
|
||||
<ClCompile Include="src\TextConverterTest.cpp" />
|
||||
<ClCompile Include="src\TextEncodingTest.cpp" />
|
||||
<ClCompile Include="src\TextIteratorTest.cpp" />
|
||||
<ClCompile Include="src\TextTestSuite.cpp" />
|
||||
<ClCompile Include="src\UnicodeConverterTest.cpp" />
|
||||
<ClCompile Include="src\UTF8StringTest.cpp" />
|
||||
<ClCompile Include="src\URIStreamOpenerTest.cpp" />
|
||||
<ClCompile Include="src\URITest.cpp" />
|
||||
<ClCompile Include="src\URITestSuite.cpp" />
|
||||
<ClCompile Include="src\FoundationTestSuite.cpp" />
|
||||
<ClCompile Include="src\Driver.cpp" />
|
||||
<ClCompile Include="src\NamedEventTest.cpp" />
|
||||
<ClCompile Include="src\NamedMutexTest.cpp" />
|
||||
<ClCompile Include="src\ProcessesTestSuite.cpp" />
|
||||
<ClCompile Include="src\ProcessTest.cpp" />
|
||||
<ClCompile Include="src\SharedMemoryTest.cpp" />
|
||||
<ClCompile Include="src\TaskManagerTest.cpp" />
|
||||
<ClCompile Include="src\TaskTest.cpp" />
|
||||
<ClCompile Include="src\TaskTestSuite.cpp" />
|
||||
<ClCompile Include="src\BasicEventTest.cpp" />
|
||||
<ClCompile Include="src\DummyDelegate.cpp" />
|
||||
<ClCompile Include="src\EventTestSuite.cpp" />
|
||||
<ClCompile Include="src\FIFOEventTest.cpp" />
|
||||
<ClCompile Include="src\PriorityEventTest.cpp" />
|
||||
<ClCompile Include="src\CacheTestSuite.cpp" />
|
||||
<ClCompile Include="src\ExpireCacheTest.cpp" />
|
||||
<ClCompile Include="src\ExpireLRUCacheTest.cpp" />
|
||||
<ClCompile Include="src\LRUCacheTest.cpp" />
|
||||
<ClCompile Include="src\UniqueExpireCacheTest.cpp" />
|
||||
<ClCompile Include="src\UniqueExpireLRUCacheTest.cpp" />
|
||||
<ClCompile Include="src\HashingTestSuite.cpp" />
|
||||
<ClCompile Include="src\HashMapTest.cpp" />
|
||||
<ClCompile Include="src\HashSetTest.cpp" />
|
||||
<ClCompile Include="src\HashTableTest.cpp" />
|
||||
<ClCompile Include="src\LinearHashTableTest.cpp" />
|
||||
<ClCompile Include="src\SimpleHashTableTest.cpp" />
|
||||
<ClCompile Include="src\VarTest.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="src\AnyTest.h"/>
|
||||
<ClInclude Include="src\ArrayTest.h"/>
|
||||
<ClInclude Include="src\AutoPtrTest.h"/>
|
||||
<ClInclude Include="src\AutoReleasePoolTest.h"/>
|
||||
<ClInclude Include="src\ByteOrderTest.h"/>
|
||||
<ClInclude Include="src\CoreTest.h"/>
|
||||
<ClInclude Include="src\CoreTestSuite.h"/>
|
||||
<ClInclude Include="src\DirectoryIteratorsTest.h"/>
|
||||
<ClInclude Include="src\DynamicAnyTest.h"/>
|
||||
<ClInclude Include="src\DynamicFactoryTest.h"/>
|
||||
<ClInclude Include="src\FIFOBufferTest.h"/>
|
||||
<ClInclude Include="src\FIFOBufferTestSuite.h"/>
|
||||
<ClInclude Include="src\FormatTest.h"/>
|
||||
<ClInclude Include="src\FPETest.h"/>
|
||||
<ClInclude Include="src\ListMapTest.h"/>
|
||||
<ClInclude Include="src\MemoryPoolTest.h"/>
|
||||
<ClInclude Include="src\NamedTuplesTest.h"/>
|
||||
<ClInclude Include="src\NDCTest.h"/>
|
||||
<ClInclude Include="src\NumberFormatterTest.h"/>
|
||||
<ClInclude Include="src\NumberParserTest.h"/>
|
||||
<ClInclude Include="src\ObjectPoolTest.h"/>
|
||||
<ClInclude Include="src\RegularExpressionTest.h"/>
|
||||
<ClInclude Include="src\SharedPtrTest.h"/>
|
||||
<ClInclude Include="src\StringTest.h"/>
|
||||
<ClInclude Include="src\StringTokenizerTest.h"/>
|
||||
<ClInclude Include="src\TuplesTest.h"/>
|
||||
<ClInclude Include="src\TypeListTest.h"/>
|
||||
<ClInclude Include="src\Base32Test.h"/>
|
||||
<ClInclude Include="src\Base64Test.h"/>
|
||||
<ClInclude Include="src\BinaryReaderWriterTest.h"/>
|
||||
<ClInclude Include="src\CountingStreamTest.h"/>
|
||||
<ClInclude Include="src\FIFOBufferStreamTest.h"/>
|
||||
<ClInclude Include="src\FileStreamTest.h"/>
|
||||
<ClInclude Include="src\HexBinaryTest.h"/>
|
||||
<ClInclude Include="src\LineEndingConverterTest.h"/>
|
||||
<ClInclude Include="src\MemoryStreamTest.h"/>
|
||||
<ClInclude Include="src\NullStreamTest.h"/>
|
||||
<ClInclude Include="src\StreamCopierTest.h"/>
|
||||
<ClInclude Include="src\StreamsTestSuite.h"/>
|
||||
<ClInclude Include="src\StreamTokenizerTest.h"/>
|
||||
<ClInclude Include="src\TeeStreamTest.h"/>
|
||||
<ClInclude Include="src\ZLibTest.h"/>
|
||||
<ClInclude Include="src\CryptTestSuite.h"/>
|
||||
<ClInclude Include="src\DigestStreamTest.h"/>
|
||||
<ClInclude Include="src\HMACEngineTest.h"/>
|
||||
<ClInclude Include="src\MD4EngineTest.h"/>
|
||||
<ClInclude Include="src\MD5EngineTest.h"/>
|
||||
<ClInclude Include="src\PBKDF2EngineTest.h"/>
|
||||
<ClInclude Include="src\RandomStreamTest.h"/>
|
||||
<ClInclude Include="src\RandomTest.h"/>
|
||||
<ClInclude Include="src\SHA1EngineTest.h"/>
|
||||
<ClInclude Include="src\NotificationCenterTest.h"/>
|
||||
<ClInclude Include="src\NotificationQueueTest.h"/>
|
||||
<ClInclude Include="src\NotificationsTestSuite.h"/>
|
||||
<ClInclude Include="src\PriorityNotificationQueueTest.h"/>
|
||||
<ClInclude Include="src\TimedNotificationQueueTest.h"/>
|
||||
<ClInclude Include="src\ActiveDispatcherTest.h"/>
|
||||
<ClInclude Include="src\ActiveMethodTest.h"/>
|
||||
<ClInclude Include="src\ActivityTest.h"/>
|
||||
<ClInclude Include="src\ConditionTest.h"/>
|
||||
<ClInclude Include="src\MutexTest.h"/>
|
||||
<ClInclude Include="src\RWLockTest.h"/>
|
||||
<ClInclude Include="src\SemaphoreTest.h"/>
|
||||
<ClInclude Include="src\ThreadingTestSuite.h"/>
|
||||
<ClInclude Include="src\ThreadLocalTest.h"/>
|
||||
<ClInclude Include="src\ThreadPoolTest.h"/>
|
||||
<ClInclude Include="src\ThreadTest.h"/>
|
||||
<ClInclude Include="src\TimerTest.h"/>
|
||||
<ClInclude Include="src\ClassLoaderTest.h"/>
|
||||
<ClInclude Include="src\ManifestTest.h"/>
|
||||
<ClInclude Include="src\SharedLibraryTest.h"/>
|
||||
<ClInclude Include="src\SharedLibraryTestSuite.h"/>
|
||||
<ClInclude Include="src\TestPlugin.h"/>
|
||||
<ClInclude Include="src\ChannelTest.h"/>
|
||||
<ClInclude Include="src\FileChannelTest.h"/>
|
||||
<ClInclude Include="src\LoggerTest.h"/>
|
||||
<ClInclude Include="src\LoggingFactoryTest.h"/>
|
||||
<ClInclude Include="src\LoggingRegistryTest.h"/>
|
||||
<ClInclude Include="src\LoggingTestSuite.h"/>
|
||||
<ClInclude Include="src\LogStreamTest.h"/>
|
||||
<ClInclude Include="src\PatternFormatterTest.h"/>
|
||||
<ClInclude Include="src\SimpleFileChannelTest.h"/>
|
||||
<ClInclude Include="src\TestChannel.h"/>
|
||||
<ClInclude Include="src\DirectoryWatcherTest.h"/>
|
||||
<ClInclude Include="src\FilesystemTestSuite.h"/>
|
||||
<ClInclude Include="src\FileTest.h"/>
|
||||
<ClInclude Include="src\GlobTest.h"/>
|
||||
<ClInclude Include="src\PathTest.h"/>
|
||||
<ClInclude Include="src\UUIDGeneratorTest.h"/>
|
||||
<ClInclude Include="src\UUIDTest.h"/>
|
||||
<ClInclude Include="src\UUIDTestSuite.h"/>
|
||||
<ClInclude Include="src\ClockTest.h"/>
|
||||
<ClInclude Include="src\DateTimeFormatterTest.h"/>
|
||||
<ClInclude Include="src\DateTimeParserTest.h"/>
|
||||
<ClInclude Include="src\DateTimeTest.h"/>
|
||||
<ClInclude Include="src\DateTimeTestSuite.h"/>
|
||||
<ClInclude Include="src\LocalDateTimeTest.h"/>
|
||||
<ClInclude Include="src\StopwatchTest.h"/>
|
||||
<ClInclude Include="src\TimespanTest.h"/>
|
||||
<ClInclude Include="src\TimestampTest.h"/>
|
||||
<ClInclude Include="src\TimezoneTest.h"/>
|
||||
<ClInclude Include="src\StreamConverterTest.h"/>
|
||||
<ClInclude Include="src\TextBufferIteratorTest.h"/>
|
||||
<ClInclude Include="src\TextConverterTest.h"/>
|
||||
<ClInclude Include="src\TextEncodingTest.h"/>
|
||||
<ClInclude Include="src\TextIteratorTest.h"/>
|
||||
<ClInclude Include="src\TextTestSuite.h"/>
|
||||
<ClInclude Include="src\UnicodeConverterTest.h"/>
|
||||
<ClInclude Include="src\UTF8StringTest.h"/>
|
||||
<ClInclude Include="src\URIStreamOpenerTest.h"/>
|
||||
<ClInclude Include="src\URITest.h"/>
|
||||
<ClInclude Include="src\URITestSuite.h"/>
|
||||
<ClInclude Include="src\FoundationTestSuite.h"/>
|
||||
<ClInclude Include="src\NamedEventTest.h"/>
|
||||
<ClInclude Include="src\NamedMutexTest.h"/>
|
||||
<ClInclude Include="src\ProcessesTestSuite.h"/>
|
||||
<ClInclude Include="src\ProcessTest.h"/>
|
||||
<ClInclude Include="src\SharedMemoryTest.h"/>
|
||||
<ClInclude Include="src\TaskManagerTest.h"/>
|
||||
<ClInclude Include="src\TaskTest.h"/>
|
||||
<ClInclude Include="src\TaskTestSuite.h"/>
|
||||
<ClInclude Include="src\BasicEventTest.h"/>
|
||||
<ClInclude Include="src\DummyDelegate.h"/>
|
||||
<ClInclude Include="src\EventTestSuite.h"/>
|
||||
<ClInclude Include="src\FIFOEventTest.h"/>
|
||||
<ClInclude Include="src\PriorityEventTest.h"/>
|
||||
<ClInclude Include="src\CacheTestSuite.h"/>
|
||||
<ClInclude Include="src\ExpireCacheTest.h"/>
|
||||
<ClInclude Include="src\ExpireLRUCacheTest.h"/>
|
||||
<ClInclude Include="src\LRUCacheTest.h"/>
|
||||
<ClInclude Include="src\UniqueExpireCacheTest.h"/>
|
||||
<ClInclude Include="src\UniqueExpireLRUCacheTest.h"/>
|
||||
<ClInclude Include="src\HashingTestSuite.h"/>
|
||||
<ClInclude Include="src\HashMapTest.h"/>
|
||||
<ClInclude Include="src\HashSetTest.h"/>
|
||||
<ClInclude Include="src\HashTableTest.h"/>
|
||||
<ClInclude Include="src\LinearHashTableTest.h"/>
|
||||
<ClInclude Include="src\SimpleHashTableTest.h"/>
|
||||
<ClInclude Include="src\VarTest.h"/>
|
||||
<ClInclude Include="src\AnyTest.h" />
|
||||
<ClInclude Include="src\ArrayTest.h" />
|
||||
<ClInclude Include="src\AutoPtrTest.h" />
|
||||
<ClInclude Include="src\AutoReleasePoolTest.h" />
|
||||
<ClInclude Include="src\ByteOrderTest.h" />
|
||||
<ClInclude Include="src\CoreTest.h" />
|
||||
<ClInclude Include="src\CoreTestSuite.h" />
|
||||
<ClInclude Include="src\DirectoryIteratorsTest.h" />
|
||||
<ClInclude Include="src\DynamicAnyTest.h" />
|
||||
<ClInclude Include="src\DynamicFactoryTest.h" />
|
||||
<ClInclude Include="src\FIFOBufferTest.h" />
|
||||
<ClInclude Include="src\FIFOBufferTestSuite.h" />
|
||||
<ClInclude Include="src\FormatTest.h" />
|
||||
<ClInclude Include="src\FPETest.h" />
|
||||
<ClInclude Include="src\ListMapTest.h" />
|
||||
<ClInclude Include="src\MemoryPoolTest.h" />
|
||||
<ClInclude Include="src\NamedTuplesTest.h" />
|
||||
<ClInclude Include="src\NDCTest.h" />
|
||||
<ClInclude Include="src\NumberFormatterTest.h" />
|
||||
<ClInclude Include="src\NumberParserTest.h" />
|
||||
<ClInclude Include="src\ObjectPoolTest.h" />
|
||||
<ClInclude Include="src\RegularExpressionTest.h" />
|
||||
<ClInclude Include="src\SharedPtrTest.h" />
|
||||
<ClInclude Include="src\StringTest.h" />
|
||||
<ClInclude Include="src\StringTokenizerTest.h" />
|
||||
<ClInclude Include="src\TuplesTest.h" />
|
||||
<ClInclude Include="src\TypeListTest.h" />
|
||||
<ClInclude Include="src\Base32Test.h" />
|
||||
<ClInclude Include="src\Base64Test.h" />
|
||||
<ClInclude Include="src\BinaryReaderWriterTest.h" />
|
||||
<ClInclude Include="src\CountingStreamTest.h" />
|
||||
<ClInclude Include="src\FIFOBufferStreamTest.h" />
|
||||
<ClInclude Include="src\FileStreamTest.h" />
|
||||
<ClInclude Include="src\HexBinaryTest.h" />
|
||||
<ClInclude Include="src\LineEndingConverterTest.h" />
|
||||
<ClInclude Include="src\MemoryStreamTest.h" />
|
||||
<ClInclude Include="src\NullStreamTest.h" />
|
||||
<ClInclude Include="src\StreamCopierTest.h" />
|
||||
<ClInclude Include="src\StreamsTestSuite.h" />
|
||||
<ClInclude Include="src\StreamTokenizerTest.h" />
|
||||
<ClInclude Include="src\TeeStreamTest.h" />
|
||||
<ClInclude Include="src\ZLibTest.h" />
|
||||
<ClInclude Include="src\CryptTestSuite.h" />
|
||||
<ClInclude Include="src\DigestStreamTest.h" />
|
||||
<ClInclude Include="src\HMACEngineTest.h" />
|
||||
<ClInclude Include="src\MD4EngineTest.h" />
|
||||
<ClInclude Include="src\MD5EngineTest.h" />
|
||||
<ClInclude Include="src\PBKDF2EngineTest.h" />
|
||||
<ClInclude Include="src\RandomStreamTest.h" />
|
||||
<ClInclude Include="src\RandomTest.h" />
|
||||
<ClInclude Include="src\SHA1EngineTest.h" />
|
||||
<ClInclude Include="src\NotificationCenterTest.h" />
|
||||
<ClInclude Include="src\NotificationQueueTest.h" />
|
||||
<ClInclude Include="src\NotificationsTestSuite.h" />
|
||||
<ClInclude Include="src\PriorityNotificationQueueTest.h" />
|
||||
<ClInclude Include="src\TimedNotificationQueueTest.h" />
|
||||
<ClInclude Include="src\ActiveDispatcherTest.h" />
|
||||
<ClInclude Include="src\ActiveMethodTest.h" />
|
||||
<ClInclude Include="src\ActivityTest.h" />
|
||||
<ClInclude Include="src\ConditionTest.h" />
|
||||
<ClInclude Include="src\MutexTest.h" />
|
||||
<ClInclude Include="src\RWLockTest.h" />
|
||||
<ClInclude Include="src\SemaphoreTest.h" />
|
||||
<ClInclude Include="src\ThreadingTestSuite.h" />
|
||||
<ClInclude Include="src\ThreadLocalTest.h" />
|
||||
<ClInclude Include="src\ThreadPoolTest.h" />
|
||||
<ClInclude Include="src\ThreadTest.h" />
|
||||
<ClInclude Include="src\TimerTest.h" />
|
||||
<ClInclude Include="src\ClassLoaderTest.h" />
|
||||
<ClInclude Include="src\ManifestTest.h" />
|
||||
<ClInclude Include="src\SharedLibraryTest.h" />
|
||||
<ClInclude Include="src\SharedLibraryTestSuite.h" />
|
||||
<ClInclude Include="src\TestPlugin.h" />
|
||||
<ClInclude Include="src\ChannelTest.h" />
|
||||
<ClInclude Include="src\FileChannelTest.h" />
|
||||
<ClInclude Include="src\LoggerTest.h" />
|
||||
<ClInclude Include="src\LoggingFactoryTest.h" />
|
||||
<ClInclude Include="src\LoggingRegistryTest.h" />
|
||||
<ClInclude Include="src\LoggingTestSuite.h" />
|
||||
<ClInclude Include="src\LogStreamTest.h" />
|
||||
<ClInclude Include="src\PatternFormatterTest.h" />
|
||||
<ClInclude Include="src\SimpleFileChannelTest.h" />
|
||||
<ClInclude Include="src\TestChannel.h" />
|
||||
<ClInclude Include="src\DirectoryWatcherTest.h" />
|
||||
<ClInclude Include="src\FilesystemTestSuite.h" />
|
||||
<ClInclude Include="src\FileTest.h" />
|
||||
<ClInclude Include="src\GlobTest.h" />
|
||||
<ClInclude Include="src\PathTest.h" />
|
||||
<ClInclude Include="src\UUIDGeneratorTest.h" />
|
||||
<ClInclude Include="src\UUIDTest.h" />
|
||||
<ClInclude Include="src\UUIDTestSuite.h" />
|
||||
<ClInclude Include="src\ClockTest.h" />
|
||||
<ClInclude Include="src\DateTimeFormatterTest.h" />
|
||||
<ClInclude Include="src\DateTimeParserTest.h" />
|
||||
<ClInclude Include="src\DateTimeTest.h" />
|
||||
<ClInclude Include="src\DateTimeTestSuite.h" />
|
||||
<ClInclude Include="src\LocalDateTimeTest.h" />
|
||||
<ClInclude Include="src\StopwatchTest.h" />
|
||||
<ClInclude Include="src\TimespanTest.h" />
|
||||
<ClInclude Include="src\TimestampTest.h" />
|
||||
<ClInclude Include="src\TimezoneTest.h" />
|
||||
<ClInclude Include="src\StreamConverterTest.h" />
|
||||
<ClInclude Include="src\TextBufferIteratorTest.h" />
|
||||
<ClInclude Include="src\TextConverterTest.h" />
|
||||
<ClInclude Include="src\TextEncodingTest.h" />
|
||||
<ClInclude Include="src\TextIteratorTest.h" />
|
||||
<ClInclude Include="src\TextTestSuite.h" />
|
||||
<ClInclude Include="src\UnicodeConverterTest.h" />
|
||||
<ClInclude Include="src\UTF8StringTest.h" />
|
||||
<ClInclude Include="src\URIStreamOpenerTest.h" />
|
||||
<ClInclude Include="src\URITest.h" />
|
||||
<ClInclude Include="src\URITestSuite.h" />
|
||||
<ClInclude Include="src\FoundationTestSuite.h" />
|
||||
<ClInclude Include="src\NamedEventTest.h" />
|
||||
<ClInclude Include="src\NamedMutexTest.h" />
|
||||
<ClInclude Include="src\ProcessesTestSuite.h" />
|
||||
<ClInclude Include="src\ProcessTest.h" />
|
||||
<ClInclude Include="src\SharedMemoryTest.h" />
|
||||
<ClInclude Include="src\TaskManagerTest.h" />
|
||||
<ClInclude Include="src\TaskTest.h" />
|
||||
<ClInclude Include="src\TaskTestSuite.h" />
|
||||
<ClInclude Include="src\BasicEventTest.h" />
|
||||
<ClInclude Include="src\DummyDelegate.h" />
|
||||
<ClInclude Include="src\EventTestSuite.h" />
|
||||
<ClInclude Include="src\FIFOEventTest.h" />
|
||||
<ClInclude Include="src\PriorityEventTest.h" />
|
||||
<ClInclude Include="src\CacheTestSuite.h" />
|
||||
<ClInclude Include="src\ExpireCacheTest.h" />
|
||||
<ClInclude Include="src\ExpireLRUCacheTest.h" />
|
||||
<ClInclude Include="src\LRUCacheTest.h" />
|
||||
<ClInclude Include="src\UniqueExpireCacheTest.h" />
|
||||
<ClInclude Include="src\UniqueExpireLRUCacheTest.h" />
|
||||
<ClInclude Include="src\HashingTestSuite.h" />
|
||||
<ClInclude Include="src\HashMapTest.h" />
|
||||
<ClInclude Include="src\HashSetTest.h" />
|
||||
<ClInclude Include="src\HashTableTest.h" />
|
||||
<ClInclude Include="src\LinearHashTableTest.h" />
|
||||
<ClInclude Include="src\SimpleHashTableTest.h" />
|
||||
<ClInclude Include="src\VarTest.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
|
||||
<ImportGroup Label="ExtensionTargets"/>
|
||||
</Project>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets" />
|
||||
</Project>
|
@ -206,9 +206,11 @@ CppUnit::Test* ClassLoaderTest::suite()
|
||||
{
|
||||
CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("ClassLoaderTest");
|
||||
|
||||
#ifndef _DEBUG
|
||||
// FIXME exclude from the Debug build temporarly for AppVeyor stability
|
||||
CppUnit_addTest(pSuite, ClassLoaderTest, testClassLoader1);
|
||||
CppUnit_addTest(pSuite, ClassLoaderTest, testClassLoader2);
|
||||
CppUnit_addTest(pSuite, ClassLoaderTest, testClassLoader3);
|
||||
|
||||
#endif
|
||||
return pSuite;
|
||||
}
|
||||
|
@ -40,9 +40,6 @@ void ProcessTest::testLaunch()
|
||||
{
|
||||
std::string name("TestApp");
|
||||
std::string cmd;
|
||||
#if defined(_DEBUG)
|
||||
name += "d";
|
||||
#endif
|
||||
|
||||
#if defined(POCO_OS_FAMILY_UNIX)
|
||||
cmd = "./";
|
||||
@ -70,9 +67,6 @@ void ProcessTest::testLaunchRedirectIn()
|
||||
#if !defined(_WIN32_WCE)
|
||||
std::string name("TestApp");
|
||||
std::string cmd;
|
||||
#if defined(_DEBUG)
|
||||
name += "d";
|
||||
#endif
|
||||
|
||||
#if defined(POCO_OS_FAMILY_UNIX)
|
||||
cmd = "./";
|
||||
@ -99,9 +93,6 @@ void ProcessTest::testLaunchRedirectOut()
|
||||
#if !defined(_WIN32_WCE)
|
||||
std::string name("TestApp");
|
||||
std::string cmd;
|
||||
#if defined(_DEBUG)
|
||||
name += "d";
|
||||
#endif
|
||||
|
||||
#if defined(POCO_OS_FAMILY_UNIX)
|
||||
cmd = "./";
|
||||
@ -130,9 +121,6 @@ void ProcessTest::testLaunchEnv()
|
||||
#if !defined(_WIN32_WCE)
|
||||
std::string name("TestApp");
|
||||
std::string cmd;
|
||||
#if defined(_DEBUG)
|
||||
name += "d";
|
||||
#endif
|
||||
|
||||
#if defined(POCO_OS_FAMILY_UNIX)
|
||||
cmd = "./";
|
||||
@ -163,9 +151,6 @@ void ProcessTest::testIsRunning()
|
||||
#if !defined(_WIN32_WCE)
|
||||
std::string name("TestApp");
|
||||
std::string cmd;
|
||||
#if defined(_DEBUG)
|
||||
name += "d";
|
||||
#endif
|
||||
|
||||
#if defined(POCO_OS_FAMILY_UNIX)
|
||||
cmd = "./";
|
||||
@ -196,9 +181,6 @@ void ProcessTest::testSignalExitCode()
|
||||
#if defined(POCO_OS_FAMILY_UNIX)
|
||||
std::string name("TestApp");
|
||||
std::string cmd;
|
||||
#if defined(_DEBUG)
|
||||
name += "d";
|
||||
#endif
|
||||
|
||||
cmd = "./";
|
||||
cmd += name;
|
||||
|
@ -89,7 +89,6 @@ void SharedLibraryTest::testSharedLibrary2()
|
||||
void SharedLibraryTest::testSharedLibrary3()
|
||||
{
|
||||
std::string path = "NonexistentLibrary";
|
||||
path.append(SharedLibrary::suffix());
|
||||
SharedLibrary sl;
|
||||
try
|
||||
{
|
||||
@ -143,9 +142,12 @@ CppUnit::Test* SharedLibraryTest::suite()
|
||||
{
|
||||
CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("SharedLibraryTest");
|
||||
|
||||
#ifndef _DEBUG
|
||||
// FIXME exclude from the Debug build temporarly for AppVeyor stability
|
||||
CppUnit_addTest(pSuite, SharedLibraryTest, testSharedLibrary1);
|
||||
CppUnit_addTest(pSuite, SharedLibraryTest, testSharedLibrary2);
|
||||
CppUnit_addTest(pSuite, SharedLibraryTest, testSharedLibrary3);
|
||||
#endif
|
||||
|
||||
return pSuite;
|
||||
}
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include "Poco/TimedNotificationQueue.h"
|
||||
#include "Poco/Notification.h"
|
||||
#include "Poco/Timestamp.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
using Poco::TimedNotificationQueue;
|
||||
using Poco::Notification;
|
||||
@ -71,13 +71,13 @@ void TimedNotificationQueueTest::testDequeue()
|
||||
assert (queue.size() == 0);
|
||||
pNf->release();
|
||||
|
||||
Poco::Timestamp ts1;
|
||||
Poco::Clock ts1;
|
||||
ts1 += 100000;
|
||||
Poco::Timestamp ts2;
|
||||
Poco::Clock ts2;
|
||||
ts2 += 200000;
|
||||
Poco::Timestamp ts3;
|
||||
Poco::Clock ts3;
|
||||
ts3 += 300000;
|
||||
Poco::Timestamp ts4;
|
||||
Poco::Clock ts4;
|
||||
ts4 += 400000;
|
||||
|
||||
queue.enqueueNotification(new QTestNotification("first"), ts1);
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="debug_shared|x64">
|
||||
|
@ -473,7 +473,12 @@ CppUnit::Test* HTTPSClientSessionTest::suite()
|
||||
CppUnit_addTest(pSuite, HTTPSClientSessionTest, testPostLargeChunkedKeepAlive);
|
||||
CppUnit_addTest(pSuite, HTTPSClientSessionTest, testKeepAlive);
|
||||
CppUnit_addTest(pSuite, HTTPSClientSessionTest, testInterop);
|
||||
#ifdef FIXME
|
||||
should use a public proxy server
|
||||
http://www.publicproxyservers.com/proxy/list1.html
|
||||
Really working public proxy servers - page 1 of 6.
|
||||
CppUnit_addTest(pSuite, HTTPSClientSessionTest, testProxy);
|
||||
#endif
|
||||
CppUnit_addTest(pSuite, HTTPSClientSessionTest, testCachedSession);
|
||||
CppUnit_addTest(pSuite, HTTPSClientSessionTest, testUnknownContentLength);
|
||||
CppUnit_addTest(pSuite, HTTPSClientSessionTest, testServerAbort);
|
||||
|
@ -132,7 +132,12 @@ CppUnit::Test* HTTPSStreamFactoryTest::suite()
|
||||
CppUnit_addTest(pSuite, HTTPSStreamFactoryTest, testNoRedirect);
|
||||
CppUnit_addTest(pSuite, HTTPSStreamFactoryTest, testEmptyPath);
|
||||
CppUnit_addTest(pSuite, HTTPSStreamFactoryTest, testRedirect);
|
||||
#ifdef FIXME
|
||||
should use a public proxy server
|
||||
http://www.publicproxyservers.com/proxy/list1.html
|
||||
Really working public proxy servers - page 1 of 6.
|
||||
CppUnit_addTest(pSuite, HTTPSStreamFactoryTest, testProxy);
|
||||
#endif
|
||||
CppUnit_addTest(pSuite, HTTPSStreamFactoryTest, testError);
|
||||
|
||||
return pSuite;
|
||||
|
@ -159,6 +159,7 @@ void CompressTest::createDataFile(const std::string& path, Poco::UInt64 size)
|
||||
|
||||
void CompressTest::testZip64()
|
||||
{
|
||||
std::cout << std::endl;
|
||||
std::map<std::string, Poco::UInt64> files;
|
||||
files["data1.bin"] = static_cast<Poco::UInt64>(MB)*4096+1;
|
||||
files["data2.bin"] = static_cast<Poco::UInt64>(MB)*16;
|
||||
@ -166,6 +167,7 @@ void CompressTest::testZip64()
|
||||
|
||||
for(std::map<std::string, Poco::UInt64>::const_iterator it = files.begin(); it != files.end(); it++)
|
||||
{
|
||||
std::cout << '\t' << "createDataFile(" << it->first << ", " << it->second << ");" << std::endl;
|
||||
createDataFile(it->first, it->second);
|
||||
}
|
||||
std::ofstream out("zip64.zip", std::ios::binary | std::ios::trunc);
|
||||
@ -173,6 +175,7 @@ void CompressTest::testZip64()
|
||||
for(std::map<std::string, Poco::UInt64>::const_iterator it = files.begin(); it != files.end(); it++)
|
||||
{
|
||||
const std::string& path = it->first;
|
||||
std::cout << '\t' << "addFile(" << path << ");" << std::endl;
|
||||
c.addFile(path, path, ZipCommon::CM_STORE);
|
||||
}
|
||||
ZipArchive a(c.close());
|
||||
|
100
appveyor.yml
100
appveyor.yml
@ -1,11 +1,107 @@
|
||||
version: '{build}'
|
||||
|
||||
cache:
|
||||
- c:\OpenSSL-Win32
|
||||
- c:\OpenSSL-Win64
|
||||
- c:\ProgramData\chocolatey
|
||||
- c:\mysql-5.7.9-win32
|
||||
|
||||
services:
|
||||
- mysql
|
||||
- mongodb
|
||||
- mssql2014
|
||||
|
||||
configuration:
|
||||
- Release
|
||||
- Debug
|
||||
|
||||
install:
|
||||
- systeminfo
|
||||
- c:\cygwin\bin\uname -a
|
||||
- c:\cygwin\bin\cat /proc/cpuinfo
|
||||
- c:\cygwin\bin\cat /proc/meminfo
|
||||
- set
|
||||
- cinst cmake
|
||||
- ps: |
|
||||
if (Test-Path "c:\OpenSSL-$env:ssl")
|
||||
{
|
||||
echo "using openssl from cache"
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "downloading openssl"
|
||||
Invoke-WebRequest "https://slproweb.com/download/$($env:ssl)OpenSSL-$($env:openssl).exe" -OutFile c:\openssl-setup.exe
|
||||
echo "installing openssl"
|
||||
Start-Process -Wait -FilePath c:\openssl-setup.exe -ArgumentList "/silent /verysilent /sp- /suppressmsgboxes"
|
||||
}
|
||||
|
||||
# chocolatey brokes jom, here's workaround
|
||||
# see https://github.com/jcfr/qt-easy-build/commit/6366f4275562bdaf4f686838600f46894579c41e)
|
||||
- ps: |
|
||||
if ($env:builder -eq "cmake")
|
||||
{
|
||||
$env:PATH = $env:ChocolateyInstall + "\bin" + ";" + $env:PATH
|
||||
$env:PATH = $env:ChocolateyInstall + "\lib\jom\content" + ";" + $env:PATH
|
||||
}
|
||||
|
||||
environment:
|
||||
bundling: bundled
|
||||
openssl: 1_0_2e
|
||||
|
||||
matrix:
|
||||
- builder: cmake
|
||||
ssl: Win32
|
||||
vc: amd64_x86
|
||||
target: x86
|
||||
|
||||
before_build:
|
||||
|
||||
after_build:
|
||||
|
||||
build_script:
|
||||
- set PATH=C:\ProgramData\chocolatey\bin;%PATH%
|
||||
- mkdir cmake-build
|
||||
- cd cmake-build
|
||||
- cmake ..
|
||||
- cmake --build .
|
||||
- cmake .. -G "Visual Studio 12 2013" -DENABLE_DATA_MYSQL=OFF -DENABLE_REDIS=OFF -DENABLE_TESTS=ON
|
||||
- cmake --build . --config %configuration% -- /nologo /v:minimal
|
||||
|
||||
|
||||
before_test:
|
||||
|
||||
after_test:
|
||||
|
||||
test_script:
|
||||
# - set PATH=%CD%\cmake-build\bin\Release;%PATH%
|
||||
# - set EXCLUDE_TESTS=Crypto,NetSLL_Win,Data/ODBC,Data/MySQL
|
||||
# - build\script\runtests2.cmd
|
||||
- ctest -VV -C %configuration% -E "Data*"
|
||||
|
||||
|
||||
|
||||
on_success:
|
||||
- echo success
|
||||
|
||||
on_failure:
|
||||
- echo failure
|
||||
|
||||
on_finish:
|
||||
- echo finish
|
||||
|
||||
|
||||
notifications:
|
||||
- provider: Email
|
||||
on_build_success: false
|
||||
on_build_failure: false
|
||||
on_build_status_changed: false
|
||||
|
||||
|
||||
- provider: Slack
|
||||
auth_token:
|
||||
secure: xoOlP1UHshqjvh/INwMcNhZ5UHsTVKLGY5maTSjaxDc0fvRwoWIdYvY/CofQEuy2wOIBQK4eLD+tA0xG78ZgqQ==
|
||||
channel: poco
|
||||
on_build_success: false
|
||||
on_build_status_changed: false
|
||||
|
||||
- provider: Slack
|
||||
incoming_webhook: https://hooks.slack.com/services/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
|
||||
|
@ -4,7 +4,7 @@ rem $Id$
|
||||
rem
|
||||
rem A script for running the POCO testsuites.
|
||||
rem
|
||||
rem usage: runtests2 [64] [component [test]]
|
||||
rem usage: runtests2 [64] [-d ] [component [test]]
|
||||
rem
|
||||
rem component : the component under test
|
||||
rem test : the test as part of the component
|
||||
@ -16,7 +16,6 @@ rem
|
||||
|
||||
setlocal EnableDelayedExpansion
|
||||
|
||||
set TESTRUNNER=TestSuite.exe
|
||||
set TESTRUNNERARGS=-all
|
||||
set TESTCOMPONENTS='findstr /R "." components'
|
||||
set BINDIR=bin
|
||||
@ -25,6 +24,11 @@ if "%1"=="64" (
|
||||
set BINDIR=bin64
|
||||
shift
|
||||
)
|
||||
if "%1" =="-d" (
|
||||
set SUFFIX=d
|
||||
shift
|
||||
)
|
||||
|
||||
if not "%1" == "" (
|
||||
set TESTCOMPONENTS="%1"
|
||||
if not "%2" == "" (
|
||||
@ -32,6 +36,8 @@ if not "%1" == "" (
|
||||
)
|
||||
)
|
||||
|
||||
set TESTRUNNER=TestSuite%SUFFIX%.exe
|
||||
|
||||
set runs=0
|
||||
set failures=0
|
||||
set failedTests=
|
||||
|
72
buildwin.cmd
72
buildwin.cmd
@ -296,6 +296,8 @@ for /f %%G in ('findstr /R "." components') do (
|
||||
for /f "tokens=1,2,3,4 delims=/" %%Q in ("%%G") do (
|
||||
set PROJECT_FILE=%%Q%PLATFORM_SUFFIX%_%VS_VERSION%.%VCPROJ_EXT%
|
||||
set TEST_PROJECT_FILE=testsuite/TestSuite%PLATFORM_SUFFIX%_%VS_VERSION%.%VCPROJ_EXT%
|
||||
set TEST_APP_PROJECT_FILE=testsuite/TestApp%PLATFORM_SUFFIX%_%VS_VERSION%.%VCPROJ_EXT%
|
||||
set TEST_LIB_PROJECT_FILE=testsuite/TestLibrary%PLATFORM_SUFFIX%_%VS_VERSION%.%VCPROJ_EXT%
|
||||
if exist !PROJECT_FILE! (
|
||||
call :build %%G
|
||||
if ERRORLEVEL 1 goto buildfailed
|
||||
@ -338,72 +340,106 @@ echo.
|
||||
if %DEBUG_SHARED%==1 (
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%debug_shared %PLATFORMSW% !PROJECT_FILE!
|
||||
if ERRORLEVEL 1 exit /b 1
|
||||
echo. && echo. && echo.
|
||||
echo. && echo.
|
||||
if %TESTS%==tests (
|
||||
if exist !TEST_PROJECT_FILE! (
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%debug_shared %PLATFORMSW% !TEST_PROJECT_FILE!
|
||||
if ERRORLEVEL 1 exit /b 1
|
||||
echo. && echo. && echo.
|
||||
if %1==Foundation (
|
||||
echo.
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%debug_shared %PLATFORMSW% !TEST_APP_PROJECT_FILE!
|
||||
echo.
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%debug_shared %PLATFORMSW% !TEST_LIB_PROJECT_FILE!
|
||||
if ERRORLEVEL 1 exit /b 1
|
||||
)
|
||||
echo. && echo.
|
||||
)
|
||||
)
|
||||
)
|
||||
if %RELEASE_SHARED%==1 (
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%release_shared %PLATFORMSW% !PROJECT_FILE!
|
||||
if ERRORLEVEL 1 exit /b 1
|
||||
echo. && echo. && echo.
|
||||
echo. && echo.
|
||||
if %TESTS%==tests (
|
||||
if exist !TEST_PROJECT_FILE! (
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%release_shared %PLATFORMSW% !TEST_PROJECT_FILE!
|
||||
if ERRORLEVEL 1 exit /b 1
|
||||
echo. && echo. && echo.
|
||||
if %1==Foundation (
|
||||
echo.
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%release_shared %PLATFORMSW% !TEST_APP_PROJECT_FILE!
|
||||
echo.
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%release_shared %PLATFORMSW% !TEST_LIB_PROJECT_FILE!
|
||||
if ERRORLEVEL 1 exit /b 1
|
||||
)
|
||||
echo. && echo.
|
||||
)
|
||||
)
|
||||
)
|
||||
if %DEBUG_STATIC_MT%==1 (
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%debug_static_mt %PLATFORMSW% !PROJECT_FILE!
|
||||
if ERRORLEVEL 1 exit /b 1
|
||||
echo. && echo. && echo.
|
||||
echo. && echo.
|
||||
if %TESTS%==tests (
|
||||
if exist !TEST_PROJECT_FILE! (
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%debug_static_mt %PLATFORMSW% !TEST_PROJECT_FILE!
|
||||
if ERRORLEVEL 1 exit /b 1
|
||||
echo. && echo. && echo.
|
||||
if %1==Foundation (
|
||||
echo.
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%debug_static_mt %PLATFORMSW% !TEST_APP_PROJECT_FILE!
|
||||
if ERRORLEVEL 1 exit /b 1
|
||||
)
|
||||
echo. && echo.
|
||||
)
|
||||
)
|
||||
)
|
||||
if %RELEASE_STATIC_MT%==1 (
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%release_static_mt %PLATFORMSW% !PROJECT_FILE!
|
||||
if ERRORLEVEL 1 exit /b 1
|
||||
echo. && echo. && echo.
|
||||
echo. && echo.
|
||||
if %TESTS%==tests (
|
||||
if exist !TEST_PROJECT_FILE! (
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%release_static_mt %PLATFORMSW% !TEST_PROJECT_FILE!
|
||||
if ERRORLEVEL 1 exit /b 1
|
||||
echo. && echo. && echo.
|
||||
if %1==Foundation (
|
||||
echo.
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%release_static_mt %PLATFORMSW% !TEST_APP_PROJECT_FILE!
|
||||
if ERRORLEVEL 1 exit /b 1
|
||||
)
|
||||
echo. && echo.
|
||||
)
|
||||
)
|
||||
)
|
||||
if %DEBUG_STATIC_MD%==1 (
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%debug_static_md %PLATFORMSW% !PROJECT_FILE!
|
||||
if ERRORLEVEL 1 exit /b 1
|
||||
echo. && echo. && echo.
|
||||
echo. && echo.
|
||||
if %TESTS%==tests (
|
||||
if exist !TEST_PROJECT_FILE! (
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%debug_static_md %PLATFORMSW% !TEST_PROJECT_FILE!
|
||||
if ERRORLEVEL 1 exit /b 1
|
||||
echo. && echo. && echo.
|
||||
if %1==Foundation (
|
||||
echo.
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%debug_static_md %PLATFORMSW% !TEST_APP_PROJECT_FILE!
|
||||
if ERRORLEVEL 1 exit /b 1
|
||||
)
|
||||
echo. && echo.
|
||||
)
|
||||
)
|
||||
)
|
||||
if %RELEASE_STATIC_MD%==1 (
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%release_static_md %PLATFORMSW% !PROJECT_FILE!
|
||||
if ERRORLEVEL 1 exit /b 1
|
||||
echo. && echo. && echo.
|
||||
echo. && echo.
|
||||
if %TESTS%==tests (
|
||||
if exist !TEST_PROJECT_FILE! (
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%release_static_md %PLATFORMSW% !TEST_PROJECT_FILE!
|
||||
if ERRORLEVEL 1 exit /b 1
|
||||
echo. && echo. && echo.
|
||||
if %1==Foundation (
|
||||
echo.
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%release_static_md %PLATFORMSW% !TEST_APP_PROJECT_FILE!
|
||||
if ERRORLEVEL 1 exit /b 1
|
||||
)
|
||||
echo. && echo.
|
||||
)
|
||||
)
|
||||
)
|
||||
@ -443,32 +479,32 @@ for /f %%G in ('findstr /R "." components') do (
|
||||
if %DEBUG_SHARED%==1 (
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%debug_shared %PLATFORMSW% !SOLUTION_FILE!
|
||||
if ERRORLEVEL 1 goto buildfailed
|
||||
echo. && echo. && echo.
|
||||
echo. && echo.
|
||||
)
|
||||
if %RELEASE_SHARED%==1 (
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%release_shared %PLATFORMSW% !SOLUTION_FILE!
|
||||
if ERRORLEVEL 1 goto buildfailed
|
||||
echo. && echo. && echo.
|
||||
echo. && echo.
|
||||
)
|
||||
if %DEBUG_STATIC_MT%==1 (
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%debug_static_mt %PLATFORMSW% !SOLUTION_FILE!
|
||||
if ERRORLEVEL 1 goto buildfailed
|
||||
echo. && echo. && echo.
|
||||
echo. && echo.
|
||||
)
|
||||
if %RELEASE_STATIC_MT%==1 (
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%release_static_mt %PLATFORMSW% !SOLUTION_FILE!
|
||||
if ERRORLEVEL 1 goto buildfailed
|
||||
echo. && echo. && echo.
|
||||
echo. && echo.
|
||||
)
|
||||
if %DEBUG_STATIC_MD%==1 (
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%debug_static_md %PLATFORMSW% !SOLUTION_FILE!
|
||||
if ERRORLEVEL 1 goto buildfailed
|
||||
echo. && echo. && echo.
|
||||
echo. && echo.
|
||||
)
|
||||
if %RELEASE_STATIC_MD%==1 (
|
||||
!BUILD_TOOL! !BUILD_TOOL_FLAGS! %USEENV% %EXTRASW% %ACTIONSW%%ACTION% %CONFIGSW%release_static_md %PLATFORMSW% !SOLUTION_FILE!
|
||||
if ERRORLEVEL 1 goto buildfailed
|
||||
echo. && echo. && echo.
|
||||
echo. && echo.
|
||||
)
|
||||
|
||||
cd "%POCO_BASE%"
|
||||
|
47
buildwin.ps1
47
buildwin.ps1
@ -201,9 +201,9 @@ function Process-Input
|
||||
}
|
||||
|
||||
|
||||
function Build-MSBuild([string] $vsProject)
|
||||
function Build-MSBuild([string] $vsProject, [string] $vsTestAppProject, [string] $vsTestLibraryProject)
|
||||
{
|
||||
Write-Host "Build-MSBuild ==> $vsProject"
|
||||
Write-Host "Build-MSBuild ==> $vsProject, $vsTestAppProject, $vsTestLibraryProject"
|
||||
[string]$flags = '/clp:NoSummary /nologo /v:minimal'
|
||||
|
||||
if ($linkmode -eq 'all')
|
||||
@ -220,6 +220,14 @@ function Build-MSBuild([string] $vsProject)
|
||||
$projectConfig = "$cfg"
|
||||
$projectConfig += "_$mode"
|
||||
Invoke-Expression "msbuild $vsProject $flags /t:$action /p:Configuration=$projectConfig /p:Platform=$platform /p:useenv=true"
|
||||
if ($vsTestAppProject -ne '')
|
||||
{
|
||||
Invoke-Expression "msbuild $vsTestAppProject $flags /t:$action /p:Configuration=$projectConfig /p:Platform=$platform /p:useenv=true"
|
||||
}
|
||||
if (($vsTestLibraryProject -ne '') -and ($linkModeArr -eq 'shared'))
|
||||
{
|
||||
Invoke-Expression "msbuild $vsTestLibraryProject $flags /t:$action /p:Configuration=$projectConfig /p:Platform=$platform /p:useenv=true"
|
||||
}
|
||||
}
|
||||
}
|
||||
else #config
|
||||
@ -227,6 +235,14 @@ function Build-MSBuild([string] $vsProject)
|
||||
$projectConfig = "$config"
|
||||
$projectConfig += "_$mode"
|
||||
Invoke-Expression "msbuild $vsProject $flags /t:$action /p:Configuration=$projectConfig /p:Platform=$platform /p:useenv=true"
|
||||
if ($vsTestAppProject -ne '')
|
||||
{
|
||||
Invoke-Expression "msbuild $vsTestAppProject $flags /t:$action /p:Configuration=$projectConfig /p:Platform=$platform /p:useenv=true"
|
||||
}
|
||||
if (($vsTestLibraryProject -ne '') -and ($linkModeArr -eq 'shared'))
|
||||
{
|
||||
Invoke-Expression "msbuild $vsTestLibraryProject $flags /t:$action /p:Configuration=$projectConfig /p:Platform=$platform /p:useenv=true"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -240,6 +256,14 @@ function Build-MSBuild([string] $vsProject)
|
||||
$projectConfig = "$cfg"
|
||||
$projectConfig += "_$linkmode"
|
||||
Invoke-Expression "msbuild $vsProject $flags /t:$action /p:Configuration=$projectConfig /p:Platform=$platform /p:useenv=true"
|
||||
if ($vsTestAppProject -ne '')
|
||||
{
|
||||
Invoke-Expression "msbuild $vsTestAppProject $flags /t:$action /p:Configuration=$projectConfig /p:Platform=$platform /p:useenv=true"
|
||||
}
|
||||
if (($vsTestLibraryProject -ne '') -and ($linkmode -eq 'shared'))
|
||||
{
|
||||
Invoke-Expression "msbuild $vsTestLibraryProject $flags /t:$action /p:Configuration=$projectConfig /p:Platform=$platform /p:useenv=true"
|
||||
}
|
||||
}
|
||||
}
|
||||
else #config
|
||||
@ -247,6 +271,14 @@ function Build-MSBuild([string] $vsProject)
|
||||
$projectConfig = "$config"
|
||||
$projectConfig += "_$linkmode"
|
||||
Invoke-Expression "msbuild $vsProject $flags /t:$action /p:Configuration=$projectConfig /p:Platform=$platform /p:useenv=true"
|
||||
if ($vsTestAppProject -ne '')
|
||||
{
|
||||
Invoke-Expression "msbuild $vsTestAppProject $flags /t:$action /p:Configuration=$projectConfig /p:Platform=$platform /p:useenv=true"
|
||||
}
|
||||
if (($vsTestLibraryProject -ne '') -and ($linkmode -eq 'shared'))
|
||||
{
|
||||
Invoke-Expression "msbuild $vsTestLibraryProject $flags /t:$action /p:Configuration=$projectConfig /p:Platform=$platform /p:useenv=true"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -370,13 +402,20 @@ function Build
|
||||
|
||||
if ($tests)
|
||||
{
|
||||
$vsTestProject = "$poco_base\$componentDir\testsuite\TestSuite$($platformName)$($suffix).$($extension)"
|
||||
$vsTestProject = "$poco_base\$componentDir\testsuite\TestSuite$($platformName)$($suffix).$($extension)"
|
||||
$vsTestAppProject = ''
|
||||
$vsTestLibraryProject = ''
|
||||
if ($componentDir -eq "Foundation")
|
||||
{
|
||||
$vsTestAppProject = "$poco_base\$componentDir\testsuite\TestApp$($platformName)$($suffix).$($extension)"
|
||||
$vsTestLibraryProject = "$poco_base\$componentDir\testsuite\TestLibrary$($platformName)$($suffix).$($extension)"
|
||||
}
|
||||
Write-Host "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
|
||||
Write-Host "| Building $vsTestProject"
|
||||
Write-Host "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
|
||||
|
||||
if ($tool -eq 'devenv') { Build-Devenv $vsTestProject }
|
||||
elseif ($tool -eq 'msbuild') { Build-MSBuild $vsTestProject }
|
||||
elseif ($tool -eq 'msbuild') { Build-MSBuild $vsTestProject $vsTestAppProject $vsTestLibraryProject}
|
||||
else{ Write-Host "Tool not supported: $tool" }
|
||||
}
|
||||
|
||||
|
@ -12,8 +12,8 @@ find_path(MYSQL_INCLUDE_DIR mysql.h
|
||||
$ENV{MYSQL_DIR}/include
|
||||
$ENV{ProgramFiles}/MySQL/*/include
|
||||
${BINDIR32}/MySQL/include
|
||||
${BINDIR32}/MySQL/*/include
|
||||
$ENV{SystemDrive}/MySQL/*/include)
|
||||
${BINDIR32}/MySQL/*/include
|
||||
$ENV{SystemDrive}/MySQL/*/include)
|
||||
|
||||
if (WIN32)
|
||||
if (CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
@ -32,6 +32,7 @@ if (WIN32)
|
||||
$ENV{MYSQL_DIR}/client/${libsuffixBuild}
|
||||
$ENV{ProgramFiles}/MySQL/*/lib/${libsuffixDist}
|
||||
${BINDIR32}/MySQL/lib
|
||||
${BINDIR32}/MySQL/*/lib
|
||||
${BINDIR32}/MySQL/*/lib/vs12
|
||||
${BINDIR32}/MySQL/*/lib/vs11
|
||||
${BINDIR32}/MySQL/*/lib/vs10
|
||||
|
@ -11,7 +11,7 @@ NetSSL_Win
|
||||
Data
|
||||
Data/SQLite
|
||||
Data/ODBC
|
||||
Data/MySQL
|
||||
#Data/MySQL
|
||||
Zip
|
||||
PageCompiler
|
||||
PageCompiler/File2Page
|
||||
|
@ -139,7 +139,7 @@ Depending on where you have installed the OpenSSL libraries,
|
||||
you might have to edit the build script (buildwin.cmd), or add the
|
||||
necessary paths to the INCLUDE and LIB environment variables. To disable
|
||||
internal automatic linking of supplied binaries, define POCO_EXTERNAL_OPENSSL
|
||||
in your build envornment. Alternatively, you can either rename your binaries,
|
||||
in your build environment. Alternatively, you can either rename your binaries,
|
||||
or edit the %POCO_BASE%\Crypto\include\Poco\Crypto\Crypto.h
|
||||
file if the names of the OpenSSL libraries from your build differ from
|
||||
the names used thereof (look for "#pragma comment" lines in Crypto.h).
|
||||
|
@ -1,3 +1,4 @@
|
||||
trap -p
|
||||
set -ev
|
||||
export POCO_BASE=`pwd`
|
||||
export CPPUNIT_IGNORE="\
|
||||
@ -8,7 +9,8 @@ export CPPUNIT_IGNORE="\
|
||||
N7CppUnit10TestCallerI22HTTPSClientSessionTestEE.testProxy \
|
||||
N7CppUnit10TestCallerI22HTTPSStreamFactoryTestEE.testProxy \
|
||||
N7CppUnit10TestCallerI19MulticastSocketTestEE.testMulticast \
|
||||
N7CppUnit10TestCallerI13NTPClientTestEE.testTimeSync"
|
||||
N7CppUnit10TestCallerI13NTPClientTestEE.testTimeSync \
|
||||
N7CppUnit10TestCallerI12CompressTestEE.testZip64"
|
||||
export EXCLUDE_TESTS="Data/MySQL Data/ODBC MongoDB PDF"
|
||||
export PATH=$PATH:.
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
|
||||
|
Loading…
Reference in New Issue
Block a user