mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-10 10:00:57 +09:00
Run PAL tests in CI (#42049)
Refactor the PAL test framework to be useable in our CI system, and enable it for testing The existing PAL tests are problematic in a few ways for our CI. 1. They are large in terms of disk space used per test, this interferes with building them properly, especially as they are part of the product build, and not of the test build 2. While part of the product build, the option to build them was well hidden. 3. The tests are not related to our existing tests, and in particular are not driven from managed xunit wrappers. The change here has 4 components 1. Reduce the volume of the binaries such that they can be passed from a product build to a test job effectively. This is done by merging all tests which are not strictly dependent on secondary libraries. - This was done via a tool which parsed and replaced all of the CMakeFiles.txt - And then manual editing to remove all duplicate global symbols 2. The build flag for building the tests has been exposed as a first class option to build-runtime, as well as through the subset mechanism. As of this change, developers who wish to build the tests should use the clr.paltests subset to build the tests. 3. As the tests do not have normal xunit wrappers, but they *do* have a script which will generate xunit output, they cannot quite be run in the existing helix pathway. Add a separate path for launch the appropriate helix workitem as part of outerloop test runs. 4. A new issue exclusion mechanism has been built. Add exclusions by modifying src/coreclr/src/pal/tests/palsuite/issues.targets - There are a number of failures in the current test suite that should probably be investigated, but making meaningful changes to the tests should not be part of this change.
This commit is contained in:
parent
47e7cef66a
commit
0c36a9a209
2959 changed files with 6009 additions and 37740 deletions
|
@ -81,15 +81,23 @@ PAL tests
|
||||||
|
|
||||||
Build CoreCLR with PAL tests on the Unix machine:
|
Build CoreCLR with PAL tests on the Unix machine:
|
||||||
|
|
||||||
```sh
|
```sh ./build.sh clr.paltests
|
||||||
./src/coreclr/build-runtime.sh -skipgenerateversion -nopgooptimize \
|
|
||||||
-cmakeargs -DCLR_CMAKE_BUILD_TESTS=1
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Run tests:
|
Run tests:
|
||||||
|
|
||||||
|
To run all tests including disabled tests
|
||||||
```sh
|
```sh
|
||||||
./src/coreclr/src/pal/tests/palsuite/runpaltests.sh $(pwd)/artifacts/obj/coreclr/$(uname).x64.Debug
|
./src/coreclr/src/pal/tests/palsuite/runpaltests.sh $(pwd)/artifacts/bin/coreclr/$(uname).x64.Debug/paltests
|
||||||
|
# on macOS, replace $(uname) with OSX
|
||||||
|
```
|
||||||
|
To only run enabled tests for the platform the tests were built for:
|
||||||
|
```sh
|
||||||
|
artifacts/bin/coreclr/$(uname).x64.Debug/paltests/runpaltests.sh $(pwd)/artifacts/bin/coreclr/$(uname).x64.Debug/paltests
|
||||||
|
# on macOS, replace $(uname) with OSX
|
||||||
```
|
```
|
||||||
|
|
||||||
Test results will go into: `/tmp/PalTestOutput/default/pal_tests.xml`
|
Test results will go into: `/tmp/PalTestOutput/default/pal_tests.xml`
|
||||||
|
|
||||||
|
To disable tests in the CI edit
|
||||||
|
`src/coreclr/src/pal/tests/palsuite/issues.targets`
|
|
@ -67,6 +67,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
<_subset>$(_subset.Replace('+clr.paltests+', '+clr.paltests+clr.paltestlist+'))</_subset>
|
||||||
<_subset>$(_subset.Replace('+clr+', '+$(DefaultCoreClrSubsets)+'))</_subset>
|
<_subset>$(_subset.Replace('+clr+', '+$(DefaultCoreClrSubsets)+'))</_subset>
|
||||||
<_subset>$(_subset.Replace('+mono+', '+$(DefaultMonoSubsets)+'))</_subset>
|
<_subset>$(_subset.Replace('+mono+', '+$(DefaultMonoSubsets)+'))</_subset>
|
||||||
<_subset>$(_subset.Replace('+libs+', '+$(DefaultLibrariesSubsets)+'))</_subset>
|
<_subset>$(_subset.Replace('+libs+', '+$(DefaultLibrariesSubsets)+'))</_subset>
|
||||||
|
@ -84,6 +85,8 @@
|
||||||
<!-- CoreClr -->
|
<!-- CoreClr -->
|
||||||
<SubsetName Include="Clr" Description="The CoreCLR runtime, LinuxDac, CoreLib (+ native), tools and packages." />
|
<SubsetName Include="Clr" Description="The CoreCLR runtime, LinuxDac, CoreLib (+ native), tools and packages." />
|
||||||
<SubsetName Include="Clr.Runtime" Description="The CoreCLR .NET runtime." />
|
<SubsetName Include="Clr.Runtime" Description="The CoreCLR .NET runtime." />
|
||||||
|
<SubsetName Include="Clr.PalTests" Description="The CoreCLR PAL tests." />
|
||||||
|
<SubsetName Include="Clr.PalTestList" Description="Generate the list of the CoreCLR PAL tests. When using the command line, use Clr.PalTests instead." />
|
||||||
<SubsetName Include="Clr.Jit" Description="The JIT for the CoreCLR .NET runtime." />
|
<SubsetName Include="Clr.Jit" Description="The JIT for the CoreCLR .NET runtime." />
|
||||||
<SubsetName Include="Clr.AllJits" Description="All of the cross-targeting JIT compilers for the CoreCLR .NET runtime." />
|
<SubsetName Include="Clr.AllJits" Description="All of the cross-targeting JIT compilers for the CoreCLR .NET runtime." />
|
||||||
<SubsetName Include="Clr.CoreLib" Description="The managed System.Private.CoreLib library for CoreCLR." />
|
<SubsetName Include="Clr.CoreLib" Description="The managed System.Private.CoreLib library for CoreCLR." />
|
||||||
|
@ -147,6 +150,10 @@
|
||||||
<ClrRuntimeBuildSubsets>$(ClrRuntimeBuildSubsets);ClrJitSubset=true</ClrRuntimeBuildSubsets>
|
<ClrRuntimeBuildSubsets>$(ClrRuntimeBuildSubsets);ClrJitSubset=true</ClrRuntimeBuildSubsets>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="$(_subset.Contains('+clr.paltests+'))">
|
||||||
|
<ClrRuntimeBuildSubsets>$(ClrRuntimeBuildSubsets);ClrPalTestsSubset=true</ClrRuntimeBuildSubsets>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="$(_subset.Contains('+clr.alljits+'))">
|
<PropertyGroup Condition="$(_subset.Contains('+clr.alljits+'))">
|
||||||
<ClrRuntimeBuildSubsets>$(ClrRuntimeBuildSubsets);ClrAllJitsSubset=true;ClrJitSubset=true</ClrRuntimeBuildSubsets>
|
<ClrRuntimeBuildSubsets>$(ClrRuntimeBuildSubsets);ClrAllJitsSubset=true;ClrJitSubset=true</ClrRuntimeBuildSubsets>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@ -155,6 +162,10 @@
|
||||||
<ProjectToBuild Include="$(CoreClrProjectRoot)runtime.proj" AdditionalProperties="%(AdditionalProperties);$(ClrRuntimeBuildSubsets)" Category="clr" />
|
<ProjectToBuild Include="$(CoreClrProjectRoot)runtime.proj" AdditionalProperties="%(AdditionalProperties);$(ClrRuntimeBuildSubsets)" Category="clr" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup Condition="$(_subset.Contains('+clr.paltestlist+'))">
|
||||||
|
<ProjectToBuild Include="$(CoreClrProjectRoot)src/pal/tests/palsuite/producepaltestlist.proj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup Condition="$(_subset.Contains('+linuxdac+')) and $([MSBuild]::IsOsPlatform(Windows)) and '$(TargetArchitecture)' != 'x86'">
|
<ItemGroup Condition="$(_subset.Contains('+linuxdac+')) and $([MSBuild]::IsOsPlatform(Windows)) and '$(TargetArchitecture)' != 'x86'">
|
||||||
<ProjectToBuild Include="$(CoreClrProjectRoot)runtime.proj" AdditionalProperties="%(AdditionalProperties);$(ClrDefaultRuntimeBuildSubsets);CrossDac=linux" Category="clr" />
|
<ProjectToBuild Include="$(CoreClrProjectRoot)runtime.proj" AdditionalProperties="%(AdditionalProperties);$(ClrDefaultRuntimeBuildSubsets);CrossDac=linux" Category="clr" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
@ -356,11 +356,10 @@ function(install_symbols symbol_file destination_path)
|
||||||
endif()
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
# install_clr(TARGETS TARGETS targetName [targetName2 ...] [ADDITIONAL_DESTINATION destination])
|
# install_clr(TARGETS TARGETS targetName [targetName2 ...] [ADDITIONAL_DESTINATIONS destination])
|
||||||
function(install_clr)
|
function(install_clr)
|
||||||
set(oneValueArgs ADDITIONAL_DESTINATION)
|
set(multiValueArgs TARGETS ADDITIONAL_DESTINATIONS)
|
||||||
set(multiValueArgs TARGETS)
|
cmake_parse_arguments(INSTALL_CLR "" "" "${multiValueArgs}" ${ARGV})
|
||||||
cmake_parse_arguments(INSTALL_CLR "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGV})
|
|
||||||
|
|
||||||
if ("${INSTALL_CLR_TARGETS}" STREQUAL "")
|
if ("${INSTALL_CLR_TARGETS}" STREQUAL "")
|
||||||
message(FATAL_ERROR "At least one target must be passed to install_clr(TARGETS )")
|
message(FATAL_ERROR "At least one target must be passed to install_clr(TARGETS )")
|
||||||
|
@ -368,8 +367,8 @@ function(install_clr)
|
||||||
|
|
||||||
set(destinations ".")
|
set(destinations ".")
|
||||||
|
|
||||||
if (NOT "${INSTALL_CLR_ADDITIONAL_DESTINATION}" STREQUAL "")
|
if (NOT "${INSTALL_CLR_ADDITIONAL_DESTINATIONS}" STREQUAL "")
|
||||||
list(APPEND destinations ${INSTALL_CLR_ADDITIONAL_DESTINATION})
|
list(APPEND destinations ${INSTALL_CLR_ADDITIONAL_DESTINATIONS})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
foreach(targetName ${INSTALL_CLR_TARGETS})
|
foreach(targetName ${INSTALL_CLR_TARGETS})
|
||||||
|
|
|
@ -313,6 +313,9 @@ jobs:
|
||||||
|
|
||||||
runCrossGen: ${{ and(eq(parameters.readyToRun, true), ne(parameters.crossgen2, true)) }}
|
runCrossGen: ${{ and(eq(parameters.readyToRun, true), ne(parameters.crossgen2, true)) }}
|
||||||
runCrossGen2: ${{ and(eq(parameters.readyToRun, true), eq(parameters.crossgen2, true)) }}
|
runCrossGen2: ${{ and(eq(parameters.readyToRun, true), eq(parameters.crossgen2, true)) }}
|
||||||
|
${{ if and(ne(parameters.testGroup, 'innerloop'), eq(parameters.runtimeFlavor, 'coreclr')) }}:
|
||||||
|
runPALTestsDir: '$(coreClrProductRootFolderPath)/paltests'
|
||||||
|
|
||||||
compositeBuildMode: ${{ parameters.compositeBuildMode }}
|
compositeBuildMode: ${{ parameters.compositeBuildMode }}
|
||||||
runInUnloadableContext: ${{ parameters.runInUnloadableContext }}
|
runInUnloadableContext: ${{ parameters.runInUnloadableContext }}
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@ parameters:
|
||||||
timeoutPerTestInMinutes: ''
|
timeoutPerTestInMinutes: ''
|
||||||
runCrossGen: ''
|
runCrossGen: ''
|
||||||
runCrossGen2: ''
|
runCrossGen2: ''
|
||||||
|
runPALTestsDir: ''
|
||||||
compositeBuildMode: false
|
compositeBuildMode: false
|
||||||
helixProjectArguments: ''
|
helixProjectArguments: ''
|
||||||
runInUnloadableContext: ''
|
runInUnloadableContext: ''
|
||||||
|
@ -48,6 +49,7 @@ steps:
|
||||||
_LongRunningGcTests: ${{ parameters.longRunningGcTests }}
|
_LongRunningGcTests: ${{ parameters.longRunningGcTests }}
|
||||||
_GcSimulatorTests: ${{ parameters.gcSimulatorTests }}
|
_GcSimulatorTests: ${{ parameters.gcSimulatorTests }}
|
||||||
_Scenarios: ${{ join(',', parameters.scenarios) }}
|
_Scenarios: ${{ join(',', parameters.scenarios) }}
|
||||||
|
_PALTestsDir: ${{ parameters.runPALTestsDir }}
|
||||||
_TimeoutPerTestCollectionInMinutes: ${{ parameters.timeoutPerTestCollectionInMinutes }}
|
_TimeoutPerTestCollectionInMinutes: ${{ parameters.timeoutPerTestCollectionInMinutes }}
|
||||||
_TimeoutPerTestInMinutes: ${{ parameters.timeoutPerTestInMinutes }}
|
_TimeoutPerTestInMinutes: ${{ parameters.timeoutPerTestInMinutes }}
|
||||||
runtimeFlavorDisplayName: ${{ parameters.runtimeFlavorDisplayName }}
|
runtimeFlavorDisplayName: ${{ parameters.runtimeFlavorDisplayName }}
|
||||||
|
|
|
@ -109,6 +109,12 @@ jobs:
|
||||||
- ${{ if eq(parameters.testGroup, 'clrinterpreter') }}:
|
- ${{ if eq(parameters.testGroup, 'clrinterpreter') }}:
|
||||||
- name: clrInterpreterBuildArg
|
- name: clrInterpreterBuildArg
|
||||||
value: '-cmakeargs "-DFEATURE_INTERPRETER=1"'
|
value: '-cmakeargs "-DFEATURE_INTERPRETER=1"'
|
||||||
|
|
||||||
|
- name: clrBuildPALTestsBuildArg
|
||||||
|
value: ''
|
||||||
|
- ${{ if ne(parameters.testGroup, 'innerloop') }}:
|
||||||
|
- name: clrBuildPALTestsBuildArg
|
||||||
|
value: '-paltests '
|
||||||
|
|
||||||
- ${{ parameters.variables }}
|
- ${{ parameters.variables }}
|
||||||
|
|
||||||
|
@ -141,7 +147,7 @@ jobs:
|
||||||
|
|
||||||
# Build CoreCLR Runtime
|
# Build CoreCLR Runtime
|
||||||
- ${{ if ne(parameters.osGroup, 'Windows_NT') }}:
|
- ${{ if ne(parameters.osGroup, 'Windows_NT') }}:
|
||||||
- script: $(Build.SourcesDirectory)/src/coreclr/build-runtime$(scriptExt) $(buildConfig) $(archType) $(crossArg) $(osArg) -ci $(compilerArg) $(officialBuildIdArg) $(clrInterpreterBuildArg)
|
- script: $(Build.SourcesDirectory)/src/coreclr/build-runtime$(scriptExt) $(buildConfig) $(archType) $(crossArg) $(osArg) -ci $(compilerArg) $(clrBuildPALTestsBuildArg) $(officialBuildIdArg) $(clrInterpreterBuildArg)
|
||||||
displayName: Build CoreCLR Runtime
|
displayName: Build CoreCLR Runtime
|
||||||
- ${{ if eq(parameters.osGroup, 'Windows_NT') }}:
|
- ${{ if eq(parameters.osGroup, 'Windows_NT') }}:
|
||||||
- script: set __TestIntermediateDir=int&&$(Build.SourcesDirectory)/src/coreclr/build-runtime$(scriptExt) $(buildConfig) $(archType) -ci $(enforcePgoArg) $(officialBuildIdArg) $(clrInterpreterBuildArg)
|
- script: set __TestIntermediateDir=int&&$(Build.SourcesDirectory)/src/coreclr/build-runtime$(scriptExt) $(buildConfig) $(archType) -ci $(enforcePgoArg) $(officialBuildIdArg) $(clrInterpreterBuildArg)
|
||||||
|
@ -154,7 +160,7 @@ jobs:
|
||||||
displayName: Disk Usage after Build
|
displayName: Disk Usage after Build
|
||||||
|
|
||||||
# Build CoreCLR Managed Components
|
# Build CoreCLR Managed Components
|
||||||
- script: $(Build.SourcesDirectory)$(dir)build$(scriptExt) -subset clr.corelib+clr.nativecorelib+clr.tools+clr.packages $(crossArg) -arch $(archType) $(osArg) -c $(buildConfig) $(officialBuildIdArg) -ci
|
- script: $(Build.SourcesDirectory)$(dir)build$(scriptExt) -subset clr.corelib+clr.nativecorelib+clr.tools+clr.packages+clr.paltestlist $(crossArg) -arch $(archType) $(osArg) -c $(buildConfig) $(officialBuildIdArg) -ci
|
||||||
displayName: Build managed product components and packages
|
displayName: Build managed product components and packages
|
||||||
|
|
||||||
# Run CoreCLR Tools unit tests
|
# Run CoreCLR Tools unit tests
|
||||||
|
|
|
@ -85,6 +85,7 @@ set __SkipCrossArchNative=0
|
||||||
set __SkipGenerateVersion=0
|
set __SkipGenerateVersion=0
|
||||||
set __RestoreOptData=1
|
set __RestoreOptData=1
|
||||||
set __BuildJit=1
|
set __BuildJit=1
|
||||||
|
set __BuildPALTests=0
|
||||||
set __BuildAllJits=1
|
set __BuildAllJits=1
|
||||||
set __BuildRuntime=1
|
set __BuildRuntime=1
|
||||||
set __CrossArch=
|
set __CrossArch=
|
||||||
|
|
|
@ -25,6 +25,7 @@ usage_list+=("-staticanalyzer: skip native image generation.")
|
||||||
usage_list+=("-skipjit: skip building jit.")
|
usage_list+=("-skipjit: skip building jit.")
|
||||||
usage_list+=("-skipalljits: skip building crosstargetting jits.")
|
usage_list+=("-skipalljits: skip building crosstargetting jits.")
|
||||||
usage_list+=("-skipruntime: skip building runtime.")
|
usage_list+=("-skipruntime: skip building runtime.")
|
||||||
|
usage_list+=("-paltests: build the pal tests.")
|
||||||
|
|
||||||
setup_dirs_local()
|
setup_dirs_local()
|
||||||
{
|
{
|
||||||
|
@ -135,6 +136,10 @@ handle_arguments_local() {
|
||||||
skipruntime|-skipruntime)
|
skipruntime|-skipruntime)
|
||||||
__BuildRuntime=0
|
__BuildRuntime=0
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
paltests|-paltests)
|
||||||
|
__BuildPALTests=1
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
__UnprocessedBuildArgs="$__UnprocessedBuildArgs $1"
|
__UnprocessedBuildArgs="$__UnprocessedBuildArgs $1"
|
||||||
;;
|
;;
|
||||||
|
@ -187,7 +192,7 @@ __UseNinja=0
|
||||||
__VerboseBuild=0
|
__VerboseBuild=0
|
||||||
__ValidateCrossArg=1
|
__ValidateCrossArg=1
|
||||||
__CMakeArgs=""
|
__CMakeArgs=""
|
||||||
__BuildJit=1
|
__BuildPALTests=0
|
||||||
__BuildAllJits=1
|
__BuildAllJits=1
|
||||||
__BuildRuntime=1
|
__BuildRuntime=1
|
||||||
|
|
||||||
|
@ -247,6 +252,7 @@ restore_optdata
|
||||||
# Build the coreclr (native) components.
|
# Build the coreclr (native) components.
|
||||||
__CMakeArgs="-DCLR_CMAKE_PGO_INSTRUMENT=$__PgoInstrument -DCLR_CMAKE_OPTDATA_PATH=$__PgoOptDataPath -DCLR_CMAKE_PGO_OPTIMIZE=$__PgoOptimize -DCLR_REPO_ROOT_DIR=\"$__RepoRootDir\" $__CMakeArgs"
|
__CMakeArgs="-DCLR_CMAKE_PGO_INSTRUMENT=$__PgoInstrument -DCLR_CMAKE_OPTDATA_PATH=$__PgoOptDataPath -DCLR_CMAKE_PGO_OPTIMIZE=$__PgoOptimize -DCLR_REPO_ROOT_DIR=\"$__RepoRootDir\" $__CMakeArgs"
|
||||||
__CMakeArgs="-DCLR_CMAKE_BUILD_SUBSET_JIT=$__BuildJit -DCLR_CMAKE_BUILD_SUBSET_ALLJITS=$__BuildAllJits -DCLR_CMAKE_BUILD_SUBSET_RUNTIME=$__BuildRuntime $__CMakeArgs"
|
__CMakeArgs="-DCLR_CMAKE_BUILD_SUBSET_JIT=$__BuildJit -DCLR_CMAKE_BUILD_SUBSET_ALLJITS=$__BuildAllJits -DCLR_CMAKE_BUILD_SUBSET_RUNTIME=$__BuildRuntime $__CMakeArgs"
|
||||||
|
__CMakeArgs="-DCLR_CMAKE_BUILD_TESTS=$__BuildPALTests $__CMakeArgs"
|
||||||
|
|
||||||
if [[ "$__SkipConfigure" == 0 && "$__CodeCoverage" == 1 ]]; then
|
if [[ "$__SkipConfigure" == 0 && "$__CodeCoverage" == 1 ]]; then
|
||||||
__CMakeArgs="-DCLR_CMAKE_ENABLE_CODE_COVERAGE=1 $__CMakeArgs"
|
__CMakeArgs="-DCLR_CMAKE_ENABLE_CODE_COVERAGE=1 $__CMakeArgs"
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
<_CoreClrBuildArg Condition="'$(NoPgoOptimize)' == 'true'" Include="-nopgooptimize" />
|
<_CoreClrBuildArg Condition="'$(NoPgoOptimize)' == 'true'" Include="-nopgooptimize" />
|
||||||
<_CoreClrBuildArg Condition="'$(ClrRuntimeSubset)' != 'true'" Include="-skipruntime" />
|
<_CoreClrBuildArg Condition="'$(ClrRuntimeSubset)' != 'true'" Include="-skipruntime" />
|
||||||
<_CoreClrBuildArg Condition="'$(ClrJitSubset)' != 'true'" Include="-skipjit" />
|
<_CoreClrBuildArg Condition="'$(ClrJitSubset)' != 'true'" Include="-skipjit" />
|
||||||
|
<_CoreClrBuildArg Condition="'$(ClrPalTestsSubset)' == 'true'" Include="-paltests" />
|
||||||
<_CoreClrBuildArg Condition="'$(ClrAllJitsSubset)' != 'true'" Include="-skipalljits" />
|
<_CoreClrBuildArg Condition="'$(ClrAllJitsSubset)' != 'true'" Include="-skipalljits" />
|
||||||
<_CoreClrBuildArg Condition="'$(NoPgoOptimize)' == 'true'" Include="-nopgooptimize" />
|
<_CoreClrBuildArg Condition="'$(NoPgoOptimize)' == 'true'" Include="-nopgooptimize" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
@ -86,4 +86,4 @@ endif(CLR_CMAKE_HOST_OSX)
|
||||||
|
|
||||||
endif(CLR_CMAKE_HOST_WIN32)
|
endif(CLR_CMAKE_HOST_WIN32)
|
||||||
|
|
||||||
install_clr(TARGETS createdump ADDITIONAL_DESTINATION sharedFramework)
|
install_clr(TARGETS createdump ADDITIONAL_DESTINATIONS sharedFramework)
|
||||||
|
|
|
@ -20,6 +20,6 @@ add_library_clr(clretwrc SHARED
|
||||||
)
|
)
|
||||||
|
|
||||||
# add the install targets
|
# add the install targets
|
||||||
install_clr(TARGETS clretwrc ADDITIONAL_DESTINATION sharedFramework)
|
install_clr(TARGETS clretwrc ADDITIONAL_DESTINATIONS sharedFramework)
|
||||||
|
|
||||||
add_dependencies(clretwrc eventing_headers)
|
add_dependencies(clretwrc eventing_headers)
|
||||||
|
|
|
@ -78,4 +78,4 @@ endif(CLR_CMAKE_HOST_WIN32)
|
||||||
target_link_libraries(dbgshim ${DBGSHIM_LIBRARIES})
|
target_link_libraries(dbgshim ${DBGSHIM_LIBRARIES})
|
||||||
|
|
||||||
# add the install targets
|
# add the install targets
|
||||||
install_clr(TARGETS dbgshim ADDITIONAL_DESTINATION sharedFramework)
|
install_clr(TARGETS dbgshim ADDITIONAL_DESTINATIONS sharedFramework)
|
||||||
|
|
|
@ -194,7 +194,7 @@ if(FEATURE_SINGLE_FILE_DIAGNOSTICS)
|
||||||
endif(FEATURE_SINGLE_FILE_DIAGNOSTICS)
|
endif(FEATURE_SINGLE_FILE_DIAGNOSTICS)
|
||||||
|
|
||||||
# add the install targets
|
# add the install targets
|
||||||
install_clr(TARGETS mscordaccore ADDITIONAL_DESTINATION sharedFramework)
|
install_clr(TARGETS mscordaccore ADDITIONAL_DESTINATIONS sharedFramework)
|
||||||
|
|
||||||
if(CLR_CMAKE_HOST_WIN32)
|
if(CLR_CMAKE_HOST_WIN32)
|
||||||
set(LONG_NAME_HOST_ARCH ${CLR_CMAKE_HOST_ARCH})
|
set(LONG_NAME_HOST_ARCH ${CLR_CMAKE_HOST_ARCH})
|
||||||
|
|
|
@ -118,4 +118,4 @@ if(FEATURE_SINGLE_FILE_DIAGNOSTICS)
|
||||||
endif(FEATURE_SINGLE_FILE_DIAGNOSTICS)
|
endif(FEATURE_SINGLE_FILE_DIAGNOSTICS)
|
||||||
|
|
||||||
# add the install targets
|
# add the install targets
|
||||||
install_clr(TARGETS mscordbi ADDITIONAL_DESTINATION sharedFramework)
|
install_clr(TARGETS mscordbi ADDITIONAL_DESTINATIONS sharedFramework)
|
||||||
|
|
|
@ -228,7 +228,7 @@ if(CLR_CMAKE_TARGET_WIN32)
|
||||||
endif(CLR_CMAKE_TARGET_WIN32)
|
endif(CLR_CMAKE_TARGET_WIN32)
|
||||||
|
|
||||||
# add the install targets
|
# add the install targets
|
||||||
install_clr(TARGETS coreclr ADDITIONAL_DESTINATION sharedFramework)
|
install_clr(TARGETS coreclr ADDITIONAL_DESTINATIONS sharedFramework)
|
||||||
|
|
||||||
# publish coreclr_static lib
|
# publish coreclr_static lib
|
||||||
_install(TARGETS coreclr_static DESTINATION lib)
|
_install(TARGETS coreclr_static DESTINATION lib)
|
||||||
|
|
|
@ -15,7 +15,7 @@ if(CLR_CMAKE_HOST_WIN32)
|
||||||
include.rc
|
include.rc
|
||||||
)
|
)
|
||||||
|
|
||||||
install_clr(TARGETS mscorrc ADDITIONAL_DESTINATION sharedFramework)
|
install_clr(TARGETS mscorrc ADDITIONAL_DESTINATIONS sharedFramework)
|
||||||
else()
|
else()
|
||||||
build_resources(${CMAKE_CURRENT_SOURCE_DIR}/include.rc mscorrc TARGET_CPP_FILE)
|
build_resources(${CMAKE_CURRENT_SOURCE_DIR}/include.rc mscorrc TARGET_CPP_FILE)
|
||||||
|
|
||||||
|
|
|
@ -12,9 +12,10 @@ add_compile_options($<$<CXX_COMPILER_ID:MSVC>:-W4>)
|
||||||
|
|
||||||
function(create_standalone_jit)
|
function(create_standalone_jit)
|
||||||
|
|
||||||
set(oneValueArgs TARGET OS ARCH ADDITIONAL_DESTINATION)
|
set(oneValueArgs TARGET OS ARCH)
|
||||||
|
set(multiValueArgs ADDITIONAL_DESTINATIONS)
|
||||||
set(options NOALTJIT)
|
set(options NOALTJIT)
|
||||||
cmake_parse_arguments(TARGETDETAILS "${options}" "${oneValueArgs}" "" ${ARGN})
|
cmake_parse_arguments(TARGETDETAILS "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||||
|
|
||||||
set(JIT_ARCH_LINK_LIBRARIES gcinfo_${TARGETDETAILS_OS}_${TARGETDETAILS_ARCH})
|
set(JIT_ARCH_LINK_LIBRARIES gcinfo_${TARGETDETAILS_OS}_${TARGETDETAILS_ARCH})
|
||||||
|
|
||||||
|
@ -30,10 +31,10 @@ function(create_standalone_jit)
|
||||||
clr_unknown_arch()
|
clr_unknown_arch()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (TARGETDETAILS_ADDITIONAL_DESTINATION STREQUAL "")
|
if (TARGETDETAILS_ADDITIONAL_DESTINATIONS STREQUAL "")
|
||||||
add_jit(${TARGETDETAILS_TARGET})
|
add_jit(${TARGETDETAILS_TARGET})
|
||||||
else()
|
else()
|
||||||
add_jit(${TARGETDETAILS_TARGET} ADDITIONAL_DESTINATION "${TARGETDETAILS_ADDITIONAL_DESTINATION}")
|
add_jit(${TARGETDETAILS_TARGET} ADDITIONAL_DESTINATIONS "${TARGETDETAILS_ADDITIONAL_DESTINATIONS}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set_target_definitions_to_custom_os_and_arch(${ARGN})
|
set_target_definitions_to_custom_os_and_arch(${ARGN})
|
||||||
|
@ -411,7 +412,7 @@ else()
|
||||||
endif(CLR_CMAKE_HOST_UNIX)
|
endif(CLR_CMAKE_HOST_UNIX)
|
||||||
|
|
||||||
# Shared function for generating JIT
|
# Shared function for generating JIT
|
||||||
# optional arguments: ADDITIONAL_DESTINATION path
|
# optional arguments: ADDITIONAL_DESTINATIONS path
|
||||||
function(add_jit jitName)
|
function(add_jit jitName)
|
||||||
|
|
||||||
set_source_files_properties(${JIT_EXPORTS_FILE} PROPERTIES GENERATED TRUE)
|
set_source_files_properties(${JIT_EXPORTS_FILE} PROPERTIES GENERATED TRUE)
|
||||||
|
@ -459,7 +460,7 @@ else()
|
||||||
set(TARGET_OS_NAME win)
|
set(TARGET_OS_NAME win)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
create_standalone_jit(TARGET clrjit OS ${TARGET_OS_NAME} ARCH ${ARCH_TARGET_NAME} NOALTJIT ADDITIONAL_DESTINATION sharedFramework)
|
create_standalone_jit(TARGET clrjit OS ${TARGET_OS_NAME} ARCH ${ARCH_TARGET_NAME} NOALTJIT ADDITIONAL_DESTINATIONS sharedFramework)
|
||||||
|
|
||||||
# Enable profile guided optimization
|
# Enable profile guided optimization
|
||||||
add_pgo(clrjit)
|
add_pgo(clrjit)
|
||||||
|
|
|
@ -72,4 +72,4 @@ set_target_properties(coreclrtraceptprovider PROPERTIES LINKER_LANGUAGE CXX)
|
||||||
# Install the static eventprovider library
|
# Install the static eventprovider library
|
||||||
_install(TARGETS eventprovider DESTINATION lib)
|
_install(TARGETS eventprovider DESTINATION lib)
|
||||||
# Install the static coreclrtraceptprovider library
|
# Install the static coreclrtraceptprovider library
|
||||||
install_clr(TARGETS coreclrtraceptprovider ADDITIONAL_DESTINATION sharedFramework)
|
install_clr(TARGETS coreclrtraceptprovider ADDITIONAL_DESTINATIONS sharedFramework paltests)
|
||||||
|
|
|
@ -25,21 +25,908 @@ elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
add_compile_options(-Wno-int-to-pointer-cast)
|
add_compile_options(-Wno-int-to-pointer-cast)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# TODO: make these tests compile
|
|
||||||
# add_subdirectory(composite)
|
|
||||||
add_subdirectory(exception_handling)
|
|
||||||
|
|
||||||
add_subdirectory(c_runtime)
|
|
||||||
add_subdirectory(debug_api)
|
|
||||||
add_subdirectory(filemapping_memmgt)
|
|
||||||
add_subdirectory(file_io)
|
|
||||||
add_subdirectory(loader)
|
|
||||||
add_subdirectory(locale_info)
|
|
||||||
add_subdirectory(miscellaneous)
|
|
||||||
add_subdirectory(pal_specific)
|
|
||||||
add_subdirectory(samples)
|
|
||||||
add_subdirectory(threading)
|
|
||||||
|
|
||||||
|
#these PAL tests have special build needs, and are built separately
|
||||||
|
add_subdirectory(exception_handling/pal_sxs/test1)
|
||||||
if(FEATURE_EVENT_TRACE)
|
if(FEATURE_EVENT_TRACE)
|
||||||
add_subdirectory(eventprovider)
|
add_subdirectory(eventprovider)
|
||||||
endif(FEATURE_EVENT_TRACE)
|
endif(FEATURE_EVENT_TRACE)
|
||||||
|
|
||||||
|
_add_executable(paltests
|
||||||
|
paltests.cpp
|
||||||
|
common/palsuite.cpp
|
||||||
|
#composite/object_management/event/nonshared/event.cpp
|
||||||
|
#composite/object_management/event/nonshared/main.cpp
|
||||||
|
#composite/object_management/event/shared/event.cpp
|
||||||
|
#composite/object_management/event/shared/main.cpp
|
||||||
|
#composite/object_management/mutex/nonshared/main.cpp
|
||||||
|
#composite/object_management/mutex/nonshared/mutex.cpp
|
||||||
|
#composite/object_management/mutex/shared/main.cpp
|
||||||
|
#composite/object_management/mutex/shared/mutex.cpp
|
||||||
|
#composite/object_management/semaphore/nonshared/main.cpp
|
||||||
|
#composite/object_management/semaphore/nonshared/semaphore.cpp
|
||||||
|
#composite/object_management/semaphore/shared/main.cpp
|
||||||
|
#composite/object_management/semaphore/shared/semaphore.cpp
|
||||||
|
#composite/synchronization/criticalsection/criticalsection.cpp
|
||||||
|
#composite/synchronization/criticalsection/mainWrapper.cpp
|
||||||
|
#composite/synchronization/nativecriticalsection/mtx_critsect.cpp
|
||||||
|
#composite/synchronization/nativecriticalsection/pal_composite_native_cs.cpp
|
||||||
|
#composite/synchronization/nativecriticalsection/resultbuffer.cpp
|
||||||
|
#composite/synchronization/nativecs_interlocked/interlocked.cpp
|
||||||
|
#composite/synchronization/nativecs_interlocked/mtx_critsect.cpp
|
||||||
|
#composite/synchronization/nativecs_interlocked/pal_composite_native_cs.cpp
|
||||||
|
#composite/synchronization/nativecs_interlocked/resultbuffer.cpp
|
||||||
|
#composite/threading/threadsuspension/mainWrapper.cpp
|
||||||
|
#composite/threading/threadsuspension/threadsuspension.cpp
|
||||||
|
#composite/threading/threadsuspension_switchthread/mainWrapper.cpp
|
||||||
|
#composite/threading/threadsuspension_switchthread/threadsuspension.cpp
|
||||||
|
#composite/wfmo/main.cpp
|
||||||
|
#composite/wfmo/mutex.cpp
|
||||||
|
c_runtime/abs/test1/abs.cpp
|
||||||
|
c_runtime/acos/test1/test1.cpp
|
||||||
|
c_runtime/acosf/test1/test1.cpp
|
||||||
|
c_runtime/acosh/test1/test1.cpp
|
||||||
|
c_runtime/acoshf/test1/test1.cpp
|
||||||
|
c_runtime/asin/test1/test1.cpp
|
||||||
|
c_runtime/asinf/test1/test1.cpp
|
||||||
|
c_runtime/asinh/test1/test1.cpp
|
||||||
|
c_runtime/asinhf/test1/test1.cpp
|
||||||
|
c_runtime/atan/test1/test1.cpp
|
||||||
|
c_runtime/atan2/test1/test1.cpp
|
||||||
|
c_runtime/atan2f/test1/test1.cpp
|
||||||
|
c_runtime/atanf/test1/test1.cpp
|
||||||
|
c_runtime/atanh/test1/test1.cpp
|
||||||
|
c_runtime/atanhf/test1/test1.cpp
|
||||||
|
c_runtime/atof/test1/test1.cpp
|
||||||
|
c_runtime/atoi/test1/test1.cpp
|
||||||
|
c_runtime/bsearch/test1/test1.cpp
|
||||||
|
c_runtime/bsearch/test2/test2.cpp
|
||||||
|
c_runtime/cbrt/test1/test1.cpp
|
||||||
|
c_runtime/cbrtf/test1/test1.cpp
|
||||||
|
c_runtime/ceil/test1/test1.cpp
|
||||||
|
c_runtime/ceilf/test1/test1.cpp
|
||||||
|
c_runtime/cos/test1/test1.cpp
|
||||||
|
c_runtime/cosf/test1/test1.cpp
|
||||||
|
c_runtime/cosh/test1/test1.cpp
|
||||||
|
c_runtime/coshf/test1/test1.cpp
|
||||||
|
c_runtime/errno/test1/test1.cpp
|
||||||
|
c_runtime/errno/test2/test2.cpp
|
||||||
|
c_runtime/exit/test1/test1.cpp
|
||||||
|
c_runtime/exit/test2/test2.cpp
|
||||||
|
c_runtime/exp/test1/test1.cpp
|
||||||
|
c_runtime/expf/test1/test1.cpp
|
||||||
|
c_runtime/fabs/test1/test1.cpp
|
||||||
|
c_runtime/fabsf/test1/test1.cpp
|
||||||
|
c_runtime/fclose/test1/test1.cpp
|
||||||
|
c_runtime/fclose/test2/test2.cpp
|
||||||
|
c_runtime/ferror/test1/test1.cpp
|
||||||
|
c_runtime/ferror/test2/test2.cpp
|
||||||
|
c_runtime/fflush/test1/test1.cpp
|
||||||
|
c_runtime/fgets/test1/test1.cpp
|
||||||
|
c_runtime/fgets/test2/test2.cpp
|
||||||
|
c_runtime/fgets/test3/test3.cpp
|
||||||
|
c_runtime/floor/test1/test1.cpp
|
||||||
|
c_runtime/floorf/test1/test1.cpp
|
||||||
|
c_runtime/fma/test1/test1.cpp
|
||||||
|
c_runtime/fmaf/test1/test1.cpp
|
||||||
|
c_runtime/fmod/test1/test1.cpp
|
||||||
|
c_runtime/fmodf/test1/test1.cpp
|
||||||
|
c_runtime/fopen/test1/test1.cpp
|
||||||
|
c_runtime/fopen/test2/test2.cpp
|
||||||
|
c_runtime/fopen/test3/test3.cpp
|
||||||
|
c_runtime/fopen/test4/test4.cpp
|
||||||
|
c_runtime/fopen/test5/test5.cpp
|
||||||
|
c_runtime/fopen/test6/test6.cpp
|
||||||
|
c_runtime/fopen/test7/test7.cpp
|
||||||
|
c_runtime/fprintf/test1/test1.cpp
|
||||||
|
c_runtime/fprintf/test10/test10.cpp
|
||||||
|
c_runtime/fprintf/test11/test11.cpp
|
||||||
|
c_runtime/fprintf/test12/test12.cpp
|
||||||
|
c_runtime/fprintf/test13/test13.cpp
|
||||||
|
c_runtime/fprintf/test14/test14.cpp
|
||||||
|
c_runtime/fprintf/test15/test15.cpp
|
||||||
|
c_runtime/fprintf/test16/test16.cpp
|
||||||
|
c_runtime/fprintf/test17/test17.cpp
|
||||||
|
c_runtime/fprintf/test18/test18.cpp
|
||||||
|
c_runtime/fprintf/test19/test19.cpp
|
||||||
|
c_runtime/fprintf/test2/test2.cpp
|
||||||
|
c_runtime/fprintf/test3/test3.cpp
|
||||||
|
c_runtime/fprintf/test4/test4.cpp
|
||||||
|
c_runtime/fprintf/test5/test5.cpp
|
||||||
|
c_runtime/fprintf/test6/test6.cpp
|
||||||
|
c_runtime/fprintf/test7/test7.cpp
|
||||||
|
c_runtime/fprintf/test8/test8.cpp
|
||||||
|
c_runtime/fprintf/test9/test9.cpp
|
||||||
|
c_runtime/fputs/test1/test1.cpp
|
||||||
|
c_runtime/fputs/test2/test2.cpp
|
||||||
|
c_runtime/fread/test1/test1.cpp
|
||||||
|
c_runtime/fread/test2/test2.cpp
|
||||||
|
c_runtime/fread/test3/test3.cpp
|
||||||
|
c_runtime/free/test1/test1.cpp
|
||||||
|
c_runtime/fseek/test1/test1.cpp
|
||||||
|
c_runtime/ftell/test1/ftell.cpp
|
||||||
|
c_runtime/fwprintf/test1/test1.cpp
|
||||||
|
c_runtime/fwprintf/test10/test10.cpp
|
||||||
|
c_runtime/fwprintf/test11/test11.cpp
|
||||||
|
c_runtime/fwprintf/test12/test12.cpp
|
||||||
|
c_runtime/fwprintf/test13/test13.cpp
|
||||||
|
c_runtime/fwprintf/test14/test14.cpp
|
||||||
|
c_runtime/fwprintf/test15/test15.cpp
|
||||||
|
c_runtime/fwprintf/test16/test16.cpp
|
||||||
|
c_runtime/fwprintf/test17/test17.cpp
|
||||||
|
c_runtime/fwprintf/test18/test18.cpp
|
||||||
|
c_runtime/fwprintf/test19/test19.cpp
|
||||||
|
c_runtime/fwprintf/test2/test2.cpp
|
||||||
|
c_runtime/fwprintf/test3/test3.cpp
|
||||||
|
c_runtime/fwprintf/test4/test4.cpp
|
||||||
|
c_runtime/fwprintf/test5/test5.cpp
|
||||||
|
c_runtime/fwprintf/test6/test6.cpp
|
||||||
|
c_runtime/fwprintf/test7/test7.cpp
|
||||||
|
c_runtime/fwprintf/test8/test8.cpp
|
||||||
|
c_runtime/fwprintf/test9/test9.cpp
|
||||||
|
c_runtime/fwrite/test1/test1.cpp
|
||||||
|
c_runtime/getenv/test1/test1.cpp
|
||||||
|
c_runtime/getenv/test2/test2.cpp
|
||||||
|
c_runtime/getenv/test3/test3.cpp
|
||||||
|
c_runtime/ilogb/test1/test1.cpp
|
||||||
|
c_runtime/ilogbf/test1/test1.cpp
|
||||||
|
c_runtime/isalnum/test1/test1.cpp
|
||||||
|
c_runtime/isalpha/test1/test1.cpp
|
||||||
|
c_runtime/isdigit/test1/test1.cpp
|
||||||
|
c_runtime/islower/test1/test1.cpp
|
||||||
|
c_runtime/isprint/test1/isprint.cpp
|
||||||
|
c_runtime/isprint/test2/test2.cpp
|
||||||
|
c_runtime/isspace/test1/test1.cpp
|
||||||
|
c_runtime/isupper/test1/test1.cpp
|
||||||
|
c_runtime/iswdigit/test1/test1.cpp
|
||||||
|
#c_runtime/iswprint/test1/test1.cpp
|
||||||
|
c_runtime/iswspace/test1/test1.cpp
|
||||||
|
c_runtime/iswupper/test1/test1.cpp
|
||||||
|
c_runtime/isxdigit/test1/test1.cpp
|
||||||
|
c_runtime/llabs/test1/test1.cpp
|
||||||
|
c_runtime/log/test1/test1.cpp
|
||||||
|
c_runtime/log10/test1/test1.cpp
|
||||||
|
c_runtime/log10f/test1/test1.cpp
|
||||||
|
c_runtime/log2/test1/test1.cpp
|
||||||
|
c_runtime/log2f/test1/test1.cpp
|
||||||
|
c_runtime/logf/test1/test1.cpp
|
||||||
|
c_runtime/malloc/test1/test1.cpp
|
||||||
|
c_runtime/malloc/test2/test2.cpp
|
||||||
|
c_runtime/memchr/test1/test1.cpp
|
||||||
|
c_runtime/memcmp/test1/test1.cpp
|
||||||
|
c_runtime/memcpy/test1/test1.cpp
|
||||||
|
c_runtime/memmove/test1/test1.cpp
|
||||||
|
c_runtime/memset/test1/test1.cpp
|
||||||
|
c_runtime/modf/test1/test1.cpp
|
||||||
|
c_runtime/modff/test1/test1.cpp
|
||||||
|
c_runtime/pow/test1/test1.cpp
|
||||||
|
c_runtime/powf/test1/test1.cpp
|
||||||
|
c_runtime/printf/test1/test1.cpp
|
||||||
|
c_runtime/printf/test10/test10.cpp
|
||||||
|
c_runtime/printf/test11/test11.cpp
|
||||||
|
c_runtime/printf/test12/test12.cpp
|
||||||
|
c_runtime/printf/test13/test13.cpp
|
||||||
|
c_runtime/printf/test14/test14.cpp
|
||||||
|
c_runtime/printf/test15/test15.cpp
|
||||||
|
c_runtime/printf/test16/test16.cpp
|
||||||
|
c_runtime/printf/test17/test17.cpp
|
||||||
|
c_runtime/printf/test18/test18.cpp
|
||||||
|
c_runtime/printf/test19/test19.cpp
|
||||||
|
c_runtime/printf/test2/test2.cpp
|
||||||
|
c_runtime/printf/test3/test3.cpp
|
||||||
|
c_runtime/printf/test4/test4.cpp
|
||||||
|
c_runtime/printf/test5/test5.cpp
|
||||||
|
c_runtime/printf/test6/test6.cpp
|
||||||
|
c_runtime/printf/test7/test7.cpp
|
||||||
|
c_runtime/printf/test8/test8.cpp
|
||||||
|
c_runtime/printf/test9/test9.cpp
|
||||||
|
c_runtime/qsort/test1/test1.cpp
|
||||||
|
c_runtime/qsort/test2/test2.cpp
|
||||||
|
c_runtime/rand_srand/test1/test1.cpp
|
||||||
|
c_runtime/realloc/test1/test1.cpp
|
||||||
|
c_runtime/scalbn/test1/test1.cpp
|
||||||
|
c_runtime/scalbnf/test1/test1.cpp
|
||||||
|
c_runtime/sin/test1/test1.cpp
|
||||||
|
c_runtime/sinf/test1/test1.cpp
|
||||||
|
c_runtime/sinh/test1/test1.cpp
|
||||||
|
c_runtime/sinhf/test1/test1.cpp
|
||||||
|
c_runtime/sprintf_s/test1/test1.cpp
|
||||||
|
c_runtime/sprintf_s/test10/test10.cpp
|
||||||
|
c_runtime/sprintf_s/test11/test11.cpp
|
||||||
|
c_runtime/sprintf_s/test12/test12.cpp
|
||||||
|
c_runtime/sprintf_s/test13/test13.cpp
|
||||||
|
c_runtime/sprintf_s/test14/test14.cpp
|
||||||
|
c_runtime/sprintf_s/test15/test15.cpp
|
||||||
|
c_runtime/sprintf_s/test16/test16.cpp
|
||||||
|
c_runtime/sprintf_s/test17/test17.cpp
|
||||||
|
c_runtime/sprintf_s/test18/test18.cpp
|
||||||
|
c_runtime/sprintf_s/test19/test19.cpp
|
||||||
|
c_runtime/sprintf_s/test2/test2.cpp
|
||||||
|
c_runtime/sprintf_s/test3/test3.cpp
|
||||||
|
c_runtime/sprintf_s/test4/test4.cpp
|
||||||
|
c_runtime/sprintf_s/test6/test6.cpp
|
||||||
|
c_runtime/sprintf_s/test7/test7.cpp
|
||||||
|
c_runtime/sprintf_s/test8/test8.cpp
|
||||||
|
c_runtime/sprintf_s/test9/test9.cpp
|
||||||
|
c_runtime/sqrt/test1/test1.cpp
|
||||||
|
c_runtime/sqrtf/test1/test1.cpp
|
||||||
|
c_runtime/sscanf_s/test1/test1.cpp
|
||||||
|
c_runtime/sscanf_s/test10/test10.cpp
|
||||||
|
c_runtime/sscanf_s/test11/test11.cpp
|
||||||
|
c_runtime/sscanf_s/test12/test12.cpp
|
||||||
|
c_runtime/sscanf_s/test13/test13.cpp
|
||||||
|
c_runtime/sscanf_s/test14/test14.cpp
|
||||||
|
c_runtime/sscanf_s/test15/test15.cpp
|
||||||
|
c_runtime/sscanf_s/test16/test16.cpp
|
||||||
|
c_runtime/sscanf_s/test17/test17.cpp
|
||||||
|
c_runtime/sscanf_s/test2/test2.cpp
|
||||||
|
c_runtime/sscanf_s/test3/test3.cpp
|
||||||
|
c_runtime/sscanf_s/test4/test4.cpp
|
||||||
|
c_runtime/sscanf_s/test5/test5.cpp
|
||||||
|
c_runtime/sscanf_s/test6/test6.cpp
|
||||||
|
c_runtime/sscanf_s/test7/test7.cpp
|
||||||
|
c_runtime/sscanf_s/test8/test8.cpp
|
||||||
|
c_runtime/sscanf_s/test9/test9.cpp
|
||||||
|
c_runtime/strcat/test1/test1.cpp
|
||||||
|
c_runtime/strchr/test1/test1.cpp
|
||||||
|
c_runtime/strcmp/test1/test1.cpp
|
||||||
|
c_runtime/strcpy/test1/test1.cpp
|
||||||
|
c_runtime/strcspn/test1/test1.cpp
|
||||||
|
c_runtime/strlen/test1/test1.cpp
|
||||||
|
c_runtime/strncat/test1/test1.cpp
|
||||||
|
c_runtime/strncmp/test1/test1.cpp
|
||||||
|
c_runtime/strncpy/test1/test1.cpp
|
||||||
|
c_runtime/strpbrk/test1/test1.cpp
|
||||||
|
c_runtime/strrchr/test1/test1.cpp
|
||||||
|
c_runtime/strspn/test1/test1.cpp
|
||||||
|
c_runtime/strstr/test1/test1.cpp
|
||||||
|
c_runtime/strtod/test1/test1.cpp
|
||||||
|
c_runtime/strtod/test2/test2.cpp
|
||||||
|
c_runtime/strtok/test1/test1.cpp
|
||||||
|
c_runtime/strtoul/test1/test1.cpp
|
||||||
|
c_runtime/swprintf/test1/test1.cpp
|
||||||
|
c_runtime/swprintf/test10/test10.cpp
|
||||||
|
c_runtime/swprintf/test11/test11.cpp
|
||||||
|
c_runtime/swprintf/test12/test12.cpp
|
||||||
|
c_runtime/swprintf/test13/test13.cpp
|
||||||
|
c_runtime/swprintf/test14/test14.cpp
|
||||||
|
c_runtime/swprintf/test15/test15.cpp
|
||||||
|
c_runtime/swprintf/test16/test16.cpp
|
||||||
|
c_runtime/swprintf/test17/test17.cpp
|
||||||
|
c_runtime/swprintf/test18/test18.cpp
|
||||||
|
c_runtime/swprintf/test19/test19.cpp
|
||||||
|
c_runtime/swprintf/test2/test2.cpp
|
||||||
|
c_runtime/swprintf/test3/test3.cpp
|
||||||
|
c_runtime/swprintf/test4/test4.cpp
|
||||||
|
c_runtime/swprintf/test6/test6.cpp
|
||||||
|
c_runtime/swprintf/test7/test7.cpp
|
||||||
|
c_runtime/swprintf/test8/test8.cpp
|
||||||
|
c_runtime/swprintf/test9/test9.cpp
|
||||||
|
c_runtime/swscanf/test1/test1.cpp
|
||||||
|
c_runtime/swscanf/test10/test10.cpp
|
||||||
|
c_runtime/swscanf/test11/test11.cpp
|
||||||
|
c_runtime/swscanf/test12/test12.cpp
|
||||||
|
c_runtime/swscanf/test13/test13.cpp
|
||||||
|
c_runtime/swscanf/test14/test14.cpp
|
||||||
|
c_runtime/swscanf/test15/test15.cpp
|
||||||
|
c_runtime/swscanf/test16/test16.cpp
|
||||||
|
c_runtime/swscanf/test17/test17.cpp
|
||||||
|
c_runtime/swscanf/test2/test2.cpp
|
||||||
|
c_runtime/swscanf/test3/test3.cpp
|
||||||
|
c_runtime/swscanf/test4/test4.cpp
|
||||||
|
c_runtime/swscanf/test5/test5.cpp
|
||||||
|
c_runtime/swscanf/test6/test6.cpp
|
||||||
|
c_runtime/swscanf/test7/test7.cpp
|
||||||
|
c_runtime/swscanf/test8/test8.cpp
|
||||||
|
c_runtime/swscanf/test9/test9.cpp
|
||||||
|
c_runtime/tan/test1/test1.cpp
|
||||||
|
c_runtime/tanf/test1/test1.cpp
|
||||||
|
c_runtime/tanh/test1/test1.cpp
|
||||||
|
c_runtime/tanhf/test1/test1.cpp
|
||||||
|
c_runtime/time/test1/test1.cpp
|
||||||
|
c_runtime/tolower/test1/test1.cpp
|
||||||
|
c_runtime/toupper/test1/test1.cpp
|
||||||
|
c_runtime/towlower/test1/test1.cpp
|
||||||
|
c_runtime/towupper/test1/test1.cpp
|
||||||
|
c_runtime/vfprintf/test1/test1.cpp
|
||||||
|
c_runtime/vfprintf/test10/test10.cpp
|
||||||
|
c_runtime/vfprintf/test11/test11.cpp
|
||||||
|
c_runtime/vfprintf/test12/test12.cpp
|
||||||
|
c_runtime/vfprintf/test13/test13.cpp
|
||||||
|
c_runtime/vfprintf/test14/test14.cpp
|
||||||
|
c_runtime/vfprintf/test15/test15.cpp
|
||||||
|
c_runtime/vfprintf/test16/test16.cpp
|
||||||
|
c_runtime/vfprintf/test17/test17.cpp
|
||||||
|
c_runtime/vfprintf/test18/test18.cpp
|
||||||
|
c_runtime/vfprintf/test19/test19.cpp
|
||||||
|
c_runtime/vfprintf/test2/test2.cpp
|
||||||
|
c_runtime/vfprintf/test3/test3.cpp
|
||||||
|
c_runtime/vfprintf/test4/test4.cpp
|
||||||
|
c_runtime/vfprintf/test5/test5.cpp
|
||||||
|
c_runtime/vfprintf/test6/test6.cpp
|
||||||
|
c_runtime/vfprintf/test7/test7.cpp
|
||||||
|
c_runtime/vfprintf/test8/test8.cpp
|
||||||
|
c_runtime/vfprintf/test9/test9.cpp
|
||||||
|
#c_runtime/vprintf/test1/test1.cpp
|
||||||
|
c_runtime/vprintf/test10/test10.cpp
|
||||||
|
c_runtime/vprintf/test11/test11.cpp
|
||||||
|
c_runtime/vprintf/test12/test12.cpp
|
||||||
|
c_runtime/vprintf/test13/test13.cpp
|
||||||
|
c_runtime/vprintf/test14/test14.cpp
|
||||||
|
c_runtime/vprintf/test15/test15.cpp
|
||||||
|
c_runtime/vprintf/test16/test16.cpp
|
||||||
|
c_runtime/vprintf/test17/test17.cpp
|
||||||
|
c_runtime/vprintf/test18/test18.cpp
|
||||||
|
c_runtime/vprintf/test19/test19.cpp
|
||||||
|
c_runtime/vprintf/test2/test2.cpp
|
||||||
|
c_runtime/vprintf/test3/test3.cpp
|
||||||
|
c_runtime/vprintf/test4/test4.cpp
|
||||||
|
c_runtime/vprintf/test5/test5.cpp
|
||||||
|
c_runtime/vprintf/test6/test6.cpp
|
||||||
|
c_runtime/vprintf/test7/test7.cpp
|
||||||
|
c_runtime/vprintf/test8/test8.cpp
|
||||||
|
c_runtime/vprintf/test9/test9.cpp
|
||||||
|
c_runtime/vsprintf/test1/test1.cpp
|
||||||
|
c_runtime/vsprintf/test10/test10.cpp
|
||||||
|
c_runtime/vsprintf/test11/test11.cpp
|
||||||
|
c_runtime/vsprintf/test12/test12.cpp
|
||||||
|
c_runtime/vsprintf/test13/test13.cpp
|
||||||
|
c_runtime/vsprintf/test14/test14.cpp
|
||||||
|
c_runtime/vsprintf/test15/test15.cpp
|
||||||
|
c_runtime/vsprintf/test16/test16.cpp
|
||||||
|
c_runtime/vsprintf/test17/test17.cpp
|
||||||
|
c_runtime/vsprintf/test18/test18.cpp
|
||||||
|
c_runtime/vsprintf/test19/test19.cpp
|
||||||
|
c_runtime/vsprintf/test2/test2.cpp
|
||||||
|
c_runtime/vsprintf/test3/test3.cpp
|
||||||
|
c_runtime/vsprintf/test4/test4.cpp
|
||||||
|
c_runtime/vsprintf/test6/test6.cpp
|
||||||
|
c_runtime/vsprintf/test7/test7.cpp
|
||||||
|
c_runtime/vsprintf/test8/test8.cpp
|
||||||
|
c_runtime/vsprintf/test9/test9.cpp
|
||||||
|
c_runtime/vswprintf/test1/test1.cpp
|
||||||
|
c_runtime/vswprintf/test10/test10.cpp
|
||||||
|
c_runtime/vswprintf/test11/test11.cpp
|
||||||
|
c_runtime/vswprintf/test12/test12.cpp
|
||||||
|
c_runtime/vswprintf/test13/test13.cpp
|
||||||
|
c_runtime/vswprintf/test14/test14.cpp
|
||||||
|
c_runtime/vswprintf/test15/test15.cpp
|
||||||
|
c_runtime/vswprintf/test16/test16.cpp
|
||||||
|
c_runtime/vswprintf/test17/test17.cpp
|
||||||
|
c_runtime/vswprintf/test18/test18.cpp
|
||||||
|
c_runtime/vswprintf/test19/test19.cpp
|
||||||
|
c_runtime/vswprintf/test2/test2.cpp
|
||||||
|
c_runtime/vswprintf/test3/test3.cpp
|
||||||
|
c_runtime/vswprintf/test4/test4.cpp
|
||||||
|
c_runtime/vswprintf/test6/test6.cpp
|
||||||
|
c_runtime/vswprintf/test7/test7.cpp
|
||||||
|
c_runtime/vswprintf/test8/test8.cpp
|
||||||
|
c_runtime/vswprintf/test9/test9.cpp
|
||||||
|
c_runtime/wcscat/test1/test1.cpp
|
||||||
|
c_runtime/wcschr/test1/test1.cpp
|
||||||
|
c_runtime/wcscmp/test1/test1.cpp
|
||||||
|
c_runtime/wcscpy/test1/test1.cpp
|
||||||
|
c_runtime/wcslen/test1/test1.cpp
|
||||||
|
c_runtime/wcsncmp/test1/test1.cpp
|
||||||
|
c_runtime/wcsncpy/test1/test1.cpp
|
||||||
|
c_runtime/wcspbrk/test1/test1.cpp
|
||||||
|
c_runtime/wcsrchr/test1/test1.cpp
|
||||||
|
c_runtime/wcsstr/test1/test1.cpp
|
||||||
|
c_runtime/wcstod/test1/test1.cpp
|
||||||
|
c_runtime/wcstod/test2/test2.cpp
|
||||||
|
c_runtime/wcstok/test1/test1.cpp
|
||||||
|
c_runtime/wcstoul/test1/test1.cpp
|
||||||
|
c_runtime/wcstoul/test2/test2.cpp
|
||||||
|
c_runtime/wcstoul/test3/test3.cpp
|
||||||
|
c_runtime/wcstoul/test4/test4.cpp
|
||||||
|
c_runtime/wcstoul/test5/test5.cpp
|
||||||
|
c_runtime/wcstoul/test6/test6.cpp
|
||||||
|
c_runtime/wprintf/test1/test1.cpp
|
||||||
|
c_runtime/wprintf/test2/test2.cpp
|
||||||
|
c_runtime/_alloca/test1/test1.cpp
|
||||||
|
c_runtime/_fdopen/test1/test1.cpp
|
||||||
|
c_runtime/_finite/test1/test1.cpp
|
||||||
|
c_runtime/_finitef/test1/test1.cpp
|
||||||
|
#c_runtime/_gcvt/test1/_gcvt.cpp
|
||||||
|
#c_runtime/_gcvt/test2/test2.cpp
|
||||||
|
c_runtime/_isnan/test1/test1.cpp
|
||||||
|
c_runtime/_isnanf/test1/test1.cpp
|
||||||
|
c_runtime/_itow/test1/test1.cpp
|
||||||
|
c_runtime/_putenv/test1/test1.cpp
|
||||||
|
c_runtime/_putenv/test2/test2.cpp
|
||||||
|
c_runtime/_putenv/test3/test3.cpp
|
||||||
|
c_runtime/_putenv/test4/test4.cpp
|
||||||
|
c_runtime/_rotl/test1/test1.cpp
|
||||||
|
c_runtime/_rotr/test1/test1.cpp
|
||||||
|
c_runtime/_snprintf_s/test1/test1.cpp
|
||||||
|
c_runtime/_snprintf_s/test10/test10.cpp
|
||||||
|
c_runtime/_snprintf_s/test11/test11.cpp
|
||||||
|
c_runtime/_snprintf_s/test12/test12.cpp
|
||||||
|
c_runtime/_snprintf_s/test13/test13.cpp
|
||||||
|
c_runtime/_snprintf_s/test14/test14.cpp
|
||||||
|
c_runtime/_snprintf_s/test15/test15.cpp
|
||||||
|
c_runtime/_snprintf_s/test16/test16.cpp
|
||||||
|
c_runtime/_snprintf_s/test17/test17.cpp
|
||||||
|
c_runtime/_snprintf_s/test18/test18.cpp
|
||||||
|
c_runtime/_snprintf_s/test19/test19.cpp
|
||||||
|
c_runtime/_snprintf_s/test2/test2.cpp
|
||||||
|
c_runtime/_snprintf_s/test3/test3.cpp
|
||||||
|
c_runtime/_snprintf_s/test4/test4.cpp
|
||||||
|
c_runtime/_snprintf_s/test6/test6.cpp
|
||||||
|
c_runtime/_snprintf_s/test7/test7.cpp
|
||||||
|
c_runtime/_snprintf_s/test8/test8.cpp
|
||||||
|
c_runtime/_snprintf_s/test9/test9.cpp
|
||||||
|
c_runtime/_snwprintf_s/test1/test1.cpp
|
||||||
|
c_runtime/_snwprintf_s/test10/test10.cpp
|
||||||
|
c_runtime/_snwprintf_s/test11/test11.cpp
|
||||||
|
c_runtime/_snwprintf_s/test12/test12.cpp
|
||||||
|
c_runtime/_snwprintf_s/test13/test13.cpp
|
||||||
|
c_runtime/_snwprintf_s/test14/test14.cpp
|
||||||
|
c_runtime/_snwprintf_s/test15/test15.cpp
|
||||||
|
c_runtime/_snwprintf_s/test16/test16.cpp
|
||||||
|
c_runtime/_snwprintf_s/test17/test17.cpp
|
||||||
|
c_runtime/_snwprintf_s/test18/test18.cpp
|
||||||
|
c_runtime/_snwprintf_s/test19/test19.cpp
|
||||||
|
c_runtime/_snwprintf_s/test2/test2.cpp
|
||||||
|
c_runtime/_snwprintf_s/test3/test3.cpp
|
||||||
|
c_runtime/_snwprintf_s/test4/test4.cpp
|
||||||
|
c_runtime/_snwprintf_s/test6/test6.cpp
|
||||||
|
c_runtime/_snwprintf_s/test7/test7.cpp
|
||||||
|
c_runtime/_snwprintf_s/test8/test8.cpp
|
||||||
|
c_runtime/_snwprintf_s/test9/test9.cpp
|
||||||
|
c_runtime/_stricmp/test1/test1.cpp
|
||||||
|
c_runtime/_strnicmp/test1/test1.cpp
|
||||||
|
c_runtime/_vsnprintf_s/test1/test1.cpp
|
||||||
|
c_runtime/_vsnprintf_s/test10/test10.cpp
|
||||||
|
c_runtime/_vsnprintf_s/test11/test11.cpp
|
||||||
|
c_runtime/_vsnprintf_s/test12/test12.cpp
|
||||||
|
c_runtime/_vsnprintf_s/test13/test13.cpp
|
||||||
|
c_runtime/_vsnprintf_s/test14/test14.cpp
|
||||||
|
c_runtime/_vsnprintf_s/test15/test15.cpp
|
||||||
|
c_runtime/_vsnprintf_s/test16/test16.cpp
|
||||||
|
c_runtime/_vsnprintf_s/test17/test17.cpp
|
||||||
|
c_runtime/_vsnprintf_s/test18/test18.cpp
|
||||||
|
c_runtime/_vsnprintf_s/test19/test19.cpp
|
||||||
|
c_runtime/_vsnprintf_s/test2/test2.cpp
|
||||||
|
c_runtime/_vsnprintf_s/test3/test3.cpp
|
||||||
|
c_runtime/_vsnprintf_s/test4/test4.cpp
|
||||||
|
c_runtime/_vsnprintf_s/test6/test6.cpp
|
||||||
|
c_runtime/_vsnprintf_s/test7/test7.cpp
|
||||||
|
c_runtime/_vsnprintf_s/test8/test8.cpp
|
||||||
|
c_runtime/_vsnprintf_s/test9/test9.cpp
|
||||||
|
c_runtime/_vsnwprintf_s/test1/test1.cpp
|
||||||
|
c_runtime/_vsnwprintf_s/test10/test10.cpp
|
||||||
|
c_runtime/_vsnwprintf_s/test11/test11.cpp
|
||||||
|
c_runtime/_vsnwprintf_s/test12/test12.cpp
|
||||||
|
c_runtime/_vsnwprintf_s/test13/test13.cpp
|
||||||
|
c_runtime/_vsnwprintf_s/test14/test14.cpp
|
||||||
|
c_runtime/_vsnwprintf_s/test15/test15.cpp
|
||||||
|
c_runtime/_vsnwprintf_s/test16/test16.cpp
|
||||||
|
c_runtime/_vsnwprintf_s/test17/test17.cpp
|
||||||
|
c_runtime/_vsnwprintf_s/test18/test18.cpp
|
||||||
|
c_runtime/_vsnwprintf_s/test19/test19.cpp
|
||||||
|
c_runtime/_vsnwprintf_s/test2/test2.cpp
|
||||||
|
c_runtime/_vsnwprintf_s/test3/test3.cpp
|
||||||
|
c_runtime/_vsnwprintf_s/test4/test4.cpp
|
||||||
|
c_runtime/_vsnwprintf_s/test6/test6.cpp
|
||||||
|
c_runtime/_vsnwprintf_s/test7/test7.cpp
|
||||||
|
c_runtime/_vsnwprintf_s/test8/test8.cpp
|
||||||
|
c_runtime/_vsnwprintf_s/test9/test9.cpp
|
||||||
|
c_runtime/_wcsicmp/test1/test1.cpp
|
||||||
|
c_runtime/_wcslwr/test1/test1.cpp
|
||||||
|
c_runtime/_wcsnicmp/test1/test1.cpp
|
||||||
|
c_runtime/_wfopen/test1/test1.cpp
|
||||||
|
c_runtime/_wfopen/test2/test2.cpp
|
||||||
|
c_runtime/_wfopen/test3/test3.cpp
|
||||||
|
c_runtime/_wfopen/test4/test4.cpp
|
||||||
|
c_runtime/_wfopen/test5/test5.cpp
|
||||||
|
c_runtime/_wfopen/test6/test6.cpp
|
||||||
|
c_runtime/_wfopen/test7/test7.cpp
|
||||||
|
c_runtime/_wtoi/test1/test1.cpp
|
||||||
|
c_runtime/__iscsym/test1/__iscsym.cpp
|
||||||
|
#debug_api/DebugBreak/test1/test1.cpp
|
||||||
|
debug_api/OutputDebugStringA/test1/helper.cpp
|
||||||
|
debug_api/OutputDebugStringA/test1/test1.cpp
|
||||||
|
debug_api/OutputDebugStringW/test1/test1.cpp
|
||||||
|
#debug_api/WriteProcessMemory/test1/helper.cpp
|
||||||
|
#debug_api/WriteProcessMemory/test1/test1.cpp
|
||||||
|
#debug_api/WriteProcessMemory/test3/helper.cpp
|
||||||
|
#debug_api/WriteProcessMemory/test3/test3.cpp
|
||||||
|
#debug_api/WriteProcessMemory/test4/helper.cpp
|
||||||
|
#debug_api/WriteProcessMemory/test4/test4.cpp
|
||||||
|
#exception_handling/pal_except/test1/test1.cpp
|
||||||
|
#exception_handling/pal_except/test2/test2.cpp
|
||||||
|
#exception_handling/pal_except/test3/test3.cpp
|
||||||
|
#exception_handling/pal_except/test4/test4.cpp
|
||||||
|
#exception_handling/pal_except/test5/test5.cpp
|
||||||
|
#exception_handling/pal_except/test6/test6.cpp
|
||||||
|
#exception_handling/pal_except/test7/test7.cpp
|
||||||
|
#exception_handling/PAL_EXCEPT_FILTER/test1/PAL_EXCEPT_FILTER.cpp
|
||||||
|
#exception_handling/PAL_EXCEPT_FILTER/test2/pal_except_filter.cpp
|
||||||
|
#exception_handling/PAL_EXCEPT_FILTER/test3/pal_except_filter.cpp
|
||||||
|
#exception_handling/PAL_EXCEPT_FILTER_EX/test1/PAL_EXCEPT_FILTER_EX.cpp
|
||||||
|
#exception_handling/PAL_EXCEPT_FILTER_EX/test2/pal_except_filter_ex.cpp
|
||||||
|
#exception_handling/PAL_EXCEPT_FILTER_EX/test3/pal_except_filter.cpp
|
||||||
|
#exception_handling/pal_finally/test1/pal_finally.cpp
|
||||||
|
#exception_handling/PAL_TRY_EXCEPT/test1/PAL_TRY_EXCEPT.cpp
|
||||||
|
#exception_handling/PAL_TRY_EXCEPT/test2/PAL_TRY_EXCEPT.cpp
|
||||||
|
#exception_handling/PAL_TRY_EXCEPT_EX/test1/PAL_TRY_EXCEPT_EX.cpp
|
||||||
|
#exception_handling/PAL_TRY_EXCEPT_EX/test2/PAL_TRY_EXCEPT_EX.cpp
|
||||||
|
#exception_handling/PAL_TRY_EXCEPT_EX/test3/PAL_TRY_EXCEPT_EX.cpp
|
||||||
|
#exception_handling/PAL_TRY_LEAVE_FINALLY/test1/PAL_TRY_LEAVE_FINALLY.cpp
|
||||||
|
exception_handling/RaiseException/test1/test1.cpp
|
||||||
|
exception_handling/RaiseException/test2/test2.cpp
|
||||||
|
exception_handling/RaiseException/test3/test.cpp
|
||||||
|
filemapping_memmgt/CreateFileMappingW/CreateFileMapping_neg1/CreateFileMapping_neg.cpp
|
||||||
|
filemapping_memmgt/CreateFileMappingW/test1/CreateFileMappingW.cpp
|
||||||
|
#filemapping_memmgt/CreateFileMappingW/test2/CreateFileMappingW.cpp
|
||||||
|
filemapping_memmgt/CreateFileMappingW/test3/CreateFileMappingW.cpp
|
||||||
|
filemapping_memmgt/CreateFileMappingW/test4/CreateFileMappingW.cpp
|
||||||
|
filemapping_memmgt/CreateFileMappingW/test5/CreateFileMappingW.cpp
|
||||||
|
filemapping_memmgt/CreateFileMappingW/test6/CreateFileMappingW.cpp
|
||||||
|
filemapping_memmgt/CreateFileMappingW/test7/createfilemapping.cpp
|
||||||
|
filemapping_memmgt/CreateFileMappingW/test8/createfilemapping.cpp
|
||||||
|
filemapping_memmgt/CreateFileMappingW/test9/createfilemapping.cpp
|
||||||
|
# filemapping_memmgt/FreeLibrary/test1/dlltest.cpp
|
||||||
|
filemapping_memmgt/FreeLibrary/test1/FreeLibrary.cpp
|
||||||
|
filemapping_memmgt/FreeLibrary/test2/test2.cpp
|
||||||
|
# filemapping_memmgt/FreeLibraryAndExitThread/test1/dlltest.cpp
|
||||||
|
filemapping_memmgt/FreeLibraryAndExitThread/test1/test1.cpp
|
||||||
|
filemapping_memmgt/GetModuleFileNameA/test1/GetModuleFileNameA.cpp
|
||||||
|
filemapping_memmgt/GetModuleFileNameA/test2/GetModuleFileNameA.cpp
|
||||||
|
filemapping_memmgt/GetModuleFileNameW/test1/GetModuleFileNameW.cpp
|
||||||
|
filemapping_memmgt/GetModuleFileNameW/test2/GetModuleFileNameW.cpp
|
||||||
|
filemapping_memmgt/GetProcAddress/test1/test1.cpp
|
||||||
|
# filemapping_memmgt/GetProcAddress/test1/testlib.cpp
|
||||||
|
filemapping_memmgt/GetProcAddress/test2/test2.cpp
|
||||||
|
# filemapping_memmgt/GetProcAddress/test2/testlib.cpp
|
||||||
|
filemapping_memmgt/LocalAlloc/test1/LocalAlloc.cpp
|
||||||
|
filemapping_memmgt/LocalFree/test1/LocalFree.cpp
|
||||||
|
filemapping_memmgt/LocalFree/test2/LocalFree.cpp
|
||||||
|
filemapping_memmgt/MapViewOfFile/test1/MapViewOfFile.cpp
|
||||||
|
filemapping_memmgt/MapViewOfFile/test2/MapViewOfFile.cpp
|
||||||
|
filemapping_memmgt/MapViewOfFile/test3/MapViewOfFile.cpp
|
||||||
|
filemapping_memmgt/MapViewOfFile/test4/mapviewoffile.cpp
|
||||||
|
filemapping_memmgt/MapViewOfFile/test5/mapviewoffile.cpp
|
||||||
|
filemapping_memmgt/MapViewOfFile/test6/mapviewoffile.cpp
|
||||||
|
filemapping_memmgt/OpenFileMappingW/test1/OpenFileMappingW.cpp
|
||||||
|
filemapping_memmgt/OpenFileMappingW/test2/OpenFileMappingW.cpp
|
||||||
|
filemapping_memmgt/OpenFileMappingW/test3/OpenFileMappingW.cpp
|
||||||
|
filemapping_memmgt/ProbeMemory/ProbeMemory_neg1/ProbeMemory_neg.cpp
|
||||||
|
filemapping_memmgt/ProbeMemory/test1/ProbeMemory.cpp
|
||||||
|
filemapping_memmgt/UnmapViewOfFile/test1/UnmapViewOfFile.cpp
|
||||||
|
filemapping_memmgt/UnmapViewOfFile/test2/unmapviewoffile.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test1/VirtualAlloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test10/VirtualAlloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test11/VirtualAlloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test12/VirtualAlloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test13/VirtualAlloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test14/VirtualAlloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test15/VirtualAlloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test16/VirtualAlloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test17/VirtualAlloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test18/VirtualAlloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test19/VirtualAlloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test2/VirtualAlloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test20/virtualalloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test21/virtualalloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test22/VirtualAlloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test3/VirtualAlloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test4/VirtualAlloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test5/VirtualAlloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test6/VirtualAlloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test7/VirtualAlloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test8/VirtualAlloc.cpp
|
||||||
|
filemapping_memmgt/VirtualAlloc/test9/VirtualAlloc.cpp
|
||||||
|
filemapping_memmgt/VirtualFree/test1/VirtualFree.cpp
|
||||||
|
filemapping_memmgt/VirtualFree/test2/VirtualFree.cpp
|
||||||
|
filemapping_memmgt/VirtualFree/test3/VirtualFree.cpp
|
||||||
|
filemapping_memmgt/VirtualProtect/test1/VirtualProtect.cpp
|
||||||
|
filemapping_memmgt/VirtualProtect/test2/VirtualProtect.cpp
|
||||||
|
filemapping_memmgt/VirtualProtect/test3/VirtualProtect.cpp
|
||||||
|
filemapping_memmgt/VirtualProtect/test4/VirtualProtect.cpp
|
||||||
|
filemapping_memmgt/VirtualProtect/test6/VirtualProtect.cpp
|
||||||
|
filemapping_memmgt/VirtualProtect/test7/VirtualProtect.cpp
|
||||||
|
filemapping_memmgt/VirtualQuery/test1/VirtualQuery.cpp
|
||||||
|
file_io/CopyFileA/test1/CopyFileA.cpp
|
||||||
|
file_io/CopyFileA/test2/test2.cpp
|
||||||
|
file_io/CopyFileA/test3/test3.cpp
|
||||||
|
file_io/CopyFileA/test4/test4.cpp
|
||||||
|
file_io/CopyFileW/test1/CopyFileW.cpp
|
||||||
|
file_io/CopyFileW/test2/test2.cpp
|
||||||
|
file_io/CopyFileW/test3/test3.cpp
|
||||||
|
file_io/CreateFileA/test1/CreateFileA.cpp
|
||||||
|
file_io/CreateFileW/test1/CreateFileW.cpp
|
||||||
|
file_io/DeleteFileA/test1/DeleteFileA.cpp
|
||||||
|
file_io/DeleteFileW/test1/DeleteFileW.cpp
|
||||||
|
file_io/errorpathnotfound/test1/test1.cpp
|
||||||
|
file_io/errorpathnotfound/test2/test2.cpp
|
||||||
|
file_io/FILECanonicalizePath/FILECanonicalizePath.cpp
|
||||||
|
file_io/FindClose/test1/FindClose.cpp
|
||||||
|
file_io/FindFirstFileA/test1/FindFirstFileA.cpp
|
||||||
|
file_io/FindFirstFileW/test1/FindFirstFileW.cpp
|
||||||
|
file_io/FindNextFileA/test1/FindNextFileA.cpp
|
||||||
|
file_io/FindNextFileA/test2/findnextfilea.cpp
|
||||||
|
file_io/FindNextFileW/test1/FindNextFileW.cpp
|
||||||
|
file_io/FindNextFileW/test2/findnextfilew.cpp
|
||||||
|
file_io/FlushFileBuffers/test1/FlushFileBuffers.cpp
|
||||||
|
file_io/GetConsoleOutputCP/test1/GetConsoleOutputCP.cpp
|
||||||
|
file_io/GetCurrentDirectoryA/test1/GetCurrentDirectoryA.cpp
|
||||||
|
file_io/GetCurrentDirectoryW/test1/GetCurrentDirectoryW.cpp
|
||||||
|
file_io/GetFileAttributesA/test1/GetFileAttributesA.cpp
|
||||||
|
file_io/GetFileAttributesExW/test1/test1.cpp
|
||||||
|
file_io/GetFileAttributesExW/test2/test2.cpp
|
||||||
|
file_io/GetFileAttributesW/test1/GetFileAttributesW.cpp
|
||||||
|
file_io/GetFileSize/test1/GetFileSize.cpp
|
||||||
|
file_io/GetFileSizeEx/test1/GetFileSizeEx.cpp
|
||||||
|
file_io/GetFullPathNameA/test1/GetFullPathNameA.cpp
|
||||||
|
file_io/GetFullPathNameA/test2/test2.cpp
|
||||||
|
file_io/GetFullPathNameA/test3/test3.cpp
|
||||||
|
file_io/GetFullPathNameA/test4/test4.cpp
|
||||||
|
file_io/GetFullPathNameW/test1/GetFullPathNameW.cpp
|
||||||
|
file_io/GetFullPathNameW/test2/test2.cpp
|
||||||
|
file_io/GetFullPathNameW/test3/test3.cpp
|
||||||
|
file_io/GetFullPathNameW/test4/test4.cpp
|
||||||
|
file_io/GetStdHandle/test1/GetStdHandle.cpp
|
||||||
|
file_io/GetStdHandle/test2/GetStdHandle.cpp
|
||||||
|
file_io/GetSystemTime/test1/test.cpp
|
||||||
|
file_io/GetSystemTimeAsFileTime/test1/GetSystemTimeAsFileTime.cpp
|
||||||
|
file_io/GetTempFileNameA/test1/GetTempFileNameA.cpp
|
||||||
|
file_io/GetTempFileNameA/test2/GetTempFileNameA.cpp
|
||||||
|
file_io/GetTempFileNameA/test3/gettempfilenamea.cpp
|
||||||
|
file_io/GetTempFileNameW/test1/GetTempFileNameW.cpp
|
||||||
|
file_io/GetTempFileNameW/test2/GetTempFileNameW.cpp
|
||||||
|
file_io/GetTempFileNameW/test3/gettempfilenamew.cpp
|
||||||
|
file_io/gettemppatha/test1/gettemppatha.cpp
|
||||||
|
file_io/GetTempPathW/test1/GetTempPathW.cpp
|
||||||
|
file_io/MoveFileExA/test1/MoveFileExA.cpp
|
||||||
|
file_io/MoveFileExW/test1/MoveFileExW.cpp
|
||||||
|
file_io/ReadFile/test1/ReadFile.cpp
|
||||||
|
file_io/ReadFile/test2/ReadFile.cpp
|
||||||
|
file_io/ReadFile/test3/ReadFile.cpp
|
||||||
|
file_io/ReadFile/test4/readfile.cpp
|
||||||
|
file_io/SearchPathW/test1/SearchPathW.cpp
|
||||||
|
file_io/SetEndOfFile/test1/SetEndOfFile.cpp
|
||||||
|
file_io/SetEndOfFile/test2/SetEndOfFile.cpp
|
||||||
|
file_io/SetEndOfFile/test3/SetEndOfFile.cpp
|
||||||
|
file_io/SetEndOfFile/test4/setendoffile.cpp
|
||||||
|
file_io/SetEndOfFile/test5/test5.cpp
|
||||||
|
file_io/SetFilePointer/test1/SetFilePointer.cpp
|
||||||
|
file_io/SetFilePointer/test2/SetFilePointer.cpp
|
||||||
|
file_io/SetFilePointer/test3/SetFilePointer.cpp
|
||||||
|
file_io/SetFilePointer/test4/SetFilePointer.cpp
|
||||||
|
file_io/SetFilePointer/test5/SetFilePointer.cpp
|
||||||
|
file_io/SetFilePointer/test6/SetFilePointer.cpp
|
||||||
|
file_io/SetFilePointer/test7/SetFilePointer.cpp
|
||||||
|
file_io/WriteFile/test1/WriteFile.cpp
|
||||||
|
file_io/WriteFile/test2/WriteFile.cpp
|
||||||
|
file_io/WriteFile/test3/WriteFile.cpp
|
||||||
|
file_io/WriteFile/test4/writefile.cpp
|
||||||
|
file_io/WriteFile/test5/writefile.cpp
|
||||||
|
loader/LoadLibraryA/test1/LoadLibraryA.cpp
|
||||||
|
loader/LoadLibraryA/test2/LoadLibraryA.cpp
|
||||||
|
loader/LoadLibraryA/test3/loadlibrarya.cpp
|
||||||
|
loader/LoadLibraryA/test5/loadlibrarya.cpp
|
||||||
|
#loader/LoadLibraryA/test6/dlltest.cpp
|
||||||
|
#loader/LoadLibraryA/test6/loadlibrarya.cpp
|
||||||
|
loader/LoadLibraryA/test7/LoadLibraryA.cpp
|
||||||
|
#loader/LoadLibraryA/test8/dlltest.cpp
|
||||||
|
#loader/LoadLibraryA/test8/loadlibrarya.cpp
|
||||||
|
loader/LoadLibraryW/test1/LoadLibraryW.cpp
|
||||||
|
loader/LoadLibraryW/test2/loadlibraryw.cpp
|
||||||
|
loader/LoadLibraryW/test3/loadlibraryw.cpp
|
||||||
|
loader/LoadLibraryW/test5/loadlibraryw.cpp
|
||||||
|
#locale_info/CompareStringA/test1/test1.cpp
|
||||||
|
#locale_info/CompareStringW/test1/test1.cpp
|
||||||
|
locale_info/GetACP/test1/test1.cpp
|
||||||
|
#locale_info/GetLocaleInfoW/test1/test1.cpp
|
||||||
|
#locale_info/GetLocaleInfoW/test2/test2.cpp
|
||||||
|
locale_info/MultiByteToWideChar/test1/test1.cpp
|
||||||
|
locale_info/MultiByteToWideChar/test2/test2.cpp
|
||||||
|
locale_info/MultiByteToWideChar/test3/test3.cpp
|
||||||
|
locale_info/MultiByteToWideChar/test4/test4.cpp
|
||||||
|
locale_info/WideCharToMultiByte/test1/test1.cpp
|
||||||
|
locale_info/WideCharToMultiByte/test2/test2.cpp
|
||||||
|
locale_info/WideCharToMultiByte/test3/test3.cpp
|
||||||
|
locale_info/WideCharToMultiByte/test4/test4.cpp
|
||||||
|
locale_info/WideCharToMultiByte/test5/test5.cpp
|
||||||
|
miscellaneous/CGroup/test1/test.cpp
|
||||||
|
miscellaneous/CloseHandle/test1/test.cpp
|
||||||
|
miscellaneous/CloseHandle/test2/test.cpp
|
||||||
|
miscellaneous/CreatePipe/test1/test1.cpp
|
||||||
|
miscellaneous/FlushInstructionCache/test1/test1.cpp
|
||||||
|
miscellaneous/FormatMessageW/test1/test.cpp
|
||||||
|
miscellaneous/FormatMessageW/test2/test.cpp
|
||||||
|
miscellaneous/FormatMessageW/test3/test.cpp
|
||||||
|
miscellaneous/FormatMessageW/test4/test.cpp
|
||||||
|
miscellaneous/FormatMessageW/test5/test.cpp
|
||||||
|
miscellaneous/FormatMessageW/test6/test.cpp
|
||||||
|
miscellaneous/FreeEnvironmentStringsW/test1/test.cpp
|
||||||
|
miscellaneous/FreeEnvironmentStringsW/test2/test.cpp
|
||||||
|
miscellaneous/GetCommandLineW/test1/test.cpp
|
||||||
|
miscellaneous/GetEnvironmentStringsW/test1/test.cpp
|
||||||
|
miscellaneous/GetEnvironmentVariableA/test1/test.cpp
|
||||||
|
miscellaneous/GetEnvironmentVariableA/test2/test.cpp
|
||||||
|
miscellaneous/GetEnvironmentVariableA/test3/test.cpp
|
||||||
|
miscellaneous/GetEnvironmentVariableA/test4/test.cpp
|
||||||
|
miscellaneous/GetEnvironmentVariableA/test5/test5.cpp
|
||||||
|
miscellaneous/GetEnvironmentVariableA/test6/test6.cpp
|
||||||
|
miscellaneous/GetEnvironmentVariableW/test1/test.cpp
|
||||||
|
miscellaneous/GetEnvironmentVariableW/test2/test.cpp
|
||||||
|
miscellaneous/GetEnvironmentVariableW/test3/test.cpp
|
||||||
|
miscellaneous/GetEnvironmentVariableW/test4/test.cpp
|
||||||
|
miscellaneous/GetEnvironmentVariableW/test5/test5.cpp
|
||||||
|
miscellaneous/GetEnvironmentVariableW/test6/test6.cpp
|
||||||
|
miscellaneous/GetLastError/test1/test.cpp
|
||||||
|
miscellaneous/GetSystemInfo/test1/test.cpp
|
||||||
|
miscellaneous/GetTickCount/test1/test.cpp
|
||||||
|
miscellaneous/GlobalMemoryStatusEx/test1/test.cpp
|
||||||
|
miscellaneous/InterlockedBit/test1/test.cpp
|
||||||
|
miscellaneous/InterlockedBit/test2/test.cpp
|
||||||
|
miscellaneous/InterlockedCompareExchange/test1/test.cpp
|
||||||
|
miscellaneous/InterlockedCompareExchange/test2/test.cpp
|
||||||
|
miscellaneous/InterlockedCompareExchange64/test1/test.cpp
|
||||||
|
miscellaneous/InterlockedCompareExchange64/test2/test.cpp
|
||||||
|
miscellaneous/InterlockedCompareExchangePointer/test1/test.cpp
|
||||||
|
miscellaneous/InterlockedDecrement/test1/test.cpp
|
||||||
|
miscellaneous/InterlockedDecrement/test2/test.cpp
|
||||||
|
miscellaneous/InterlockedDecrement64/test1/test.cpp
|
||||||
|
miscellaneous/InterlockedDecrement64/test2/test.cpp
|
||||||
|
miscellaneous/InterlockedExchange/test1/test.cpp
|
||||||
|
miscellaneous/InterlockedExchange64/test1/test.cpp
|
||||||
|
miscellaneous/InterLockedExchangeAdd/test1/test.cpp
|
||||||
|
miscellaneous/InterlockedExchangePointer/test1/InterlockedExchangePointer.cpp
|
||||||
|
miscellaneous/InterlockedIncrement/test1/test.cpp
|
||||||
|
miscellaneous/InterlockedIncrement/test2/test.cpp
|
||||||
|
miscellaneous/InterlockedIncrement64/test1/test.cpp
|
||||||
|
miscellaneous/InterlockedIncrement64/test2/test.cpp
|
||||||
|
#miscellaneous/IsBadCodePtr/test1/test1.cpp
|
||||||
|
#miscellaneous/IsBadReadPtr/test1/test.cpp
|
||||||
|
#miscellaneous/IsBadWritePtr/test1/test.cpp
|
||||||
|
#miscellaneous/IsBadWritePtr/test2/test2.cpp
|
||||||
|
#miscellaneous/IsBadWritePtr/test3/test3.cpp
|
||||||
|
#miscellaneous/MessageBoxW/test1/test.cpp
|
||||||
|
#miscellaneous/MessageBoxW/test2/test.cpp
|
||||||
|
miscellaneous/queryperformancecounter/test1/test1.cpp
|
||||||
|
miscellaneous/queryperformancefrequency/test1/test1.cpp
|
||||||
|
miscellaneous/SetEnvironmentVariableA/test1/test1.cpp
|
||||||
|
miscellaneous/SetEnvironmentVariableA/test2/test2.cpp
|
||||||
|
miscellaneous/SetEnvironmentVariableA/test3/test3.cpp
|
||||||
|
miscellaneous/SetEnvironmentVariableA/test4/test4.cpp
|
||||||
|
miscellaneous/SetEnvironmentVariableW/test1/test.cpp
|
||||||
|
miscellaneous/SetEnvironmentVariableW/test2/test.cpp
|
||||||
|
miscellaneous/SetEnvironmentVariableW/test3/test3.cpp
|
||||||
|
miscellaneous/SetEnvironmentVariableW/test4/test4.cpp
|
||||||
|
miscellaneous/SetLastError/test1/test.cpp
|
||||||
|
miscellaneous/_i64tow/test1/test1.cpp
|
||||||
|
pal_specific/PAL_errno/test1/PAL_errno.cpp
|
||||||
|
pal_specific/PAL_GetPALDirectoryW/test1/PAL_GetPALDirectoryW.cpp
|
||||||
|
# pal_specific/PAL_GetUserTempDirectoryW/test1/PAL_GetUserTempDirectoryW.cpp
|
||||||
|
#pal_specific/PAL_get_stderr/test1/PAL_get_stderr.cpp
|
||||||
|
#pal_specific/PAL_get_stdin/test1/PAL_get_stdin.cpp
|
||||||
|
#pal_specific/PAL_get_stdout/test1/PAL_get_stdout.cpp
|
||||||
|
pal_specific/PAL_Initialize_Terminate/test1/PAL_Initialize_Terminate.cpp
|
||||||
|
pal_specific/PAL_Initialize_Terminate/test2/pal_initialize_twice.cpp
|
||||||
|
# pal_specific/PAL_RegisterLibraryW_UnregisterLibraryW/test1/PAL_RegisterLibraryW_UnregisterLibraryW.cpp
|
||||||
|
# pal_specific/PAL_RegisterLibraryW_UnregisterLibraryW/test2_neg/reg_unreg_libraryw_neg.cpp
|
||||||
|
samples/test1/test.cpp
|
||||||
|
samples/test2/test.cpp
|
||||||
|
threading/CreateEventW/test1/test1.cpp
|
||||||
|
threading/CreateEventW/test2/test2.cpp
|
||||||
|
threading/CreateEventW/test3/test3.cpp
|
||||||
|
threading/CreateMutexW_ReleaseMutex/test1/CreateMutexW.cpp
|
||||||
|
threading/CreateMutexW_ReleaseMutex/test2/CreateMutexW.cpp
|
||||||
|
threading/CreateProcessW/test1/childProcess.cpp
|
||||||
|
threading/CreateProcessW/test1/parentProcess.cpp
|
||||||
|
threading/CreateProcessW/test2/childprocess.cpp
|
||||||
|
threading/CreateProcessW/test2/parentprocess.cpp
|
||||||
|
threading/CreateSemaphoreW_ReleaseSemaphore/test1/CreateSemaphore.cpp
|
||||||
|
threading/CreateSemaphoreW_ReleaseSemaphore/test2/CreateSemaphore.cpp
|
||||||
|
threading/CreateSemaphoreW_ReleaseSemaphore/test3/createsemaphore.cpp
|
||||||
|
threading/CreateThread/test1/test1.cpp
|
||||||
|
threading/CreateThread/test2/test2.cpp
|
||||||
|
threading/CreateThread/test3/test3.cpp
|
||||||
|
threading/CriticalSectionFunctions/test1/InitializeCriticalSection.cpp
|
||||||
|
threading/CriticalSectionFunctions/test2/test2.cpp
|
||||||
|
threading/CriticalSectionFunctions/test3/test3.cpp
|
||||||
|
threading/CriticalSectionFunctions/test4/test4.cpp
|
||||||
|
threading/CriticalSectionFunctions/test5/test5.cpp
|
||||||
|
threading/CriticalSectionFunctions/test6/test6.cpp
|
||||||
|
threading/CriticalSectionFunctions/test7/test7.cpp
|
||||||
|
threading/CriticalSectionFunctions/test8/test8.cpp
|
||||||
|
threading/DuplicateHandle/test1/test1.cpp
|
||||||
|
threading/DuplicateHandle/test10/test10.cpp
|
||||||
|
threading/DuplicateHandle/test11/childprocess.cpp
|
||||||
|
threading/DuplicateHandle/test11/test11.cpp
|
||||||
|
threading/DuplicateHandle/test12/test12.cpp
|
||||||
|
threading/DuplicateHandle/test2/test2.cpp
|
||||||
|
threading/DuplicateHandle/test3/test3.cpp
|
||||||
|
threading/DuplicateHandle/test4/test4.cpp
|
||||||
|
threading/DuplicateHandle/test5/test5.cpp
|
||||||
|
threading/DuplicateHandle/test6/test6.cpp
|
||||||
|
threading/DuplicateHandle/test7/test7.cpp
|
||||||
|
threading/DuplicateHandle/test8/test8.cpp
|
||||||
|
# threading/DuplicateHandle/test9/test9.cpp
|
||||||
|
threading/ExitProcess/test1/ExitProcess.cpp
|
||||||
|
threading/ExitProcess/test2/test2.cpp
|
||||||
|
threading/ExitProcess/test3/test3.cpp
|
||||||
|
threading/ExitThread/test1/test1.cpp
|
||||||
|
threading/ExitThread/test2/childprocess.cpp
|
||||||
|
threading/ExitThread/test2/test2.cpp
|
||||||
|
threading/GetCurrentProcess/test1/process.cpp
|
||||||
|
threading/GetCurrentProcessId/test1/processId.cpp
|
||||||
|
threading/GetCurrentThread/test1/thread.cpp
|
||||||
|
threading/GetCurrentThread/test2/test2.cpp
|
||||||
|
threading/GetCurrentThreadId/test1/threadId.cpp
|
||||||
|
threading/GetExitCodeProcess/test1/childProcess.cpp
|
||||||
|
threading/GetExitCodeProcess/test1/test1.cpp
|
||||||
|
threading/GetProcessTimes/test2/test2.cpp
|
||||||
|
threading/GetThreadTimes/test1/test1.cpp
|
||||||
|
threading/NamedMutex/test1/namedmutex.cpp
|
||||||
|
threading/NamedMutex/test1/nopal.cpp
|
||||||
|
threading/OpenEventW/test1/test1.cpp
|
||||||
|
threading/OpenEventW/test2/test2.cpp
|
||||||
|
threading/OpenEventW/test3/childprocess.cpp
|
||||||
|
threading/OpenEventW/test3/test3.cpp
|
||||||
|
threading/OpenEventW/test4/test4.cpp
|
||||||
|
threading/OpenEventW/test5/test5.cpp
|
||||||
|
threading/OpenProcess/test1/childProcess.cpp
|
||||||
|
threading/OpenProcess/test1/test1.cpp
|
||||||
|
threading/QueryThreadCycleTime/test1/test1.cpp
|
||||||
|
threading/QueueUserAPC/test1/test1.cpp
|
||||||
|
threading/QueueUserAPC/test2/test2.cpp
|
||||||
|
threading/QueueUserAPC/test3/test3.cpp
|
||||||
|
threading/QueueUserAPC/test4/test4.cpp
|
||||||
|
threading/QueueUserAPC/test5/test5.cpp
|
||||||
|
threading/QueueUserAPC/test6/test6.cpp
|
||||||
|
threading/QueueUserAPC/test7/test7.cpp
|
||||||
|
threading/ReleaseMutex/test3/ReleaseMutex.cpp
|
||||||
|
threading/releasesemaphore/test1/test.cpp
|
||||||
|
threading/ResetEvent/test1/test1.cpp
|
||||||
|
threading/ResetEvent/test2/test2.cpp
|
||||||
|
threading/ResetEvent/test3/test3.cpp
|
||||||
|
threading/ResetEvent/test4/test4.cpp
|
||||||
|
threading/ResumeThread/test1/test1.cpp
|
||||||
|
threading/SetErrorMode/test1/test1.cpp
|
||||||
|
threading/SetEvent/test1/test1.cpp
|
||||||
|
threading/SetEvent/test2/test2.cpp
|
||||||
|
threading/SetEvent/test3/test3.cpp
|
||||||
|
threading/SetEvent/test4/test4.cpp
|
||||||
|
threading/SignalObjectAndWait/SignalObjectAndWaitTest.cpp
|
||||||
|
threading/Sleep/test1/Sleep.cpp
|
||||||
|
threading/Sleep/test2/sleep.cpp
|
||||||
|
threading/SleepEx/test1/test1.cpp
|
||||||
|
threading/SleepEx/test2/test2.cpp
|
||||||
|
threading/SwitchToThread/test1/test1.cpp
|
||||||
|
threading/TerminateProcess/test1/TerminateProcess.cpp
|
||||||
|
threading/ThreadPriority/test1/ThreadPriority.cpp
|
||||||
|
threading/WaitForMultipleObjects/test1/test1.cpp
|
||||||
|
threading/WaitForMultipleObjectsEx/test1/test1.cpp
|
||||||
|
threading/WaitForMultipleObjectsEx/test2/test2.cpp
|
||||||
|
threading/WaitForMultipleObjectsEx/test3/test3.cpp
|
||||||
|
threading/WaitForMultipleObjectsEx/test4/test4.cpp
|
||||||
|
threading/WaitForMultipleObjectsEx/test5/helper.cpp
|
||||||
|
threading/WaitForMultipleObjectsEx/test5/test5.cpp
|
||||||
|
threading/WaitForMultipleObjectsEx/test6/child6.cpp
|
||||||
|
threading/WaitForMultipleObjectsEx/test6/test6.cpp
|
||||||
|
threading/WaitForSingleObject/test1/test1.cpp
|
||||||
|
threading/WaitForSingleObject/WFSOExMutexTest/WFSOExMutexTest.cpp
|
||||||
|
threading/WaitForSingleObject/WFSOExSemaphoreTest/WFSOExSemaphoreTest.cpp
|
||||||
|
threading/WaitForSingleObject/WFSOExThreadTest/WFSOExThreadTest.cpp
|
||||||
|
threading/WaitForSingleObject/WFSOMutexTest/WFSOMutexTest.cpp
|
||||||
|
threading/WaitForSingleObject/WFSOProcessTest/ChildProcess.cpp
|
||||||
|
threading/WaitForSingleObject/WFSOProcessTest/WFSOProcessTest.cpp
|
||||||
|
threading/WaitForSingleObject/WFSOSemaphoreTest/WFSOSemaphoreTest.cpp
|
||||||
|
threading/WaitForSingleObject/WFSOThreadTest/WFSOThreadTest.cpp
|
||||||
|
threading/YieldProcessor/test1/test1.cpp
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
|
add_dependencies(paltests coreclrpal)
|
||||||
|
|
||||||
|
target_link_libraries(paltests
|
||||||
|
${COMMON_TEST_LIBRARIES}
|
||||||
|
)
|
||||||
|
|
||||||
|
_install (TARGETS paltests DESTINATION paltests)
|
||||||
|
_install (PROGRAMS runpaltests.sh runpaltestshelix.sh DESTINATION paltests)
|
||||||
|
|
|
@ -1,168 +0,0 @@
|
||||||
add_subdirectory(abs)
|
|
||||||
add_subdirectory(acos)
|
|
||||||
add_subdirectory(acosf)
|
|
||||||
add_subdirectory(acosh)
|
|
||||||
add_subdirectory(acoshf)
|
|
||||||
add_subdirectory(asin)
|
|
||||||
add_subdirectory(asinf)
|
|
||||||
add_subdirectory(asinh)
|
|
||||||
add_subdirectory(asinhf)
|
|
||||||
add_subdirectory(atan)
|
|
||||||
add_subdirectory(atan2)
|
|
||||||
add_subdirectory(atan2f)
|
|
||||||
add_subdirectory(atanf)
|
|
||||||
add_subdirectory(atanh)
|
|
||||||
add_subdirectory(atanhf)
|
|
||||||
add_subdirectory(atof)
|
|
||||||
add_subdirectory(atoi)
|
|
||||||
add_subdirectory(bsearch)
|
|
||||||
add_subdirectory(cbrt)
|
|
||||||
add_subdirectory(cbrtf)
|
|
||||||
add_subdirectory(ceil)
|
|
||||||
add_subdirectory(ceilf)
|
|
||||||
add_subdirectory(cos)
|
|
||||||
add_subdirectory(cosf)
|
|
||||||
add_subdirectory(cosh)
|
|
||||||
add_subdirectory(coshf)
|
|
||||||
|
|
||||||
add_subdirectory(errno)
|
|
||||||
add_subdirectory(exit)
|
|
||||||
add_subdirectory(exp)
|
|
||||||
add_subdirectory(expf)
|
|
||||||
add_subdirectory(fabs)
|
|
||||||
add_subdirectory(fabsf)
|
|
||||||
add_subdirectory(fclose)
|
|
||||||
add_subdirectory(ferror)
|
|
||||||
add_subdirectory(fflush)
|
|
||||||
add_subdirectory(fgets)
|
|
||||||
add_subdirectory(floor)
|
|
||||||
add_subdirectory(floorf)
|
|
||||||
add_subdirectory(fma)
|
|
||||||
add_subdirectory(fmaf)
|
|
||||||
add_subdirectory(fmod)
|
|
||||||
add_subdirectory(fmodf)
|
|
||||||
add_subdirectory(fopen)
|
|
||||||
add_subdirectory(fprintf)
|
|
||||||
add_subdirectory(fputs)
|
|
||||||
add_subdirectory(fread)
|
|
||||||
add_subdirectory(free)
|
|
||||||
add_subdirectory(fseek)
|
|
||||||
add_subdirectory(ftell)
|
|
||||||
add_subdirectory(fwprintf)
|
|
||||||
add_subdirectory(fwrite)
|
|
||||||
add_subdirectory(getenv)
|
|
||||||
add_subdirectory(ilogb)
|
|
||||||
add_subdirectory(ilogbf)
|
|
||||||
add_subdirectory(isalnum)
|
|
||||||
add_subdirectory(isalpha)
|
|
||||||
add_subdirectory(isdigit)
|
|
||||||
add_subdirectory(islower)
|
|
||||||
add_subdirectory(isprint)
|
|
||||||
add_subdirectory(isspace)
|
|
||||||
add_subdirectory(isupper)
|
|
||||||
add_subdirectory(iswdigit)
|
|
||||||
add_subdirectory(iswspace)
|
|
||||||
add_subdirectory(iswupper)
|
|
||||||
add_subdirectory(isxdigit)
|
|
||||||
add_subdirectory(llabs)
|
|
||||||
add_subdirectory(log)
|
|
||||||
add_subdirectory(log2)
|
|
||||||
add_subdirectory(log2f)
|
|
||||||
add_subdirectory(log10)
|
|
||||||
add_subdirectory(log10f)
|
|
||||||
add_subdirectory(logf)
|
|
||||||
add_subdirectory(malloc)
|
|
||||||
add_subdirectory(memchr)
|
|
||||||
add_subdirectory(memcmp)
|
|
||||||
add_subdirectory(memcpy)
|
|
||||||
add_subdirectory(memmove)
|
|
||||||
add_subdirectory(memset)
|
|
||||||
add_subdirectory(modf)
|
|
||||||
add_subdirectory(modff)
|
|
||||||
add_subdirectory(pow)
|
|
||||||
add_subdirectory(powf)
|
|
||||||
add_subdirectory(printf)
|
|
||||||
add_subdirectory(qsort)
|
|
||||||
add_subdirectory(rand_srand)
|
|
||||||
add_subdirectory(realloc)
|
|
||||||
add_subdirectory(scalbn)
|
|
||||||
add_subdirectory(scalbnf)
|
|
||||||
add_subdirectory(sin)
|
|
||||||
add_subdirectory(sinf)
|
|
||||||
add_subdirectory(sinh)
|
|
||||||
add_subdirectory(sinhf)
|
|
||||||
add_subdirectory(sprintf_s)
|
|
||||||
add_subdirectory(sqrt)
|
|
||||||
add_subdirectory(sqrtf)
|
|
||||||
add_subdirectory(sscanf_s)
|
|
||||||
add_subdirectory(strcat)
|
|
||||||
add_subdirectory(strchr)
|
|
||||||
add_subdirectory(strcmp)
|
|
||||||
add_subdirectory(strcpy)
|
|
||||||
add_subdirectory(strcspn)
|
|
||||||
add_subdirectory(strlen)
|
|
||||||
add_subdirectory(strncat)
|
|
||||||
add_subdirectory(strncmp)
|
|
||||||
add_subdirectory(strncpy)
|
|
||||||
add_subdirectory(strpbrk)
|
|
||||||
add_subdirectory(strrchr)
|
|
||||||
add_subdirectory(strspn)
|
|
||||||
add_subdirectory(strstr)
|
|
||||||
add_subdirectory(strtod)
|
|
||||||
add_subdirectory(strtok)
|
|
||||||
add_subdirectory(strtoul)
|
|
||||||
add_subdirectory(swprintf)
|
|
||||||
add_subdirectory(swscanf)
|
|
||||||
add_subdirectory(tan)
|
|
||||||
add_subdirectory(tanf)
|
|
||||||
add_subdirectory(tanh)
|
|
||||||
add_subdirectory(tanhf)
|
|
||||||
add_subdirectory(time)
|
|
||||||
add_subdirectory(tolower)
|
|
||||||
add_subdirectory(toupper)
|
|
||||||
add_subdirectory(towlower)
|
|
||||||
add_subdirectory(towupper)
|
|
||||||
add_subdirectory(vfprintf)
|
|
||||||
add_subdirectory(vprintf)
|
|
||||||
add_subdirectory(vsprintf)
|
|
||||||
add_subdirectory(vswprintf)
|
|
||||||
add_subdirectory(wcscat)
|
|
||||||
add_subdirectory(wcschr)
|
|
||||||
add_subdirectory(wcscmp)
|
|
||||||
add_subdirectory(wcscpy)
|
|
||||||
add_subdirectory(wcslen)
|
|
||||||
add_subdirectory(wcsncmp)
|
|
||||||
add_subdirectory(wcsncpy)
|
|
||||||
add_subdirectory(wcspbrk)
|
|
||||||
add_subdirectory(wcsrchr)
|
|
||||||
add_subdirectory(wcsstr)
|
|
||||||
add_subdirectory(wcstod)
|
|
||||||
add_subdirectory(wcstok)
|
|
||||||
add_subdirectory(wcstoul)
|
|
||||||
add_subdirectory(wprintf)
|
|
||||||
add_subdirectory(_alloca)
|
|
||||||
add_subdirectory(_fdopen)
|
|
||||||
add_subdirectory(_finite)
|
|
||||||
add_subdirectory(_finitef)
|
|
||||||
|
|
||||||
# TODO: make this test compile
|
|
||||||
# add_subdirectory(_gcvt)
|
|
||||||
|
|
||||||
add_subdirectory(_isnan)
|
|
||||||
add_subdirectory(_isnanf)
|
|
||||||
add_subdirectory(_itow)
|
|
||||||
add_subdirectory(_putenv)
|
|
||||||
add_subdirectory(_rotl)
|
|
||||||
add_subdirectory(_rotr)
|
|
||||||
add_subdirectory(_snprintf_s)
|
|
||||||
add_subdirectory(_snwprintf_s)
|
|
||||||
add_subdirectory(_stricmp)
|
|
||||||
add_subdirectory(_strnicmp)
|
|
||||||
add_subdirectory(_vsnprintf_s)
|
|
||||||
add_subdirectory(_vsnwprintf_s)
|
|
||||||
add_subdirectory(_wcsicmp)
|
|
||||||
add_subdirectory(_wcslwr)
|
|
||||||
add_subdirectory(_wcsnicmp)
|
|
||||||
add_subdirectory(_wfopen)
|
|
||||||
add_subdirectory(_wtoi)
|
|
||||||
add_subdirectory(__iscsym)
|
|
|
@ -1,2 +0,0 @@
|
||||||
add_subdirectory(test1)
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
__iscsym.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_iscsym_test1
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_iscsym_test1 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_iscsym_test1
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -12,7 +12,7 @@
|
||||||
**============================================================*/
|
**============================================================*/
|
||||||
#include <palsuite.h>
|
#include <palsuite.h>
|
||||||
|
|
||||||
int __cdecl main(int argc, char *argv[])
|
PALTEST(c_runtime___iscsym_test1_paltest_iscsym_test1, "c_runtime/__iscsym/test1/paltest_iscsym_test1")
|
||||||
{
|
{
|
||||||
int err;
|
int err;
|
||||||
int index;
|
int index;
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = __iscsym
|
|
||||||
Name = Positive test for __iscsym to test letter, digit and underscore
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = __iscsym
|
|
||||||
Description
|
|
||||||
=Test the __iscsym to test letter, digit and underscore
|
|
|
@ -1,2 +0,0 @@
|
||||||
add_subdirectory(test1)
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
test1.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_alloca_test1
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_alloca_test1 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_alloca_test1
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
#include <palsuite.h>
|
#include <palsuite.h>
|
||||||
|
|
||||||
int __cdecl main(int argc, char **argv)
|
PALTEST(c_runtime__alloca_test1_paltest_alloca_test1, "c_runtime/_alloca/test1/paltest_alloca_test1")
|
||||||
{
|
{
|
||||||
|
|
||||||
char *testA = NULL;
|
char *testA = NULL;
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = _alloca
|
|
||||||
Name = Positive Test for _alloca
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = test1
|
|
||||||
Description
|
|
||||||
= Checks that _alloca allocates memory, and that the memory is
|
|
||||||
= readable and writeable.
|
|
|
@ -1,2 +0,0 @@
|
||||||
add_subdirectory(test1)
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
test1.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_fdopen_test1
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_fdopen_test1 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_fdopen_test1
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -21,9 +21,9 @@
|
||||||
|
|
||||||
#include <palsuite.h>
|
#include <palsuite.h>
|
||||||
|
|
||||||
const char* cTestString = "one fish, two fish, read fish, blue fish.";
|
#define cTestString "one fish, two fish, read fish, blue fish."
|
||||||
|
|
||||||
int __cdecl main(int argc, char **argv)
|
PALTEST(c_runtime__fdopen_test1_paltest_fdopen_test1, "c_runtime/_fdopen/test1/paltest_fdopen_test1")
|
||||||
{
|
{
|
||||||
HANDLE hReadPipe = NULL;
|
HANDLE hReadPipe = NULL;
|
||||||
HANDLE hWritePipe = NULL;
|
HANDLE hWritePipe = NULL;
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = fdopen
|
|
||||||
Name = test for fdopen and _close
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = test1
|
|
||||||
Description
|
|
||||||
= Tests the PAL implementation of the fdopen function.
|
|
||||||
= This will test fdopen in r (read) mode. This test
|
|
||||||
= creates and opens a test pipe, to write and read
|
|
||||||
= from. fdopen requires a file handle(int), therefore
|
|
||||||
= _open_osfhandle is used to get that handle.
|
|
||||||
= _open_osfhandle is only used with CreatePipe. The
|
|
||||||
= test will write and read from the pipe comparing
|
|
||||||
= the results.
|
|
||||||
= As a secondary test, _close is tested since it needs
|
|
||||||
= the handle returned by _open_osfhandle. The handle is
|
|
||||||
= closed, then a read is attempted on the handle which
|
|
||||||
= should fail.
|
|
|
@ -1 +0,0 @@
|
||||||
add_subdirectory(test1)
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
test1.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_finite_test1
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_finite_test1 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_finite_test1
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -36,7 +36,7 @@ If E=0 and F is zero and S is 0, then V=0
|
||||||
|
|
||||||
#define TO_DOUBLE(x) (*((double*)((void*)&x)))
|
#define TO_DOUBLE(x) (*((double*)((void*)&x)))
|
||||||
|
|
||||||
int __cdecl main(int argc, char **argv)
|
PALTEST(c_runtime__finite_test1_paltest_finite_test1, "c_runtime/_finite/test1/paltest_finite_test1")
|
||||||
{
|
{
|
||||||
/*non-finite numbers*/
|
/*non-finite numbers*/
|
||||||
UINT64 lsnan = UI64(0xffffffffffffffff);
|
UINT64 lsnan = UI64(0xffffffffffffffff);
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = _finite
|
|
||||||
Name = Positive Test for _finite
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = test1
|
|
||||||
Description
|
|
||||||
= Checks that _finite correctly classifies all types of floating point
|
|
||||||
= numbers (NaN, -Infinity, Infinity, finite nonzero, unnormalized, 0, and -0).
|
|
|
@ -1 +0,0 @@
|
||||||
add_subdirectory(test1)
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
test1.c
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_finitef_test1
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_finitef_test1 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_finitef_test1
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -36,7 +36,7 @@ If E=0 and F is zero and S is 0, then V=0
|
||||||
|
|
||||||
#define TO_FLOAT(x) (*((float*)((void*)&x)))
|
#define TO_FLOAT(x) (*((float*)((void*)&x)))
|
||||||
|
|
||||||
int __cdecl main(int argc, char **argv)
|
PALTEST(c_runtime__finitef_test1_paltest_finitef_test1, "c_runtime/_finitef/test1/paltest_finitef_test1")
|
||||||
{
|
{
|
||||||
/*non-finite numbers*/
|
/*non-finite numbers*/
|
||||||
UINT32 lsnan = 0xffffffffu;
|
UINT32 lsnan = 0xffffffffu;
|
|
@ -1,12 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = _finitef
|
|
||||||
Name = Positive Test for _finitef
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = test1
|
|
||||||
Description
|
|
||||||
= Checks that _finitef correctly classifies all types of floating point
|
|
||||||
= numbers (NaN, -Infinity, Infinity, finite nonzero, unnormalized, 0, and -0).
|
|
|
@ -1,3 +0,0 @@
|
||||||
add_subdirectory(test1)
|
|
||||||
add_subdirectory(test2)
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
_gcvt.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_gcvt_test1
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_gcvt_test1 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_gcvt_test1
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -13,7 +13,7 @@
|
||||||
**============================================================*/
|
**============================================================*/
|
||||||
#include <palsuite.h>
|
#include <palsuite.h>
|
||||||
|
|
||||||
int __cdecl main(int argc, char *argv[])
|
PALTEST(c_runtime__gcvt_test1_paltest_gcvt_test1, "c_runtime/_gcvt/test1/paltest_gcvt_test1")
|
||||||
{
|
{
|
||||||
int err;
|
int err;
|
||||||
double dValue = -3.1415926535;
|
double dValue = -3.1415926535;
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = _gcvt
|
|
||||||
Name = Positive test for _gcvt API to convert a floatable value to a string
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = _gcvt
|
|
||||||
Description
|
|
||||||
=Test the _gcvt to convert a floatable value to a string
|
|
||||||
=with specified sigficant digits stored
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
test2.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_gcvt_test2
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_gcvt_test2 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_gcvt_test2
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -24,7 +24,7 @@ struct testCase
|
||||||
varies from windows sprintf */
|
varies from windows sprintf */
|
||||||
};
|
};
|
||||||
|
|
||||||
int __cdecl main(int argc, char **argv)
|
PALTEST(c_runtime__gcvt_test2_paltest_gcvt_test2, "c_runtime/_gcvt/test2/paltest_gcvt_test2")
|
||||||
{
|
{
|
||||||
char result[128];
|
char result[128];
|
||||||
int i=0;
|
int i=0;
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = _gcvt
|
|
||||||
Name = Call _gcvt on normal values, negatives, exponents and hex digits.
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = test2
|
|
||||||
Description
|
|
||||||
= Call the _gcvt function on a number of cases. Check that it
|
|
||||||
= handles negatives, exponents and hex digits properly. Also check that
|
|
||||||
= the 'digit' specification works. (And that it doesn't truncate negative
|
|
||||||
= signs or decimals)
|
|
|
@ -1 +0,0 @@
|
||||||
add_subdirectory(test1)
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
test1.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_isnan_test1
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_isnan_test1 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_isnan_test1
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -22,7 +22,7 @@
|
||||||
/*
|
/*
|
||||||
* NaN: any double with maximum exponent (0x7ff) and non-zero fraction
|
* NaN: any double with maximum exponent (0x7ff) and non-zero fraction
|
||||||
*/
|
*/
|
||||||
int __cdecl main(int argc, char *argv[])
|
PALTEST(c_runtime__isnan_test1_paltest_isnan_test1, "c_runtime/_isnan/test1/paltest_isnan_test1")
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Initialize the PAL and return FAIL if this fails
|
* Initialize the PAL and return FAIL if this fails
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = _isnan
|
|
||||||
Name = Test #1 for _isnan
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = test1
|
|
||||||
Description
|
|
||||||
= Test _isnan with a number of trivial values, to ensure they indicated that
|
|
||||||
= they are numbers. Then try with Positive/Negative Infinite, which should
|
|
||||||
= also be numbers. Finally set the least and most significant bits of
|
|
||||||
= the fraction to positive and negative, at which point it should return
|
|
||||||
= the true value.
|
|
|
@ -1 +0,0 @@
|
||||||
add_subdirectory(test1)
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
test1.c
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_isnanf_test1
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_isnanf_test1 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_isnanf_test1
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -22,7 +22,7 @@
|
||||||
/*
|
/*
|
||||||
* NaN: any float with maximum exponent (0x7f8) and non-zero fraction
|
* NaN: any float with maximum exponent (0x7f8) and non-zero fraction
|
||||||
*/
|
*/
|
||||||
int __cdecl main(int argc, char *argv[])
|
PALTEST(c_runtime__isnanf_test1_paltest_isnanf_test1, "c_runtime/_isnanf/test1/paltest_isnanf_test1")
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Initialize the PAL and return FAIL if this fails
|
* Initialize the PAL and return FAIL if this fails
|
|
@ -1,15 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = _isnanf
|
|
||||||
Name = Test #1 for _isnanf
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = test1
|
|
||||||
Description
|
|
||||||
= Test _isnanf with a number of trivial values, to ensure they indicated that
|
|
||||||
= they are numbers. Then try with Positive/Negative Infinite, which should
|
|
||||||
= also be numbers. Finally set the least and most significant bits of
|
|
||||||
= the fraction to positive and negative, at which point it should return
|
|
||||||
= the true value.
|
|
|
@ -1,2 +0,0 @@
|
||||||
add_subdirectory(test1)
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
test1.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_itow_test1
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_itow_test1 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_itow_test1
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -23,7 +23,7 @@ struct testCase
|
||||||
int radix;
|
int radix;
|
||||||
};
|
};
|
||||||
|
|
||||||
int __cdecl main(int argc, char **argv)
|
PALTEST(c_runtime__itow_test1_paltest_itow_test1, "c_runtime/_itow/test1/paltest_itow_test1")
|
||||||
{
|
{
|
||||||
|
|
||||||
char16_t result[20];
|
char16_t result[20];
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = _itow_s
|
|
||||||
Name = Positive Test for _itow_s
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = test1
|
|
||||||
Description
|
|
||||||
= Tests the PAL implementation of the _itow_s function.
|
|
||||||
= Test a number of ints with different radix on each, to ensure that the
|
|
||||||
= string returned is correct.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
add_subdirectory(test1)
|
|
||||||
add_subdirectory(test2)
|
|
||||||
add_subdirectory(test3)
|
|
||||||
add_subdirectory(test4)
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
test1.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_putenv_test1
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_putenv_test1 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_putenv_test1
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -21,19 +21,18 @@ struct TestElement
|
||||||
BOOL bValidString; /* valid argument string identifier */
|
BOOL bValidString; /* valid argument string identifier */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct TestElement TestCases[] =
|
PALTEST(c_runtime__putenv_test1_paltest_putenv_test1, "c_runtime/_putenv/test1/paltest_putenv_test1")
|
||||||
{
|
{
|
||||||
{"PalTestingEnvironmentVariable=A value", "PalTestingEnvironmentVariable",
|
struct TestElement TestCases[] =
|
||||||
"A value", TRUE},
|
{
|
||||||
{"AnotherVariable=", "AnotherVariable", "", TRUE},
|
{"PalTestingEnvironmentVariable=A value", "PalTestingEnvironmentVariable",
|
||||||
{"YetAnotherVariable", "", "", FALSE},
|
"A value", TRUE},
|
||||||
{"=ADifferentVariable", "", "ADifferentVariable", FALSE},
|
{"AnotherVariable=", "AnotherVariable", "", TRUE},
|
||||||
{"", "", "", FALSE}
|
{"YetAnotherVariable", "", "", FALSE},
|
||||||
|
{"=ADifferentVariable", "", "ADifferentVariable", FALSE},
|
||||||
|
{"", "", "", FALSE}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
int __cdecl main(int argc, char **argv)
|
|
||||||
{
|
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
char *variableValue;
|
char *variableValue;
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = _putenv
|
|
||||||
Name = Positive test for _putenv
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = test1
|
|
||||||
Description
|
|
||||||
= Create an environment variable with _putenv and then use getenv to
|
|
||||||
= check it. Check that we get the expected errors with invalid input.
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
test2.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_putenv_test2
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_putenv_test2 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_putenv_test2
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -18,7 +18,7 @@ const char *_putenvString1 = "AnUnusualVariable=";
|
||||||
const char *variable = "AnUnusualVariable";
|
const char *variable = "AnUnusualVariable";
|
||||||
const char *value = "AnUnusualValue";
|
const char *value = "AnUnusualValue";
|
||||||
|
|
||||||
int __cdecl main(int argc, char **argv)
|
PALTEST(c_runtime__putenv_test2_paltest_putenv_test2, "c_runtime/_putenv/test2/paltest_putenv_test2")
|
||||||
{
|
{
|
||||||
|
|
||||||
char *variableValue;
|
char *variableValue;
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = _putenv
|
|
||||||
Name = Positive test for _putenv
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = test2
|
|
||||||
Description
|
|
||||||
= Create an environment variable with _putenv and then use getenv to
|
|
||||||
= check it. This test resets an environment variable.
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
test3.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_putenv_test3
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_putenv_test3 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_putenv_test3
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
#include <palsuite.h>
|
#include <palsuite.h>
|
||||||
|
|
||||||
int __cdecl main(int argc, char **argv)
|
PALTEST(c_runtime__putenv_test3_paltest_putenv_test3, "c_runtime/_putenv/test3/paltest_putenv_test3")
|
||||||
{
|
{
|
||||||
#if WIN32
|
#if WIN32
|
||||||
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = _putenv
|
|
||||||
Name = Positive test for _putenv
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = test3
|
|
||||||
Description
|
|
||||||
= Create environment variables that only differ by case
|
|
||||||
= and check that the BSD operating system treats them
|
|
||||||
= as two separate variables.
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
test4.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_putenv_test4
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_putenv_test4 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_putenv_test4
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
#include <palsuite.h>
|
#include <palsuite.h>
|
||||||
|
|
||||||
int __cdecl main(int argc, char **argv)
|
PALTEST(c_runtime__putenv_test4_paltest_putenv_test4, "c_runtime/_putenv/test4/paltest_putenv_test4")
|
||||||
{
|
{
|
||||||
#if WIN32
|
#if WIN32
|
||||||
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = _putenv
|
|
||||||
Name = Positive test for _putenv
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = test4
|
|
||||||
Description
|
|
||||||
= Create an environment variable and check
|
|
||||||
= that trying to retrieve it using a name with different
|
|
||||||
= case, returns the correct value.
|
|
|
@ -1,2 +0,0 @@
|
||||||
add_subdirectory(test1)
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
test1.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_rotl_test1
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_rotl_test1 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_rotl_test1
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -17,7 +17,7 @@
|
||||||
**===================================================================*/
|
**===================================================================*/
|
||||||
#include <palsuite.h>
|
#include <palsuite.h>
|
||||||
|
|
||||||
int __cdecl main(int argc, char **argv)
|
PALTEST(c_runtime__rotl_test1_paltest_rotl_test1, "c_runtime/_rotl/test1/paltest_rotl_test1")
|
||||||
{
|
{
|
||||||
unsigned results = 0;
|
unsigned results = 0;
|
||||||
int i,j;
|
int i,j;
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = _rtol
|
|
||||||
Name = Positive Test for _rotl
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = test1
|
|
||||||
Description
|
|
||||||
= Tests the PAL implementation of the _rotl function.
|
|
||||||
= The _rotl function rotates the unsigned value. _rotl
|
|
||||||
= rotates the value left and "wraps" bits rotated off
|
|
||||||
= one end of value to the other end.
|
|
||||||
= This test compares the result to a previously determined
|
|
||||||
= value.
|
|
|
@ -1,2 +0,0 @@
|
||||||
add_subdirectory(test1)
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
test1.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_rotr_test1
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_rotr_test1 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_rotr_test1
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -16,7 +16,7 @@
|
||||||
**===================================================================*/
|
**===================================================================*/
|
||||||
#include <palsuite.h>
|
#include <palsuite.h>
|
||||||
|
|
||||||
int __cdecl main(int argc, char **argv)
|
PALTEST(c_runtime__rotr_test1_paltest_rotr_test1, "c_runtime/_rotr/test1/paltest_rotr_test1")
|
||||||
{
|
{
|
||||||
unsigned results = 0;
|
unsigned results = 0;
|
||||||
int i,j;
|
int i,j;
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = _rtor
|
|
||||||
Name = Positive Test for _rotr
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = test1
|
|
||||||
Description
|
|
||||||
= Tests the PAL implementation of the _rotr function.
|
|
||||||
= The _rotr function rotates the unsigned value. _rotr
|
|
||||||
= rotates the value right and "wraps" bits rotated off
|
|
||||||
= one end of value to the other end.
|
|
||||||
= This test compares the result to a previously determined
|
|
||||||
= value.
|
|
|
@ -1,19 +0,0 @@
|
||||||
add_subdirectory(test1)
|
|
||||||
add_subdirectory(test10)
|
|
||||||
add_subdirectory(test11)
|
|
||||||
add_subdirectory(test12)
|
|
||||||
add_subdirectory(test13)
|
|
||||||
add_subdirectory(test14)
|
|
||||||
add_subdirectory(test15)
|
|
||||||
add_subdirectory(test16)
|
|
||||||
add_subdirectory(test17)
|
|
||||||
add_subdirectory(test18)
|
|
||||||
add_subdirectory(test19)
|
|
||||||
add_subdirectory(test2)
|
|
||||||
add_subdirectory(test3)
|
|
||||||
add_subdirectory(test4)
|
|
||||||
add_subdirectory(test6)
|
|
||||||
add_subdirectory(test7)
|
|
||||||
add_subdirectory(test8)
|
|
||||||
add_subdirectory(test9)
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#ifndef __STRINGTEST_H__
|
#ifndef __STRINGTEST_H__
|
||||||
#define __STRINGTEST_H__
|
#define __STRINGTEST_H__
|
||||||
|
|
||||||
void DoStrTest(const char *formatstr, char* param, const char *checkstr)
|
inline void DoStrTest_snprintf_s(const char *formatstr, char* param, const char *checkstr)
|
||||||
{
|
{
|
||||||
char buf[256] = { 0 };
|
char buf[256] = { 0 };
|
||||||
|
|
||||||
|
@ -25,8 +25,9 @@ void DoStrTest(const char *formatstr, char* param, const char *checkstr)
|
||||||
param, formatstr, checkstr, buf);
|
param, formatstr, checkstr, buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#define DoStrTest DoStrTest_snprintf_s
|
||||||
|
|
||||||
void DoWStrTest(const char *formatstr, WCHAR* param, const char *checkstr)
|
inline void DoWStrTest_snprintf_s(const char *formatstr, WCHAR* param, const char *checkstr)
|
||||||
{
|
{
|
||||||
char buf[256] = { 0 };
|
char buf[256] = { 0 };
|
||||||
|
|
||||||
|
@ -38,9 +39,9 @@ void DoWStrTest(const char *formatstr, WCHAR* param, const char *checkstr)
|
||||||
convertC(param), formatstr, checkstr, buf);
|
convertC(param), formatstr, checkstr, buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#define DoWStrTest DoWStrTest_snprintf_s
|
||||||
|
|
||||||
|
inline void DoPointerTest_snprintf_s(const char *formatstr, void* param, char* paramstr, char
|
||||||
void DoPointerTest(const char *formatstr, void* param, char* paramstr, char
|
|
||||||
*checkstr1)
|
*checkstr1)
|
||||||
{
|
{
|
||||||
char buf[256] = { 0 };
|
char buf[256] = { 0 };
|
||||||
|
@ -53,8 +54,9 @@ void DoPointerTest(const char *formatstr, void* param, char* paramstr, char
|
||||||
paramstr, formatstr, checkstr1, buf);
|
paramstr, formatstr, checkstr1, buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#define DoPointerTest DoPointerTest_snprintf_s
|
||||||
|
|
||||||
void DoCountTest(const char *formatstr, int param, const char *checkstr)
|
inline void DoCountTest_snprintf_s(const char *formatstr, int param, const char *checkstr)
|
||||||
{
|
{
|
||||||
char buf[512] = { 0 };
|
char buf[512] = { 0 };
|
||||||
int n = -1;
|
int n = -1;
|
||||||
|
@ -71,8 +73,9 @@ void DoCountTest(const char *formatstr, int param, const char *checkstr)
|
||||||
Fail("ERROR: Expected \"%s\" got \"%s\".\n", checkstr, buf);
|
Fail("ERROR: Expected \"%s\" got \"%s\".\n", checkstr, buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#define DoCountTest DoCountTest_snprintf_s
|
||||||
|
|
||||||
void DoShortCountTest(const char *formatstr, int param, const char *checkstr)
|
inline void DoShortCountTest_snprintf_s(const char *formatstr, int param, const char *checkstr)
|
||||||
{
|
{
|
||||||
char buf[256] = { 0 };
|
char buf[256] = { 0 };
|
||||||
short int n = -1;
|
short int n = -1;
|
||||||
|
@ -89,8 +92,9 @@ void DoShortCountTest(const char *formatstr, int param, const char *checkstr)
|
||||||
Fail("ERROR: Expected \"%s\" got \"%s\".\n", checkstr, buf);
|
Fail("ERROR: Expected \"%s\" got \"%s\".\n", checkstr, buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#define DoShortCountTest DoShortCountTest_snprintf_s
|
||||||
|
|
||||||
void DoCharTest(const char *formatstr, char param, const char *checkstr)
|
inline void DoCharTest_snprintf_s(const char *formatstr, char param, const char *checkstr)
|
||||||
{
|
{
|
||||||
char buf[256] = { 0 };
|
char buf[256] = { 0 };
|
||||||
|
|
||||||
|
@ -102,8 +106,9 @@ void DoCharTest(const char *formatstr, char param, const char *checkstr)
|
||||||
param, param, formatstr, checkstr, buf);
|
param, param, formatstr, checkstr, buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#define DoCharTest DoCharTest_snprintf_s
|
||||||
|
|
||||||
void DoWCharTest(const char *formatstr, WCHAR param, const char *checkstr)
|
inline void DoWCharTest_snprintf_s(const char *formatstr, WCHAR param, const char *checkstr)
|
||||||
{
|
{
|
||||||
char buf[256] = { 0 };
|
char buf[256] = { 0 };
|
||||||
|
|
||||||
|
@ -115,8 +120,9 @@ void DoWCharTest(const char *formatstr, WCHAR param, const char *checkstr)
|
||||||
(char)param, param, formatstr, checkstr, buf);
|
(char)param, param, formatstr, checkstr, buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#define DoWCharTest DoWCharTest_snprintf_s
|
||||||
|
|
||||||
void DoNumTest(const char *formatstr, int value, const char *checkstr)
|
inline void DoNumTest_snprintf_s(const char *formatstr, int value, const char *checkstr)
|
||||||
{
|
{
|
||||||
char buf[256] = { 0 };
|
char buf[256] = { 0 };
|
||||||
|
|
||||||
|
@ -128,8 +134,9 @@ void DoNumTest(const char *formatstr, int value, const char *checkstr)
|
||||||
value, formatstr, checkstr, buf);
|
value, formatstr, checkstr, buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#define DoNumTest DoNumTest_snprintf_s
|
||||||
|
|
||||||
void DoI64Test(const char *formatstr, INT64 value, char *valuestr, const char *checkstr1)
|
inline void DoI64Test_snprintf_s(const char *formatstr, INT64 value, char *valuestr, const char *checkstr1)
|
||||||
{
|
{
|
||||||
char buf[256] = { 0 };
|
char buf[256] = { 0 };
|
||||||
|
|
||||||
|
@ -141,8 +148,9 @@ void DoI64Test(const char *formatstr, INT64 value, char *valuestr, const char *c
|
||||||
valuestr, formatstr, checkstr1, buf);
|
valuestr, formatstr, checkstr1, buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#define DoI64Test DoI64Test_snprintf_s
|
||||||
|
|
||||||
void DoDoubleTest(const char *formatstr, double value, const char *checkstr1, char
|
inline void DoDoubleTest_snprintf_s(const char *formatstr, double value, const char *checkstr1, char
|
||||||
*checkstr2)
|
*checkstr2)
|
||||||
{
|
{
|
||||||
char buf[256] = { 0 };
|
char buf[256] = { 0 };
|
||||||
|
@ -156,8 +164,9 @@ void DoDoubleTest(const char *formatstr, double value, const char *checkstr1, ch
|
||||||
value, formatstr, checkstr1, checkstr2, buf);
|
value, formatstr, checkstr1, checkstr2, buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#define DoDoubleTest DoDoubleTest_snprintf_s
|
||||||
|
|
||||||
void DoArgumentPrecTest(const char *formatstr, int precision, void *param, char
|
inline void DoArgumentPrecTest_snprintf_s(const char *formatstr, int precision, void *param, char
|
||||||
*paramstr, const char *checkstr1, const char *checkstr2)
|
*paramstr, const char *checkstr1, const char *checkstr2)
|
||||||
{
|
{
|
||||||
char buf[256];
|
char buf[256];
|
||||||
|
@ -172,8 +181,9 @@ void DoArgumentPrecTest(const char *formatstr, int precision, void *param, char
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#define DoArgumentPrecTest DoArgumentPrecTest_snprintf_s
|
||||||
|
|
||||||
void DoArgumentPrecDoubleTest(const char *formatstr, int precision, double param,
|
inline void DoArgumentPrecDoubleTest_snprintf_s(const char *formatstr, int precision, double param,
|
||||||
const char *checkstr1, const char *checkstr2)
|
const char *checkstr1, const char *checkstr2)
|
||||||
{
|
{
|
||||||
char buf[256];
|
char buf[256];
|
||||||
|
@ -188,6 +198,7 @@ const char *checkstr1, const char *checkstr2)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#define DoArgumentPrecDoubleTest DoArgumentPrecDoubleTest_snprintf_s
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
test1.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_snprintf_test1
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_snprintf_test1 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_snprintf_test1
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -19,7 +19,7 @@
|
||||||
* Notes: memcmp is used, as is strlen.
|
* Notes: memcmp is used, as is strlen.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int __cdecl main(int argc, char *argv[])
|
PALTEST(c_runtime__snprintf_s_test1_paltest_snprintf_test1, "c_runtime/_snprintf_s/test1/paltest_snprintf_test1")
|
||||||
{
|
{
|
||||||
char checkstr[] = "hello world";
|
char checkstr[] = "hello world";
|
||||||
char buf[256] = { 0 };
|
char buf[256] = { 0 };
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = sprintf_s
|
|
||||||
Name = Positive Test for sprintf_s
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = test1
|
|
||||||
Description
|
|
||||||
= General test to see if sprintf_s works correctly
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
test10.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_snprintf_test10
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_snprintf_test10 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_snprintf_test10
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -20,7 +20,7 @@
|
||||||
* Notes: memcmp is used, as is strlen.
|
* Notes: memcmp is used, as is strlen.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int __cdecl main(int argc, char *argv[])
|
PALTEST(c_runtime__snprintf_s_test10_paltest_snprintf_test10, "c_runtime/_snprintf_s/test10/paltest_snprintf_test10")
|
||||||
{
|
{
|
||||||
int neg = -42;
|
int neg = -42;
|
||||||
int pos = 42;
|
int pos = 42;
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = sprintf_s
|
|
||||||
Name = Positive Test for sprintf_s
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = test10
|
|
||||||
Description
|
|
||||||
= Tests sprintf_s with octal numbers
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
test11.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_snprintf_test11
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_snprintf_test11 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_snprintf_test11
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -19,7 +19,7 @@
|
||||||
* Notes: memcmp is used, as is strlen.
|
* Notes: memcmp is used, as is strlen.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int __cdecl main(int argc, char *argv[])
|
PALTEST(c_runtime__snprintf_s_test11_paltest_snprintf_test11, "c_runtime/_snprintf_s/test11/paltest_snprintf_test11")
|
||||||
{
|
{
|
||||||
int neg = -42;
|
int neg = -42;
|
||||||
int pos = 42;
|
int pos = 42;
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = sprintf_s
|
|
||||||
Name = Positive Test for sprintf_s
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = test11
|
|
||||||
Description
|
|
||||||
= Tests sprintf_s with unsigned numbers
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
test12.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_snprintf_test12
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_snprintf_test12 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_snprintf_test12
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -20,7 +20,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
int __cdecl main(int argc, char *argv[])
|
PALTEST(c_runtime__snprintf_s_test12_paltest_snprintf_test12, "c_runtime/_snprintf_s/test12/paltest_snprintf_test12")
|
||||||
{
|
{
|
||||||
int neg = -42;
|
int neg = -42;
|
||||||
int pos = 0x1234ab;
|
int pos = 0x1234ab;
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = sprintf_s
|
|
||||||
Name = Positive Test for sprintf_s
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = test12
|
|
||||||
Description
|
|
||||||
= Tests sprintf_s with hex numbers (lowercase)
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
test13.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_snprintf_test13
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_snprintf_test13 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_snprintf_test13
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -20,7 +20,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
int __cdecl main(int argc, char *argv[])
|
PALTEST(c_runtime__snprintf_s_test13_paltest_snprintf_test13, "c_runtime/_snprintf_s/test13/paltest_snprintf_test13")
|
||||||
{
|
{
|
||||||
int neg = -42;
|
int neg = -42;
|
||||||
int pos = 0x1234AB;
|
int pos = 0x1234AB;
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = sprintf_s
|
|
||||||
Name = Positive Test for sprintf_s
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = test13
|
|
||||||
Description
|
|
||||||
= Tests sprintf_s with hex numbers (uppercase)
|
|
|
@ -1,13 +0,0 @@
|
||||||
set(SOURCES
|
|
||||||
test14.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(paltest_snprintf_test14
|
|
||||||
${SOURCES}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(paltest_snprintf_test14 coreclrpal)
|
|
||||||
|
|
||||||
target_link_libraries(paltest_snprintf_test14
|
|
||||||
${COMMON_TEST_LIBRARIES}
|
|
||||||
)
|
|
|
@ -20,7 +20,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
int __cdecl main(int argc, char *argv[])
|
PALTEST(c_runtime__snprintf_s_test14_paltest_snprintf_test14, "c_runtime/_snprintf_s/test14/paltest_snprintf_test14")
|
||||||
{
|
{
|
||||||
double val = 256.0;
|
double val = 256.0;
|
||||||
double neg = -256.0;
|
double neg = -256.0;
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
# Licensed to the .NET Foundation under one or more agreements.
|
|
||||||
# The .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
Version = 1.0
|
|
||||||
Section = C Runtime
|
|
||||||
Function = sprintf_s
|
|
||||||
Name = Positive Test for sprintf_s
|
|
||||||
TYPE = DEFAULT
|
|
||||||
EXE1 = test14
|
|
||||||
Description
|
|
||||||
= Tests sprintf_s with exponential format doubles (lowercase)
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue