diff --git a/docs/workflow/testing/coreclr/unix-test-instructions.md b/docs/workflow/testing/coreclr/unix-test-instructions.md
index 6c86c041947e7b..2c56ebc2f9c94e 100644
--- a/docs/workflow/testing/coreclr/unix-test-instructions.md
+++ b/docs/workflow/testing/coreclr/unix-test-instructions.md
@@ -81,15 +81,23 @@ PAL tests
Build CoreCLR with PAL tests on the Unix machine:
-```sh
-./src/coreclr/build-runtime.sh -skipgenerateversion -nopgooptimize \
- -cmakeargs -DCLR_CMAKE_BUILD_TESTS=1
+```sh ./build.sh clr.paltests
```
Run tests:
+To run all tests including disabled tests
+```sh
+./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
-./src/coreclr/src/pal/tests/palsuite/runpaltests.sh $(pwd)/artifacts/obj/coreclr/$(uname).x64.Debug
+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`
+
+To disable tests in the CI edit
+`src/coreclr/src/pal/tests/palsuite/issues.targets`
\ No newline at end of file
diff --git a/eng/Subsets.props b/eng/Subsets.props
index 27a87e447b85d1..c36665c8340251 100644
--- a/eng/Subsets.props
+++ b/eng/Subsets.props
@@ -67,6 +67,7 @@
+ <_subset>$(_subset.Replace('+clr.paltests+', '+clr.paltests+clr.paltestlist+'))
<_subset>$(_subset.Replace('+clr+', '+$(DefaultCoreClrSubsets)+'))
<_subset>$(_subset.Replace('+mono+', '+$(DefaultMonoSubsets)+'))
<_subset>$(_subset.Replace('+libs+', '+$(DefaultLibrariesSubsets)+'))
@@ -84,6 +85,8 @@
+
+
@@ -147,6 +150,10 @@
$(ClrRuntimeBuildSubsets);ClrJitSubset=true
+
+ $(ClrRuntimeBuildSubsets);ClrPalTestsSubset=true
+
+
$(ClrRuntimeBuildSubsets);ClrAllJitsSubset=true;ClrJitSubset=true
@@ -155,6 +162,10 @@
+
+
+
+
diff --git a/eng/native/functions.cmake b/eng/native/functions.cmake
index 420b7d1a88f7c9..525c289d988101 100644
--- a/eng/native/functions.cmake
+++ b/eng/native/functions.cmake
@@ -356,11 +356,10 @@ function(install_symbols symbol_file destination_path)
endif()
endfunction()
-# install_clr(TARGETS TARGETS targetName [targetName2 ...] [ADDITIONAL_DESTINATION destination])
+# install_clr(TARGETS TARGETS targetName [targetName2 ...] [ADDITIONAL_DESTINATIONS destination])
function(install_clr)
- set(oneValueArgs ADDITIONAL_DESTINATION)
- set(multiValueArgs TARGETS)
- cmake_parse_arguments(INSTALL_CLR "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGV})
+ set(multiValueArgs TARGETS ADDITIONAL_DESTINATIONS)
+ cmake_parse_arguments(INSTALL_CLR "" "" "${multiValueArgs}" ${ARGV})
if ("${INSTALL_CLR_TARGETS}" STREQUAL "")
message(FATAL_ERROR "At least one target must be passed to install_clr(TARGETS )")
@@ -368,8 +367,8 @@ function(install_clr)
set(destinations ".")
- if (NOT "${INSTALL_CLR_ADDITIONAL_DESTINATION}" STREQUAL "")
- list(APPEND destinations ${INSTALL_CLR_ADDITIONAL_DESTINATION})
+ if (NOT "${INSTALL_CLR_ADDITIONAL_DESTINATIONS}" STREQUAL "")
+ list(APPEND destinations ${INSTALL_CLR_ADDITIONAL_DESTINATIONS})
endif()
foreach(targetName ${INSTALL_CLR_TARGETS})
diff --git a/eng/pipelines/common/templates/runtimes/run-test-job.yml b/eng/pipelines/common/templates/runtimes/run-test-job.yml
index 3c7dedfb19d5da..652e98a90cffd3 100644
--- a/eng/pipelines/common/templates/runtimes/run-test-job.yml
+++ b/eng/pipelines/common/templates/runtimes/run-test-job.yml
@@ -313,6 +313,9 @@ jobs:
runCrossGen: ${{ and(eq(parameters.readyToRun, true), ne(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 }}
runInUnloadableContext: ${{ parameters.runInUnloadableContext }}
diff --git a/eng/pipelines/common/templates/runtimes/send-to-helix-step.yml b/eng/pipelines/common/templates/runtimes/send-to-helix-step.yml
index 975179232eb705..febcfa4016dbbf 100644
--- a/eng/pipelines/common/templates/runtimes/send-to-helix-step.yml
+++ b/eng/pipelines/common/templates/runtimes/send-to-helix-step.yml
@@ -17,6 +17,7 @@ parameters:
timeoutPerTestInMinutes: ''
runCrossGen: ''
runCrossGen2: ''
+ runPALTestsDir: ''
compositeBuildMode: false
helixProjectArguments: ''
runInUnloadableContext: ''
@@ -48,6 +49,7 @@ steps:
_LongRunningGcTests: ${{ parameters.longRunningGcTests }}
_GcSimulatorTests: ${{ parameters.gcSimulatorTests }}
_Scenarios: ${{ join(',', parameters.scenarios) }}
+ _PALTestsDir: ${{ parameters.runPALTestsDir }}
_TimeoutPerTestCollectionInMinutes: ${{ parameters.timeoutPerTestCollectionInMinutes }}
_TimeoutPerTestInMinutes: ${{ parameters.timeoutPerTestInMinutes }}
runtimeFlavorDisplayName: ${{ parameters.runtimeFlavorDisplayName }}
diff --git a/eng/pipelines/coreclr/templates/build-job.yml b/eng/pipelines/coreclr/templates/build-job.yml
index 65c02d9371ddc8..526b43afcc7f48 100644
--- a/eng/pipelines/coreclr/templates/build-job.yml
+++ b/eng/pipelines/coreclr/templates/build-job.yml
@@ -109,6 +109,12 @@ jobs:
- ${{ if eq(parameters.testGroup, 'clrinterpreter') }}:
- name: clrInterpreterBuildArg
value: '-cmakeargs "-DFEATURE_INTERPRETER=1"'
+
+ - name: clrBuildPALTestsBuildArg
+ value: ''
+ - ${{ if ne(parameters.testGroup, 'innerloop') }}:
+ - name: clrBuildPALTestsBuildArg
+ value: '-paltests '
- ${{ parameters.variables }}
@@ -141,7 +147,7 @@ jobs:
# Build CoreCLR Runtime
- ${{ 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
- ${{ if eq(parameters.osGroup, 'Windows_NT') }}:
- 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
# 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
# Run CoreCLR Tools unit tests
diff --git a/src/coreclr/build-runtime.cmd b/src/coreclr/build-runtime.cmd
index e6acb8955e2511..35b3ed5330b4c9 100644
--- a/src/coreclr/build-runtime.cmd
+++ b/src/coreclr/build-runtime.cmd
@@ -84,6 +84,7 @@ set __SkipCrossArchNative=0
set __SkipGenerateVersion=0
set __RestoreOptData=1
set __BuildJit=1
+set __BuildPALTests=0
set __BuildAllJits=1
set __BuildRuntime=1
set __CrossArch=
diff --git a/src/coreclr/build-runtime.sh b/src/coreclr/build-runtime.sh
index f4007ebd1a74b4..f7dd55e288310b 100755
--- a/src/coreclr/build-runtime.sh
+++ b/src/coreclr/build-runtime.sh
@@ -25,6 +25,7 @@ usage_list+=("-staticanalyzer: skip native image generation.")
usage_list+=("-skipjit: skip building jit.")
usage_list+=("-skipalljits: skip building crosstargetting jits.")
usage_list+=("-skipruntime: skip building runtime.")
+usage_list+=("-paltests: build the pal tests.")
setup_dirs_local()
{
@@ -135,6 +136,10 @@ handle_arguments_local() {
skipruntime|-skipruntime)
__BuildRuntime=0
;;
+
+ paltests|-paltests)
+ __BuildPALTests=1
+ ;;
*)
__UnprocessedBuildArgs="$__UnprocessedBuildArgs $1"
;;
@@ -187,7 +192,7 @@ __UseNinja=0
__VerboseBuild=0
__ValidateCrossArg=1
__CMakeArgs=""
-__BuildJit=1
+__BuildPALTests=0
__BuildAllJits=1
__BuildRuntime=1
@@ -247,6 +252,7 @@ restore_optdata
# 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_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
__CMakeArgs="-DCLR_CMAKE_ENABLE_CODE_COVERAGE=1 $__CMakeArgs"
diff --git a/src/coreclr/runtime.proj b/src/coreclr/runtime.proj
index 7ea711cf15bdc4..79b99c1649eb05 100644
--- a/src/coreclr/runtime.proj
+++ b/src/coreclr/runtime.proj
@@ -23,6 +23,7 @@
<_CoreClrBuildArg Condition="'$(NoPgoOptimize)' == 'true'" Include="-nopgooptimize" />
<_CoreClrBuildArg Condition="'$(ClrRuntimeSubset)' != 'true'" Include="-skipruntime" />
<_CoreClrBuildArg Condition="'$(ClrJitSubset)' != 'true'" Include="-skipjit" />
+ <_CoreClrBuildArg Condition="'$(ClrPalTestsSubset)' == 'true'" Include="-paltests" />
<_CoreClrBuildArg Condition="'$(ClrAllJitsSubset)' != 'true'" Include="-skipalljits" />
<_CoreClrBuildArg Condition="'$(NoPgoOptimize)' == 'true'" Include="-nopgooptimize" />
diff --git a/src/coreclr/src/debug/createdump/CMakeLists.txt b/src/coreclr/src/debug/createdump/CMakeLists.txt
index 80f9487dfc09a5..71b6083f9bcf57 100644
--- a/src/coreclr/src/debug/createdump/CMakeLists.txt
+++ b/src/coreclr/src/debug/createdump/CMakeLists.txt
@@ -86,4 +86,4 @@ endif(CLR_CMAKE_HOST_OSX)
endif(CLR_CMAKE_HOST_WIN32)
-install_clr(TARGETS createdump ADDITIONAL_DESTINATION sharedFramework)
+install_clr(TARGETS createdump ADDITIONAL_DESTINATIONS sharedFramework)
diff --git a/src/coreclr/src/dlls/clretwrc/CMakeLists.txt b/src/coreclr/src/dlls/clretwrc/CMakeLists.txt
index 9935362c0c9a9b..d2cb5cfae98e8e 100644
--- a/src/coreclr/src/dlls/clretwrc/CMakeLists.txt
+++ b/src/coreclr/src/dlls/clretwrc/CMakeLists.txt
@@ -20,6 +20,6 @@ add_library_clr(clretwrc SHARED
)
# add the install targets
-install_clr(TARGETS clretwrc ADDITIONAL_DESTINATION sharedFramework)
+install_clr(TARGETS clretwrc ADDITIONAL_DESTINATIONS sharedFramework)
add_dependencies(clretwrc eventing_headers)
diff --git a/src/coreclr/src/dlls/dbgshim/CMakeLists.txt b/src/coreclr/src/dlls/dbgshim/CMakeLists.txt
index 54cedfeb2c29a3..5f026214382788 100644
--- a/src/coreclr/src/dlls/dbgshim/CMakeLists.txt
+++ b/src/coreclr/src/dlls/dbgshim/CMakeLists.txt
@@ -78,4 +78,4 @@ endif(CLR_CMAKE_HOST_WIN32)
target_link_libraries(dbgshim ${DBGSHIM_LIBRARIES})
# add the install targets
-install_clr(TARGETS dbgshim ADDITIONAL_DESTINATION sharedFramework)
+install_clr(TARGETS dbgshim ADDITIONAL_DESTINATIONS sharedFramework)
diff --git a/src/coreclr/src/dlls/mscordac/CMakeLists.txt b/src/coreclr/src/dlls/mscordac/CMakeLists.txt
index 7a3e19525f2a98..f1acbdce5f9078 100644
--- a/src/coreclr/src/dlls/mscordac/CMakeLists.txt
+++ b/src/coreclr/src/dlls/mscordac/CMakeLists.txt
@@ -194,7 +194,7 @@ if(FEATURE_SINGLE_FILE_DIAGNOSTICS)
endif(FEATURE_SINGLE_FILE_DIAGNOSTICS)
# add the install targets
-install_clr(TARGETS mscordaccore ADDITIONAL_DESTINATION sharedFramework)
+install_clr(TARGETS mscordaccore ADDITIONAL_DESTINATIONS sharedFramework)
if(CLR_CMAKE_HOST_WIN32)
set(LONG_NAME_HOST_ARCH ${CLR_CMAKE_HOST_ARCH})
diff --git a/src/coreclr/src/dlls/mscordbi/CMakeLists.txt b/src/coreclr/src/dlls/mscordbi/CMakeLists.txt
index b87b3eadb6a13a..7aa7a2a1e1428e 100644
--- a/src/coreclr/src/dlls/mscordbi/CMakeLists.txt
+++ b/src/coreclr/src/dlls/mscordbi/CMakeLists.txt
@@ -118,4 +118,4 @@ if(FEATURE_SINGLE_FILE_DIAGNOSTICS)
endif(FEATURE_SINGLE_FILE_DIAGNOSTICS)
# add the install targets
-install_clr(TARGETS mscordbi ADDITIONAL_DESTINATION sharedFramework)
+install_clr(TARGETS mscordbi ADDITIONAL_DESTINATIONS sharedFramework)
diff --git a/src/coreclr/src/dlls/mscoree/coreclr/CMakeLists.txt b/src/coreclr/src/dlls/mscoree/coreclr/CMakeLists.txt
index 2a25b2119b366b..67cbf59fe9472e 100644
--- a/src/coreclr/src/dlls/mscoree/coreclr/CMakeLists.txt
+++ b/src/coreclr/src/dlls/mscoree/coreclr/CMakeLists.txt
@@ -228,7 +228,7 @@ if(CLR_CMAKE_TARGET_WIN32)
endif(CLR_CMAKE_TARGET_WIN32)
# add the install targets
-install_clr(TARGETS coreclr ADDITIONAL_DESTINATION sharedFramework)
+install_clr(TARGETS coreclr ADDITIONAL_DESTINATIONS sharedFramework)
# publish coreclr_static lib
_install(TARGETS coreclr_static DESTINATION lib)
diff --git a/src/coreclr/src/dlls/mscorrc/CMakeLists.txt b/src/coreclr/src/dlls/mscorrc/CMakeLists.txt
index e114ec19cea63e..040b12a240a2a3 100644
--- a/src/coreclr/src/dlls/mscorrc/CMakeLists.txt
+++ b/src/coreclr/src/dlls/mscorrc/CMakeLists.txt
@@ -15,7 +15,7 @@ if(CLR_CMAKE_HOST_WIN32)
include.rc
)
- install_clr(TARGETS mscorrc ADDITIONAL_DESTINATION sharedFramework)
+ install_clr(TARGETS mscorrc ADDITIONAL_DESTINATIONS sharedFramework)
else()
build_resources(${CMAKE_CURRENT_SOURCE_DIR}/include.rc mscorrc TARGET_CPP_FILE)
diff --git a/src/coreclr/src/jit/CMakeLists.txt b/src/coreclr/src/jit/CMakeLists.txt
index d26d81c4205470..314db3989a6ca4 100644
--- a/src/coreclr/src/jit/CMakeLists.txt
+++ b/src/coreclr/src/jit/CMakeLists.txt
@@ -12,9 +12,10 @@ add_compile_options($<$:-W4>)
function(create_standalone_jit)
- set(oneValueArgs TARGET OS ARCH ADDITIONAL_DESTINATION)
+ set(oneValueArgs TARGET OS ARCH)
+ set(multiValueArgs ADDITIONAL_DESTINATIONS)
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})
@@ -30,10 +31,10 @@ function(create_standalone_jit)
clr_unknown_arch()
endif()
- if (TARGETDETAILS_ADDITIONAL_DESTINATION STREQUAL "")
+ if (TARGETDETAILS_ADDITIONAL_DESTINATIONS STREQUAL "")
add_jit(${TARGETDETAILS_TARGET})
else()
- add_jit(${TARGETDETAILS_TARGET} ADDITIONAL_DESTINATION "${TARGETDETAILS_ADDITIONAL_DESTINATION}")
+ add_jit(${TARGETDETAILS_TARGET} ADDITIONAL_DESTINATIONS "${TARGETDETAILS_ADDITIONAL_DESTINATIONS}")
endif()
set_target_definitions_to_custom_os_and_arch(${ARGN})
@@ -411,7 +412,7 @@ else()
endif(CLR_CMAKE_HOST_UNIX)
# Shared function for generating JIT
-# optional arguments: ADDITIONAL_DESTINATION path
+# optional arguments: ADDITIONAL_DESTINATIONS path
function(add_jit jitName)
set_source_files_properties(${JIT_EXPORTS_FILE} PROPERTIES GENERATED TRUE)
@@ -459,7 +460,7 @@ else()
set(TARGET_OS_NAME win)
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
add_pgo(clrjit)
diff --git a/src/coreclr/src/pal/src/eventprovider/lttngprovider/CMakeLists.txt b/src/coreclr/src/pal/src/eventprovider/lttngprovider/CMakeLists.txt
index b6b54e24ac7347..cd6771955e4cb8 100644
--- a/src/coreclr/src/pal/src/eventprovider/lttngprovider/CMakeLists.txt
+++ b/src/coreclr/src/pal/src/eventprovider/lttngprovider/CMakeLists.txt
@@ -72,4 +72,4 @@ set_target_properties(coreclrtraceptprovider PROPERTIES LINKER_LANGUAGE CXX)
# Install the static eventprovider library
_install(TARGETS eventprovider DESTINATION lib)
# Install the static coreclrtraceptprovider library
-install_clr(TARGETS coreclrtraceptprovider ADDITIONAL_DESTINATION sharedFramework)
+install_clr(TARGETS coreclrtraceptprovider ADDITIONAL_DESTINATIONS sharedFramework paltests)
diff --git a/src/coreclr/src/pal/tests/palsuite/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/CMakeLists.txt
index 091da03fba3c08..f30ef84f4235e8 100644
--- a/src/coreclr/src/pal/tests/palsuite/CMakeLists.txt
+++ b/src/coreclr/src/pal/tests/palsuite/CMakeLists.txt
@@ -25,21 +25,908 @@ elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
add_compile_options(-Wno-int-to-pointer-cast)
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)
add_subdirectory(eventprovider)
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)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/CMakeLists.txt
deleted file mode 100644
index 5dab9502848e1a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/CMakeLists.txt
+++ /dev/null
@@ -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)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/__iscsym/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/__iscsym/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/__iscsym/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/__iscsym/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/__iscsym/test1/CMakeLists.txt
deleted file mode 100644
index 431b99e4eb2cb8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/__iscsym/test1/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/__iscsym/test1/__iscsym.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/__iscsym/test1/__iscsym.cpp
index 497f281da12f6b..9244c5f0a32e2d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/__iscsym/test1/__iscsym.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/__iscsym/test1/__iscsym.cpp
@@ -12,7 +12,7 @@
**============================================================*/
#include
-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 index;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/__iscsym/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/__iscsym/test1/testinfo.dat
deleted file mode 100644
index 7bf152d2cc7be4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/__iscsym/test1/testinfo.dat
+++ /dev/null
@@ -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
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_alloca/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_alloca/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_alloca/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_alloca/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_alloca/test1/CMakeLists.txt
deleted file mode 100644
index 41226ab10bab54..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_alloca/test1/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_alloca/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_alloca/test1/test1.cpp
index b0552d457f8bdf..d11b65e99dce05 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_alloca/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_alloca/test1/test1.cpp
@@ -13,7 +13,7 @@
#include
-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;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_alloca/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_alloca/test1/testinfo.dat
deleted file mode 100644
index 30ef924f1e90f9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_alloca/test1/testinfo.dat
+++ /dev/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.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_fdopen/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_fdopen/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_fdopen/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_fdopen/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_fdopen/test1/CMakeLists.txt
deleted file mode 100644
index c4df126e13ec70..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_fdopen/test1/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_fdopen/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_fdopen/test1/test1.cpp
index 608f537f25df5e..9cff3b731d878a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_fdopen/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_fdopen/test1/test1.cpp
@@ -21,9 +21,9 @@
#include
-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 hWritePipe = NULL;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_fdopen/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_fdopen/test1/testinfo.dat
deleted file mode 100644
index c2bbdb6b42af0e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_fdopen/test1/testinfo.dat
+++ /dev/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.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_finite/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_finite/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_finite/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_finite/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_finite/test1/CMakeLists.txt
deleted file mode 100644
index 55401112a47443..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_finite/test1/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_finite/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_finite/test1/test1.cpp
index 4f86cad2f17d12..e21c9551b5c0a9 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_finite/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_finite/test1/test1.cpp
@@ -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)))
-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*/
UINT64 lsnan = UI64(0xffffffffffffffff);
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_finite/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_finite/test1/testinfo.dat
deleted file mode 100644
index 3dd6f68f2f3a9f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_finite/test1/testinfo.dat
+++ /dev/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 = _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).
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_finitef/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_finitef/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_finitef/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_finitef/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_finitef/test1/CMakeLists.txt
deleted file mode 100644
index 9e110ede88cca4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_finitef/test1/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_finitef/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/_finitef/test1/test1.cpp
similarity index 96%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/_finitef/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/_finitef/test1/test1.cpp
index 5f94ac464e7c8d..5158fa9d8404e0 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_finitef/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_finitef/test1/test1.cpp
@@ -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)))
-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*/
UINT32 lsnan = 0xffffffffu;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_finitef/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_finitef/test1/testinfo.dat
deleted file mode 100644
index aeadb89d6f2bb4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_finitef/test1/testinfo.dat
+++ /dev/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 = _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).
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/test1/CMakeLists.txt
deleted file mode 100644
index 9440a99197b691..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/test1/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/test1/_gcvt.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/test1/_gcvt.cpp
index e73d74b2cdff08..ea2c1b02ade4e3 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/test1/_gcvt.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/test1/_gcvt.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__gcvt_test1_paltest_gcvt_test1, "c_runtime/_gcvt/test1/paltest_gcvt_test1")
{
int err;
double dValue = -3.1415926535;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/test1/testinfo.dat
deleted file mode 100644
index b32ac0e38f2a51..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/test1/testinfo.dat
+++ /dev/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 = _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
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/test2/CMakeLists.txt
deleted file mode 100644
index 87f84e30f870af..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/test2/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/test2/test2.cpp
index 9ed63892f81a91..af41769786f8a8 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/test2/test2.cpp
@@ -24,7 +24,7 @@ struct testCase
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];
int i=0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/test2/testinfo.dat
deleted file mode 100644
index 1dca549cc93e4f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_gcvt/test2/testinfo.dat
+++ /dev/null
@@ -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)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnan/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnan/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnan/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnan/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnan/test1/CMakeLists.txt
deleted file mode 100644
index 31a173cfcbb41c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnan/test1/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnan/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnan/test1/test1.cpp
index 6640bc4edcf15c..98a96cc2474a4d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnan/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnan/test1/test1.cpp
@@ -22,7 +22,7 @@
/*
* 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
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnan/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnan/test1/testinfo.dat
deleted file mode 100644
index 7762c56edb3c93..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnan/test1/testinfo.dat
+++ /dev/null
@@ -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.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnanf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnanf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnanf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnanf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnanf/test1/CMakeLists.txt
deleted file mode 100644
index 2189a703ed5802..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnanf/test1/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnanf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnanf/test1/test1.cpp
similarity index 96%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/_isnanf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/_isnanf/test1/test1.cpp
index 6fac5a718caf4d..b46b238342adce 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnanf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnanf/test1/test1.cpp
@@ -22,7 +22,7 @@
/*
* 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
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnanf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnanf/test1/testinfo.dat
deleted file mode 100644
index 362f6426576dc0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_isnanf/test1/testinfo.dat
+++ /dev/null
@@ -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.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_itow/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_itow/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_itow/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_itow/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_itow/test1/CMakeLists.txt
deleted file mode 100644
index 2c3d4ac509f209..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_itow/test1/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_itow/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_itow/test1/test1.cpp
index bd93868a0e416f..15e6aa20179940 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_itow/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_itow/test1/test1.cpp
@@ -23,7 +23,7 @@ struct testCase
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];
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_itow/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_itow/test1/testinfo.dat
deleted file mode 100644
index 99b24cf89d5a69..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_itow/test1/testinfo.dat
+++ /dev/null
@@ -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.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/CMakeLists.txt
deleted file mode 100644
index 070e421836829e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/CMakeLists.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-add_subdirectory(test4)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test1/CMakeLists.txt
deleted file mode 100644
index 2d7d38315123c0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test1/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test1/test1.cpp
index 596c0e8dcfcbd4..a7ebbe4fa6189d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test1/test1.cpp
@@ -21,19 +21,18 @@ struct TestElement
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",
- "A value", TRUE},
- {"AnotherVariable=", "AnotherVariable", "", TRUE},
- {"YetAnotherVariable", "", "", FALSE},
- {"=ADifferentVariable", "", "ADifferentVariable", FALSE},
- {"", "", "", FALSE}
-
-};
+ struct TestElement TestCases[] =
+ {
+ {"PalTestingEnvironmentVariable=A value", "PalTestingEnvironmentVariable",
+ "A value", TRUE},
+ {"AnotherVariable=", "AnotherVariable", "", TRUE},
+ {"YetAnotherVariable", "", "", FALSE},
+ {"=ADifferentVariable", "", "ADifferentVariable", FALSE},
+ {"", "", "", FALSE}
-int __cdecl main(int argc, char **argv)
-{
+ };
int i;
char *variableValue;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test1/testinfo.dat
deleted file mode 100644
index bf2e6c42ffa49e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test1/testinfo.dat
+++ /dev/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 = _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.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test2/CMakeLists.txt
deleted file mode 100644
index 41a75fa877b61b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test2/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test2/test2.cpp
index 170e55ff93b8a2..ee84e375c2e2ec 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test2/test2.cpp
@@ -18,7 +18,7 @@ const char *_putenvString1 = "AnUnusualVariable=";
const char *variable = "AnUnusualVariable";
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;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test2/testinfo.dat
deleted file mode 100644
index 7f033b4ca24322..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test2/testinfo.dat
+++ /dev/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 = _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.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test3/CMakeLists.txt
deleted file mode 100644
index a3bab40990f31d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test3/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test3/test3.cpp
index c6889821d4db88..74d057dadd4492 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test3/test3.cpp
@@ -14,7 +14,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime__putenv_test3_paltest_putenv_test3, "c_runtime/_putenv/test3/paltest_putenv_test3")
{
#if WIN32
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test3/testinfo.dat
deleted file mode 100644
index c1a8b91e1ee177..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test3/testinfo.dat
+++ /dev/null
@@ -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.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test4/CMakeLists.txt
deleted file mode 100644
index 78d1d7050436ca..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test4/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test4/test4.cpp
index c7b9994a8e10b7..85fb19a171f6a5 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test4/test4.cpp
@@ -15,7 +15,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime__putenv_test4_paltest_putenv_test4, "c_runtime/_putenv/test4/paltest_putenv_test4")
{
#if WIN32
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test4/testinfo.dat
deleted file mode 100644
index 04ca0daad7e95a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_putenv/test4/testinfo.dat
+++ /dev/null
@@ -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.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotl/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotl/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotl/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotl/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotl/test1/CMakeLists.txt
deleted file mode 100644
index bb0484752a3afa..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotl/test1/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotl/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotl/test1/test1.cpp
index 19e5cdb805d491..52f321ec97064f 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotl/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotl/test1/test1.cpp
@@ -17,7 +17,7 @@
**===================================================================*/
#include
-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;
int i,j;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotl/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotl/test1/testinfo.dat
deleted file mode 100644
index 4232c58bbdf398..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotl/test1/testinfo.dat
+++ /dev/null
@@ -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.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotr/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotr/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotr/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotr/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotr/test1/CMakeLists.txt
deleted file mode 100644
index c01bd982495416..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotr/test1/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotr/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotr/test1/test1.cpp
index e90ca0e853bb0e..2f753c56b6c174 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotr/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotr/test1/test1.cpp
@@ -16,7 +16,7 @@
**===================================================================*/
#include
-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;
int i,j;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotr/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotr/test1/testinfo.dat
deleted file mode 100644
index e56d80e958001e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_rotr/test1/testinfo.dat
+++ /dev/null
@@ -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.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/CMakeLists.txt
deleted file mode 100644
index b29c7c438bd107..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/CMakeLists.txt
+++ /dev/null
@@ -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)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/_snprintf_s.h b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/_snprintf_s.h
index 35aeffe24e4fbd..747d50a1e7fcb1 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/_snprintf_s.h
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/_snprintf_s.h
@@ -13,7 +13,7 @@
#ifndef __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 };
@@ -25,8 +25,9 @@ void DoStrTest(const char *formatstr, char* param, const char *checkstr)
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 };
@@ -38,9 +39,9 @@ void DoWStrTest(const char *formatstr, WCHAR* param, const char *checkstr)
convertC(param), formatstr, checkstr, buf);
}
}
+#define DoWStrTest DoWStrTest_snprintf_s
-
-void DoPointerTest(const char *formatstr, void* param, char* paramstr, char
+inline void DoPointerTest_snprintf_s(const char *formatstr, void* param, char* paramstr, char
*checkstr1)
{
char buf[256] = { 0 };
@@ -53,8 +54,9 @@ void DoPointerTest(const char *formatstr, void* param, char* paramstr, char
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 };
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);
}
}
+#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 };
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);
}
}
+#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 };
@@ -102,8 +106,9 @@ void DoCharTest(const char *formatstr, char param, const char *checkstr)
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 };
@@ -115,8 +120,9 @@ void DoWCharTest(const char *formatstr, WCHAR param, const char *checkstr)
(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 };
@@ -128,8 +134,9 @@ void DoNumTest(const char *formatstr, int value, const char *checkstr)
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 };
@@ -141,8 +148,9 @@ void DoI64Test(const char *formatstr, INT64 value, char *valuestr, const char *c
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)
{
char buf[256] = { 0 };
@@ -156,8 +164,9 @@ void DoDoubleTest(const char *formatstr, double value, const char *checkstr1, ch
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)
{
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)
{
char buf[256];
@@ -188,6 +198,7 @@ const char *checkstr1, const char *checkstr2)
}
}
+#define DoArgumentPrecDoubleTest DoArgumentPrecDoubleTest_snprintf_s
#endif
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test1/CMakeLists.txt
deleted file mode 100644
index 01802902dcedc4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test1/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test1/test1.cpp
index 39f91711b56164..e7fc958b21669a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test1/test1.cpp
@@ -19,7 +19,7 @@
* 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 buf[256] = { 0 };
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test1/testinfo.dat
deleted file mode 100644
index dd7e48e96b2da7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test1/testinfo.dat
+++ /dev/null
@@ -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
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test10/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test10/CMakeLists.txt
deleted file mode 100644
index 2378bee2d0c6b8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test10/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test10/test10.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test10/test10.cpp
index e2f7d4aca34e49..1ed1831232e539 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test10/test10.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test10/test10.cpp
@@ -20,7 +20,7 @@
* 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 pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test10/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test10/testinfo.dat
deleted file mode 100644
index 5bef07c257d635..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test10/testinfo.dat
+++ /dev/null
@@ -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
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test11/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test11/CMakeLists.txt
deleted file mode 100644
index 0eea7017a3a08b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test11/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test11/test11.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test11/test11.cpp
index fc93a3c668df29..2576460d7aa95b 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test11/test11.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test11/test11.cpp
@@ -19,7 +19,7 @@
* 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 pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test11/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test11/testinfo.dat
deleted file mode 100644
index c65a26c7081231..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test11/testinfo.dat
+++ /dev/null
@@ -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
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test12/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test12/CMakeLists.txt
deleted file mode 100644
index 5d824381ee85b7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test12/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test12/test12.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test12/test12.cpp
index c1bee9c77f925f..de62e6e2317e29 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test12/test12.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test12/test12.cpp
@@ -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 pos = 0x1234ab;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test12/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test12/testinfo.dat
deleted file mode 100644
index 99db86d551dbb6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test12/testinfo.dat
+++ /dev/null
@@ -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)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test13/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test13/CMakeLists.txt
deleted file mode 100644
index 74d1bc8454d8d5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test13/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test13/test13.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test13/test13.cpp
index 1e0f0e5383a947..59c26ca4bbe1d4 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test13/test13.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test13/test13.cpp
@@ -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 pos = 0x1234AB;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test13/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test13/testinfo.dat
deleted file mode 100644
index 9ec9a9f53d91ba..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test13/testinfo.dat
+++ /dev/null
@@ -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)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test14/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test14/CMakeLists.txt
deleted file mode 100644
index b9592c99eea378..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test14/CMakeLists.txt
+++ /dev/null
@@ -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}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test14/test14.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test14/test14.cpp
index 6bcf181a615595..b3b5044a35e4d8 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test14/test14.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test14/test14.cpp
@@ -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 neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test14/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test14/testinfo.dat
deleted file mode 100644
index d9d2d7dd4ebd3a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test14/testinfo.dat
+++ /dev/null
@@ -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)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test15/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test15/CMakeLists.txt
deleted file mode 100644
index fe3736055c23c3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test15/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test15.cpp
-)
-
-add_executable(paltest_snprintf_test15
- ${SOURCES}
-)
-
-add_dependencies(paltest_snprintf_test15 coreclrpal)
-
-target_link_libraries(paltest_snprintf_test15
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test15/test15.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test15/test15.cpp
index 818cb14c8707a0..407af8cd797b6d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test15/test15.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test15/test15.cpp
@@ -19,7 +19,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snprintf_s_test15_paltest_snprintf_test15, "c_runtime/_snprintf_s/test15/paltest_snprintf_test15")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test15/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test15/testinfo.dat
deleted file mode 100644
index 458ef784771d59..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test15/testinfo.dat
+++ /dev/null
@@ -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 = test15
-Description
-= Tests sprintf_s with exponential format doubles (uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test16/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test16/CMakeLists.txt
deleted file mode 100644
index 049abeba07c50d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test16/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test16.cpp
-)
-
-add_executable(paltest_snprintf_test16
- ${SOURCES}
-)
-
-add_dependencies(paltest_snprintf_test16 coreclrpal)
-
-target_link_libraries(paltest_snprintf_test16
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test16/test16.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test16/test16.cpp
index e47bb777dab774..4ea8909c1147d4 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test16/test16.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test16/test16.cpp
@@ -19,7 +19,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snprintf_s_test16_paltest_snprintf_test16, "c_runtime/_snprintf_s/test16/paltest_snprintf_test16")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test16/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test16/testinfo.dat
deleted file mode 100644
index a40e69e531051c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test16/testinfo.dat
+++ /dev/null
@@ -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 = test16
-Description
-= Tests sprintf_s with decimal point format doubles
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test17/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test17/CMakeLists.txt
deleted file mode 100644
index 7bd8a420aecf0d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test17/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test17.cpp
-)
-
-add_executable(paltest_snprintf_test17
- ${SOURCES}
-)
-
-add_dependencies(paltest_snprintf_test17 coreclrpal)
-
-target_link_libraries(paltest_snprintf_test17
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test17/test17.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test17/test17.cpp
index aef1be6a90156e..496744c044891b 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test17/test17.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test17/test17.cpp
@@ -19,7 +19,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snprintf_s_test17_paltest_snprintf_test17, "c_runtime/_snprintf_s/test17/paltest_snprintf_test17")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test17/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test17/testinfo.dat
deleted file mode 100644
index 2782f03bb863b9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test17/testinfo.dat
+++ /dev/null
@@ -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 = test17
-Description
-= Tests sprintf_s with compact format doubles (lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test18/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test18/CMakeLists.txt
deleted file mode 100644
index d61038daf85d98..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test18/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test18.cpp
-)
-
-add_executable(paltest_snprintf_test18
- ${SOURCES}
-)
-
-add_dependencies(paltest_snprintf_test18 coreclrpal)
-
-target_link_libraries(paltest_snprintf_test18
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test18/test18.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test18/test18.cpp
index 34c67f43c15ef4..0a96a010407c3b 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test18/test18.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test18/test18.cpp
@@ -19,7 +19,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snprintf_s_test18_paltest_snprintf_test18, "c_runtime/_snprintf_s/test18/paltest_snprintf_test18")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test18/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test18/testinfo.dat
deleted file mode 100644
index e93e01f2b11c42..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test18/testinfo.dat
+++ /dev/null
@@ -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 = test18
-Description
-= Tests sprintf_s with compact format doubles (uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test19/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test19/CMakeLists.txt
deleted file mode 100644
index 6d274d8a0de07e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test19/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test19.cpp
-)
-
-add_executable(paltest_snprintf_test19
- ${SOURCES}
-)
-
-add_dependencies(paltest_snprintf_test19 coreclrpal)
-
-target_link_libraries(paltest_snprintf_test19
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test19/test19.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test19/test19.cpp
index 480b83fd2764f7..f3335fa7000ee8 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test19/test19.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test19/test19.cpp
@@ -20,7 +20,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snprintf_s_test19_paltest_snprintf_test19, "c_runtime/_snprintf_s/test19/paltest_snprintf_test19")
{
int n = -1;
if (PAL_Initialize(argc, argv) != 0)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test19/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test19/testinfo.dat
deleted file mode 100644
index ea56b0bb8f031c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test19/testinfo.dat
+++ /dev/null
@@ -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 = test19
-Description
-= Tests sprintf_s with argument specified precision
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test2/CMakeLists.txt
deleted file mode 100644
index 5ce56484bd8562..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_snprintf_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_snprintf_test2 coreclrpal)
-
-target_link_libraries(paltest_snprintf_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test2/test2.cpp
index 1c8888ee388169..4f8a95d2905eec 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test2/test2.cpp
@@ -18,7 +18,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snprintf_s_test2_paltest_snprintf_test2, "c_runtime/_snprintf_s/test2/paltest_snprintf_test2")
{
if (PAL_Initialize(argc, argv) != 0)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test2/testinfo.dat
deleted file mode 100644
index 1ec448495ffccb..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test2/testinfo.dat
+++ /dev/null
@@ -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 = test2
-Description
-= Tests sprintf_s with strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test3/CMakeLists.txt
deleted file mode 100644
index ff4049e339b4a2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_snprintf_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_snprintf_test3 coreclrpal)
-
-target_link_libraries(paltest_snprintf_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test3/test3.cpp
index ed515e7bcd26c9..485ddfafc9e806 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test3/test3.cpp
@@ -19,7 +19,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snprintf_s_test3_paltest_snprintf_test3, "c_runtime/_snprintf_s/test3/paltest_snprintf_test3")
{
if (PAL_Initialize(argc, argv) != 0)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test3/testinfo.dat
deleted file mode 100644
index cc56fe26478f5f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test3/testinfo.dat
+++ /dev/null
@@ -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 = test3
-Description
-= Tests sprintf_s with wide strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test4/CMakeLists.txt
deleted file mode 100644
index 2cbef279f12c7a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_snprintf_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_snprintf_test4 coreclrpal)
-
-target_link_libraries(paltest_snprintf_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test4/test4.cpp
index 56b2a0c955bada..3cc097d6af008b 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test4/test4.cpp
@@ -20,7 +20,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snprintf_s_test4_paltest_snprintf_test4, "c_runtime/_snprintf_s/test4/paltest_snprintf_test4")
{
void *ptr = (void*) 0x123456;
INT64 lptr = I64(0x1234567887654321);
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test4/testinfo.dat
deleted file mode 100644
index 617c9b2d3e5bd5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test4/testinfo.dat
+++ /dev/null
@@ -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 = test4
-Description
-= Tests sprintf_s with pointers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test6/CMakeLists.txt
deleted file mode 100644
index 2fdc6641c26731..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test6.cpp
-)
-
-add_executable(paltest_snprintf_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_snprintf_test6 coreclrpal)
-
-target_link_libraries(paltest_snprintf_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test6/test6.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test6/test6.cpp
index b7ce3fac92ea2b..69cd3a43fd404b 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test6/test6.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test6/test6.cpp
@@ -19,7 +19,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snprintf_s_test6_paltest_snprintf_test6, "c_runtime/_snprintf_s/test6/paltest_snprintf_test6")
{
WCHAR wc = (WCHAR) 'c';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test6/testinfo.dat
deleted file mode 100644
index 0c520ade03e53e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test6/testinfo.dat
+++ /dev/null
@@ -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 = test6
-Description
-= Tests sprintf_s with characters
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test7/CMakeLists.txt
deleted file mode 100644
index 2e1636bf13b2eb..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test7.cpp
-)
-
-add_executable(paltest_snprintf_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_snprintf_test7 coreclrpal)
-
-target_link_libraries(paltest_snprintf_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test7/test7.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test7/test7.cpp
index 0831dfa7496161..76fb298bed9fd8 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test7/test7.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test7/test7.cpp
@@ -19,7 +19,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snprintf_s_test7_paltest_snprintf_test7, "c_runtime/_snprintf_s/test7/paltest_snprintf_test7")
{
WCHAR wb = (WCHAR) 'b';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test7/testinfo.dat
deleted file mode 100644
index 38fa9371fe5959..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test7/testinfo.dat
+++ /dev/null
@@ -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 = test7
-Description
-= Tests sprintf_s with wide characters
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test8/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test8/CMakeLists.txt
deleted file mode 100644
index cf431206bde22e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test8/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test8.cpp
-)
-
-add_executable(paltest_snprintf_test8
- ${SOURCES}
-)
-
-add_dependencies(paltest_snprintf_test8 coreclrpal)
-
-target_link_libraries(paltest_snprintf_test8
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test8/test8.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test8/test8.cpp
index d034f7572b147f..d167949f0d3b7b 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test8/test8.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test8/test8.cpp
@@ -20,7 +20,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snprintf_s_test8_paltest_snprintf_test8, "c_runtime/_snprintf_s/test8/paltest_snprintf_test8")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test8/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test8/testinfo.dat
deleted file mode 100644
index 8c9e8cff321b0d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test8/testinfo.dat
+++ /dev/null
@@ -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 = test8
-Description
-= Tests sprintf_s with decimal numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test9/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test9/CMakeLists.txt
deleted file mode 100644
index 646c6de4bae4f1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test9/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test9.cpp
-)
-
-add_executable(paltest_snprintf_test9
- ${SOURCES}
-)
-
-add_dependencies(paltest_snprintf_test9 coreclrpal)
-
-target_link_libraries(paltest_snprintf_test9
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test9/test9.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test9/test9.cpp
index 1877ff9a80711b..82a1a10697ce9e 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test9/test9.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test9/test9.cpp
@@ -20,7 +20,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snprintf_s_test9_paltest_snprintf_test9, "c_runtime/_snprintf_s/test9/paltest_snprintf_test9")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test9/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test9/testinfo.dat
deleted file mode 100644
index beb708ae943cec..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test9/testinfo.dat
+++ /dev/null
@@ -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 = test9
-Description
-= Tests sprintf_s with integer numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/CMakeLists.txt
deleted file mode 100644
index b29c7c438bd107..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/CMakeLists.txt
+++ /dev/null
@@ -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)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/_snwprintf_s.h b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/_snwprintf_s.h
index 021dde0666f047..45b5d2e2212a80 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/_snwprintf_s.h
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/_snwprintf_s.h
@@ -13,7 +13,7 @@
#ifndef ___SNWPRINTF_H__
#define ___SNWPRINTF_H__
-void DoWStrTest(const WCHAR *formatstr, WCHAR *param, const WCHAR *checkstr)
+inline void DoWStrTest_snwprintf_s(const WCHAR *formatstr, WCHAR *param, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -26,8 +26,9 @@ void DoWStrTest(const WCHAR *formatstr, WCHAR *param, const WCHAR *checkstr)
convertC(formatstr), convertC(checkstr), convertC(buf));
}
}
+#define DoWStrTest DoWStrTest_snwprintf_s
-void DoStrTest(const WCHAR *formatstr, char *param, const WCHAR *checkstr)
+inline void DoStrTest_snwprintf_s(const WCHAR *formatstr, char *param, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -40,8 +41,9 @@ void DoStrTest(const WCHAR *formatstr, char *param, const WCHAR *checkstr)
param, convertC(formatstr), convertC(checkstr), convertC(buf));
}
}
+#define DoStrTest DoStrTest_snwprintf_s
-void DoPointerTest(const WCHAR *formatstr, void* param, const WCHAR *checkstr1)
+inline void DoPointerTest_snwprintf_s(const WCHAR *formatstr, void* param, const WCHAR *checkstr1)
{
WCHAR buf[256] = { 0 };
@@ -53,8 +55,9 @@ void DoPointerTest(const WCHAR *formatstr, void* param, const WCHAR *checkstr1)
convertC(checkstr1), convertC(buf));
}
}
+#define DoPointerTest DoPointerTest_snwprintf_s
-void DoCountTest(const WCHAR *formatstr, int param, const WCHAR *checkstr)
+inline void DoCountTest_snwprintf_s(const WCHAR *formatstr, int param, const WCHAR *checkstr)
{
WCHAR buf[512] = { 0 };
int n = -1;
@@ -73,8 +76,9 @@ void DoCountTest(const WCHAR *formatstr, int param, const WCHAR *checkstr)
convertC(checkstr), convertC(buf));
}
}
+#define DoCountTest DoCountTest_snwprintf_s
-void DoShortCountTest(const WCHAR *formatstr, int param, const WCHAR *checkstr)
+inline void DoShortCountTest_snwprintf_s(const WCHAR *formatstr, int param, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
short int n = -1;
@@ -93,8 +97,9 @@ void DoShortCountTest(const WCHAR *formatstr, int param, const WCHAR *checkstr)
convertC(checkstr), convertC(buf));
}
}
+#define DoShortCountTest DoShortCountTest_snwprintf_s
-void DoCharTest(const WCHAR *formatstr, char param, const WCHAR *checkstr)
+inline void DoCharTest_snwprintf_s(const WCHAR *formatstr, char param, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -106,8 +111,9 @@ void DoCharTest(const WCHAR *formatstr, char param, const WCHAR *checkstr)
convertC(formatstr), convertC(checkstr), convertC(buf));
}
}
+#define DoCharTest DoCharTest_snwprintf_s
-void DoWCharTest(const WCHAR *formatstr, WCHAR param, const WCHAR *checkstr)
+inline void DoWCharTest_snwprintf_s(const WCHAR *formatstr, WCHAR param, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -119,8 +125,9 @@ void DoWCharTest(const WCHAR *formatstr, WCHAR param, const WCHAR *checkstr)
convertC(formatstr), convertC(checkstr), convertC(buf));
}
}
+#define DoWCharTest DoWCharTest_snwprintf_s
-void DoNumTest(const WCHAR *formatstr, int value, const WCHAR *checkstr)
+inline void DoNumTest_snwprintf_s(const WCHAR *formatstr, int value, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -132,9 +139,9 @@ void DoNumTest(const WCHAR *formatstr, int value, const WCHAR *checkstr)
convertC(checkstr), convertC(buf));
}
}
+#define DoNumTest DoNumTest_snwprintf_s
-
-void DoI64Test(const WCHAR *formatstr, INT64 param, char *paramdesc,
+inline void DoI64Test_snwprintf_s(const WCHAR *formatstr, INT64 param, char *paramdesc,
const WCHAR *checkstr1)
{
WCHAR buf[256] = { 0 };
@@ -147,8 +154,9 @@ void DoI64Test(const WCHAR *formatstr, INT64 param, char *paramdesc,
convertC(formatstr), convertC(checkstr1), convertC(buf));
}
}
+#define DoI64Test DoI64Test_snwprintf_s
-void DoDoubleTest(const WCHAR *formatstr, double value, const WCHAR *checkstr1,
+inline void DoDoubleTest_snwprintf_s(const WCHAR *formatstr, double value, const WCHAR *checkstr1,
const WCHAR *checkstr2)
{
WCHAR buf[256] = { 0 };
@@ -163,8 +171,9 @@ void DoDoubleTest(const WCHAR *formatstr, double value, const WCHAR *checkstr1,
convertC(checkstr2), convertC(buf));
}
}
+#define DoDoubleTest DoDoubleTest_snwprintf_s
-void DoArgumentPrecTest(const WCHAR *formatstr, int precision, void *param,
+inline void DoArgumentPrecTest_snwprintf_s(const WCHAR *formatstr, int precision, void *param,
char *paramstr, const WCHAR *checkstr1, const WCHAR *checkstr2)
{
WCHAR buf[256];
@@ -179,8 +188,9 @@ void DoArgumentPrecTest(const WCHAR *formatstr, int precision, void *param,
convertC(checkstr1), convertC(checkstr2) ,convertC(buf));
}
}
+#define DoArgumentPrecTest DoArgumentPrecTest_snwprintf_s
-void DoArgumentPrecDoubleTest(const WCHAR *formatstr, int precision, double param,
+inline void DoArgumentPrecDoubleTest_snwprintf_s(const WCHAR *formatstr, int precision, double param,
const WCHAR *checkstr)
{
WCHAR buf[256];
@@ -193,6 +203,7 @@ void DoArgumentPrecDoubleTest(const WCHAR *formatstr, int precision, double para
precision, convertC(checkstr), convertC(buf));
}
}
+#define DoArgumentPrecDoubleTest DoArgumentPrecDoubleTest_snwprintf_s
#endif
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test1/CMakeLists.txt
deleted file mode 100644
index 9650c18970a3cf..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_snwprintf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_snwprintf_test1 coreclrpal)
-
-target_link_libraries(paltest_snwprintf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test1/test1.cpp
index 27a6f7ccaf99d8..07bf99ca62306f 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test1/test1.cpp
@@ -19,7 +19,7 @@
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snwprintf_s_test1_paltest_snwprintf_test1, "c_runtime/_snwprintf_s/test1/paltest_snwprintf_test1")
{
WCHAR *checkstr;
WCHAR buf[256] = { 0 };
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test1/testinfo.dat
deleted file mode 100644
index 5c5d41c9beb205..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test1/testinfo.dat
+++ /dev/null
@@ -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 = swprintf_s
-Name = Positive Test for swprintf_s
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= General test to see if swprintf_s works correctly
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test10/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test10/CMakeLists.txt
deleted file mode 100644
index aa799bd5227666..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test10/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test10.cpp
-)
-
-add_executable(paltest_snwprintf_test10
- ${SOURCES}
-)
-
-add_dependencies(paltest_snwprintf_test10 coreclrpal)
-
-target_link_libraries(paltest_snwprintf_test10
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test10/test10.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test10/test10.cpp
index c5c9fcd2d114f0..a872426e23e408 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test10/test10.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test10/test10.cpp
@@ -18,7 +18,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snwprintf_s_test10_paltest_snwprintf_test10, "c_runtime/_snwprintf_s/test10/paltest_snwprintf_test10")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test10/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test10/testinfo.dat
deleted file mode 100644
index c84916bba073a9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test10/testinfo.dat
+++ /dev/null
@@ -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 = swprintf_s
-Name = Positive Test for swprintf_s
-TYPE = DEFAULT
-EXE1 = test10
-Description
-= Tests swprintf_s with octal numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test11/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test11/CMakeLists.txt
deleted file mode 100644
index 7e2ef006b6ff1f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test11/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test11.cpp
-)
-
-add_executable(paltest_snwprintf_test11
- ${SOURCES}
-)
-
-add_dependencies(paltest_snwprintf_test11 coreclrpal)
-
-target_link_libraries(paltest_snwprintf_test11
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test11/test11.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test11/test11.cpp
index d82edff596f0a1..c05140698c7654 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test11/test11.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test11/test11.cpp
@@ -18,7 +18,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snwprintf_s_test11_paltest_snwprintf_test11, "c_runtime/_snwprintf_s/test11/paltest_snwprintf_test11")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test11/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test11/testinfo.dat
deleted file mode 100644
index eb4cbfbda2ba4c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test11/testinfo.dat
+++ /dev/null
@@ -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 = swprintf_s
-Name = Positive Test for swprintf_s
-TYPE = DEFAULT
-EXE1 = test11
-Description
-= Tests swprintf_s with unsigned numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test12/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test12/CMakeLists.txt
deleted file mode 100644
index e43e347818519c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test12/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test12.cpp
-)
-
-add_executable(paltest_snwprintf_test12
- ${SOURCES}
-)
-
-add_dependencies(paltest_snwprintf_test12 coreclrpal)
-
-target_link_libraries(paltest_snwprintf_test12
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test12/test12.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test12/test12.cpp
index 695275bf3e28d4..fd898e577e4d75 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test12/test12.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test12/test12.cpp
@@ -18,7 +18,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snwprintf_s_test12_paltest_snwprintf_test12, "c_runtime/_snwprintf_s/test12/paltest_snwprintf_test12")
{
int neg = -42;
int pos = 0x1234ab;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test12/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test12/testinfo.dat
deleted file mode 100644
index b2d41d2d1d4387..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test12/testinfo.dat
+++ /dev/null
@@ -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 = swprintf_s
-Name = Positive Test for swprintf_s
-TYPE = DEFAULT
-EXE1 = test12
-Description
-= Tests swprintf_s with hex numbers (lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test13/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test13/CMakeLists.txt
deleted file mode 100644
index a1bb54ce01301b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test13/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test13.cpp
-)
-
-add_executable(paltest_snwprintf_test13
- ${SOURCES}
-)
-
-add_dependencies(paltest_snwprintf_test13 coreclrpal)
-
-target_link_libraries(paltest_snwprintf_test13
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test13/test13.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test13/test13.cpp
index ce579b154874eb..2c28531146a33c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test13/test13.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test13/test13.cpp
@@ -18,7 +18,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snwprintf_s_test13_paltest_snwprintf_test13, "c_runtime/_snwprintf_s/test13/paltest_snwprintf_test13")
{
int neg = -42;
int pos = 0x1234ab;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test13/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test13/testinfo.dat
deleted file mode 100644
index 6e0760f01c1675..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test13/testinfo.dat
+++ /dev/null
@@ -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 = swprintf_s
-Name = Positive Test for swprintf_s
-TYPE = DEFAULT
-EXE1 = test13
-Description
-= Tests swprintf_s with hex numbers (uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test14/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test14/CMakeLists.txt
deleted file mode 100644
index c6811a57736b80..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test14/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test14.cpp
-)
-
-add_executable(paltest_snwprintf_test14
- ${SOURCES}
-)
-
-add_dependencies(paltest_snwprintf_test14 coreclrpal)
-
-target_link_libraries(paltest_snwprintf_test14
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test14/test14.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test14/test14.cpp
index 87e44f45fcc98c..30475b8ff8619a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test14/test14.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test14/test14.cpp
@@ -18,7 +18,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snwprintf_s_test14_paltest_snwprintf_test14, "c_runtime/_snwprintf_s/test14/paltest_snwprintf_test14")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test14/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test14/testinfo.dat
deleted file mode 100644
index 1ac436cb395e5e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test14/testinfo.dat
+++ /dev/null
@@ -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 = swprintf_s
-Name = Positive Test for swprintf_s
-TYPE = DEFAULT
-EXE1 = test14
-Description
-= Tests swprintf_s with exponential format doubles (lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test15/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test15/CMakeLists.txt
deleted file mode 100644
index 2f682050a9d64b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test15/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test15.cpp
-)
-
-add_executable(paltest_snwprintf_test15
- ${SOURCES}
-)
-
-add_dependencies(paltest_snwprintf_test15 coreclrpal)
-
-target_link_libraries(paltest_snwprintf_test15
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test15/test15.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test15/test15.cpp
index 58e94f6f73d39d..5f52e1bae04801 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test15/test15.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test15/test15.cpp
@@ -19,7 +19,7 @@
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snwprintf_s_test15_paltest_snwprintf_test15, "c_runtime/_snwprintf_s/test15/paltest_snwprintf_test15")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test15/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test15/testinfo.dat
deleted file mode 100644
index 654c853070ae32..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test15/testinfo.dat
+++ /dev/null
@@ -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 = swprintf_s
-Name = Positive Test for swprintf_s
-TYPE = DEFAULT
-EXE1 = test15
-Description
-= Tests swprintf_s with exponential format doubles (uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test16/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test16/CMakeLists.txt
deleted file mode 100644
index f2c44ff154eda4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test16/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test16.cpp
-)
-
-add_executable(paltest_snwprintf_test16
- ${SOURCES}
-)
-
-add_dependencies(paltest_snwprintf_test16 coreclrpal)
-
-target_link_libraries(paltest_snwprintf_test16
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test16/test16.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test16/test16.cpp
index 22ddff25770a83..cc4c4f5649b428 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test16/test16.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test16/test16.cpp
@@ -17,7 +17,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snwprintf_s_test16_paltest_snwprintf_test16, "c_runtime/_snwprintf_s/test16/paltest_snwprintf_test16")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test16/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test16/testinfo.dat
deleted file mode 100644
index 8a0b2e720cdb4c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test16/testinfo.dat
+++ /dev/null
@@ -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 = swprintf_s
-Name = Positive Test for swprintf_s
-TYPE = DEFAULT
-EXE1 = test16
-Description
-= Tests swprintf_s with decimal point format doubles
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test17/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test17/CMakeLists.txt
deleted file mode 100644
index 285b75044c7123..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test17/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test17.cpp
-)
-
-add_executable(paltest_snwprintf_test17
- ${SOURCES}
-)
-
-add_dependencies(paltest_snwprintf_test17 coreclrpal)
-
-target_link_libraries(paltest_snwprintf_test17
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test17/test17.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test17/test17.cpp
index 8a4d4c2af4b903..d86213f8bec375 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test17/test17.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test17/test17.cpp
@@ -18,7 +18,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snwprintf_s_test17_paltest_snwprintf_test17, "c_runtime/_snwprintf_s/test17/paltest_snwprintf_test17")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test17/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test17/testinfo.dat
deleted file mode 100644
index fa7eef03965cb6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test17/testinfo.dat
+++ /dev/null
@@ -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 = swprintf_s
-Name = Positive Test for swprintf_s
-TYPE = DEFAULT
-EXE1 = test17
-Description
-= Tests swprintf_s with compact format doubles (lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test18/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test18/CMakeLists.txt
deleted file mode 100644
index 4b51cbdeba0f30..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test18/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test18.cpp
-)
-
-add_executable(paltest_snwprintf_test18
- ${SOURCES}
-)
-
-add_dependencies(paltest_snwprintf_test18 coreclrpal)
-
-target_link_libraries(paltest_snwprintf_test18
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test18/test18.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test18/test18.cpp
index d07f8b351a7b19..93c17a4cf9ec15 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test18/test18.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test18/test18.cpp
@@ -19,7 +19,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snwprintf_s_test18_paltest_snwprintf_test18, "c_runtime/_snwprintf_s/test18/paltest_snwprintf_test18")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test18/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test18/testinfo.dat
deleted file mode 100644
index eaa0af13cd6559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test18/testinfo.dat
+++ /dev/null
@@ -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 = swprintf_s
-Name = Positive Test for swprintf_s
-TYPE = DEFAULT
-EXE1 = test18
-Description
-= Tests swprintf_s with compact format doubles (uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test19/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test19/CMakeLists.txt
deleted file mode 100644
index 966fbb81a72895..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test19/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test19.cpp
-)
-
-add_executable(paltest_snwprintf_test19
- ${SOURCES}
-)
-
-add_dependencies(paltest_snwprintf_test19 coreclrpal)
-
-target_link_libraries(paltest_snwprintf_test19
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test19/test19.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test19/test19.cpp
index 62a55f7b8f4df0..eac6828a630147 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test19/test19.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test19/test19.cpp
@@ -15,7 +15,7 @@
#include
#include "../_snwprintf_s.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snwprintf_s_test19_paltest_snwprintf_test19, "c_runtime/_snwprintf_s/test19/paltest_snwprintf_test19")
{
int n = -1;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test19/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test19/testinfo.dat
deleted file mode 100644
index a18b094dc559fa..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test19/testinfo.dat
+++ /dev/null
@@ -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 = swprintf_s
-Name = Positive Test for swprintf_s
-TYPE = DEFAULT
-EXE1 = test19
-Description
-= Tests swprintf_s with argument specified precision
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test2/CMakeLists.txt
deleted file mode 100644
index b4d38448460243..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_snwprintf_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_snwprintf_test2 coreclrpal)
-
-target_link_libraries(paltest_snwprintf_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test2/test2.cpp
index b8c26901686186..5d87d8abef8a37 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test2/test2.cpp
@@ -19,7 +19,7 @@
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snwprintf_s_test2_paltest_snwprintf_test2, "c_runtime/_snwprintf_s/test2/paltest_snwprintf_test2")
{
if (PAL_Initialize(argc, argv) != 0)
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test2/testinfo.dat
deleted file mode 100644
index f63b59e2929a10..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test2/testinfo.dat
+++ /dev/null
@@ -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 = swprintf_s
-Name = Positive Test for swprintf_s
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Tests swprintf_s with strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test3/CMakeLists.txt
deleted file mode 100644
index 115f0d8c70f756..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_snwprintf_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_snwprintf_test3 coreclrpal)
-
-target_link_libraries(paltest_snwprintf_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test3/test3.cpp
index 9439f4c92d28d1..4eaf305d2094ab 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test3/test3.cpp
@@ -19,7 +19,7 @@
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snwprintf_s_test3_paltest_snwprintf_test3, "c_runtime/_snwprintf_s/test3/paltest_snwprintf_test3")
{
if (PAL_Initialize(argc, argv) != 0)
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test3/testinfo.dat
deleted file mode 100644
index 3d707741633c1d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test3/testinfo.dat
+++ /dev/null
@@ -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 = swprintf_s
-Name = Positive Test for swprintf_s
-TYPE = DEFAULT
-EXE1 = test3
-Description
-= Tests swprintf_s with wide strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test4/CMakeLists.txt
deleted file mode 100644
index 27d9761fe67034..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_snwprintf_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_snwprintf_test4 coreclrpal)
-
-target_link_libraries(paltest_snwprintf_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test4/test4.cpp
index 18317f107b8c1c..95224422d1e2ad 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test4/test4.cpp
@@ -19,7 +19,7 @@
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snwprintf_s_test4_paltest_snwprintf_test4, "c_runtime/_snwprintf_s/test4/paltest_snwprintf_test4")
{
void *ptr = (void*) 0x123456;
INT64 lptr = I64(0x1234567887654321);
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test4/testinfo.dat
deleted file mode 100644
index 4b175bd46b8369..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test4/testinfo.dat
+++ /dev/null
@@ -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 = swprintf_s
-Name = Positive Test for swprintf_s
-TYPE = DEFAULT
-EXE1 = test4
-Description
-= Tests swprintf_s with pointers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test6/CMakeLists.txt
deleted file mode 100644
index 45d428f5a1ee62..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test6.cpp
-)
-
-add_executable(paltest_snwprintf_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_snwprintf_test6 coreclrpal)
-
-target_link_libraries(paltest_snwprintf_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test6/test6.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test6/test6.cpp
index d30c670f074226..1b2c375905ad4c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test6/test6.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test6/test6.cpp
@@ -18,7 +18,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snwprintf_s_test6_paltest_snwprintf_test6, "c_runtime/_snwprintf_s/test6/paltest_snwprintf_test6")
{
WCHAR wc = (WCHAR) 'c';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test6/testinfo.dat
deleted file mode 100644
index aeb753f2dbfa09..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test6/testinfo.dat
+++ /dev/null
@@ -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 = swprintf_s
-Name = Positive Test for swprintf_s
-TYPE = DEFAULT
-EXE1 = test6
-Description
-= Tests swprintf_s with characters
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test7/CMakeLists.txt
deleted file mode 100644
index 09a2acf00f706f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test7.cpp
-)
-
-add_executable(paltest_snwprintf_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_snwprintf_test7 coreclrpal)
-
-target_link_libraries(paltest_snwprintf_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test7/test7.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test7/test7.cpp
index f3516b44c35148..cca130c140249d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test7/test7.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test7/test7.cpp
@@ -18,7 +18,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snwprintf_s_test7_paltest_snwprintf_test7, "c_runtime/_snwprintf_s/test7/paltest_snwprintf_test7")
{
WCHAR wc = (WCHAR) 'c';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test7/testinfo.dat
deleted file mode 100644
index e145f4b113e756..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test7/testinfo.dat
+++ /dev/null
@@ -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 = swprintf_s
-Name = Positive Test for swprintf_s
-TYPE = DEFAULT
-EXE1 = test7
-Description
-= Tests swprintf_s with wide characters
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test8/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test8/CMakeLists.txt
deleted file mode 100644
index ab283e6e4229f8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test8/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test8.cpp
-)
-
-add_executable(paltest_snwprintf_test8
- ${SOURCES}
-)
-
-add_dependencies(paltest_snwprintf_test8 coreclrpal)
-
-target_link_libraries(paltest_snwprintf_test8
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test8/test8.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test8/test8.cpp
index 3495d2a8c270f6..c727f798224568 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test8/test8.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test8/test8.cpp
@@ -18,7 +18,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snwprintf_s_test8_paltest_snwprintf_test8, "c_runtime/_snwprintf_s/test8/paltest_snwprintf_test8")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test8/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test8/testinfo.dat
deleted file mode 100644
index ed8ba1174378f1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test8/testinfo.dat
+++ /dev/null
@@ -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 = swprintf_s
-Name = Positive Test for swprintf_s
-TYPE = DEFAULT
-EXE1 = test8
-Description
-= Tests swprintf_s with decimal numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test9/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test9/CMakeLists.txt
deleted file mode 100644
index d714bd9665da6f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test9/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test9.cpp
-)
-
-add_executable(paltest_snwprintf_test9
- ${SOURCES}
-)
-
-add_dependencies(paltest_snwprintf_test9 coreclrpal)
-
-target_link_libraries(paltest_snwprintf_test9
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test9/test9.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test9/test9.cpp
index 36f14c2a44c9f6..b523b2886e6c97 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test9/test9.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test9/test9.cpp
@@ -18,7 +18,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__snwprintf_s_test9_paltest_snwprintf_test9, "c_runtime/_snwprintf_s/test9/paltest_snwprintf_test9")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test9/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test9/testinfo.dat
deleted file mode 100644
index d5f7922809baf5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test9/testinfo.dat
+++ /dev/null
@@ -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 = swprintf_s
-Name = Positive Test for swprintf_s
-TYPE = DEFAULT
-EXE1 = test9
-Description
-= Tests swprintf_s with integer numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_stricmp/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_stricmp/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_stricmp/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_stricmp/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_stricmp/test1/CMakeLists.txt
deleted file mode 100644
index 03585f622991e4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_stricmp/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_stricmp_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_stricmp_test1 coreclrpal)
-
-target_link_libraries(paltest_stricmp_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_stricmp/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_stricmp/test1/test1.cpp
index af73788e3b5389..c8b1c16b0d4ee1 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_stricmp/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_stricmp/test1/test1.cpp
@@ -19,7 +19,7 @@
* Note: The _stricmp is dependent on the LC_CTYPE category of the locale,
* and this is ignored by these tests.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__stricmp_test1_paltest_stricmp_test1, "c_runtime/_stricmp/test1/paltest_stricmp_test1")
{
char *str1 = "foo";
char *str2 = "fOo";
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_stricmp/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_stricmp/test1/testinfo.dat
deleted file mode 100644
index e3f3fdc903fa57..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_stricmp/test1/testinfo.dat
+++ /dev/null
@@ -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 = _stricmp
-Name = Positive Test for _stricmp
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Do a lower case compare. Check two strings, only different because they
-= have different capitalization, and they should return 0. Try two strings
-= which will return less than 0 (one is smaller than the other). Also try
-= the opposite, to get a return value greater than 0.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_strnicmp/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_strnicmp/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_strnicmp/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_strnicmp/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_strnicmp/test1/CMakeLists.txt
deleted file mode 100644
index 6d0e196ec441a2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_strnicmp/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_strnicmp_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_strnicmp_test1 coreclrpal)
-
-target_link_libraries(paltest_strnicmp_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_strnicmp/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_strnicmp/test1/test1.cpp
index a2d213359a4d36..4954abfb980db3 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_strnicmp/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_strnicmp/test1/test1.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__strnicmp_test1_paltest_strnicmp_test1, "c_runtime/_strnicmp/test1/paltest_strnicmp_test1")
{
char str1[] = "foo";
char str2[] = "foox";
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_strnicmp/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_strnicmp/test1/testinfo.dat
deleted file mode 100644
index 716886c7e2dadb..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_strnicmp/test1/testinfo.dat
+++ /dev/null
@@ -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 = _strnicmp
-Name = Test #1 for _strnicmp
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Take two strings and compare them, giving different lengths.
-= Comparing str1 and str2 with str2 length, should return <0
-= Comparing str2 and str1 with str2 length, should return >0
-= Comparing str1 and str2 with str1 lenght, should return 0
-= Bring in str3, which has a capital, but this function is doing a lower
-= case compare. Just ensure that two strings which differ only by capitals
-= return 0.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/CMakeLists.txt
deleted file mode 100644
index b29c7c438bd107..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/CMakeLists.txt
+++ /dev/null
@@ -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)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/_vsnprintf_s.h b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/_vsnprintf_s.h
index 2d644f96345652..ebb1b66bae4618 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/_vsnprintf_s.h
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/_vsnprintf_s.h
@@ -14,7 +14,7 @@
#define __STRINGTEST_H__
/* These functions leaks memory a lot. C'est la vie. */
-int Testvsnprintf(char* buf, size_t count, const char* format, ...)
+inline int Testvsnprintf(char* buf, size_t count, const char* format, ...)
{
int retVal;
va_list arglist;
@@ -27,7 +27,7 @@ int Testvsnprintf(char* buf, size_t count, const char* format, ...)
}
-void DoStrTest(const char *formatstr, char* param, const char *checkstr)
+inline void DoStrTest_vsnprintf_s(const char *formatstr, char* param, const char *checkstr)
{
char buf[256] = { 0 };
@@ -39,8 +39,9 @@ void DoStrTest(const char *formatstr, char* param, const char *checkstr)
param, formatstr, checkstr, buf);
}
}
+#define DoStrTest DoStrTest_vsnprintf_s
-void DoWStrTest(const char *formatstr, WCHAR* param, const char *checkstr)
+inline void DoWStrTest_vsnprintf_s(const char *formatstr, WCHAR* param, const char *checkstr)
{
char buf[256] = { 0 };
@@ -52,9 +53,10 @@ void DoWStrTest(const char *formatstr, WCHAR* param, const char *checkstr)
convertC(param), formatstr, checkstr, buf);
}
}
+#define DoWStrTest DoWStrTest_vsnprintf_s
-void DoCharTest(const char *formatstr, char param, const char *checkstr)
+inline void DoCharTest_vsnprintf_s(const char *formatstr, char param, const char *checkstr)
{
char buf[256] = { 0 };
@@ -66,8 +68,9 @@ void DoCharTest(const char *formatstr, char param, const char *checkstr)
param, param, formatstr, checkstr, buf);
}
}
+#define DoCharTest DoCharTest_vsnprintf_s
-void DoWCharTest(const char *formatstr, WCHAR param, const char *checkstr)
+inline void DoWCharTest_vsnprintf_s(const char *formatstr, WCHAR param, const char *checkstr)
{
char buf[256] = { 0 };
@@ -79,8 +82,9 @@ void DoWCharTest(const char *formatstr, WCHAR param, const char *checkstr)
(char)param, param, formatstr, checkstr, buf);
}
}
+#define DoWCharTest DoWCharTest_vsnprintf_s
-void DoNumTest(const char *formatstr, int value, const char *checkstr)
+inline void DoNumTest_vsnprintf_s(const char *formatstr, int value, const char *checkstr)
{
char buf[256] = { 0 };
@@ -92,8 +96,9 @@ void DoNumTest(const char *formatstr, int value, const char *checkstr)
value, formatstr, checkstr, buf);
}
}
+#define DoNumTest DoNumTest_vsnprintf_s
-void DoI64Test(const char *formatstr, INT64 value, char *valuestr, const char *checkstr)
+inline void DoI64Test_vsnprintf_s(const char *formatstr, INT64 value, char *valuestr, const char *checkstr)
{
char buf[256] = { 0 };
@@ -105,7 +110,9 @@ void DoI64Test(const char *formatstr, INT64 value, char *valuestr, const char *c
valuestr, formatstr, checkstr, buf);
}
}
-void DoDoubleTest(const char *formatstr, double value, const char *checkstr1, char
+#define DoI64Test DoI64Test_vsnprintf_s
+
+inline void DoDoubleTest_vsnprintf_s(const char *formatstr, double value, const char *checkstr1, char
*checkstr2)
{
char buf[256] = { 0 };
@@ -119,5 +126,6 @@ void DoDoubleTest(const char *formatstr, double value, const char *checkstr1, ch
value, formatstr, checkstr1, checkstr2, buf);
}
}
+#define DoDoubleTest DoDoubleTest_vsnprintf_s
#endif
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test1/CMakeLists.txt
deleted file mode 100644
index ebd4ae1f357096..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_vsnprintf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnprintf_test1 coreclrpal)
-
-target_link_libraries(paltest_vsnprintf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test1/test1.cpp
index 37119ac11e2713..a94a7aa8e08ebd 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test1/test1.cpp
@@ -17,7 +17,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnprintf_s_test1_paltest_vsnprintf_test1, "c_runtime/_vsnprintf_s/test1/paltest_vsnprintf_test1")
{
char checkstr[] = "hello world";
char buf[256] = { 0 };
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test1/testinfo.dat
deleted file mode 100644
index 8afb6aa8bd07e4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test1/testinfo.dat
+++ /dev/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 = _vsnprintf
-Name = Positive Test for _vsnprintf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the _vsnprintf function.
-= This test is modeled after sprintf_s.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test10/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test10/CMakeLists.txt
deleted file mode 100644
index 58ac92e5f66952..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test10/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test10.cpp
-)
-
-add_executable(paltest_vsnprintf_test10
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnprintf_test10 coreclrpal)
-
-target_link_libraries(paltest_vsnprintf_test10
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test10/test10.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test10/test10.cpp
index dd0eb89b0337e1..2fcf197650309a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test10/test10.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test10/test10.cpp
@@ -17,7 +17,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnprintf_s_test10_paltest_vsnprintf_test10, "c_runtime/_vsnprintf_s/test10/paltest_vsnprintf_test10")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test10/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test10/testinfo.dat
deleted file mode 100644
index af151c49530ebe..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test10/testinfo.dat
+++ /dev/null
@@ -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 = _vsnprintf
-Name = Positive Test for _vsnprintf
-TYPE = DEFAULT
-EXE1 = test10
-Description
-= Tests the PAL implementation of the _vsnprintf function.
-= Tests _vsnprintf with octal numbers.
-= This test is modeled after sprintf_s.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test11/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test11/CMakeLists.txt
deleted file mode 100644
index e278c6e5513096..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test11/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test11.cpp
-)
-
-add_executable(paltest_vsnprintf_test11
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnprintf_test11 coreclrpal)
-
-target_link_libraries(paltest_vsnprintf_test11
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test11/test11.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test11/test11.cpp
index ffb8fb02923926..3f3ae038645570 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test11/test11.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test11/test11.cpp
@@ -17,7 +17,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnprintf_s_test11_paltest_vsnprintf_test11, "c_runtime/_vsnprintf_s/test11/paltest_vsnprintf_test11")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test11/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test11/testinfo.dat
deleted file mode 100644
index d1c5c14be03a47..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test11/testinfo.dat
+++ /dev/null
@@ -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 = _vsnprintf
-Name = Positive Test for _vsnprintf
-TYPE = DEFAULT
-EXE1 = test11
-Description
-= Tests the PAL implementation of the _vsnprintf function.
-= Tests _vsnprintf with unsigned numbers.
-= This test is modeled after sprintf_s.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test12/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test12/CMakeLists.txt
deleted file mode 100644
index 5541c2b6872137..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test12/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test12.cpp
-)
-
-add_executable(paltest_vsnprintf_test12
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnprintf_test12 coreclrpal)
-
-target_link_libraries(paltest_vsnprintf_test12
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test12/test12.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test12/test12.cpp
index b0af9dc0168151..621963f2c7f7fa 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test12/test12.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test12/test12.cpp
@@ -18,7 +18,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnprintf_s_test12_paltest_vsnprintf_test12, "c_runtime/_vsnprintf_s/test12/paltest_vsnprintf_test12")
{
int neg = -42;
int pos = 0x1234ab;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test12/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test12/testinfo.dat
deleted file mode 100644
index 0fd1c9c1d014c3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test12/testinfo.dat
+++ /dev/null
@@ -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 = _vsnprintf
-Name = Positive Test for _vsnprintf
-TYPE = DEFAULT
-EXE1 = test12
-Description
-= Tests the PAL implementation of the _vsnprintf function.
-= Tests _vsnprintf with hex numbers (lowercase).
-= This test is modeled after sprintf_s.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test13/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test13/CMakeLists.txt
deleted file mode 100644
index 1a17849365e882..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test13/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test13.cpp
-)
-
-add_executable(paltest_vsnprintf_test13
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnprintf_test13 coreclrpal)
-
-target_link_libraries(paltest_vsnprintf_test13
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test13/test13.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test13/test13.cpp
index c029b277cfe6dc..f053c514a60152 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test13/test13.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test13/test13.cpp
@@ -18,7 +18,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnprintf_s_test13_paltest_vsnprintf_test13, "c_runtime/_vsnprintf_s/test13/paltest_vsnprintf_test13")
{
int neg = -42;
int pos = 0x1234AB;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test13/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test13/testinfo.dat
deleted file mode 100644
index 1e72c5117850d4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test13/testinfo.dat
+++ /dev/null
@@ -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 = _vsnprintf
-Name = Positive Test for _vsnprintf
-TYPE = DEFAULT
-EXE1 = test13
-Description
-= Tests the PAL implementation of the _vsnprintf function.
-= Tests _vsnprintf with hex numbers (uppercase).
-= This test is modeled after sprintf_s.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test14/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test14/CMakeLists.txt
deleted file mode 100644
index 831b5f5c178484..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test14/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test14.cpp
-)
-
-add_executable(paltest_vsnprintf_test14
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnprintf_test14 coreclrpal)
-
-target_link_libraries(paltest_vsnprintf_test14
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test14/test14.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test14/test14.cpp
index 74994e0ede330e..0e08acd6e4e267 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test14/test14.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test14/test14.cpp
@@ -18,7 +18,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnprintf_s_test14_paltest_vsnprintf_test14, "c_runtime/_vsnprintf_s/test14/paltest_vsnprintf_test14")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test14/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test14/testinfo.dat
deleted file mode 100644
index abcbead26d2eb0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test14/testinfo.dat
+++ /dev/null
@@ -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 = _vsnprintf
-Name = Positive Test for _vsnprintf
-TYPE = DEFAULT
-EXE1 = test14
-Description
-= Tests the PAL implementation of the _vsnprintf function.
-= Tests _vsnprintf with exponential format doubles (lowercase).
-= This test is modeled after sprintf_s.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test15/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test15/CMakeLists.txt
deleted file mode 100644
index 437a16abc36eaa..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test15/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test15.cpp
-)
-
-add_executable(paltest_vsnprintf_test15
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnprintf_test15 coreclrpal)
-
-target_link_libraries(paltest_vsnprintf_test15
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test15/test15.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test15/test15.cpp
index e1010894d86f1d..7850806b292bc4 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test15/test15.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test15/test15.cpp
@@ -17,7 +17,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnprintf_s_test15_paltest_vsnprintf_test15, "c_runtime/_vsnprintf_s/test15/paltest_vsnprintf_test15")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test15/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test15/testinfo.dat
deleted file mode 100644
index 6e2e53c902df3c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test15/testinfo.dat
+++ /dev/null
@@ -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 = _vsnprintf
-Name = Positive Test for _vsnprintf
-TYPE = DEFAULT
-EXE1 = test15
-Description
-= Tests the PAL implementation of the _vsnprintf function.
-= Tests _vsnprintf with exponential format doubles (uppercase).
-= This test is modeled after sprintf_s.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test16/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test16/CMakeLists.txt
deleted file mode 100644
index 991e9f1553e1cd..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test16/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test16.cpp
-)
-
-add_executable(paltest_vsnprintf_test16
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnprintf_test16 coreclrpal)
-
-target_link_libraries(paltest_vsnprintf_test16
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test16/test16.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test16/test16.cpp
index 8d71d155e50b27..5892a0c01d842e 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test16/test16.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test16/test16.cpp
@@ -17,7 +17,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnprintf_s_test16_paltest_vsnprintf_test16, "c_runtime/_vsnprintf_s/test16/paltest_vsnprintf_test16")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test16/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test16/testinfo.dat
deleted file mode 100644
index 5738e44f8f20e2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test16/testinfo.dat
+++ /dev/null
@@ -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 = _vsnprintf
-Name = Positive Test for _vsnprintf
-TYPE = DEFAULT
-EXE1 = test16
-Description
-= Tests the PAL implementation of the _vsnprintf function.
-= Tests _vsnprintf with decimal point format doubles.
-= This test is modeled after sprintf_s.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test17/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test17/CMakeLists.txt
deleted file mode 100644
index 381620edae17d0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test17/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test17.cpp
-)
-
-add_executable(paltest_vsnprintf_test17
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnprintf_test17 coreclrpal)
-
-target_link_libraries(paltest_vsnprintf_test17
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test17/test17.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test17/test17.cpp
index 658fb109add7d0..0522158f736ba0 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test17/test17.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test17/test17.cpp
@@ -17,7 +17,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnprintf_s_test17_paltest_vsnprintf_test17, "c_runtime/_vsnprintf_s/test17/paltest_vsnprintf_test17")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test17/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test17/testinfo.dat
deleted file mode 100644
index 34d783aaf93563..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test17/testinfo.dat
+++ /dev/null
@@ -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 = _vsnprintf
-Name = Positive Test for _vsnprintf
-TYPE = DEFAULT
-EXE1 = test17
-Description
-= Tests the PAL implementation of the _vsnprintf function.
-= Tests _vsnprintf with compact format doubles (lowercase).
-= This test is modeled after sprintf_s.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test18/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test18/CMakeLists.txt
deleted file mode 100644
index ebaa8963c383fd..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test18/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test18.cpp
-)
-
-add_executable(paltest_vsnprintf_test18
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnprintf_test18 coreclrpal)
-
-target_link_libraries(paltest_vsnprintf_test18
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test18/test18.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test18/test18.cpp
index 0fc57a75f15b92..27566712c09444 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test18/test18.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test18/test18.cpp
@@ -17,7 +17,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnprintf_s_test18_paltest_vsnprintf_test18, "c_runtime/_vsnprintf_s/test18/paltest_vsnprintf_test18")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test18/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test18/testinfo.dat
deleted file mode 100644
index cd04495f958eba..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test18/testinfo.dat
+++ /dev/null
@@ -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 = _vsnprintf
-Name = Positive Test for _vsnprintf
-TYPE = DEFAULT
-EXE1 = test18
-Description
-= Tests the PAL implementation of the _vsnprintf function.
-= Tests _vsnprintf with compact format doubles (uppercase).
-= This test is modeled after sprintf_s.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test19/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test19/CMakeLists.txt
deleted file mode 100644
index cd9a2ba7d1b8bf..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test19/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test19.cpp
-)
-
-add_executable(paltest_vsnprintf_test19
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnprintf_test19 coreclrpal)
-
-target_link_libraries(paltest_vsnprintf_test19
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test19/test19.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test19/test19.cpp
index 9b2227ea05963f..731dfe0bb5d513 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test19/test19.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test19/test19.cpp
@@ -53,7 +53,7 @@ void DoArgumentPrecDoubleTest(char *formatstr, int precision, double param,
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnprintf_s_test19_paltest_vsnprintf_test19, "c_runtime/_vsnprintf_s/test19/paltest_vsnprintf_test19")
{
if (PAL_Initialize(argc, argv) != 0)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test19/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test19/testinfo.dat
deleted file mode 100644
index 73c4a9d0e3eced..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test19/testinfo.dat
+++ /dev/null
@@ -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 = _vsnprintf
-Name = Positive Test for _vsnprintf
-TYPE = DEFAULT
-EXE1 = test19
-Description
-= Tests the PAL implementation of the _vsnprintf function.
-= Tests _vsnprintf with argument specified precision.
-= This test is modeled after sprintf_s.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test2/CMakeLists.txt
deleted file mode 100644
index c44669c8714e90..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_vsnprintf_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnprintf_test2 coreclrpal)
-
-target_link_libraries(paltest_vsnprintf_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test2/test2.cpp
index f23d4c9f932f23..b9fe80c7635943 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test2/test2.cpp
@@ -16,7 +16,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnprintf_s_test2_paltest_vsnprintf_test2, "c_runtime/_vsnprintf_s/test2/paltest_vsnprintf_test2")
{
WCHAR szwStr[] = {'b','a','r','\0'};
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test2/testinfo.dat
deleted file mode 100644
index 6e79fd7692d139..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test2/testinfo.dat
+++ /dev/null
@@ -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 = _vsnprintf
-Name = Positive Test for _vsnprintf
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Tests the PAL implementation of the _vsnprintf function.
-= Tests _vsnprintf with strings.
-= This test is modeled after sprintf_s.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test3/CMakeLists.txt
deleted file mode 100644
index 29f08e6c5e1dad..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_vsnprintf_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnprintf_test3 coreclrpal)
-
-target_link_libraries(paltest_vsnprintf_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test3/test3.cpp
index ec00c09d9c0202..decb64aa3c7fc1 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test3/test3.cpp
@@ -17,7 +17,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnprintf_s_test3_paltest_vsnprintf_test3, "c_runtime/_vsnprintf_s/test3/paltest_vsnprintf_test3")
{
if (PAL_Initialize(argc, argv) != 0)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test3/testinfo.dat
deleted file mode 100644
index 7acd05dcfdf45b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test3/testinfo.dat
+++ /dev/null
@@ -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 = _vsnprintf
-Name = Positive Test for _vsnprintf
-TYPE = DEFAULT
-EXE1 = test3
-Description
-= Tests the PAL implementation of the _vsnprintf function.
-= Tests _vsnprintf with wide strings.
-= This test is modeled after sprintf_s.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test4/CMakeLists.txt
deleted file mode 100644
index f81e2618e4edbc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_vsnprintf_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnprintf_test4 coreclrpal)
-
-target_link_libraries(paltest_vsnprintf_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test4/test4.cpp
index 1478dbaab79aad..37c4a63f0b617d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test4/test4.cpp
@@ -45,7 +45,7 @@ static void DoI64DoubleTest(char *formatstr, INT64 value, char *valuestr, char
}
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnprintf_s_test4_paltest_vsnprintf_test4, "c_runtime/_vsnprintf_s/test4/paltest_vsnprintf_test4")
{
void *ptr = (void*) 0x123456;
INT64 lptr = I64(0x1234567887654321);
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test4/testinfo.dat
deleted file mode 100644
index 8e63da1a8d217a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test4/testinfo.dat
+++ /dev/null
@@ -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 = _vsnprintf
-Name = Positive Test for _vsnprintf
-TYPE = DEFAULT
-EXE1 = test4
-Description
-= Tests the PAL implementation of the _vsnprintf function.
-= Tests _vsnprintf with pointers.
-= This test is modeled after sprintf_s.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test6/CMakeLists.txt
deleted file mode 100644
index cdd8b82d0f5638..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test6.cpp
-)
-
-add_executable(paltest_vsnprintf_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnprintf_test6 coreclrpal)
-
-target_link_libraries(paltest_vsnprintf_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test6/test6.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test6/test6.cpp
index 1482bc722d5708..88a1fa1bee9c88 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test6/test6.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test6/test6.cpp
@@ -17,7 +17,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnprintf_s_test6_paltest_vsnprintf_test6, "c_runtime/_vsnprintf_s/test6/paltest_vsnprintf_test6")
{
WCHAR wc = (WCHAR) 'c';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test6/testinfo.dat
deleted file mode 100644
index 9611f432d3e7a8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test6/testinfo.dat
+++ /dev/null
@@ -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 = _vsnprintf
-Name = Positive Test for _vsnprintf
-TYPE = DEFAULT
-EXE1 = test6
-Description
-= Tests the PAL implementation of the _vsnprintf function.
-= Tests _vsnprintf with characters.
-= This test is modeled after sprintf_s.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test7/CMakeLists.txt
deleted file mode 100644
index d28f9382306022..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test7.cpp
-)
-
-add_executable(paltest_vsnprintf_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnprintf_test7 coreclrpal)
-
-target_link_libraries(paltest_vsnprintf_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test7/test7.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test7/test7.cpp
index f56aa497e92eac..87ac8d4994fa1d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test7/test7.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test7/test7.cpp
@@ -17,7 +17,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnprintf_s_test7_paltest_vsnprintf_test7, "c_runtime/_vsnprintf_s/test7/paltest_vsnprintf_test7")
{
WCHAR wb = (WCHAR) 'b';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test7/testinfo.dat
deleted file mode 100644
index 2eea64b74ac284..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test7/testinfo.dat
+++ /dev/null
@@ -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 = _vsnprintf
-Name = Positive Test for _vsnprintf
-TYPE = DEFAULT
-EXE1 = test7
-Description
-= Tests the PAL implementation of the _vsnprintf function.
-= Tests _vsnprintf with wide characters.
-= This test is modeled after sprintf_s.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test8/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test8/CMakeLists.txt
deleted file mode 100644
index 39ea287c434bb0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test8/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test8.cpp
-)
-
-add_executable(paltest_vsnprintf_test8
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnprintf_test8 coreclrpal)
-
-target_link_libraries(paltest_vsnprintf_test8
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test8/test8.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test8/test8.cpp
index 073be3fc029980..beb5420d8d4d7e 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test8/test8.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test8/test8.cpp
@@ -18,7 +18,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnprintf_s_test8_paltest_vsnprintf_test8, "c_runtime/_vsnprintf_s/test8/paltest_vsnprintf_test8")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test8/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test8/testinfo.dat
deleted file mode 100644
index 691c02d3b1283a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test8/testinfo.dat
+++ /dev/null
@@ -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 = _vsnprintf
-Name = Positive Test for _vsnprintf
-TYPE = DEFAULT
-EXE1 = test8
-Description
-= Tests the PAL implementation of the _vsnprintf function.
-= Tests _vsnprintf with decimal numbers.
-= This test is modeled after sprintf_s.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test9/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test9/CMakeLists.txt
deleted file mode 100644
index 9eb5316ae8ecf4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test9/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test9.cpp
-)
-
-add_executable(paltest_vsnprintf_test9
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnprintf_test9 coreclrpal)
-
-target_link_libraries(paltest_vsnprintf_test9
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test9/test9.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test9/test9.cpp
index f8afbe0409a6dd..b84c24e509b6ed 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test9/test9.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test9/test9.cpp
@@ -18,7 +18,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnprintf_s_test9_paltest_vsnprintf_test9, "c_runtime/_vsnprintf_s/test9/paltest_vsnprintf_test9")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test9/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test9/testinfo.dat
deleted file mode 100644
index 03141bca19db31..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf_s/test9/testinfo.dat
+++ /dev/null
@@ -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 = _vsnprintf
-Name = Positive Test for _vsnprintf
-TYPE = DEFAULT
-EXE1 = test9
-Description
-= Tests the PAL implementation of the _vsnprintf function.
-= Tests _vsnprintf with integer numbers.
-= This test is modeled after sprintf_s.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/CMakeLists.txt
deleted file mode 100644
index b29c7c438bd107..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/CMakeLists.txt
+++ /dev/null
@@ -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)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/_vsnwprintf_s.h b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/_vsnwprintf_s.h
index 657fbd948ef132..6b230412a27f55 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/_vsnwprintf_s.h
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/_vsnwprintf_s.h
@@ -14,7 +14,7 @@
#define ___VSNWPRINTF_H__
/* These functions leaks memory a lot. C'est la vie. */
-int TestVsnwprintf_s(char16_t* buf, size_t count, const char16_t* format, ...)
+inline int TestVsnwprintf_s(char16_t* buf, size_t count, const char16_t* format, ...)
{
int retVal = 0;
va_list arglist;
@@ -26,8 +26,7 @@ int TestVsnwprintf_s(char16_t* buf, size_t count, const char16_t* format, ...)
return( retVal);
}
-
-void DoWStrTest(const WCHAR *formatstr, WCHAR *param, const WCHAR *checkstr)
+inline void DoWStrTest_vsnwprintf_s(const WCHAR *formatstr, WCHAR *param, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -41,8 +40,9 @@ void DoWStrTest(const WCHAR *formatstr, WCHAR *param, const WCHAR *checkstr)
convertC(checkstr), convertC(buf));
}
}
+#define DoWStrTest DoWStrTest_vsnwprintf_s
-void DoStrTest(const WCHAR *formatstr, char *param, const WCHAR *checkstr)
+inline void DoStrTest_vsnwprintf_s(const WCHAR *formatstr, char *param, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -56,8 +56,9 @@ void DoStrTest(const WCHAR *formatstr, char *param, const WCHAR *checkstr)
convertC(buf));
}
}
+#define DoStrTest DoStrTest_vsnwprintf_s
-void DoCharTest(const WCHAR *formatstr, char param, const WCHAR *checkstr)
+inline void DoCharTest_vsnwprintf_s(const WCHAR *formatstr, char param, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -70,8 +71,9 @@ void DoCharTest(const WCHAR *formatstr, char param, const WCHAR *checkstr)
convertC(buf));
}
}
+#define DoCharTest DoCharTest_vsnwprintf_s
-void DoWCharTest(const WCHAR *formatstr, WCHAR param, const WCHAR *checkstr)
+inline void DoWCharTest_vsnwprintf_s(const WCHAR *formatstr, WCHAR param, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -84,8 +86,9 @@ void DoWCharTest(const WCHAR *formatstr, WCHAR param, const WCHAR *checkstr)
convertC(checkstr), convertC(buf));
}
}
+#define DoWCharTest DoWCharTest_vsnwprintf_s
-void DoNumTest(const WCHAR *formatstr, int value, const WCHAR *checkstr)
+inline void DoNumTest_vsnwprintf_s(const WCHAR *formatstr, int value, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -97,8 +100,9 @@ void DoNumTest(const WCHAR *formatstr, int value, const WCHAR *checkstr)
convertC(checkstr), convertC(buf));
}
}
+#define DoNumTest DoNumTest_vsnwprintf_s
-void DoI64NumTest(const WCHAR *formatstr, INT64 value, char *valuestr, const WCHAR *checkstr)
+inline void DoI64NumTest_vsnwprintf_s(const WCHAR *formatstr, INT64 value, char *valuestr, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -110,7 +114,9 @@ void DoI64NumTest(const WCHAR *formatstr, INT64 value, char *valuestr, const WCH
convertC(checkstr), convertC(buf));
}
}
-void DoDoubleTest(const WCHAR *formatstr, double value,
+#define DoI64NumTest DoI64NumTest_vsnwprintf_s
+
+inline void DoDoubleTest_vsnwprintf_s(const WCHAR *formatstr, double value,
const WCHAR *checkstr1, const WCHAR *checkstr2)
{
WCHAR buf[256] = { 0 };
@@ -128,5 +134,6 @@ void DoDoubleTest(const WCHAR *formatstr, double value,
convertC(buf));
}
}
+#define DoDoubleTest DoDoubleTest_vsnwprintf_s
#endif
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test1/CMakeLists.txt
deleted file mode 100644
index de610ede2f536f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_vsnwprintf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnwprintf_test1 coreclrpal)
-
-target_link_libraries(paltest_vsnwprintf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test1/test1.cpp
index 1a70f3c95bc43c..970a099d80cbed 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test1/test1.cpp
@@ -17,7 +17,7 @@
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnwprintf_s_test1_paltest_vsnwprintf_test1, "c_runtime/_vsnwprintf_s/test1/paltest_vsnwprintf_test1")
{
WCHAR *checkstr;
WCHAR buf[256] = { 0 };
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test1/testinfo.dat
deleted file mode 100644
index a96b906db649e3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test1/testinfo.dat
+++ /dev/null
@@ -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 = _vsnwprintf_s
-Name = Positive Test for _vsnwprintf_s
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the _vsnwprintf_s function.
-= General test to see if _vsnwprintf_s works correctly.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test10/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test10/CMakeLists.txt
deleted file mode 100644
index d67ddba7249671..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test10/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test10.cpp
-)
-
-add_executable(paltest_vsnwprintf_test10
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnwprintf_test10 coreclrpal)
-
-target_link_libraries(paltest_vsnwprintf_test10
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test10/test10.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test10/test10.cpp
index 38df25d6aafefd..e4edbb8c527336 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test10/test10.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test10/test10.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnwprintf_s_test10_paltest_vsnwprintf_test10, "c_runtime/_vsnwprintf_s/test10/paltest_vsnwprintf_test10")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test10/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test10/testinfo.dat
deleted file mode 100644
index 100bc35dcc25fd..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test10/testinfo.dat
+++ /dev/null
@@ -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 = _vsnwprintf_s
-Name = Positive Test for _vsnwprintf_s
-TYPE = DEFAULT
-EXE1 = test10
-Description
-= Tests the PAL implementation of the _vsnwprintf_s function.
-= Tests _vsnwprintf_s with octal numbers.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test11/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test11/CMakeLists.txt
deleted file mode 100644
index f237ff3ed94989..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test11/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test11.cpp
-)
-
-add_executable(paltest_vsnwprintf_test11
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnwprintf_test11 coreclrpal)
-
-target_link_libraries(paltest_vsnwprintf_test11
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test11/test11.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test11/test11.cpp
index c3d0c5e2efcfd6..fd3f5bf9f99499 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test11/test11.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test11/test11.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnwprintf_s_test11_paltest_vsnwprintf_test11, "c_runtime/_vsnwprintf_s/test11/paltest_vsnwprintf_test11")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test11/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test11/testinfo.dat
deleted file mode 100644
index 15c728006029ce..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test11/testinfo.dat
+++ /dev/null
@@ -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 = _vsnwprintf_s
-Name = Positive Test for _vsnwprintf_s
-TYPE = DEFAULT
-EXE1 = test11
-Description
-= Tests the PAL implementation of the _vsnwprintf_s function.
-= Tests _vsnwprintf_s with unsigned numbers.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test12/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test12/CMakeLists.txt
deleted file mode 100644
index 6f2b3dad1654da..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test12/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test12.cpp
-)
-
-add_executable(paltest_vsnwprintf_test12
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnwprintf_test12 coreclrpal)
-
-target_link_libraries(paltest_vsnwprintf_test12
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test12/test12.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test12/test12.cpp
index b2f989f405bbb0..d2e6d547ea649e 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test12/test12.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test12/test12.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnwprintf_s_test12_paltest_vsnwprintf_test12, "c_runtime/_vsnwprintf_s/test12/paltest_vsnwprintf_test12")
{
int neg = -42;
int pos = 0x1234ab;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test12/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test12/testinfo.dat
deleted file mode 100644
index 581702733687ef..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test12/testinfo.dat
+++ /dev/null
@@ -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 = _vsnwprintf_s
-Name = Positive Test for _vsnwprintf_s
-TYPE = DEFAULT
-EXE1 = test12
-Description
-= Tests the PAL implementation of the _vsnwprintf_s function.
-= Tests _vsnwprintf_s with hex numbers (lowercase).
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test13/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test13/CMakeLists.txt
deleted file mode 100644
index b5e07b3962a3ab..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test13/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test13.cpp
-)
-
-add_executable(paltest_vsnwprintf_test13
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnwprintf_test13 coreclrpal)
-
-target_link_libraries(paltest_vsnwprintf_test13
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test13/test13.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test13/test13.cpp
index a505316da6329d..64f89cd57149a2 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test13/test13.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test13/test13.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnwprintf_s_test13_paltest_vsnwprintf_test13, "c_runtime/_vsnwprintf_s/test13/paltest_vsnwprintf_test13")
{
int neg = -42;
int pos = 0x1234ab;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test13/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test13/testinfo.dat
deleted file mode 100644
index 3c689872d099b0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test13/testinfo.dat
+++ /dev/null
@@ -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 = _vsnwprintf_s
-Name = Positive Test for _vsnwprintf_s
-TYPE = DEFAULT
-EXE1 = test13
-Description
-= Tests the PAL implementation of the _vsnwprintf_s function.
-= Tests _vsnwprintf_s with hex numbers (uppercase).
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test14/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test14/CMakeLists.txt
deleted file mode 100644
index 77592622ffa3b4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test14/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test14.cpp
-)
-
-add_executable(paltest_vsnwprintf_test14
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnwprintf_test14 coreclrpal)
-
-target_link_libraries(paltest_vsnwprintf_test14
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test14/test14.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test14/test14.cpp
index e5b14b24d004a4..8fca1904231c6a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test14/test14.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test14/test14.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnwprintf_s_test14_paltest_vsnwprintf_test14, "c_runtime/_vsnwprintf_s/test14/paltest_vsnwprintf_test14")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test14/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test14/testinfo.dat
deleted file mode 100644
index bc7c6aecee7956..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test14/testinfo.dat
+++ /dev/null
@@ -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 = _vsnwprintf_s
-Name = Positive Test for _vsnwprintf_s
-TYPE = DEFAULT
-EXE1 = test14
-Description
-= Tests the PAL implementation of the _vsnwprintf_s function.
-= Tests _vsnwprintf_s with exponential format doubles (lowercase).
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test15/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test15/CMakeLists.txt
deleted file mode 100644
index bceb26c2cdf16b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test15/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test15.cpp
-)
-
-add_executable(paltest_vsnwprintf_test15
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnwprintf_test15 coreclrpal)
-
-target_link_libraries(paltest_vsnwprintf_test15
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test15/test15.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test15/test15.cpp
index a61648d43d3eca..9fe695ae86caed 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test15/test15.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test15/test15.cpp
@@ -17,7 +17,7 @@
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnwprintf_s_test15_paltest_vsnwprintf_test15, "c_runtime/_vsnwprintf_s/test15/paltest_vsnwprintf_test15")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test15/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test15/testinfo.dat
deleted file mode 100644
index b5f6a0e4010110..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test15/testinfo.dat
+++ /dev/null
@@ -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 = _vsnwprintf_s
-Name = Positive Test for _vsnwprintf_s
-TYPE = DEFAULT
-EXE1 = test15
-Description
-= Tests the PAL implementation of the _vsnwprintf_s function.
-= Tests _vsnwprintf_s with exponential format doubles (uppercase).
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test16/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test16/CMakeLists.txt
deleted file mode 100644
index fb0c75e66bbb61..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test16/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test16.cpp
-)
-
-add_executable(paltest_vsnwprintf_test16
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnwprintf_test16 coreclrpal)
-
-target_link_libraries(paltest_vsnwprintf_test16
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test16/test16.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test16/test16.cpp
index 4cc272b478aee9..ac20afefb22dd3 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test16/test16.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test16/test16.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnwprintf_s_test16_paltest_vsnwprintf_test16, "c_runtime/_vsnwprintf_s/test16/paltest_vsnwprintf_test16")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test16/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test16/testinfo.dat
deleted file mode 100644
index 17bbd3f6962938..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test16/testinfo.dat
+++ /dev/null
@@ -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 = _vsnwprintf_s
-Name = Positive Test for _vsnwprintf_s
-TYPE = DEFAULT
-EXE1 = test16
-Description
-= Tests the PAL implementation of the _vsnwprintf_s function.
-= Tests _vsnwprintf_s with decimal point format doubles.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test17/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test17/CMakeLists.txt
deleted file mode 100644
index 41e35b4b866a87..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test17/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test17.cpp
-)
-
-add_executable(paltest_vsnwprintf_test17
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnwprintf_test17 coreclrpal)
-
-target_link_libraries(paltest_vsnwprintf_test17
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test17/test17.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test17/test17.cpp
index 41edb8f0518076..d4317b17c17461 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test17/test17.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test17/test17.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnwprintf_s_test17_paltest_vsnwprintf_test17, "c_runtime/_vsnwprintf_s/test17/paltest_vsnwprintf_test17")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test17/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test17/testinfo.dat
deleted file mode 100644
index e8ca626f79340f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test17/testinfo.dat
+++ /dev/null
@@ -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 = _vsnwprintf_s
-Name = Positive Test for _vsnwprintf_s
-TYPE = DEFAULT
-EXE1 = test17
-Description
-= Tests the PAL implementation of the _vsnwprintf_s function.
-= Tests _vsnwprintf_s with compact format doubles (lowercase).
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test18/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test18/CMakeLists.txt
deleted file mode 100644
index 0c99b5576387e8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test18/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test18.cpp
-)
-
-add_executable(paltest_vsnwprintf_test18
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnwprintf_test18 coreclrpal)
-
-target_link_libraries(paltest_vsnwprintf_test18
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test18/test18.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test18/test18.cpp
index fdac25414a5629..7ae932f57d7998 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test18/test18.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test18/test18.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnwprintf_s_test18_paltest_vsnwprintf_test18, "c_runtime/_vsnwprintf_s/test18/paltest_vsnwprintf_test18")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test18/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test18/testinfo.dat
deleted file mode 100644
index be1034930430d3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test18/testinfo.dat
+++ /dev/null
@@ -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 = _vsnwprintf_s
-Name = Positive Test for _vsnwprintf_s
-TYPE = DEFAULT
-EXE1 = test18
-Description
-= Tests the PAL implementation of the _vsnwprintf_s function.
-= Tests _vsnwprintf_s with compact format doubles (uppercase).
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test19/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test19/CMakeLists.txt
deleted file mode 100644
index f4b0562b3fabe6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test19/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test19.cpp
-)
-
-add_executable(paltest_vsnwprintf_test19
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnwprintf_test19 coreclrpal)
-
-target_link_libraries(paltest_vsnwprintf_test19
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test19/test19.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test19/test19.cpp
index dcb6d758e319b8..158ff1a644e0b0 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test19/test19.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test19/test19.cpp
@@ -18,7 +18,7 @@
#define DOTEST(a,b,c,d,e) DoTest(a,b,(void*)c,d,e)
-void DoArgumentPrecTest(WCHAR *formatstr, int precision, void *param,
+void DoArgumentPrecTest_vsnwprintf_s(WCHAR *formatstr, int precision, void *param,
WCHAR *paramstr, WCHAR *checkstr1, WCHAR *checkstr2)
{
WCHAR buf[256];
@@ -37,7 +37,7 @@ void DoArgumentPrecTest(WCHAR *formatstr, int precision, void *param,
convertC(buf));
}
}
-void DoArgumentPrecDoubleTest(WCHAR *formatstr, int precision, double param,
+void DoArgumentPrecDoubleTest_vsnwprintf_s(WCHAR *formatstr, int precision, double param,
WCHAR *checkstr1, WCHAR *checkstr2)
{
WCHAR buf[256];
@@ -60,7 +60,7 @@ void DoArgumentPrecDoubleTest(WCHAR *formatstr, int precision, double param,
* Uses memcmp & wcslen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnwprintf_s_test19_paltest_vsnwprintf_test19, "c_runtime/_vsnwprintf_s/test19/paltest_vsnwprintf_test19")
{
if (PAL_Initialize(argc, argv) != 0)
@@ -68,69 +68,69 @@ int __cdecl main(int argc, char *argv[])
return(FAIL);
}
- DoArgumentPrecTest(convert("%.*s"), 2, (void*)convert("bar"), convert("bar"),
+ DoArgumentPrecTest_vsnwprintf_s(convert("%.*s"), 2, (void*)convert("bar"), convert("bar"),
convert("ba"), convert("ba"));
- DoArgumentPrecTest(convert("%.*c"), 0, (void*)'a', convert("a"),
+ DoArgumentPrecTest_vsnwprintf_s(convert("%.*c"), 0, (void*)'a', convert("a"),
convert("a"), convert("a"));
- DoArgumentPrecTest(convert("%.*c"), 4, (void*)'a', convert("a"),
+ DoArgumentPrecTest_vsnwprintf_s(convert("%.*c"), 4, (void*)'a', convert("a"),
convert("a"), convert("a"));
- DoArgumentPrecTest(convert("%.*C"), 0, (void*)'a', convert("a"),
+ DoArgumentPrecTest_vsnwprintf_s(convert("%.*C"), 0, (void*)'a', convert("a"),
convert("a"), convert("a"));
- DoArgumentPrecTest(convert("%.*C"), 4, (void*)'a', convert("a"),
+ DoArgumentPrecTest_vsnwprintf_s(convert("%.*C"), 4, (void*)'a', convert("a"),
convert("a"), convert("a"));
- DoArgumentPrecTest(convert("%.*d"), 1, (void*)42, convert("42"),
+ DoArgumentPrecTest_vsnwprintf_s(convert("%.*d"), 1, (void*)42, convert("42"),
convert("42"), convert("42"));
- DoArgumentPrecTest(convert("%.*d"), 3, (void*)42, convert("42"),
+ DoArgumentPrecTest_vsnwprintf_s(convert("%.*d"), 3, (void*)42, convert("42"),
convert("042"), convert("042"));
- DoArgumentPrecTest(convert("%.*i"), 1, (void*)42, convert("42"),
+ DoArgumentPrecTest_vsnwprintf_s(convert("%.*i"), 1, (void*)42, convert("42"),
convert("42"), convert("42"));
- DoArgumentPrecTest(convert("%.*i"), 3, (void*)42, convert("42"),
+ DoArgumentPrecTest_vsnwprintf_s(convert("%.*i"), 3, (void*)42, convert("42"),
convert("042"), convert("042"));
- DoArgumentPrecTest(convert("%.*o"), 1, (void*)42, convert("42"),
+ DoArgumentPrecTest_vsnwprintf_s(convert("%.*o"), 1, (void*)42, convert("42"),
convert("52"), convert("52"));
- DoArgumentPrecTest(convert("%.*o"), 3, (void*)42, convert("42"),
+ DoArgumentPrecTest_vsnwprintf_s(convert("%.*o"), 3, (void*)42, convert("42"),
convert("052"), convert("052"));
- DoArgumentPrecTest(convert("%.*u"), 1, (void*)42, convert("42"),
+ DoArgumentPrecTest_vsnwprintf_s(convert("%.*u"), 1, (void*)42, convert("42"),
convert("42"), convert("42"));
- DoArgumentPrecTest(convert("%.*u"), 3, (void*)42, convert("42"),
+ DoArgumentPrecTest_vsnwprintf_s(convert("%.*u"), 3, (void*)42, convert("42"),
convert("042"), convert("042"));
- DoArgumentPrecTest(convert("%.*x"), 1, (void*)0x42, convert("0x42"),
+ DoArgumentPrecTest_vsnwprintf_s(convert("%.*x"), 1, (void*)0x42, convert("0x42"),
convert("42"), convert("42"));
- DoArgumentPrecTest(convert("%.*x"), 3, (void*)0x42, convert("0x42"),
+ DoArgumentPrecTest_vsnwprintf_s(convert("%.*x"), 3, (void*)0x42, convert("0x42"),
convert("042"), convert("042"));
- DoArgumentPrecTest(convert("%.*X"), 1, (void*)0x42, convert("0x42"),
+ DoArgumentPrecTest_vsnwprintf_s(convert("%.*X"), 1, (void*)0x42, convert("0x42"),
convert("42"), convert("42"));
- DoArgumentPrecTest(convert("%.*X"), 3, (void*)0x42, convert("0x42"),
+ DoArgumentPrecTest_vsnwprintf_s(convert("%.*X"), 3, (void*)0x42, convert("0x42"),
convert("042"), convert("042"));
- DoArgumentPrecDoubleTest(convert("%.*e"), 1, 2.01, convert("2.0e+000"),
+ DoArgumentPrecDoubleTest_vsnwprintf_s(convert("%.*e"), 1, 2.01, convert("2.0e+000"),
convert("2.0e+00"));
- DoArgumentPrecDoubleTest(convert("%.*e"), 3, 2.01, convert("2.010e+000"),
+ DoArgumentPrecDoubleTest_vsnwprintf_s(convert("%.*e"), 3, 2.01, convert("2.010e+000"),
convert("2.010e+00"));
- DoArgumentPrecDoubleTest(convert("%.*E"), 1, 2.01, convert("2.0E+000"),
+ DoArgumentPrecDoubleTest_vsnwprintf_s(convert("%.*E"), 1, 2.01, convert("2.0E+000"),
convert("2.0E+00"));
- DoArgumentPrecDoubleTest(convert("%.*E"), 3, 2.01, convert("2.010E+000"),
+ DoArgumentPrecDoubleTest_vsnwprintf_s(convert("%.*E"), 3, 2.01, convert("2.010E+000"),
convert("2.010E+00"));
- DoArgumentPrecDoubleTest(convert("%.*f"), 1, 2.01, convert("2.0"),
+ DoArgumentPrecDoubleTest_vsnwprintf_s(convert("%.*f"), 1, 2.01, convert("2.0"),
convert("2.0"));
- DoArgumentPrecDoubleTest(convert("%.*f"), 3, 2.01, convert("2.010"),
+ DoArgumentPrecDoubleTest_vsnwprintf_s(convert("%.*f"), 3, 2.01, convert("2.010"),
convert("2.010"));
- DoArgumentPrecDoubleTest(convert("%.*g"), 1, 256.01, convert("3e+002"),
+ DoArgumentPrecDoubleTest_vsnwprintf_s(convert("%.*g"), 1, 256.01, convert("3e+002"),
convert("3e+02"));
- DoArgumentPrecDoubleTest(convert("%.*g"), 3, 256.01, convert("256"),
+ DoArgumentPrecDoubleTest_vsnwprintf_s(convert("%.*g"), 3, 256.01, convert("256"),
convert("256"));
- DoArgumentPrecDoubleTest(convert("%.*g"), 4, 256.01, convert("256"),
+ DoArgumentPrecDoubleTest_vsnwprintf_s(convert("%.*g"), 4, 256.01, convert("256"),
convert("256"));
- DoArgumentPrecDoubleTest(convert("%.*g"), 6, 256.01, convert("256.01"),
+ DoArgumentPrecDoubleTest_vsnwprintf_s(convert("%.*g"), 6, 256.01, convert("256.01"),
convert("256.01"));
- DoArgumentPrecDoubleTest(convert("%.*G"), 1, 256.01, convert("3E+002"),
+ DoArgumentPrecDoubleTest_vsnwprintf_s(convert("%.*G"), 1, 256.01, convert("3E+002"),
convert("3E+02"));
- DoArgumentPrecDoubleTest(convert("%.*G"), 3, 256.01, convert("256"),
+ DoArgumentPrecDoubleTest_vsnwprintf_s(convert("%.*G"), 3, 256.01, convert("256"),
convert("256"));
- DoArgumentPrecDoubleTest(convert("%.*G"), 4, 256.01, convert("256"),
+ DoArgumentPrecDoubleTest_vsnwprintf_s(convert("%.*G"), 4, 256.01, convert("256"),
convert("256"));
- DoArgumentPrecDoubleTest(convert("%.*G"), 6, 256.01, convert("256.01"),
+ DoArgumentPrecDoubleTest_vsnwprintf_s(convert("%.*G"), 6, 256.01, convert("256.01"),
convert("256.01"));
PAL_Terminate();
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test19/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test19/testinfo.dat
deleted file mode 100644
index ef3e466d6c1e79..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test19/testinfo.dat
+++ /dev/null
@@ -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 = _vsnwprintf_s
-Name = Positive Test for _vsnwprintf_s
-TYPE = DEFAULT
-EXE1 = test19
-Description
-= Tests the PAL implementation of the _vsnwprintf_s function.
-= Tests _vsnwprintf_s with argument specified precision.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test2/CMakeLists.txt
deleted file mode 100644
index d2838142c3cd62..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_vsnwprintf_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnwprintf_test2 coreclrpal)
-
-target_link_libraries(paltest_vsnwprintf_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test2/test2.cpp
index 6f0026ec34a42d..ce5a74cc080c19 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test2/test2.cpp
@@ -17,7 +17,7 @@
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnwprintf_s_test2_paltest_vsnwprintf_test2, "c_runtime/_vsnwprintf_s/test2/paltest_vsnwprintf_test2")
{
if (PAL_Initialize(argc, argv) != 0)
return(FAIL);
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test2/testinfo.dat
deleted file mode 100644
index 9d30e1c586de08..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test2/testinfo.dat
+++ /dev/null
@@ -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 = _vsnwprintf_s
-Name = Positive Test for _vsnwprintf_s
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Tests the PAL implementation of the _vsnwprintf_s function.
-= Tests _vsnwprintf_s with strings.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test3/CMakeLists.txt
deleted file mode 100644
index 8c2c5c954fcd44..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_vsnwprintf_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnwprintf_test3 coreclrpal)
-
-target_link_libraries(paltest_vsnwprintf_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test3/test3.cpp
index e238a35194d0d2..30aa2d87c5e33b 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test3/test3.cpp
@@ -17,7 +17,7 @@
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnwprintf_s_test3_paltest_vsnwprintf_test3, "c_runtime/_vsnwprintf_s/test3/paltest_vsnwprintf_test3")
{
if (PAL_Initialize(argc, argv) != 0)
return(FAIL);
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test3/testinfo.dat
deleted file mode 100644
index 22e9b85ee0ea04..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test3/testinfo.dat
+++ /dev/null
@@ -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 = _vsnwprintf_s
-Name = Positive Test for _vsnwprintf_s
-TYPE = DEFAULT
-EXE1 = test3
-Description
-= Tests the PAL implementation of the _vsnwprintf_s function.
-= Tests _vsnwprintf_s with wide strings.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test4/CMakeLists.txt
deleted file mode 100644
index eafb0796099a5d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_vsnwprintf_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnwprintf_test4 coreclrpal)
-
-target_link_libraries(paltest_vsnwprintf_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test4/test4.cpp
index fa553982b931d7..1caa4829db0a05 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test4/test4.cpp
@@ -50,7 +50,7 @@ static void DoI64DoubleTest(WCHAR *formatstr, INT64 value, WCHAR *valuestr,
}
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnwprintf_s_test4_paltest_vsnwprintf_test4, "c_runtime/_vsnwprintf_s/test4/paltest_vsnwprintf_test4")
{
void *ptr = (void*) 0x123456;
INT64 lptr = I64(0x1234567887654321);
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test4/testinfo.dat
deleted file mode 100644
index 991a73ce90a2c5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test4/testinfo.dat
+++ /dev/null
@@ -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 = _vsnwprintf_s
-Name = Positive Test for _vsnwprintf_s
-TYPE = DEFAULT
-EXE1 = test4
-Description
-= Tests the PAL implementation of the _vsnwprintf_s function.
-= Tests _vsnwprintf_s with pointers.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test6/CMakeLists.txt
deleted file mode 100644
index 98faea5200ee6a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test6.cpp
-)
-
-add_executable(paltest_vsnwprintf_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnwprintf_test6 coreclrpal)
-
-target_link_libraries(paltest_vsnwprintf_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test6/test6.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test6/test6.cpp
index 79335d0b2d2272..cc0faddf71809c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test6/test6.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test6/test6.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnwprintf_s_test6_paltest_vsnwprintf_test6, "c_runtime/_vsnwprintf_s/test6/paltest_vsnwprintf_test6")
{
WCHAR wc = (WCHAR) 'c';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test6/testinfo.dat
deleted file mode 100644
index c93821024e6612..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test6/testinfo.dat
+++ /dev/null
@@ -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 = _vsnwprintf_s
-Name = Positive Test for _vsnwprintf_s
-TYPE = DEFAULT
-EXE1 = test6
-Description
-= Tests the PAL implementation of the _vsnwprintf_s function.
-= Tests _vsnwprintf_s with characters.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test7/CMakeLists.txt
deleted file mode 100644
index d36a9ff26aab50..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test7.cpp
-)
-
-add_executable(paltest_vsnwprintf_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnwprintf_test7 coreclrpal)
-
-target_link_libraries(paltest_vsnwprintf_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test7/test7.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test7/test7.cpp
index 898f3f0f411fe9..d31e77bb322bce 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test7/test7.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test7/test7.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnwprintf_s_test7_paltest_vsnwprintf_test7, "c_runtime/_vsnwprintf_s/test7/paltest_vsnwprintf_test7")
{
WCHAR wc = (WCHAR) 'c';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test7/testinfo.dat
deleted file mode 100644
index 3b36ecec6a606d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test7/testinfo.dat
+++ /dev/null
@@ -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 = _vsnwprintf_s
-Name = Positive Test for _vsnwprintf_s
-TYPE = DEFAULT
-EXE1 = test7
-Description
-= Tests the PAL implementation of the _vsnwprintf_s function.
-= Tests _vsnwprintf_s with wide characters.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test8/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test8/CMakeLists.txt
deleted file mode 100644
index 0c0440d35426d9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test8/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test8.cpp
-)
-
-add_executable(paltest_vsnwprintf_test8
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnwprintf_test8 coreclrpal)
-
-target_link_libraries(paltest_vsnwprintf_test8
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test8/test8.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test8/test8.cpp
index 9bf5f6c37c9534..e26b49ab8d63b3 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test8/test8.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test8/test8.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnwprintf_s_test8_paltest_vsnwprintf_test8, "c_runtime/_vsnwprintf_s/test8/paltest_vsnwprintf_test8")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test8/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test8/testinfo.dat
deleted file mode 100644
index c09cdac6277bef..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test8/testinfo.dat
+++ /dev/null
@@ -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 = _vsnwprintf_s
-Name = Positive Test for _vsnwprintf_s
-TYPE = DEFAULT
-EXE1 = test8
-Description
-= Tests the PAL implementation of the _vsnwprintf_s function.
-= Tests _vsnwprintf_s with decimal numbers.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test9/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test9/CMakeLists.txt
deleted file mode 100644
index e8117b5bde577d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test9/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test9.cpp
-)
-
-add_executable(paltest_vsnwprintf_test9
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsnwprintf_test9 coreclrpal)
-
-target_link_libraries(paltest_vsnwprintf_test9
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test9/test9.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test9/test9.cpp
index f3cfb5dbb79b16..12e8c46aa5541e 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test9/test9.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test9/test9.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__vsnwprintf_s_test9_paltest_vsnwprintf_test9, "c_runtime/_vsnwprintf_s/test9/paltest_vsnwprintf_test9")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test9/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test9/testinfo.dat
deleted file mode 100644
index a166a92cc7f012..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test9/testinfo.dat
+++ /dev/null
@@ -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 = _vsnwprintf_s
-Name = Positive Test for _vsnwprintf_s
-TYPE = DEFAULT
-EXE1 = test9
-Description
-= Tests the PAL implementation of the _vsnwprintf_s function.
-= Tests _vsnwprintf_s with integer numbers
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsicmp/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsicmp/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsicmp/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsicmp/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsicmp/test1/CMakeLists.txt
deleted file mode 100644
index b3f31074d5949b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsicmp/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_wcsicmp_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcsicmp_test1 coreclrpal)
-
-target_link_libraries(paltest_wcsicmp_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsicmp/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsicmp/test1/test1.cpp
index 3b063b469fdcd8..54f38f32d482f9 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsicmp/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsicmp/test1/test1.cpp
@@ -17,7 +17,7 @@
* Note: The _wcsicmp is dependent on the LC_CTYPE category of the locale,
* and this is ignored by these tests.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__wcsicmp_test1_paltest_wcsicmp_test1, "c_runtime/_wcsicmp/test1/paltest_wcsicmp_test1")
{
WCHAR str1[] = {'f','o','o',0};
WCHAR str2[] = {'f','O','o',0};
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsicmp/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsicmp/test1/testinfo.dat
deleted file mode 100644
index 0fbf1a06c17a72..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsicmp/test1/testinfo.dat
+++ /dev/null
@@ -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 = _wcsicmp
-Name = Test #1 for _wcsicmp
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests that _wcsicmp correctly compares two strings with case insensitivity.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcslwr/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcslwr/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcslwr/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcslwr/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcslwr/test1/CMakeLists.txt
deleted file mode 100644
index c2ed3092367e82..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcslwr/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_wcslwr_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcslwr_test1 coreclrpal)
-
-target_link_libraries(paltest_wcslwr_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcslwr/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcslwr/test1/test1.cpp
index 9426c1eb433413..f3088eec0cb160 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcslwr/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcslwr/test1/test1.cpp
@@ -16,7 +16,7 @@
/* uses memcmp,wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__wcslwr_test1_paltest_wcslwr_test1, "c_runtime/_wcslwr/test1/paltest_wcslwr_test1")
{
WCHAR *test_str = NULL;
WCHAR *expect_str = NULL;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcslwr/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcslwr/test1/testinfo.dat
deleted file mode 100644
index 3579b4d4a0584c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcslwr/test1/testinfo.dat
+++ /dev/null
@@ -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 = _wcslwr
-Name = Positive Test for _wcslwr
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Using memcmp to check the result, convert a wide character string
-= with capitals, to all lowercase using this function.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsnicmp/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsnicmp/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsnicmp/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsnicmp/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsnicmp/test1/CMakeLists.txt
deleted file mode 100644
index 692e0d332c7a46..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsnicmp/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_wcsnicmp_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcsnicmp_test1 coreclrpal)
-
-target_link_libraries(paltest_wcsnicmp_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsnicmp/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsnicmp/test1/test1.cpp
index 05ef6c24df0648..0525266132735b 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsnicmp/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsnicmp/test1/test1.cpp
@@ -22,7 +22,7 @@
* Notes: uses wcslen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime__wcsnicmp_test1_paltest_wcsnicmp_test1, "c_runtime/_wcsnicmp/test1/paltest_wcsnicmp_test1")
{
WCHAR str1[] = {'f','o','o',0};
WCHAR str2[] = {'f','o','o','x',0};
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsnicmp/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsnicmp/test1/testinfo.dat
deleted file mode 100644
index 9f3f97a570f640..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wcsnicmp/test1/testinfo.dat
+++ /dev/null
@@ -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 = _wcsnicmp
-Name = Positive Test for _wcsnicmp
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Take two wide strings and compare them, giving different lengths.
-= Comparing str1 and str2 with str2 length, should return <0
-= Comparing str2 and str1 with str2 length, should return >0
-= Comparing str1 and str2 with str1 lenght, should return 0
-= Bring in str3, which has a capital, but this function is doing a lower
-= case compare. Just ensure that two strings which differ only by capitals
-= return 0.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/CMakeLists.txt
deleted file mode 100644
index 7cd88f8e86daf2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/CMakeLists.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-add_subdirectory(test4)
-add_subdirectory(test5)
-add_subdirectory(test6)
-add_subdirectory(test7)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test1/CMakeLists.txt
deleted file mode 100644
index 505ed8461c2cdc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_wfopen_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_wfopen_test1 coreclrpal)
-
-target_link_libraries(paltest_wfopen_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test1/test1.cpp
index a13f222fccd587..7b96770bc54a9c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test1/test1.cpp
@@ -25,7 +25,7 @@ struct testCase
WCHAR mode[20];
};
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime__wfopen_test1_paltest_wfopen_test1, "c_runtime/_wfopen/test1/paltest_wfopen_test1")
{
FILE *fp;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test1/testinfo.dat
deleted file mode 100644
index 2ca737be79b4f7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test1/testinfo.dat
+++ /dev/null
@@ -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 = _wfopen
-Name = Positive Test for _wfopen
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= This test simply attempts to open a number of files with different
-= modes. It checks to ensure a valid file pointer is returned. It
-= doesn't do any checking to ensure the mode is really what it claims.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test2/CMakeLists.txt
deleted file mode 100644
index 427988b2b6bc54..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_wfopen_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_wfopen_test2 coreclrpal)
-
-target_link_libraries(paltest_wfopen_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test2/test2.cpp
index 6f46cd74e846d1..ccc1a105502e37 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test2/test2.cpp
@@ -21,7 +21,7 @@
#define UNICODE
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime__wfopen_test2_paltest_wfopen_test2, "c_runtime/_wfopen/test2/paltest_wfopen_test2")
{
FILE *fp;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test2/testinfo.dat
deleted file mode 100644
index ab79c00e6d8322..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test2/testinfo.dat
+++ /dev/null
@@ -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 = _wfopen
-Name = Positive Test for _wfopen
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Test to ensure that you can write to a 'w' mode file. And that you can't
-= read from a 'w' mode file.
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test3/CMakeLists.txt
deleted file mode 100644
index fb3c532ca4e0ef..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_wfopen_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_wfopen_test3 coreclrpal)
-
-target_link_libraries(paltest_wfopen_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test3/test3.cpp
index bda512add38a64..081f9d9bb964cc 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test3/test3.cpp
@@ -22,7 +22,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime__wfopen_test3_paltest_wfopen_test3, "c_runtime/_wfopen/test3/paltest_wfopen_test3")
{
FILE *fp;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test3/testinfo.dat
deleted file mode 100644
index cc8ca9137594c7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test3/testinfo.dat
+++ /dev/null
@@ -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 = _wfopen
-Name = Positive Test for _wfopen
-TYPE = DEFAULT
-EXE1 = test3
-Description
-= Test to ensure that you can write to a 'w+' mode file. And that you can
-= read from a 'w+' mode file.
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test4/CMakeLists.txt
deleted file mode 100644
index 3f7839c2cd1449..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_wfopen_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_wfopen_test4 coreclrpal)
-
-target_link_libraries(paltest_wfopen_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test4/test4.cpp
index e865cbcb978798..93f137f0a9a8fd 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test4/test4.cpp
@@ -22,7 +22,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime__wfopen_test4_paltest_wfopen_test4, "c_runtime/_wfopen/test4/paltest_wfopen_test4")
{
FILE *fp;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test4/testinfo.dat
deleted file mode 100644
index 9413f99556d8b2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test4/testinfo.dat
+++ /dev/null
@@ -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 = _wfopen
-Name = Positive Test for _wfopen
-TYPE = DEFAULT
-EXE1 = test4
-Description
-= Test to ensure that you can't write to a 'r' mode file. And that you can
-= read from a 'r' mode file.
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test5/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test5/CMakeLists.txt
deleted file mode 100644
index 00e4a074c84b13..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test5/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test5.cpp
-)
-
-add_executable(paltest_wfopen_test5
- ${SOURCES}
-)
-
-add_dependencies(paltest_wfopen_test5 coreclrpal)
-
-target_link_libraries(paltest_wfopen_test5
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test5/test5.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test5/test5.cpp
index 58abf0a5eafbaa..10839d1c6c9fce 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test5/test5.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test5/test5.cpp
@@ -22,7 +22,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime__wfopen_test5_paltest_wfopen_test5, "c_runtime/_wfopen/test5/paltest_wfopen_test5")
{
FILE *fp;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test5/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test5/testinfo.dat
deleted file mode 100644
index dc3574984454c3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test5/testinfo.dat
+++ /dev/null
@@ -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 = _wfopen
-Name = Positive Test for _wfopen
-TYPE = DEFAULT
-EXE1 = test5
-Description
-= Test to ensure that you can write to a 'r+' mode file. And that you can
-= read from a 'r+' mode file.
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test6/CMakeLists.txt
deleted file mode 100644
index 1eb7eca3c85efc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test6.cpp
-)
-
-add_executable(paltest_wfopen_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_wfopen_test6 coreclrpal)
-
-target_link_libraries(paltest_wfopen_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test6/test6.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test6/test6.cpp
index c64c4a0a9c212e..269ca1f5cc1a18 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test6/test6.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test6/test6.cpp
@@ -20,7 +20,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime__wfopen_test6_paltest_wfopen_test6, "c_runtime/_wfopen/test6/paltest_wfopen_test6")
{
FILE *fp;
char buffer[128];
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test6/testinfo.dat
deleted file mode 100644
index 4201a2e168da22..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test6/testinfo.dat
+++ /dev/null
@@ -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 = _wfopen
-Name = Positive Test for _wfopen
-TYPE = DEFAULT
-EXE1 = test6
-Description
-= Test to ensure that you can write to a 'a' mode file. And that you can't
-= read from a 'a' mode file.
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test7/CMakeLists.txt
deleted file mode 100644
index 9afa9976119fb3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test7.cpp
-)
-
-add_executable(paltest_wfopen_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_wfopen_test7 coreclrpal)
-
-target_link_libraries(paltest_wfopen_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test7/test7.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test7/test7.cpp
index 7f13df4152383c..419707a13acdd8 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test7/test7.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test7/test7.cpp
@@ -21,7 +21,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime__wfopen_test7_paltest_wfopen_test7, "c_runtime/_wfopen/test7/paltest_wfopen_test7")
{
FILE *fp;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test7/testinfo.dat
deleted file mode 100644
index 33d6252de83a5d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wfopen/test7/testinfo.dat
+++ /dev/null
@@ -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 = _wfopen
-Name = Positive Test for _wfopen
-TYPE = DEFAULT
-EXE1 = test7
-Description
-= Test to ensure that you can write to a 'a+' mode file. And that you can
-= read from a 'a+' mode file.
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wtoi/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wtoi/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wtoi/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wtoi/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wtoi/test1/CMakeLists.txt
deleted file mode 100644
index a7243e7d51b270..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wtoi/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_wtoi_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_wtoi_test1 coreclrpal)
-
-target_link_libraries(paltest_wtoi_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wtoi/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wtoi/test1/test1.cpp
index 0829af706060eb..3d0ff1f5ed2656 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wtoi/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wtoi/test1/test1.cpp
@@ -24,7 +24,7 @@ struct testCase
char avalue[20];
};
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime__wtoi_test1_paltest_wtoi_test1, "c_runtime/_wtoi/test1/paltest_wtoi_test1")
{
int result=0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wtoi/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/_wtoi/test1/testinfo.dat
deleted file mode 100644
index 5d2801d5d1f954..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/_wtoi/test1/testinfo.dat
+++ /dev/null
@@ -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 = _wtoi
-Name = Test _wtoi on valid and invalid ints in a variety of formats
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the _wtoi function.
-= Check to ensure that the different ints are handled properly.
-= Exponents and decimals should be treated as invalid characters,
-= causing the conversion to quit. Whitespace before the int is valid.
-= Check would-be octal/hex digits to ensure they're treated no
-= differently than other strings.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/abs/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/abs/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/abs/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/abs/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/abs/test1/CMakeLists.txt
deleted file mode 100644
index 89bccbbe69b97a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/abs/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- abs.cpp
-)
-
-add_executable(paltest_abs_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_abs_test1 coreclrpal)
-
-target_link_libraries(paltest_abs_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/abs/test1/abs.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/abs/test1/abs.cpp
index b567c37a93d358..9ad83d64e3a73d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/abs/test1/abs.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/abs/test1/abs.cpp
@@ -18,7 +18,7 @@ struct TESTS
int nResult;
};
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_abs_test1_paltest_abs_test1, "c_runtime/abs/test1/paltest_abs_test1")
{
int i = 0;
int nRc = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/abs/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/abs/test1/testinfo.dat
deleted file mode 100644
index 1719a0c5505607..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/abs/test1/testinfo.dat
+++ /dev/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 = abs
-Name = test for abs (test 1)
-Type = DEFAULT
-EXE1 = abs
-Description
-= Test abs by passing a list of values and ensuring the
-= proper absolute value is returned.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/acos/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/acos/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/acos/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/acos/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/acos/test1/CMakeLists.txt
deleted file mode 100644
index e654dc3ab29fdb..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/acos/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_acos_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_acos_test1 coreclrpal)
-
-target_link_libraries(paltest_acos_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/acos/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/acos/test1/test1.cpp
index 4c6cceb4d1c46a..5de46458e50515 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/acos/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/acos/test1/test1.cpp
@@ -45,11 +45,11 @@ struct test
};
/**
- * validate
+ * acos_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl acos_test1_validate(double value, double expected, double variance)
{
double result = acos(value);
@@ -67,11 +67,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * acos_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl acos_test1_validate_isnan(double value)
{
double result = acos(value);
@@ -87,7 +87,7 @@ void __cdecl validate_isnan(double value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_acos_test1_paltest_acos_test1, "c_runtime/acos/test1/paltest_acos_test1")
{
struct test tests[] =
{
@@ -117,12 +117,12 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].value, tests[i].expected, tests[i].variance);
+ acos_test1_validate(tests[i].value, tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NEGINF);
- validate_isnan(PAL_NAN);
- validate_isnan(PAL_POSINF);
+ acos_test1_validate_isnan(PAL_NEGINF);
+ acos_test1_validate_isnan(PAL_NAN);
+ acos_test1_validate_isnan(PAL_POSINF);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/acos/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/acos/test1/testinfo.dat
deleted file mode 100644
index 877437d8f390bb..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/acos/test1/testinfo.dat
+++ /dev/null
@@ -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 = acos
-Name = Positive Test for acos
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes a series of values to the acos() function,
-= checking each for the expected result. Also checks
-= for proper handling of out-of-range values.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/acosf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/acosf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/acosf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/acosf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/acosf/test1/CMakeLists.txt
deleted file mode 100644
index 2952068d8163c5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/acosf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_acosf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_acosf_test1 coreclrpal)
-
-target_link_libraries(paltest_acosf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/acosf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/acosf/test1/test1.cpp
similarity index 89%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/acosf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/acosf/test1/test1.cpp
index 8d612ab40d1d17..909d43cab78a98 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/acosf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/acosf/test1/test1.cpp
@@ -44,11 +44,11 @@ struct test
};
/**
- * validate
+ * acosf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl acosf_test1_validate(float value, float expected, float variance)
{
float result = acosf(value);
@@ -66,11 +66,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * acosf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl acosf_test1_validate_isnan(float value)
{
float result = acosf(value);
@@ -86,7 +86,7 @@ void __cdecl validate_isnan(float value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_acosf_test1_paltest_acosf_test1, "c_runtime/acosf/test1/paltest_acosf_test1")
{
struct test tests[] =
{
@@ -116,12 +116,12 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].value, tests[i].expected, tests[i].variance);
+ acosf_test1_validate(tests[i].value, tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NEGINF);
- validate_isnan(PAL_NAN);
- validate_isnan(PAL_POSINF);
+ acosf_test1_validate_isnan(PAL_NEGINF);
+ acosf_test1_validate_isnan(PAL_NAN);
+ acosf_test1_validate_isnan(PAL_POSINF);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/acosf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/acosf/test1/testinfo.dat
deleted file mode 100644
index de8fedaed3cc1b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/acosf/test1/testinfo.dat
+++ /dev/null
@@ -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 = acosf
-Name = Positive Test for acosf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes a series of values to the acosf() function,
-= checking each for the expfected result. Also checks
-= for proper handling of out-of-range values.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/acosh/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/acosh/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/acosh/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/acosh/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/acosh/test1/CMakeLists.txt
deleted file mode 100644
index dfd040565bf4f5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/acosh/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_acosh_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_acosh_test1 coreclrpal)
-
-target_link_libraries(paltest_acosh_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/acosh/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/acosh/test1/test1.cpp
index 4ffa84211fdf88..3d9368fcd94f7b 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/acosh/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/acosh/test1/test1.cpp
@@ -45,11 +45,11 @@ struct test
};
/**
- * validate
+ * acosh_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl acosh_test1_validate(double value, double expected, double variance)
{
double result = acosh(value);
@@ -67,11 +67,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * acosh_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl acosh_test1_validate_isnan(double value)
{
double result = acosh(value);
@@ -87,7 +87,7 @@ void __cdecl validate_isnan(double value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_acosh_test1_paltest_acosh_test1, "c_runtime/acosh/test1/paltest_acosh_test1")
{
struct test tests[] =
{
@@ -118,10 +118,10 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].value, tests[i].expected, tests[i].variance);
+ acosh_test1_validate(tests[i].value, tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ acosh_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/acosh/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/acosh/test1/testinfo.dat
deleted file mode 100644
index e20077a9a89e64..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/acosh/test1/testinfo.dat
+++ /dev/null
@@ -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 = acosh
-Name = Positive Test for acosh
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes a series of values to the acosh() function,
-= checking each for the expected result. Also checks
-= for proper handling of out-of-range values.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/acoshf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/acoshf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/acoshf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/acoshf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/acoshf/test1/CMakeLists.txt
deleted file mode 100644
index 3b692e358448cc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/acoshf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_acoshf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_acoshf_test1 coreclrpal)
-
-target_link_libraries(paltest_acoshf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/acoshf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/acoshf/test1/test1.cpp
similarity index 90%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/acoshf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/acoshf/test1/test1.cpp
index 6f6b7f59a8690d..78bab37dbf37d0 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/acoshf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/acoshf/test1/test1.cpp
@@ -44,11 +44,11 @@ struct test
};
/**
- * validate
+ * acoshf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl acoshf_test1_validate(float value, float expected, float variance)
{
float result = acoshf(value);
@@ -66,11 +66,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * acoshf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl acoshf_test1_validate_isnan(float value)
{
float result = acoshf(value);
@@ -86,7 +86,7 @@ void __cdecl validate_isnan(float value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_acoshf_test1_paltest_acoshf_test1, "c_runtime/acoshf/test1/paltest_acoshf_test1")
{
struct test tests[] =
{
@@ -117,10 +117,10 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].value, tests[i].expected, tests[i].variance);
+ acoshf_test1_validate(tests[i].value, tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ acoshf_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/acoshf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/acoshf/test1/testinfo.dat
deleted file mode 100644
index c6968845412de1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/acoshf/test1/testinfo.dat
+++ /dev/null
@@ -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 = acoshf
-Name = Positive Test for acoshf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes a series of values to the acoshf() function,
-= checking each for the expfected result. Also checks
-= for proper handling of out-of-range values.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/asin/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/asin/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/asin/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/asin/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/asin/test1/CMakeLists.txt
deleted file mode 100644
index 92ba84512d811c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/asin/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_asin_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_asin_test1 coreclrpal)
-
-target_link_libraries(paltest_asin_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/asin/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/asin/test1/test1.cpp
index 4c185672131837..b72599ad33d35a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/asin/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/asin/test1/test1.cpp
@@ -45,11 +45,11 @@ struct test
};
/**
- * validate
+ * asin_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl asin_test1_validate(double value, double expected, double variance)
{
double result = asin(value);
@@ -67,11 +67,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * asin_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl asin_test1_validate_isnan(double value)
{
double result = asin(value);
@@ -83,11 +83,11 @@ void __cdecl validate_isnan(double value)
}
/**
- * validate
+ * asin_test1_validate
*
* test validation function for values returning +INF
*/
-void __cdecl validate_isinf_positive(double value)
+void __cdecl asin_test1_validate_isinf_positive(double value)
{
double result = asin(value);
@@ -103,7 +103,7 @@ void __cdecl validate_isinf_positive(double value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_asin_test1_paltest_asin_test1, "c_runtime/asin/test1/paltest_asin_test1")
{
struct test tests[] =
{
@@ -132,13 +132,13 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, -tests[i].expected, tests[i].variance);
+ asin_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ asin_test1_validate(-tests[i].value, -tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NEGINF);
- validate_isnan(PAL_NAN);
- validate_isnan(PAL_POSINF);
+ asin_test1_validate_isnan(PAL_NEGINF);
+ asin_test1_validate_isnan(PAL_NAN);
+ asin_test1_validate_isnan(PAL_POSINF);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/asin/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/asin/test1/testinfo.dat
deleted file mode 100644
index 54b0ac574daf03..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/asin/test1/testinfo.dat
+++ /dev/null
@@ -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 = asin
-Name = Positive Test for asin
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes a series of values to the asin() function,
-= checking each for the expected result. Also checks
-= for proper handling of out-of-range values.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/asinf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/asinf/test1/CMakeLists.txt
deleted file mode 100644
index 178bbe75933d46..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_asinf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_asinf_test1 coreclrpal)
-
-target_link_libraries(paltest_asinf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/asinf/test1/test1.cpp
similarity index 86%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/asinf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/asinf/test1/test1.cpp
index e249cb7f1e4a96..abf35c2618519f 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/asinf/test1/test1.cpp
@@ -44,11 +44,11 @@ struct test
};
/**
- * validate
+ * asinf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl asinf_test1_validate(float value, float expected, float variance)
{
float result = asinf(value);
@@ -66,11 +66,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * asinf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl asinf_test1_validate_isnan(float value)
{
float result = asinf(value);
@@ -82,11 +82,11 @@ void __cdecl validate_isnan(float value)
}
/**
- * validate
+ * asinf_test1_validate
*
* test validation function for values returning +INF
*/
-void __cdecl validate_isinf_positive(float value)
+void __cdecl asinf_test1_validate_isinf_positive(float value)
{
float result = asinf(value);
@@ -102,7 +102,7 @@ void __cdecl validate_isinf_positive(float value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_asinf_test1_paltest_asinf_test1, "c_runtime/asinf/test1/paltest_asinf_test1")
{
struct test tests[] =
{
@@ -131,13 +131,13 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, -tests[i].expected, tests[i].variance);
+ asinf_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ asinf_test1_validate(-tests[i].value, -tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NEGINF);
- validate_isnan(PAL_NAN);
- validate_isnan(PAL_POSINF);
+ asinf_test1_validate_isnan(PAL_NEGINF);
+ asinf_test1_validate_isnan(PAL_NAN);
+ asinf_test1_validate_isnan(PAL_POSINF);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/asinf/test1/testinfo.dat
deleted file mode 100644
index 2e6622d7a5513e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinf/test1/testinfo.dat
+++ /dev/null
@@ -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 = asinf
-Name = Positive Test for asinf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes a series of values to the asinf() function,
-= checking each for the expected result. Also checks
-= for proper handling of out-of-range values.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinh/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/asinh/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinh/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinh/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/asinh/test1/CMakeLists.txt
deleted file mode 100644
index c1b9f952f882a2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinh/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_asinh_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_asinh_test1 coreclrpal)
-
-target_link_libraries(paltest_asinh_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinh/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/asinh/test1/test1.cpp
index 28304f108d4732..a0ed7953d2edfc 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinh/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/asinh/test1/test1.cpp
@@ -45,11 +45,11 @@ struct test
};
/**
- * validate
+ * asinh_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl asinh_test1_validate(double value, double expected, double variance)
{
double result = asinh(value);
@@ -67,11 +67,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * asinh_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl asinh_test1_validate_isnan(double value)
{
double result = asinh(value);
@@ -83,11 +83,11 @@ void __cdecl validate_isnan(double value)
}
/**
- * validate
+ * asinh_test1_validate
*
* test validation function for values returning +INF
*/
-void __cdecl validate_isinf_positive(double value)
+void __cdecl asinh_test1_validate_isinf_positive(double value)
{
double result = asinh(value);
@@ -103,7 +103,7 @@ void __cdecl validate_isinf_positive(double value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_asinh_test1_paltest_asinh_test1, "c_runtime/asinh/test1/paltest_asinh_test1")
{
struct test tests[] =
{
@@ -134,11 +134,11 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, -tests[i].expected, tests[i].variance);
+ asinh_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ asinh_test1_validate(-tests[i].value, -tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ asinh_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinh/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/asinh/test1/testinfo.dat
deleted file mode 100644
index 87118690707078..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinh/test1/testinfo.dat
+++ /dev/null
@@ -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 = asinh
-Name = Positive Test for asinh
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes a series of values to the asinh() function,
-= checking each for the expected result. Also checks
-= for proper handling of out-of-range values.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinhf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/asinhf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinhf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinhf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/asinhf/test1/CMakeLists.txt
deleted file mode 100644
index 92df683b802be8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinhf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_asinhf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_asinhf_test1 coreclrpal)
-
-target_link_libraries(paltest_asinhf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinhf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/asinhf/test1/test1.cpp
similarity index 88%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/asinhf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/asinhf/test1/test1.cpp
index d052781e58495c..eb2af42b98c7c1 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinhf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/asinhf/test1/test1.cpp
@@ -44,11 +44,11 @@ struct test
};
/**
- * validate
+ * asinhf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl asinhf_test1_validate(float value, float expected, float variance)
{
float result = asinhf(value);
@@ -66,11 +66,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * asinhf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl asinhf_test1_validate_isnan(float value)
{
float result = asinhf(value);
@@ -82,11 +82,11 @@ void __cdecl validate_isnan(float value)
}
/**
- * validate
+ * asinhf_test1_validate
*
* test validation function for values returning +INF
*/
-void __cdecl validate_isinf_positive(float value)
+void __cdecl asinhf_test1_validate_isinf_positive(float value)
{
float result = asinhf(value);
@@ -102,7 +102,7 @@ void __cdecl validate_isinf_positive(float value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_asinhf_test1_paltest_asinhf_test1, "c_runtime/asinhf/test1/paltest_asinhf_test1")
{
struct test tests[] =
{
@@ -133,11 +133,11 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, -tests[i].expected, tests[i].variance);
+ asinhf_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ asinhf_test1_validate(-tests[i].value, -tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ asinhf_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinhf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/asinhf/test1/testinfo.dat
deleted file mode 100644
index 0e56de6faffef3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/asinhf/test1/testinfo.dat
+++ /dev/null
@@ -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 = asinhf
-Name = Positive Test for asinhf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes a series of values to the asinhf() function,
-= checking each for the expected result. Also checks
-= for proper handling of out-of-range values.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/atan/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/atan/test1/CMakeLists.txt
deleted file mode 100644
index 582906052918a5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_atan_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_atan_test1 coreclrpal)
-
-target_link_libraries(paltest_atan_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/atan/test1/test1.cpp
index 8677c52acd8ab3..0e65933bc894f3 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/atan/test1/test1.cpp
@@ -45,11 +45,11 @@ struct test
};
/**
- * validate
+ * atan_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl atan_test1_validate(double value, double expected, double variance)
{
double result = atan(value);
@@ -67,11 +67,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * atan_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl atan_test1_validate_isnan(double value)
{
double result = atan(value);
@@ -87,7 +87,7 @@ void __cdecl validate_isnan(double value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_atan_test1_paltest_atan_test1, "c_runtime/atan/test1/paltest_atan_test1")
{
struct test tests[] =
{
@@ -116,11 +116,11 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, -tests[i].expected, tests[i].variance);
+ atan_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ atan_test1_validate(-tests[i].value, -tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ atan_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/atan/test1/testinfo.dat
deleted file mode 100644
index e823c2d55a8f2a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan/test1/testinfo.dat
+++ /dev/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 = atan
-Name = Positive Test for atan
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes a series of values to the atan() function,
-= checking each for the expected result.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2/test1/CMakeLists.txt
deleted file mode 100644
index 655c7012a00088..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_atan2_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_atan2_test1 coreclrpal)
-
-target_link_libraries(paltest_atan2_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2/test1/test1.cpp
index 889ea90c9ca3ab..6298487994d5dc 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2/test1/test1.cpp
@@ -40,11 +40,11 @@ struct test
};
/**
- * validate
+ * atan2_test1_validate
*
* test validation function
*/
-void __cdecl validate(double y, double x, double expected, double variance)
+void __cdecl atan2_test1_validate(double y, double x, double expected, double variance)
{
double result = atan2(y, x);
@@ -62,11 +62,11 @@ void __cdecl validate(double y, double x, double expected, double variance)
}
/**
- * validate
+ * atan2_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double y, double x)
+void __cdecl atan2_test1_validate_isnan(double y, double x)
{
double result = atan2(y, x);
@@ -82,7 +82,7 @@ void __cdecl validate_isnan(double y, double x)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_atan2_test1_paltest_atan2_test1, "c_runtime/atan2/test1/paltest_atan2_test1")
{
struct test tests[] =
{
@@ -119,28 +119,28 @@ int __cdecl main(int argc, char **argv)
{
const double pi = 3.1415926535897932;
- validate( tests[i].y, tests[i].x, tests[i].expected, tests[i].variance);
- validate(-tests[i].y, tests[i].x, -tests[i].expected, tests[i].variance);
- validate( tests[i].y, -tests[i].x, pi - tests[i].expected, tests[i].variance);
- validate(-tests[i].y, -tests[i].x, tests[i].expected - pi, tests[i].variance);
+ atan2_test1_validate( tests[i].y, tests[i].x, tests[i].expected, tests[i].variance);
+ atan2_test1_validate(-tests[i].y, tests[i].x, -tests[i].expected, tests[i].variance);
+ atan2_test1_validate( tests[i].y, -tests[i].x, pi - tests[i].expected, tests[i].variance);
+ atan2_test1_validate(-tests[i].y, -tests[i].x, tests[i].expected - pi, tests[i].variance);
}
- validate_isnan(PAL_NEGINF, PAL_NAN);
- validate_isnan(PAL_NAN, PAL_NEGINF);
- validate_isnan(PAL_NAN, PAL_POSINF);
- validate_isnan(PAL_POSINF, PAL_NAN);
+ atan2_test1_validate_isnan(PAL_NEGINF, PAL_NAN);
+ atan2_test1_validate_isnan(PAL_NAN, PAL_NEGINF);
+ atan2_test1_validate_isnan(PAL_NAN, PAL_POSINF);
+ atan2_test1_validate_isnan(PAL_POSINF, PAL_NAN);
- validate_isnan(PAL_NAN, -1);
- validate_isnan(PAL_NAN, -0.0);
- validate_isnan(PAL_NAN, 0);
- validate_isnan(PAL_NAN, 1);
+ atan2_test1_validate_isnan(PAL_NAN, -1);
+ atan2_test1_validate_isnan(PAL_NAN, -0.0);
+ atan2_test1_validate_isnan(PAL_NAN, 0);
+ atan2_test1_validate_isnan(PAL_NAN, 1);
- validate_isnan(-1, PAL_NAN);
- validate_isnan(-0.0, PAL_NAN);
- validate_isnan( 0, PAL_NAN);
- validate_isnan( 1, PAL_NAN);
+ atan2_test1_validate_isnan(-1, PAL_NAN);
+ atan2_test1_validate_isnan(-0.0, PAL_NAN);
+ atan2_test1_validate_isnan( 0, PAL_NAN);
+ atan2_test1_validate_isnan( 1, PAL_NAN);
- validate_isnan(PAL_NAN, PAL_NAN);
+ atan2_test1_validate_isnan(PAL_NAN, PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2/test1/testinfo.dat
deleted file mode 100644
index 45241063cc88f4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2/test1/testinfo.dat
+++ /dev/null
@@ -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 = atan2
-Name = Test #1 for atan2
-Type = DEFAULT
-EXE1 = test1
-Description
-=Tests that atan2 returns correct values for a subset of values.
-=Tests with positive and negative values of x and y to ensure
-=atan2 is returning results from the correct quadrant.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2f/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2f/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2f/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2f/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2f/test1/CMakeLists.txt
deleted file mode 100644
index d5b28ce4e6b573..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2f/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_atan2f_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_atan2f_test1 coreclrpal)
-
-target_link_libraries(paltest_atan2f_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2f/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2f/test1/test1.cpp
similarity index 78%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/atan2f/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/atan2f/test1/test1.cpp
index b00d4e55eeeeee..f5915b3a0e1c25 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2f/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2f/test1/test1.cpp
@@ -39,11 +39,11 @@ struct test
};
/**
- * validate
+ * atan2f_test1_validate
*
* test validation function
*/
-void __cdecl validate(float y, float x, float expected, float variance)
+void __cdecl atan2f_test1_validate(float y, float x, float expected, float variance)
{
float result = atan2f(y, x);
@@ -61,11 +61,11 @@ void __cdecl validate(float y, float x, float expected, float variance)
}
/**
- * validate
+ * atan2f_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float y, float x)
+void __cdecl atan2f_test1_validate_isnan(float y, float x)
{
float result = atan2f(y, x);
@@ -81,7 +81,7 @@ void __cdecl validate_isnan(float y, float x)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_atan2f_test1_paltest_atan2f_test1, "c_runtime/atan2f/test1/paltest_atan2f_test1")
{
struct test tests[] =
{
@@ -118,28 +118,28 @@ int __cdecl main(int argc, char **argv)
{
const float pi = 3.14159265f;
- validate( tests[i].y, tests[i].x, tests[i].expected, tests[i].variance);
- validate(-tests[i].y, tests[i].x, -tests[i].expected, tests[i].variance);
- validate( tests[i].y, -tests[i].x, pi - tests[i].expected, tests[i].variance);
- validate(-tests[i].y, -tests[i].x, tests[i].expected - pi, tests[i].variance);
+ atan2f_test1_validate( tests[i].y, tests[i].x, tests[i].expected, tests[i].variance);
+ atan2f_test1_validate(-tests[i].y, tests[i].x, -tests[i].expected, tests[i].variance);
+ atan2f_test1_validate( tests[i].y, -tests[i].x, pi - tests[i].expected, tests[i].variance);
+ atan2f_test1_validate(-tests[i].y, -tests[i].x, tests[i].expected - pi, tests[i].variance);
}
- validate_isnan(PAL_NEGINF, PAL_NAN);
- validate_isnan(PAL_NAN, PAL_NEGINF);
- validate_isnan(PAL_NAN, PAL_POSINF);
- validate_isnan(PAL_POSINF, PAL_NAN);
+ atan2f_test1_validate_isnan(PAL_NEGINF, PAL_NAN);
+ atan2f_test1_validate_isnan(PAL_NAN, PAL_NEGINF);
+ atan2f_test1_validate_isnan(PAL_NAN, PAL_POSINF);
+ atan2f_test1_validate_isnan(PAL_POSINF, PAL_NAN);
- validate_isnan(PAL_NAN, -1);
- validate_isnan(PAL_NAN, -0.0f);
- validate_isnan(PAL_NAN, 0);
- validate_isnan(PAL_NAN, 1);
+ atan2f_test1_validate_isnan(PAL_NAN, -1);
+ atan2f_test1_validate_isnan(PAL_NAN, -0.0f);
+ atan2f_test1_validate_isnan(PAL_NAN, 0);
+ atan2f_test1_validate_isnan(PAL_NAN, 1);
- validate_isnan(-1, PAL_NAN);
- validate_isnan(-0.0f, PAL_NAN);
- validate_isnan( 0, PAL_NAN);
- validate_isnan( 1, PAL_NAN);
+ atan2f_test1_validate_isnan(-1, PAL_NAN);
+ atan2f_test1_validate_isnan(-0.0f, PAL_NAN);
+ atan2f_test1_validate_isnan( 0, PAL_NAN);
+ atan2f_test1_validate_isnan( 1, PAL_NAN);
- validate_isnan(PAL_NAN, PAL_NAN);
+ atan2f_test1_validate_isnan(PAL_NAN, PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2f/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2f/test1/testinfo.dat
deleted file mode 100644
index 225a3c7b4fca92..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atan2f/test1/testinfo.dat
+++ /dev/null
@@ -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 = atan2f
-Name = Test #1 for atan2f
-Type = DEFAULT
-EXE1 = test1
-Description
-=Tests that atan2f returns correct values for a subset of values.
-=Tests with positive and negative values of x and y to ensure
-=atan2f is returning results from the correct quadrant.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/atanf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/atanf/test1/CMakeLists.txt
deleted file mode 100644
index 70df46a7990502..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_atanf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_atanf_test1 coreclrpal)
-
-target_link_libraries(paltest_atanf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/atanf/test1/test1.cpp
similarity index 89%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/atanf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/atanf/test1/test1.cpp
index 3d460d3e25c6f3..518775f1f9c3e6 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/atanf/test1/test1.cpp
@@ -44,11 +44,11 @@ struct test
};
/**
- * validate
+ * atanf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl atanf_test1_validate(float value, float expected, float variance)
{
float result = atanf(value);
@@ -66,11 +66,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * atanf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl atanf_test1_validate_isnan(float value)
{
float result = atanf(value);
@@ -86,7 +86,7 @@ void __cdecl validate_isnan(float value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_atanf_test1_paltest_atanf_test1, "c_runtime/atanf/test1/paltest_atanf_test1")
{
struct test tests[] =
{
@@ -115,11 +115,11 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, -tests[i].expected, tests[i].variance);
+ atanf_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ atanf_test1_validate(-tests[i].value, -tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ atanf_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/atanf/test1/testinfo.dat
deleted file mode 100644
index 4924a2a15d937a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanf/test1/testinfo.dat
+++ /dev/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 = atanf
-Name = Positive Test for atanf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes a series of values to the atanf() function,
-= checking each for the expected result.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanh/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/atanh/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanh/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanh/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/atanh/test1/CMakeLists.txt
deleted file mode 100644
index e55fc35c1b29a4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanh/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_atanh_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_atanh_test1 coreclrpal)
-
-target_link_libraries(paltest_atanh_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanh/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/atanh/test1/test1.cpp
index 3531e765ff8fd1..24a042826e0917 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanh/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/atanh/test1/test1.cpp
@@ -45,11 +45,11 @@ struct test
};
/**
- * validate
+ * atanh_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl atanh_test1_validate(double value, double expected, double variance)
{
double result = atanh(value);
@@ -67,11 +67,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * atanh_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl atanh_test1_validate_isnan(double value)
{
double result = atanh(value);
@@ -87,7 +87,7 @@ void __cdecl validate_isnan(double value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_atanh_test1_paltest_atanh_test1, "c_runtime/atanh/test1/paltest_atanh_test1")
{
struct test tests[] =
{
@@ -118,11 +118,11 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, -tests[i].expected, tests[i].variance);
+ atanh_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ atanh_test1_validate(-tests[i].value, -tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ atanh_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanh/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/atanh/test1/testinfo.dat
deleted file mode 100644
index 32a68acb851b98..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanh/test1/testinfo.dat
+++ /dev/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 = atanh
-Name = Positive Test for atanh
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes a series of values to the atanh() function,
-= checking each for the expected result.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanhf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/atanhf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanhf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanhf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/atanhf/test1/CMakeLists.txt
deleted file mode 100644
index 88e7a36b48bb5e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanhf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_atanhf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_atanhf_test1 coreclrpal)
-
-target_link_libraries(paltest_atanhf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanhf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/atanhf/test1/test1.cpp
similarity index 89%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/atanhf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/atanhf/test1/test1.cpp
index 3c3a156035ad90..d8d184f905fbed 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanhf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/atanhf/test1/test1.cpp
@@ -44,11 +44,11 @@ struct test
};
/**
- * validate
+ * atanhf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl atanhf_test1_validate(float value, float expected, float variance)
{
float result = atanhf(value);
@@ -66,11 +66,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * atanhf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl atanhf_test1_validate_isnan(float value)
{
float result = atanhf(value);
@@ -86,7 +86,7 @@ void __cdecl validate_isnan(float value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_atanhf_test1_paltest_atanhf_test1, "c_runtime/atanhf/test1/paltest_atanhf_test1")
{
struct test tests[] =
{
@@ -117,11 +117,11 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, -tests[i].expected, tests[i].variance);
+ atanhf_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ atanhf_test1_validate(-tests[i].value, -tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ atanhf_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanhf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/atanhf/test1/testinfo.dat
deleted file mode 100644
index 4f8217652a3baa..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atanhf/test1/testinfo.dat
+++ /dev/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 = atanhf
-Name = Positive Test for atanhf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes a series of values to the atanhf() function,
-= checking each for the expected result.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atof/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/atof/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atof/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atof/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/atof/test1/CMakeLists.txt
deleted file mode 100644
index dbc898a8aaa319..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atof/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_atof_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_atof_test1 coreclrpal)
-
-target_link_libraries(paltest_atof_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atof/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/atof/test1/test1.cpp
index e708d7a42fb631..6d8becb3d955b2 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atof/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/atof/test1/test1.cpp
@@ -20,7 +20,7 @@ struct testCase
char avalue[20];
};
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_atof_test1_paltest_atof_test1, "c_runtime/atof/test1/paltest_atof_test1")
{
int i = 0;
double f = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atof/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/atof/test1/testinfo.dat
deleted file mode 100644
index d108278e93b28f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atof/test1/testinfo.dat
+++ /dev/null
@@ -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 = atof
-Name = Positive Test for atof
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to atof() a series of strings containing floats, checking that
-= each one is correctly extracted.
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atoi/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/atoi/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atoi/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atoi/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/atoi/test1/CMakeLists.txt
deleted file mode 100644
index 92426e1d9fffa3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atoi/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_atoi_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_atoi_test1 coreclrpal)
-
-target_link_libraries(paltest_atoi_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atoi/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/atoi/test1/test1.cpp
index 38e42862cc4caa..3137bf903e6824 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atoi/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/atoi/test1/test1.cpp
@@ -22,7 +22,7 @@ struct testCase
char avalue[20];
};
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_atoi_test1_paltest_atoi_test1, "c_runtime/atoi/test1/paltest_atoi_test1")
{
int result=0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/atoi/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/atoi/test1/testinfo.dat
deleted file mode 100644
index 161812238f14bb..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/atoi/test1/testinfo.dat
+++ /dev/null
@@ -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 = atoi
-Name = Positive Test for atoi
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the atoi function.
-= Check to ensure that the different ints (normal, negative, decimal,
-= exponent), all work as expected with this function.
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/test1/CMakeLists.txt
deleted file mode 100644
index c24a88cf0c1d18..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_bsearch_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_bsearch_test1 coreclrpal)
-
-target_link_libraries(paltest_bsearch_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/test1/test1.cpp
index b00ec2832122f2..eacb660dee096c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/test1/test1.cpp
@@ -13,12 +13,12 @@
#include
-int __cdecl charcmp(const void *pa, const void *pb)
+int __cdecl charcmp_bsearch_test1(const void *pa, const void *pb)
{
return memcmp(pa, pb, 1);
}
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_bsearch_test1_paltest_bsearch_test1, "c_runtime/bsearch/test1/paltest_bsearch_test1")
{
const char array[] = "abcdefghij";
@@ -33,7 +33,7 @@ int __cdecl main(int argc, char **argv)
}
found = (char *)bsearch(&"d", array, sizeof(array) - 1, (sizeof(char))
- , charcmp);
+ , charcmp_bsearch_test1);
if (found != array + 3)
{
Fail ("bsearch was unable to find a specified character in a "
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/test1/testinfo.dat
deleted file mode 100644
index eaae5e0add98e0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/test1/testinfo.dat
+++ /dev/null
@@ -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 = bsearch
-Name = Positive Test for bsearch
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Calls bsearch to find a character in a sorted buffer, and
-= verifies that the correct position is returned.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/test2/CMakeLists.txt
deleted file mode 100644
index 3f86291bb3848f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_bsearch_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_bsearch_test2 coreclrpal)
-
-target_link_libraries(paltest_bsearch_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/test2/test2.cpp
index 08440728c067e8..a916e61362ee4d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/test2/test2.cpp
@@ -13,12 +13,12 @@
#include
-int __cdecl charcmp(const void *pa, const void *pb)
+int __cdecl charcmp_bsearch_test2(const void *pa, const void *pb)
{
return *(const char *)pa - *(const char *)pb;
}
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_bsearch_test2_paltest_bsearch_test2, "c_runtime/bsearch/test2/paltest_bsearch_test2")
{
const char array[] = "abcefghij";
@@ -36,7 +36,7 @@ int __cdecl main(int argc, char **argv)
while (*candidate) {
found = (char *)bsearch(candidate, array, sizeof(array) - 1,
- (sizeof(char)), charcmp);
+ (sizeof(char)), charcmp_bsearch_test2);
if (found != NULL)
{
Fail ("ERROR: bsearch was able to find a specified character '%c' "
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/test2/testinfo.dat
deleted file mode 100644
index 4d149e26a4feff..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/bsearch/test2/testinfo.dat
+++ /dev/null
@@ -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 = bsearch
-Name = Negative Test for bsearch
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Calls bsearch to find a character in a sorted buffer,
-= that does not exist.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrt/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrt/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrt/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrt/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrt/test1/CMakeLists.txt
deleted file mode 100644
index e53845485e342a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrt/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_cbrt_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_cbrt_test1 coreclrpal)
-
-target_link_libraries(paltest_cbrt_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrt/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrt/test1/test1.cpp
index aca178fc1afbc8..157bc0b14959b3 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrt/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrt/test1/test1.cpp
@@ -42,11 +42,11 @@ struct test
};
/**
- * validate
+ * cbrt_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl cbrt_test1_validate(double value, double expected, double variance)
{
double result = cbrt(value);
@@ -64,11 +64,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * cbrt_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl cbrt_test1_validate_isnan(double value)
{
double result = cbrt(value);
@@ -79,7 +79,7 @@ void __cdecl validate_isnan(double value)
}
}
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_cbrt_test1_paltest_cbrt_test1, "c_runtime/cbrt/test1/paltest_cbrt_test1")
{
struct test tests[] =
{
@@ -106,16 +106,16 @@ int __cdecl main(int argc, char **argv)
return FAIL;
}
- validate(-0.0, -0.0, PAL_EPSILON);
- validate( 0.0, 0.0, PAL_EPSILON);
+ cbrt_test1_validate(-0.0, -0.0, PAL_EPSILON);
+ cbrt_test1_validate( 0.0, 0.0, PAL_EPSILON);
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, -tests[i].expected, tests[i].variance);
+ cbrt_test1_validate(tests[i].value, tests[i].expected, tests[i].variance);
+ cbrt_test1_validate(-tests[i].value, -tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ cbrt_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrt/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrt/test1/testinfo.dat
deleted file mode 100644
index 03981d2f153501..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrt/test1/testinfo.dat
+++ /dev/null
@@ -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 = cbrt
-Name = Call cbrt on positive values and zero.
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Call the cbrt function on a positive value, a positive value
-= with a decimal and on the maxium possible double value.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrtf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrtf/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrtf/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrtf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrtf/test1/CMakeLists.txt
deleted file mode 100644
index 1d909e076c10a2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrtf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_cbrtf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_cbrtf_test1 coreclrpal)
-
-target_link_libraries(paltest_cbrtf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrtf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrtf/test1/test1.cpp
similarity index 86%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/cbrtf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/cbrtf/test1/test1.cpp
index a4acb920d7dc96..2fa3f25a467c63 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrtf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrtf/test1/test1.cpp
@@ -41,11 +41,11 @@ struct test
};
/**
- * validate
+ * cbrtf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl cbrtf_test1_validate(float value, float expected, float variance)
{
float result = cbrtf(value);
@@ -63,11 +63,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * cbrtf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl cbrtf_test1_validate_isnan(float value)
{
float result = cbrtf(value);
@@ -78,7 +78,7 @@ void __cdecl validate_isnan(float value)
}
}
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_cbrtf_test1_paltest_cbrtf_test1, "c_runtime/cbrtf/test1/paltest_cbrtf_test1")
{
struct test tests[] =
{
@@ -105,16 +105,16 @@ int __cdecl main(int argc, char **argv)
return FAIL;
}
- validate(-0.0f, -0.0f, PAL_EPSILON);
- validate( 0.0f, 0.0f, PAL_EPSILON);
+ cbrtf_test1_validate(-0.0f, -0.0f, PAL_EPSILON);
+ cbrtf_test1_validate( 0.0f, 0.0f, PAL_EPSILON);
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, -tests[i].expected, tests[i].variance);
+ cbrtf_test1_validate(tests[i].value, tests[i].expected, tests[i].variance);
+ cbrtf_test1_validate(-tests[i].value, -tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ cbrtf_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrtf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrtf/test1/testinfo.dat
deleted file mode 100644
index 73264ba8478cfc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/cbrtf/test1/testinfo.dat
+++ /dev/null
@@ -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 = cbrtf
-Name = Call cbrtf on positive values and zero.
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Call the cbrtf function on a positive value, a positive value
-= with a decimal and on the maxium possible float value.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ceil/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/ceil/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ceil/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ceil/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/ceil/test1/CMakeLists.txt
deleted file mode 100644
index 10c9045af8db64..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ceil/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_ceil_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_ceil_test1 coreclrpal)
-
-target_link_libraries(paltest_ceil_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ceil/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/ceil/test1/test1.cpp
index 594c4d794792cc..3f1d71e625c7d6 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ceil/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/ceil/test1/test1.cpp
@@ -43,11 +43,11 @@ struct test
};
/**
- * validate
+ * ceil_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl ceil_test1_validate(double value, double expected, double variance)
{
double result = ceil(value);
@@ -65,11 +65,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * ceil_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl ceil_test1_validate_isnan(double value)
{
double result = ceil(value);
@@ -85,7 +85,7 @@ void __cdecl validate_isnan(double value)
*
* executable entry point
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_ceil_test1_paltest_ceil_test1, "c_runtime/ceil/test1/paltest_ceil_test1")
{
struct test tests[] =
{
@@ -112,19 +112,19 @@ int __cdecl main(int argc, char *argv[])
return FAIL;
}
- validate( 0, 0, PAL_EPSILON);
- validate(-0.0, 0, PAL_EPSILON);
+ ceil_test1_validate( 0, 0, PAL_EPSILON);
+ ceil_test1_validate(-0.0, 0, PAL_EPSILON);
- validate( 1, 1, PAL_EPSILON * 10);
- validate(-1.0, -1, PAL_EPSILON * 10);
+ ceil_test1_validate( 1, 1, PAL_EPSILON * 10);
+ ceil_test1_validate(-1.0, -1, PAL_EPSILON * 10);
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, 1 - tests[i].expected, tests[i].variance);
+ ceil_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ ceil_test1_validate(-tests[i].value, 1 - tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ ceil_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ceil/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/ceil/test1/testinfo.dat
deleted file mode 100644
index e3a13421a13c58..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ceil/test1/testinfo.dat
+++ /dev/null
@@ -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 = ceil
-Name = Test #1 for ceil
-TYPE = DEFAULT
-EXE1 = test1
-Description
-=Tests ceil with simple positive and negative values. Also tests
-=extreme cases like extremely small values and positive and negative
-=infinity. Makes sure that calling ceil on NaN returns NaN
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ceilf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/ceilf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ceilf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ceilf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/ceilf/test1/CMakeLists.txt
deleted file mode 100644
index ecfef17c3dcf5a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ceilf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_ceilf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_ceilf_test1 coreclrpal)
-
-target_link_libraries(paltest_ceilf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ceilf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/ceilf/test1/test1.cpp
similarity index 84%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/ceilf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/ceilf/test1/test1.cpp
index 2b3534dd8304e5..cf237ea8eb95bc 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ceilf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/ceilf/test1/test1.cpp
@@ -42,11 +42,11 @@ struct test
};
/**
- * validate
+ * ceilf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl ceilf_test1_validate(float value, float expected, float variance)
{
float result = ceilf(value);
@@ -64,11 +64,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * ceilf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl ceilf_test1_validate_isnan(float value)
{
float result = ceilf(value);
@@ -84,7 +84,7 @@ void __cdecl validate_isnan(float value)
*
* executable entry point
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_ceilf_test1_paltest_ceilf_test1, "c_runtime/ceilf/test1/paltest_ceilf_test1")
{
struct test tests[] =
{
@@ -111,19 +111,19 @@ int __cdecl main(int argc, char *argv[])
return FAIL;
}
- validate( 0, 0, PAL_EPSILON);
- validate(-0.0f, 0, PAL_EPSILON);
+ ceilf_test1_validate( 0, 0, PAL_EPSILON);
+ ceilf_test1_validate(-0.0f, 0, PAL_EPSILON);
- validate( 1, 1, PAL_EPSILON * 10);
- validate(-1.0f, -1, PAL_EPSILON * 10);
+ ceilf_test1_validate( 1, 1, PAL_EPSILON * 10);
+ ceilf_test1_validate(-1.0f, -1, PAL_EPSILON * 10);
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, 1 - tests[i].expected, tests[i].variance);
+ ceilf_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ ceilf_test1_validate(-tests[i].value, 1 - tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ ceilf_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ceilf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/ceilf/test1/testinfo.dat
deleted file mode 100644
index c10be6890b1f69..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ceilf/test1/testinfo.dat
+++ /dev/null
@@ -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 = ceilf
-Name = Test #1 for ceilf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-=Tests ceilf with simple positive and negative values. Also tests
-=extreme cases like extremely small values and positive and negative
-=infinity. Makes sure that calling ceilf on NaN returns NaN
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/cos/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/cos/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/cos/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/cos/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/cos/test1/CMakeLists.txt
deleted file mode 100644
index 6ca4befb878397..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/cos/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_cos_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_cos_test1 coreclrpal)
-
-target_link_libraries(paltest_cos_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/cos/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/cos/test1/test1.cpp
index ffbd61bdcb167b..d574895731d52d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/cos/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/cos/test1/test1.cpp
@@ -45,11 +45,11 @@ struct test
};
/**
- * validate
+ * cos_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl cos_test1_validate(double value, double expected, double variance)
{
double result = cos(value);
@@ -67,11 +67,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * cos_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl cos_test1_validate_isnan(double value)
{
double result = cos(value);
@@ -87,7 +87,7 @@ void __cdecl validate_isnan(double value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_cos_test1_paltest_cos_test1, "c_runtime/cos/test1/paltest_cos_test1")
{
struct test tests[] =
{
@@ -117,13 +117,13 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, tests[i].expected, tests[i].variance);
+ cos_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ cos_test1_validate(-tests[i].value, tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NEGINF);
- validate_isnan(PAL_NAN);
- validate_isnan(PAL_POSINF);
+ cos_test1_validate_isnan(PAL_NEGINF);
+ cos_test1_validate_isnan(PAL_NAN);
+ cos_test1_validate_isnan(PAL_POSINF);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/cos/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/cos/test1/testinfo.dat
deleted file mode 100644
index 39a176459fd7b8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/cos/test1/testinfo.dat
+++ /dev/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 = cos
-Name = Positive Test for cos
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to cos() a series of angle value, checking that
-= each one return the correct value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/cosf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/cosf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/cosf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/cosf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/cosf/test1/CMakeLists.txt
deleted file mode 100644
index bf3756cfeaccc6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/cosf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_cosf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_cosf_test1 coreclrpal)
-
-target_link_libraries(paltest_cosf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/cosf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/cosf/test1/test1.cpp
similarity index 87%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/cosf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/cosf/test1/test1.cpp
index d9c75152c189eb..ed3a4512b7fe7e 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/cosf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/cosf/test1/test1.cpp
@@ -44,11 +44,11 @@ struct test
};
/**
- * validate
+ * cosf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl cosf_test1_validate(float value, float expected, float variance)
{
float result = cosf(value);
@@ -66,11 +66,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * cosf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl cosf_test1_validate_isnan(float value)
{
float result = cosf(value);
@@ -86,7 +86,7 @@ void __cdecl validate_isnan(float value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_cosf_test1_paltest_cosf_test1, "c_runtime/cosf/test1/paltest_cosf_test1")
{
struct test tests[] =
{
@@ -116,13 +116,13 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, tests[i].expected, tests[i].variance);
+ cosf_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ cosf_test1_validate(-tests[i].value, tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NEGINF);
- validate_isnan(PAL_NAN);
- validate_isnan(PAL_POSINF);
+ cosf_test1_validate_isnan(PAL_NEGINF);
+ cosf_test1_validate_isnan(PAL_NAN);
+ cosf_test1_validate_isnan(PAL_POSINF);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/cosf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/cosf/test1/testinfo.dat
deleted file mode 100644
index f6596c47bacff4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/cosf/test1/testinfo.dat
+++ /dev/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 = cosf
-Name = Positive Test for cosf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to cosf() a series of angle value, checking that
-= each one return the correct value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/cosh/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/cosh/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/cosh/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/cosh/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/cosh/test1/CMakeLists.txt
deleted file mode 100644
index daa88d205a6948..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/cosh/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_cosh_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_cosh_test1 coreclrpal)
-
-target_link_libraries(paltest_cosh_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/cosh/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/cosh/test1/test1.cpp
index 4c23816621a9e0..78518b78e0e45f 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/cosh/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/cosh/test1/test1.cpp
@@ -45,11 +45,11 @@ struct test
};
/**
- * validate
+ * cosh_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl cosh_test1_validate(double value, double expected, double variance)
{
double result = cosh(value);
@@ -67,11 +67,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * cosh_test1_validate
*
* test validation function for values returning PAL_NAN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl cosh_test1_validate_isnan(double value)
{
double result = cosh(value);
@@ -87,7 +87,7 @@ void __cdecl validate_isnan(double value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_cosh_test1_paltest_cosh_test1, "c_runtime/cosh/test1/paltest_cosh_test1")
{
struct test tests[] =
{
@@ -118,11 +118,11 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, tests[i].expected, tests[i].variance);
+ cosh_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ cosh_test1_validate(-tests[i].value, tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ cosh_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/cosh/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/cosh/test1/testinfo.dat
deleted file mode 100644
index 1308e92e3a4597..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/cosh/test1/testinfo.dat
+++ /dev/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 = cosh
-Name = Positive Test for cosh
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to cosh() a series of angle value, checking that
-= each one return to correct value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/coshf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/coshf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/coshf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/coshf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/coshf/test1/CMakeLists.txt
deleted file mode 100644
index 0754fad0dbddfc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/coshf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_coshf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_coshf_test1 coreclrpal)
-
-target_link_libraries(paltest_coshf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/coshf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/coshf/test1/test1.cpp
similarity index 89%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/coshf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/coshf/test1/test1.cpp
index f62e7377420bc5..27ba18c080f433 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/coshf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/coshf/test1/test1.cpp
@@ -44,11 +44,11 @@ struct test
};
/**
- * validate
+ * coshf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl coshf_test1_validate(float value, float expected, float variance)
{
float result = coshf(value);
@@ -66,11 +66,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * coshf_test1_validate
*
* test validation function for values returning PAL_NAN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl coshf_test1_validate_isnan(float value)
{
float result = coshf(value);
@@ -86,7 +86,7 @@ void __cdecl validate_isnan(float value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_coshf_test1_paltest_coshf_test1, "c_runtime/coshf/test1/paltest_coshf_test1")
{
struct test tests[] =
{
@@ -117,11 +117,11 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, tests[i].expected, tests[i].variance);
+ coshf_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ coshf_test1_validate(-tests[i].value, tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ coshf_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/coshf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/coshf/test1/testinfo.dat
deleted file mode 100644
index a953630cda9f70..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/coshf/test1/testinfo.dat
+++ /dev/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 = coshf
-Name = Positive Test for coshf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to coshf() a series of angle value, checking that
-= each one return to correct value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/test1/CMakeLists.txt
deleted file mode 100644
index d5968e08952978..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_errno_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_errno_test1 coreclrpal)
-
-target_link_libraries(paltest_errno_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/test1/test1.cpp
index 0a7da4a644c709..7daab481ef10cf 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/test1/test1.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_errno_test1_paltest_errno_test1, "c_runtime/errno/test1/paltest_errno_test1")
{
WCHAR overstr[] = {'4','2','9','4','9','6','7','2','9','6',0};
WCHAR *end;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/test1/testinfo.dat
deleted file mode 100644
index 21bcff79efc353..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/test1/testinfo.dat
+++ /dev/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 = errno
-Name = Positive Test for errno
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Test that errno begins as 0, and sets to ERANGE when that
-= error is forced with wcstoul.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/test2/CMakeLists.txt
deleted file mode 100644
index ebb4b65dde396c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_errno_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_errno_test2 coreclrpal)
-
-target_link_libraries(paltest_errno_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/test2/test2.cpp
index 2c5e42d005925b..7a0e27007f7186 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/test2/test2.cpp
@@ -16,7 +16,7 @@
This thread function just checks that errno is initially 0 and then sets
it to a new value before returning.
*/
-DWORD PALAPI ThreadFunc( LPVOID lpParam )
+DWORD PALAPI ThreadFunc_errno_test2( LPVOID lpParam )
{
if(errno != 0)
@@ -30,7 +30,7 @@ DWORD PALAPI ThreadFunc( LPVOID lpParam )
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_errno_test2_paltest_errno_test2, "c_runtime/errno/test2/paltest_errno_test2")
{
DWORD dwThreadId, dwThrdParam = 0;
HANDLE hThread;
@@ -45,7 +45,7 @@ int __cdecl main(int argc, char *argv[])
errno = 50;
- hThread = CreateThread(NULL, 0, ThreadFunc, &dwThrdParam, 0, &dwThreadId);
+ hThread = CreateThread(NULL, 0, ThreadFunc_errno_test2, &dwThrdParam, 0, &dwThreadId);
if (hThread == NULL)
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/test2/testinfo.dat
deleted file mode 100644
index 1b79738d96ab87..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/errno/test2/testinfo.dat
+++ /dev/null
@@ -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 = errno
-Name = Positive Test for errno
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Test that errno is 'per-thread' as noted in the documentation.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/test1/CMakeLists.txt
deleted file mode 100644
index 0bfd0d0192e4de..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_exit_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_exit_test1 coreclrpal)
-
-target_link_libraries(paltest_exit_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/test1/test1.cpp
index 201e798e909f06..2bb42e3563c428 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/test1/test1.cpp
@@ -12,7 +12,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_exit_test1_paltest_exit_test1, "c_runtime/exit/test1/paltest_exit_test1")
{
/*
* Initialize the PAL and return FAIL if this fails
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/test1/testinfo.dat
deleted file mode 100644
index 8ee95bdcb9d2be..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/test1/testinfo.dat
+++ /dev/null
@@ -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 = exit
-Name = Positive Test for exit
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Calls exit, and verifies that it actually stops program execution.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/test2/CMakeLists.txt
deleted file mode 100644
index 216befb077915e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_exit_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_exit_test2 coreclrpal)
-
-target_link_libraries(paltest_exit_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/test2/test2.cpp
index c5cb862740e6df..6125b3c38899d8 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/test2/test2.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_exit_test2_paltest_exit_test2, "c_runtime/exit/test2/paltest_exit_test2")
{
/*
* Initialize the PAL and return FAIL if this fails
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/test2/testinfo.dat
deleted file mode 100644
index c913ec6946449e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/exit/test2/testinfo.dat
+++ /dev/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 = exit
-Name = Positive Test for exit
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Calls exit on fail, and verifies that it actually stops program execution,
-= and return 1.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/exp/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/exp/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/exp/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/exp/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/exp/test1/CMakeLists.txt
deleted file mode 100644
index 1830cc2ca7af42..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/exp/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_exp_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_exp_test1 coreclrpal)
-
-target_link_libraries(paltest_exp_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/exp/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/exp/test1/test1.cpp
index c18e31b97830ae..b3c8bb9307e07a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/exp/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/exp/test1/test1.cpp
@@ -40,11 +40,11 @@ struct test
};
/**
- * validate
+ * exp_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl exp_test1_validate(double value, double expected, double variance)
{
double result = exp(value);
@@ -62,11 +62,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * exp_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl exp_test1_validate_isnan(double value)
{
double result = exp(value);
@@ -82,7 +82,7 @@ void __cdecl validate_isnan(double value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_exp_test1_paltest_exp_test1, "c_runtime/exp/test1/paltest_exp_test1")
{
struct test tests[] =
{
@@ -127,10 +127,10 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].value, tests[i].expected, tests[i].variance);
+ exp_test1_validate(tests[i].value, tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ exp_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/exp/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/exp/test1/testinfo.dat
deleted file mode 100644
index 9014536f5017ff..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/exp/test1/testinfo.dat
+++ /dev/null
@@ -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 = exp
-Name = Test #1 for exp
-Type = DEFAULT
-EXE1 = test1
-Description
-=Tests exp with a normal set of values.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/expf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/expf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/expf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/expf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/expf/test1/CMakeLists.txt
deleted file mode 100644
index f598831ec0670e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/expf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_expf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_expf_test1 coreclrpal)
-
-target_link_libraries(paltest_expf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/expf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/expf/test1/test1.cpp
similarity index 93%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/expf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/expf/test1/test1.cpp
index 1ef28a44085a82..72d417ff180a92 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/expf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/expf/test1/test1.cpp
@@ -39,11 +39,11 @@ struct test
};
/**
- * validate
+ * expf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl expf_test1_validate(float value, float expected, float variance)
{
float result = expf(value);
@@ -61,11 +61,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * expf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl expf_test1_validate_isnan(float value)
{
float result = expf(value);
@@ -81,7 +81,7 @@ void __cdecl validate_isnan(float value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_expf_test1_paltest_expf_test1, "c_runtime/expf/test1/paltest_expf_test1")
{
struct test tests[] =
{
@@ -126,10 +126,10 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].value, tests[i].expected, tests[i].variance);
+ expf_test1_validate(tests[i].value, tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ expf_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/expf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/expf/test1/testinfo.dat
deleted file mode 100644
index 9ed119e12975be..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/expf/test1/testinfo.dat
+++ /dev/null
@@ -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 = expf
-Name = Test #1 for expf
-Type = DEFAULT
-EXE1 = test1
-Description
-=Tests expf with a normal set of values.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fabs/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fabs/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fabs/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fabs/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fabs/test1/CMakeLists.txt
deleted file mode 100644
index c3d4d81a3c53db..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fabs/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_fabs_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_fabs_test1 coreclrpal)
-
-target_link_libraries(paltest_fabs_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fabs/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fabs/test1/test1.cpp
index e505a21d3bb865..f3997dea01915b 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fabs/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fabs/test1/test1.cpp
@@ -44,11 +44,11 @@ struct test
};
/**
- * validate
+ * fabs_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl fabs_test1_validate(double value, double expected, double variance)
{
double result = fabs(value);
@@ -66,11 +66,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * fabs_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl fabs_test1_validate_isnan(double value)
{
double result = fabs(value);
@@ -86,7 +86,7 @@ void __cdecl validate_isnan(double value)
*
* executable entry point
*/
-INT __cdecl main(INT argc, CHAR **argv)
+PALTEST(c_runtime_fabs_test1_paltest_fabs_test1, "c_runtime/fabs/test1/paltest_fabs_test1")
{
struct test tests[] =
{
@@ -118,11 +118,11 @@ INT __cdecl main(INT argc, CHAR **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, tests[i].expected, tests[i].variance);
+ fabs_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ fabs_test1_validate(-tests[i].value, tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ fabs_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fabs/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fabs/test1/testinfo.dat
deleted file mode 100644
index 41ba9d82fbad4d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fabs/test1/testinfo.dat
+++ /dev/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 = fabs
-Name = Positive Test for fabs
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to fabs() a series of values, checking that
-= each one return to correct value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fabsf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fabsf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fabsf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fabsf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fabsf/test1/CMakeLists.txt
deleted file mode 100644
index df01190dc0a0be..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fabsf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_fabsf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_fabsf_test1 coreclrpal)
-
-target_link_libraries(paltest_fabsf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fabsf/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fabsf/test1/test1.cpp
index db46814c87a486..68481ca97cef5a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fabsf/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fabsf/test1/test1.cpp
@@ -44,11 +44,11 @@ struct test
};
/**
- * validate
+ * fabsf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl fabsf_test1_validate(float value, float expected, float variance)
{
float result = fabsf(value);
@@ -66,11 +66,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * fabsf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl fabsf_test1_validate_isnan(float value)
{
float result = fabsf(value);
@@ -86,7 +86,7 @@ void __cdecl validate_isnan(float value)
*
* executable entry point
*/
-INT __cdecl main(INT argc, CHAR **argv)
+PALTEST(c_runtime_fabsf_test1_paltest_fabsf_test1, "c_runtime/fabsf/test1/paltest_fabsf_test1")
{
struct test tests[] =
{
@@ -118,11 +118,11 @@ INT __cdecl main(INT argc, CHAR **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, tests[i].expected, tests[i].variance);
+ fabsf_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ fabsf_test1_validate(-tests[i].value, tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ fabsf_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fabsf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fabsf/test1/testinfo.dat
deleted file mode 100644
index e58a7b95df1b1c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fabsf/test1/testinfo.dat
+++ /dev/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 = fabsf
-Name = Positive Test for fabsf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to fabsf() a series of values, checking that
-= each one return to correct value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/test1/CMakeLists.txt
deleted file mode 100644
index 907694baf1867f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_fclose_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_fclose_test1 coreclrpal)
-
-target_link_libraries(paltest_fclose_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/test1/test1.cpp
index 9771dc5e3113bd..fe615787c72487 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/test1/test1.cpp
@@ -16,7 +16,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fclose_test1_paltest_fclose_test1, "c_runtime/fclose/test1/paltest_fclose_test1")
{
HANDLE hReadPipe = NULL;
HANDLE hWritePipe = NULL;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/test1/testinfo.dat
deleted file mode 100644
index 8854bfb0eeb24b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/test1/testinfo.dat
+++ /dev/null
@@ -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 = fclose
-Name = Test for fclose
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the fclose function.
-= This test will use fdopen to create a file stream,
-= that will be used to test fclose. fclose will also
-= be passed a closed file handle to make sure it handle
-= it accordingly.
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/test2/CMakeLists.txt
deleted file mode 100644
index e3cf723eff1e49..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_fclose_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_fclose_test2 coreclrpal)
-
-target_link_libraries(paltest_fclose_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/test2/test2.cpp
index 0ba288485890c2..d27349a2448d99 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/test2/test2.cpp
@@ -14,7 +14,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fclose_test2_paltest_fclose_test2, "c_runtime/fclose/test2/paltest_fclose_test2")
{
HANDLE hReadPipe = NULL;
HANDLE hWritePipe = NULL;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/test2/testinfo.dat
deleted file mode 100644
index d487fec741520b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fclose/test2/testinfo.dat
+++ /dev/null
@@ -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 = fclose
-Name = Test for fclose
-TYPE = DEFAULT
-EXE1 = test2
-LANG = cpp
-Description
-= Tests the PAL implementation of the fclose function.
-= fclose will be passed a closed file handle to
-= make sure it handles it accordingly.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/test1/CMakeLists.txt
deleted file mode 100644
index a492a643a676e6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_ferror_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_ferror_test1 coreclrpal)
-
-target_link_libraries(paltest_ferror_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/test1/test1.cpp
index dbc8a6e240fd68..5863d51d0c091a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/test1/test1.cpp
@@ -18,7 +18,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_ferror_test1_paltest_ferror_test1, "c_runtime/ferror/test1/paltest_ferror_test1")
{
const char filename[] = "testfile";
char buffer[128];
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/test1/testinfo.dat
deleted file mode 100644
index eba507af4ab75f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/test1/testinfo.dat
+++ /dev/null
@@ -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 = ferror
-Name = Positive Test for ferror
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the ferror function.
-= Open a file, and read some characters. Check that ferror states that
-= no error has occurred. Then close the file pointer. Attempt to read
-= some more. Check ferror now, and it should indicate that an error has
-= occurred.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/test2/CMakeLists.txt
deleted file mode 100644
index 313ad09d3d1656..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_ferror_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_ferror_test2 coreclrpal)
-
-target_link_libraries(paltest_ferror_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/test2/test2.cpp
index 2e597e788856d0..3ac444b0ec35c6 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/test2/test2.cpp
@@ -19,7 +19,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_ferror_test2_paltest_ferror_test2, "c_runtime/ferror/test2/paltest_ferror_test2")
{
const char filename[] = "testfile";
FILE * fp = NULL;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/test2/testinfo.dat
deleted file mode 100644
index c230d30096357d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ferror/test2/testinfo.dat
+++ /dev/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 = ferror
-Name = Positive Test for ferror, call write on a readonly file.
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Open a read-only file and attempt to write some data to it.
-= Check to ensure that an ferror occurs.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fflush/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fflush/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fflush/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fflush/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fflush/test1/CMakeLists.txt
deleted file mode 100644
index 807a5c3bbded4a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fflush/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_fflush_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_fflush_test1 coreclrpal)
-
-target_link_libraries(paltest_fflush_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fflush/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fflush/test1/test1.cpp
index d9a22dae857ea7..716a151b5f8f77 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fflush/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fflush/test1/test1.cpp
@@ -21,7 +21,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fflush_test1_paltest_fflush_test1, "c_runtime/fflush/test1/paltest_fflush_test1")
{
int TheReturn;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fflush/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fflush/test1/testinfo.dat
deleted file mode 100644
index 1bde5c32bac631..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fflush/test1/testinfo.dat
+++ /dev/null
@@ -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 = fflush
-Name = Positive Test for fflush
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests to see that fflush is working properly. Flushes a couple
-= buffers and checks the return value. Can't figure out a way to test
-= and ensure it is really dropping the buffers, since the system
-= does this automatically most of the time ...
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/CMakeLists.txt
deleted file mode 100644
index d243b82668a350..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/CMakeLists.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test1/CMakeLists.txt
deleted file mode 100644
index 3fc2acbd717e6d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_fgets_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_fgets_test1 coreclrpal)
-
-target_link_libraries(paltest_fgets_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test1/test1.cpp
index 55759e9e9b48e5..e16c9e2ad9d079 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test1/test1.cpp
@@ -14,7 +14,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fgets_test1_paltest_fgets_test1, "c_runtime/fgets/test1/paltest_fgets_test1")
{
const char outBuf1[] = "This is a test.\n";
const char outBuf2[] = "This is too.";
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test1/testinfo.dat
deleted file mode 100644
index f319b9445a8237..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test1/testinfo.dat
+++ /dev/null
@@ -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 = fgets
-Name = Positive Test for fgets
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Writes a simple file and calls fgets() to get a string shorter than
-= the first line of the file. Verifies that the correct string is
-= returned.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test2/CMakeLists.txt
deleted file mode 100644
index 240ec613d70309..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_fgets_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_fgets_test2 coreclrpal)
-
-target_link_libraries(paltest_fgets_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test2/test2.cpp
index 36c21fc56bbe02..7f21d075817529 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test2/test2.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fgets_test2_paltest_fgets_test2, "c_runtime/fgets/test2/paltest_fgets_test2")
{
const char outBuf1[] = "This is a test.\n";
const char outBuf2[] = "This is too.";
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test2/testinfo.dat
deleted file mode 100644
index 8687e6aedcf22a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test2/testinfo.dat
+++ /dev/null
@@ -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 = fgets
-Name = Positive Test for fgets
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Calls fgets to read a full line from a file. A maximum length
-= parameter greater than the length of the line is passed.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test3/CMakeLists.txt
deleted file mode 100644
index 57e774ed9b0c69..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_fgets_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_fgets_test3 coreclrpal)
-
-target_link_libraries(paltest_fgets_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test3/test3.cpp
index bf8074f4a4a2e1..f46b179de1ddc8 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test3/test3.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fgets_test3_paltest_fgets_test3, "c_runtime/fgets/test3/paltest_fgets_test3")
{
char inBuf[10];
const char filename[] = "testfile.tmp";
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test3/testinfo.dat
deleted file mode 100644
index f4549d91733625..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fgets/test3/testinfo.dat
+++ /dev/null
@@ -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 = fgets
-Name = Positive Test for fgets
-TYPE = DEFAULT
-EXE1 = test3
-Description
-= Tries to read from an empty file using fgets(), to verify handling of
-= EOF condition.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/floor/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/floor/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/floor/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/floor/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/floor/test1/CMakeLists.txt
deleted file mode 100644
index 4a7631516cefd5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/floor/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_floor_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_floor_test1 coreclrpal)
-
-target_link_libraries(paltest_floor_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/floor/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/floor/test1/test1.cpp
index a9837bfcd55a72..549a2d83a0de56 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/floor/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/floor/test1/test1.cpp
@@ -43,11 +43,11 @@ struct test
};
/**
- * validate
+ * floor_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl floor_test1_validate(double value, double expected, double variance)
{
double result = floor(value);
@@ -65,11 +65,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * floor_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl floor_test1_validate_isnan(double value)
{
double result = floor(value);
@@ -85,7 +85,7 @@ void __cdecl validate_isnan(double value)
*
* executable entry point
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_floor_test1_paltest_floor_test1, "c_runtime/floor/test1/paltest_floor_test1")
{
struct test tests[] =
{
@@ -112,19 +112,19 @@ int __cdecl main(int argc, char *argv[])
return FAIL;
}
- validate( 0, 0, PAL_EPSILON);
- validate(-0.0, 0, PAL_EPSILON);
+ floor_test1_validate( 0, 0, PAL_EPSILON);
+ floor_test1_validate(-0.0, 0, PAL_EPSILON);
- validate( 1, 1, PAL_EPSILON * 10);
- validate(-1.0, -1, PAL_EPSILON * 10);
+ floor_test1_validate( 1, 1, PAL_EPSILON * 10);
+ floor_test1_validate(-1.0, -1, PAL_EPSILON * 10);
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, -(tests[i].expected + 1), tests[i].variance);
+ floor_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ floor_test1_validate(-tests[i].value, -(tests[i].expected + 1), tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ floor_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/floor/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/floor/test1/testinfo.dat
deleted file mode 100644
index 250ad8a284261d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/floor/test1/testinfo.dat
+++ /dev/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 = floor
-Name = Positive Test for floor
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to floor() a series of value, checking that
-= each one return to correct value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/floorf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/floorf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/floorf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/floorf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/floorf/test1/CMakeLists.txt
deleted file mode 100644
index 374115643965c3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/floorf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_floorf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_floorf_test1 coreclrpal)
-
-target_link_libraries(paltest_floorf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/floorf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/floorf/test1/test1.cpp
similarity index 84%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/floorf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/floorf/test1/test1.cpp
index 0a1e722e08015a..b80320c7de317c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/floorf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/floorf/test1/test1.cpp
@@ -42,11 +42,11 @@ struct test
};
/**
- * validate
+ * floorf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl floorf_test1_validate(float value, float expected, float variance)
{
float result = floorf(value);
@@ -64,11 +64,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * floorf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl floorf_test1_validate_isnan(float value)
{
float result = floorf(value);
@@ -84,7 +84,7 @@ void __cdecl validate_isnan(float value)
*
* executable entry point
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_floorf_test1_paltest_floorf_test1, "c_runtime/floorf/test1/paltest_floorf_test1")
{
struct test tests[] =
{
@@ -111,19 +111,19 @@ int __cdecl main(int argc, char *argv[])
return FAIL;
}
- validate( 0, 0, PAL_EPSILON);
- validate(-0.0f, 0, PAL_EPSILON);
+ floorf_test1_validate( 0, 0, PAL_EPSILON);
+ floorf_test1_validate(-0.0f, 0, PAL_EPSILON);
- validate( 1, 1, PAL_EPSILON * 10);
- validate(-1.0f, -1, PAL_EPSILON * 10);
+ floorf_test1_validate( 1, 1, PAL_EPSILON * 10);
+ floorf_test1_validate(-1.0f, -1, PAL_EPSILON * 10);
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, -(tests[i].expected + 1), tests[i].variance);
+ floorf_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ floorf_test1_validate(-tests[i].value, -(tests[i].expected + 1), tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ floorf_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/floorf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/floorf/test1/testinfo.dat
deleted file mode 100644
index b64c1789f4ebae..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/floorf/test1/testinfo.dat
+++ /dev/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 = floorf
-Name = Positive Test for floorf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to floorf() a series of value, checking that
-= each one return to correct value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fma/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fma/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fma/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fma/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fma/test1/CMakeLists.txt
deleted file mode 100644
index 0bb96a360c862a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fma/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_fma_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_fma_test1 coreclrpal)
-
-target_link_libraries(paltest_fma_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fma/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fma/test1/test1.cpp
index 67aced02535347..a82adc4b6caa37 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fma/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fma/test1/test1.cpp
@@ -44,11 +44,11 @@ struct test
};
/**
- * validate
+ * fma_test1_validate
*
* test validation function
*/
-void __cdecl validate(double x, double y, double z, double expected, double variance)
+void __cdecl fma_test1_validate(double x, double y, double z, double expected, double variance)
{
double result = fma(x, y, z);
@@ -66,11 +66,11 @@ void __cdecl validate(double x, double y, double z, double expected, double vari
}
/**
- * validate
+ * fma_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double x, double y, double z)
+void __cdecl fma_test1_validate_isnan(double x, double y, double z)
{
double result = fma(x, y, z);
@@ -86,7 +86,7 @@ void __cdecl validate_isnan(double x, double y, double z)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fma_test1_paltest_fma_test1, "c_runtime/fma/test1/paltest_fma_test1")
{
struct test tests[] =
{
@@ -104,41 +104,41 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].x, tests[i].y, tests[i].z, tests[i].expected, tests[i].variance);
+ fma_test1_validate(tests[i].x, tests[i].y, tests[i].z, tests[i].expected, tests[i].variance);
}
// Returns NaN if x or y is infinite, the other is zero, and z is NaN
- validate_isnan(PAL_NEGINF, 0, PAL_NAN);
- validate_isnan(PAL_POSINF, 0, PAL_NAN);
- validate_isnan(0, PAL_NEGINF, PAL_NAN);
- validate_isnan(0, PAL_POSINF, PAL_NAN);
+ fma_test1_validate_isnan(PAL_NEGINF, 0, PAL_NAN);
+ fma_test1_validate_isnan(PAL_POSINF, 0, PAL_NAN);
+ fma_test1_validate_isnan(0, PAL_NEGINF, PAL_NAN);
+ fma_test1_validate_isnan(0, PAL_POSINF, PAL_NAN);
// Returns NaN if x or y is infinite, the other is zero, and z is not-NaN
- validate_isnan(PAL_POSINF, 0, PAL_NEGINF);
- validate_isnan(PAL_NEGINF, 0, PAL_NEGINF);
- validate_isnan(0, PAL_POSINF, PAL_NEGINF);
- validate_isnan(0, PAL_NEGINF, PAL_NEGINF);
+ fma_test1_validate_isnan(PAL_POSINF, 0, PAL_NEGINF);
+ fma_test1_validate_isnan(PAL_NEGINF, 0, PAL_NEGINF);
+ fma_test1_validate_isnan(0, PAL_POSINF, PAL_NEGINF);
+ fma_test1_validate_isnan(0, PAL_NEGINF, PAL_NEGINF);
- validate_isnan(PAL_POSINF, 0, 0);
- validate_isnan(PAL_NEGINF, 0, 0);
- validate_isnan(0, PAL_POSINF, 0);
- validate_isnan(0, PAL_NEGINF, 0);
+ fma_test1_validate_isnan(PAL_POSINF, 0, 0);
+ fma_test1_validate_isnan(PAL_NEGINF, 0, 0);
+ fma_test1_validate_isnan(0, PAL_POSINF, 0);
+ fma_test1_validate_isnan(0, PAL_NEGINF, 0);
- validate_isnan(PAL_POSINF, 0, PAL_POSINF);
- validate_isnan(PAL_NEGINF, 0, PAL_POSINF);
- validate_isnan(0, PAL_POSINF, PAL_POSINF);
- validate_isnan(0, PAL_NEGINF, PAL_POSINF);
+ fma_test1_validate_isnan(PAL_POSINF, 0, PAL_POSINF);
+ fma_test1_validate_isnan(PAL_NEGINF, 0, PAL_POSINF);
+ fma_test1_validate_isnan(0, PAL_POSINF, PAL_POSINF);
+ fma_test1_validate_isnan(0, PAL_NEGINF, PAL_POSINF);
// Returns NaN if (x * y) is infinite, and z is an infinite of the opposite sign
- validate_isnan(PAL_POSINF, PAL_POSINF, PAL_NEGINF);
- validate_isnan(PAL_NEGINF, PAL_NEGINF, PAL_NEGINF);
- validate_isnan(PAL_POSINF, PAL_NEGINF, PAL_POSINF);
- validate_isnan(PAL_NEGINF, PAL_POSINF, PAL_POSINF);
-
- validate_isnan(PAL_POSINF, 1, PAL_NEGINF);
- validate_isnan(PAL_NEGINF, 1, PAL_POSINF);
- validate_isnan(1, PAL_POSINF, PAL_NEGINF);
- validate_isnan(1, PAL_NEGINF, PAL_POSINF);
+ fma_test1_validate_isnan(PAL_POSINF, PAL_POSINF, PAL_NEGINF);
+ fma_test1_validate_isnan(PAL_NEGINF, PAL_NEGINF, PAL_NEGINF);
+ fma_test1_validate_isnan(PAL_POSINF, PAL_NEGINF, PAL_POSINF);
+ fma_test1_validate_isnan(PAL_NEGINF, PAL_POSINF, PAL_POSINF);
+
+ fma_test1_validate_isnan(PAL_POSINF, 1, PAL_NEGINF);
+ fma_test1_validate_isnan(PAL_NEGINF, 1, PAL_POSINF);
+ fma_test1_validate_isnan(1, PAL_POSINF, PAL_NEGINF);
+ fma_test1_validate_isnan(1, PAL_NEGINF, PAL_POSINF);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fma/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fma/test1/testinfo.dat
deleted file mode 100644
index daa452056d5563..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fma/test1/testinfo.dat
+++ /dev/null
@@ -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 = fma
-Name = Call fma with some std input/output.
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Call the fma function with various num/exponent pairs
-= that should produce std answers.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmaf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fmaf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmaf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmaf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fmaf/test1/CMakeLists.txt
deleted file mode 100644
index 3d6be05aa53b52..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmaf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_fmaf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_fmaf_test1 coreclrpal)
-
-target_link_libraries(paltest_fmaf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmaf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/fmaf/test1/test1.cpp
similarity index 66%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/fmaf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/fmaf/test1/test1.cpp
index 34b63f6c0d28cf..10015a585118d6 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmaf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fmaf/test1/test1.cpp
@@ -43,11 +43,11 @@ struct test
};
/**
- * validate
+ * fmaf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float x, float y, float z, float expected, float variance)
+void __cdecl fmaf_test1_validate(float x, float y, float z, float expected, float variance)
{
float result = fmaf(x, y, z);
@@ -65,11 +65,11 @@ void __cdecl validate(float x, float y, float z, float expected, float variance)
}
/**
- * validate
+ * fmaf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float x, float y, float z)
+void __cdecl fmaf_test1_validate_isnan(float x, float y, float z)
{
float result = fmaf(x, y, z);
@@ -85,7 +85,7 @@ void __cdecl validate_isnan(float x, float y, float z)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fmaf_test1_paltest_fmaf_test1, "c_runtime/fmaf/test1/paltest_fmaf_test1")
{
struct test tests[] =
{
@@ -103,41 +103,41 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].x, tests[i].y, tests[i].z, tests[i].expected, tests[i].variance);
+ fmaf_test1_validate(tests[i].x, tests[i].y, tests[i].z, tests[i].expected, tests[i].variance);
}
// Returns NaN if x or y is infinite, the other is zero, and z is NaN
- validate_isnan(PAL_NEGINF, 0, PAL_NAN);
- validate_isnan(PAL_POSINF, 0, PAL_NAN);
- validate_isnan(0, PAL_NEGINF, PAL_NAN);
- validate_isnan(0, PAL_POSINF, PAL_NAN);
+ fmaf_test1_validate_isnan(PAL_NEGINF, 0, PAL_NAN);
+ fmaf_test1_validate_isnan(PAL_POSINF, 0, PAL_NAN);
+ fmaf_test1_validate_isnan(0, PAL_NEGINF, PAL_NAN);
+ fmaf_test1_validate_isnan(0, PAL_POSINF, PAL_NAN);
// Returns NaN if x or y is infinite, the other is zero, and z is not-NaN
- validate_isnan(PAL_POSINF, 0, PAL_NEGINF);
- validate_isnan(PAL_NEGINF, 0, PAL_NEGINF);
- validate_isnan(0, PAL_POSINF, PAL_NEGINF);
- validate_isnan(0, PAL_NEGINF, PAL_NEGINF);
+ fmaf_test1_validate_isnan(PAL_POSINF, 0, PAL_NEGINF);
+ fmaf_test1_validate_isnan(PAL_NEGINF, 0, PAL_NEGINF);
+ fmaf_test1_validate_isnan(0, PAL_POSINF, PAL_NEGINF);
+ fmaf_test1_validate_isnan(0, PAL_NEGINF, PAL_NEGINF);
- validate_isnan(PAL_POSINF, 0, 0);
- validate_isnan(PAL_NEGINF, 0, 0);
- validate_isnan(0, PAL_POSINF, 0);
- validate_isnan(0, PAL_NEGINF, 0);
+ fmaf_test1_validate_isnan(PAL_POSINF, 0, 0);
+ fmaf_test1_validate_isnan(PAL_NEGINF, 0, 0);
+ fmaf_test1_validate_isnan(0, PAL_POSINF, 0);
+ fmaf_test1_validate_isnan(0, PAL_NEGINF, 0);
- validate_isnan(PAL_POSINF, 0, PAL_POSINF);
- validate_isnan(PAL_NEGINF, 0, PAL_POSINF);
- validate_isnan(0, PAL_POSINF, PAL_POSINF);
- validate_isnan(0, PAL_NEGINF, PAL_POSINF);
+ fmaf_test1_validate_isnan(PAL_POSINF, 0, PAL_POSINF);
+ fmaf_test1_validate_isnan(PAL_NEGINF, 0, PAL_POSINF);
+ fmaf_test1_validate_isnan(0, PAL_POSINF, PAL_POSINF);
+ fmaf_test1_validate_isnan(0, PAL_NEGINF, PAL_POSINF);
// Returns NaN if (x * y) is infinite, and z is an infinite of the opposite sign
- validate_isnan(PAL_POSINF, PAL_POSINF, PAL_NEGINF);
- validate_isnan(PAL_NEGINF, PAL_NEGINF, PAL_NEGINF);
- validate_isnan(PAL_POSINF, PAL_NEGINF, PAL_POSINF);
- validate_isnan(PAL_NEGINF, PAL_POSINF, PAL_POSINF);
-
- validate_isnan(PAL_POSINF, 1, PAL_NEGINF);
- validate_isnan(PAL_NEGINF, 1, PAL_POSINF);
- validate_isnan(1, PAL_POSINF, PAL_NEGINF);
- validate_isnan(1, PAL_NEGINF, PAL_POSINF);
+ fmaf_test1_validate_isnan(PAL_POSINF, PAL_POSINF, PAL_NEGINF);
+ fmaf_test1_validate_isnan(PAL_NEGINF, PAL_NEGINF, PAL_NEGINF);
+ fmaf_test1_validate_isnan(PAL_POSINF, PAL_NEGINF, PAL_POSINF);
+ fmaf_test1_validate_isnan(PAL_NEGINF, PAL_POSINF, PAL_POSINF);
+
+ fmaf_test1_validate_isnan(PAL_POSINF, 1, PAL_NEGINF);
+ fmaf_test1_validate_isnan(PAL_NEGINF, 1, PAL_POSINF);
+ fmaf_test1_validate_isnan(1, PAL_POSINF, PAL_NEGINF);
+ fmaf_test1_validate_isnan(1, PAL_NEGINF, PAL_POSINF);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmaf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fmaf/test1/testinfo.dat
deleted file mode 100644
index d62caa5bc54578..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmaf/test1/testinfo.dat
+++ /dev/null
@@ -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 = fmaf
-Name = Call fmaf with some std input/output.
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Call the fmaf function with various num/expfonent pairs
-= that should produce std answers.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmod/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fmod/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmod/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmod/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fmod/test1/CMakeLists.txt
deleted file mode 100644
index 099b0981b3d31b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmod/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_fmod_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_fmod_test1 coreclrpal)
-
-target_link_libraries(paltest_fmod_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmod/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fmod/test1/test1.cpp
index cf4ec5891dfce1..d02b09d0e0d0ef 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmod/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fmod/test1/test1.cpp
@@ -46,11 +46,11 @@ struct test
};
/**
- * validate
+ * fmod_test1_validate
*
* test validation function
*/
-void __cdecl validate(double numerator, double denominator, double expected, double variance)
+void __cdecl fmod_test1_validate(double numerator, double denominator, double expected, double variance)
{
double result = fmod(numerator, denominator);
@@ -68,11 +68,11 @@ void __cdecl validate(double numerator, double denominator, double expected, dou
}
/**
- * validate
+ * fmod_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double numerator, double denominator)
+void __cdecl fmod_test1_validate_isnan(double numerator, double denominator)
{
double result = fmod(numerator, denominator);
@@ -88,7 +88,7 @@ void __cdecl validate_isnan(double numerator, double denominator)
*
* executable entry point
*/
-INT __cdecl main(INT argc, CHAR **argv)
+PALTEST(c_runtime_fmod_test1_paltest_fmod_test1, "c_runtime/fmod/test1/paltest_fmod_test1")
{
struct test tests[] =
{
@@ -120,36 +120,36 @@ INT __cdecl main(INT argc, CHAR **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].numerator, tests[i].denominator, tests[i].expected, tests[i].variance);
- validate(-tests[i].numerator, tests[i].denominator, -tests[i].expected, tests[i].variance);
- validate( tests[i].numerator, -tests[i].denominator, tests[i].expected, tests[i].variance);
- validate(-tests[i].numerator, -tests[i].denominator, -tests[i].expected, tests[i].variance);
+ fmod_test1_validate( tests[i].numerator, tests[i].denominator, tests[i].expected, tests[i].variance);
+ fmod_test1_validate(-tests[i].numerator, tests[i].denominator, -tests[i].expected, tests[i].variance);
+ fmod_test1_validate( tests[i].numerator, -tests[i].denominator, tests[i].expected, tests[i].variance);
+ fmod_test1_validate(-tests[i].numerator, -tests[i].denominator, -tests[i].expected, tests[i].variance);
}
- validate_isnan( 0, 0);
- validate_isnan(-0.0, 0);
- validate_isnan( 0, -0.0);
- validate_isnan(-0.0, -0.0);
+ fmod_test1_validate_isnan( 0, 0);
+ fmod_test1_validate_isnan(-0.0, 0);
+ fmod_test1_validate_isnan( 0, -0.0);
+ fmod_test1_validate_isnan(-0.0, -0.0);
- validate_isnan( 1, 0);
- validate_isnan(-1.0, 0);
- validate_isnan( 1, -0.0);
- validate_isnan(-1.0, -0.0);
+ fmod_test1_validate_isnan( 1, 0);
+ fmod_test1_validate_isnan(-1.0, 0);
+ fmod_test1_validate_isnan( 1, -0.0);
+ fmod_test1_validate_isnan(-1.0, -0.0);
- validate_isnan(PAL_POSINF, PAL_POSINF);
- validate_isnan(PAL_NEGINF, PAL_POSINF);
- validate_isnan(PAL_POSINF, PAL_NEGINF);
- validate_isnan(PAL_NEGINF, PAL_NEGINF);
+ fmod_test1_validate_isnan(PAL_POSINF, PAL_POSINF);
+ fmod_test1_validate_isnan(PAL_NEGINF, PAL_POSINF);
+ fmod_test1_validate_isnan(PAL_POSINF, PAL_NEGINF);
+ fmod_test1_validate_isnan(PAL_NEGINF, PAL_NEGINF);
- validate_isnan(PAL_POSINF, 0);
- validate_isnan(PAL_NEGINF, 0);
- validate_isnan(PAL_POSINF, -0.0);
- validate_isnan(PAL_NEGINF, -0.0);
+ fmod_test1_validate_isnan(PAL_POSINF, 0);
+ fmod_test1_validate_isnan(PAL_NEGINF, 0);
+ fmod_test1_validate_isnan(PAL_POSINF, -0.0);
+ fmod_test1_validate_isnan(PAL_NEGINF, -0.0);
- validate_isnan(PAL_POSINF, 1);
- validate_isnan(PAL_NEGINF, 1);
- validate_isnan(PAL_POSINF, -1.0);
- validate_isnan(PAL_NEGINF, -1.0);
+ fmod_test1_validate_isnan(PAL_POSINF, 1);
+ fmod_test1_validate_isnan(PAL_NEGINF, 1);
+ fmod_test1_validate_isnan(PAL_POSINF, -1.0);
+ fmod_test1_validate_isnan(PAL_NEGINF, -1.0);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmod/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fmod/test1/testinfo.dat
deleted file mode 100644
index ff196cad90ad6b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmod/test1/testinfo.dat
+++ /dev/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 = fmod
-Name = Positive Test for fmod
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to fmod() a series of values, checking that
-= each one return to correct value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmodf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fmodf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmodf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmodf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fmodf/test1/CMakeLists.txt
deleted file mode 100644
index ac125ab52754ad..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmodf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_fmodf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_fmodf_test1 coreclrpal)
-
-target_link_libraries(paltest_fmodf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmodf/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fmodf/test1/test1.cpp
index 9768db041b7551..b73f7824f16686 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmodf/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fmodf/test1/test1.cpp
@@ -45,11 +45,11 @@ struct test
};
/**
- * validate
+ * fmodf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float numerator, float denominator, float expected, float variance)
+void __cdecl fmodf_test1_validate(float numerator, float denominator, float expected, float variance)
{
float result = fmodf(numerator, denominator);
@@ -67,11 +67,11 @@ void __cdecl validate(float numerator, float denominator, float expected, float
}
/**
- * validate
+ * fmodf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float numerator, float denominator)
+void __cdecl fmodf_test1_validate_isnan(float numerator, float denominator)
{
float result = fmodf(numerator, denominator);
@@ -87,7 +87,7 @@ void __cdecl validate_isnan(float numerator, float denominator)
*
* executable entry point
*/
-INT __cdecl main(INT argc, CHAR **argv)
+PALTEST(c_runtime_fmodf_test1_paltest_fmodf_test1, "c_runtime/fmodf/test1/paltest_fmodf_test1")
{
struct test tests[] =
{
@@ -119,36 +119,36 @@ INT __cdecl main(INT argc, CHAR **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].numerator, tests[i].denominator, tests[i].expected, tests[i].variance);
- validate(-tests[i].numerator, tests[i].denominator, -tests[i].expected, tests[i].variance);
- validate( tests[i].numerator, -tests[i].denominator, tests[i].expected, tests[i].variance);
- validate(-tests[i].numerator, -tests[i].denominator, -tests[i].expected, tests[i].variance);
+ fmodf_test1_validate( tests[i].numerator, tests[i].denominator, tests[i].expected, tests[i].variance);
+ fmodf_test1_validate(-tests[i].numerator, tests[i].denominator, -tests[i].expected, tests[i].variance);
+ fmodf_test1_validate( tests[i].numerator, -tests[i].denominator, tests[i].expected, tests[i].variance);
+ fmodf_test1_validate(-tests[i].numerator, -tests[i].denominator, -tests[i].expected, tests[i].variance);
}
- validate_isnan( 0, 0);
- validate_isnan(-0.0f, 0);
- validate_isnan( 0, -0.0f);
- validate_isnan(-0.0f, -0.0f);
+ fmodf_test1_validate_isnan( 0, 0);
+ fmodf_test1_validate_isnan(-0.0f, 0);
+ fmodf_test1_validate_isnan( 0, -0.0f);
+ fmodf_test1_validate_isnan(-0.0f, -0.0f);
- validate_isnan( 1, 0);
- validate_isnan(-1, 0);
- validate_isnan( 1, -0.0f);
- validate_isnan(-1, -0.0f);
+ fmodf_test1_validate_isnan( 1, 0);
+ fmodf_test1_validate_isnan(-1, 0);
+ fmodf_test1_validate_isnan( 1, -0.0f);
+ fmodf_test1_validate_isnan(-1, -0.0f);
- validate_isnan(PAL_POSINF, PAL_POSINF);
- validate_isnan(PAL_NEGINF, PAL_POSINF);
- validate_isnan(PAL_POSINF, PAL_NEGINF);
- validate_isnan(PAL_NEGINF, PAL_NEGINF);
+ fmodf_test1_validate_isnan(PAL_POSINF, PAL_POSINF);
+ fmodf_test1_validate_isnan(PAL_NEGINF, PAL_POSINF);
+ fmodf_test1_validate_isnan(PAL_POSINF, PAL_NEGINF);
+ fmodf_test1_validate_isnan(PAL_NEGINF, PAL_NEGINF);
- validate_isnan(PAL_POSINF, 0);
- validate_isnan(PAL_NEGINF, 0);
- validate_isnan(PAL_POSINF, -0.0f);
- validate_isnan(PAL_NEGINF, -0.0f);
+ fmodf_test1_validate_isnan(PAL_POSINF, 0);
+ fmodf_test1_validate_isnan(PAL_NEGINF, 0);
+ fmodf_test1_validate_isnan(PAL_POSINF, -0.0f);
+ fmodf_test1_validate_isnan(PAL_NEGINF, -0.0f);
- validate_isnan(PAL_POSINF, 1);
- validate_isnan(PAL_NEGINF, 1);
- validate_isnan(PAL_POSINF, -1);
- validate_isnan(PAL_NEGINF, -1);
+ fmodf_test1_validate_isnan(PAL_POSINF, 1);
+ fmodf_test1_validate_isnan(PAL_NEGINF, 1);
+ fmodf_test1_validate_isnan(PAL_POSINF, -1);
+ fmodf_test1_validate_isnan(PAL_NEGINF, -1);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmodf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fmodf/test1/testinfo.dat
deleted file mode 100644
index 6c9ac05fe63c41..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fmodf/test1/testinfo.dat
+++ /dev/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 = fmodf
-Name = Positive Test for fmodf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to fmodf() a series of values, checking that
-= each one return to correct value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/CMakeLists.txt
deleted file mode 100644
index 7cd88f8e86daf2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/CMakeLists.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-add_subdirectory(test4)
-add_subdirectory(test5)
-add_subdirectory(test6)
-add_subdirectory(test7)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test1/CMakeLists.txt
deleted file mode 100644
index b0bae9fcb26e32..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_fopen_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_fopen_test1 coreclrpal)
-
-target_link_libraries(paltest_fopen_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test1/test1.cpp
index 42009e8acf0d09..abbc328d594607 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test1/test1.cpp
@@ -24,7 +24,7 @@ struct testCase
char mode[20];
};
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fopen_test1_paltest_fopen_test1, "c_runtime/fopen/test1/paltest_fopen_test1")
{
FILE *fp;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test1/testinfo.dat
deleted file mode 100644
index efff7c8005ca96..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test1/testinfo.dat
+++ /dev/null
@@ -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 = fopen
-Name = Positive Test for fopen
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= This test simply attempts to open a number of files with different
-= modes. It checks to ensure a valid file pointer is returned. It
-= doesn't do any checking to ensure the mode is really what it claims.
-= Checks for returned value when attempts to open a directory.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test2/CMakeLists.txt
deleted file mode 100644
index a3efc886351517..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_fopen_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_fopen_test2 coreclrpal)
-
-target_link_libraries(paltest_fopen_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test2/test2.cpp
index 8c66c66fcd6940..b588c41fd23e38 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test2/test2.cpp
@@ -20,7 +20,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fopen_test2_paltest_fopen_test2, "c_runtime/fopen/test2/paltest_fopen_test2")
{
FILE *fp;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test2/testinfo.dat
deleted file mode 100644
index 0201327fb16338..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test2/testinfo.dat
+++ /dev/null
@@ -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 = fopen
-Name = Positive Test for fopen
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Test to ensure that you can write to a 'w' mode file. And that you can't
-= read from a 'w' mode file.
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test3/CMakeLists.txt
deleted file mode 100644
index c6686ac4cce37d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_fopen_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_fopen_test3 coreclrpal)
-
-target_link_libraries(paltest_fopen_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test3/test3.cpp
index fd1a7976d619cf..3be80f16109912 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test3/test3.cpp
@@ -20,7 +20,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fopen_test3_paltest_fopen_test3, "c_runtime/fopen/test3/paltest_fopen_test3")
{
FILE *fp;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test3/testinfo.dat
deleted file mode 100644
index 3b9864641b35d4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test3/testinfo.dat
+++ /dev/null
@@ -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 = fopen
-Name = Positive Test for fopen
-TYPE = DEFAULT
-EXE1 = test3
-Description
-= Test to ensure that you can write to a 'w+' mode file. And that you can
-= read from a 'w+' mode file.
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test4/CMakeLists.txt
deleted file mode 100644
index ab92939643c0c8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_fopen_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_fopen_test4 coreclrpal)
-
-target_link_libraries(paltest_fopen_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test4/test4.cpp
index 83c6987397d113..24f8bfa11e79b7 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test4/test4.cpp
@@ -20,7 +20,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fopen_test4_paltest_fopen_test4, "c_runtime/fopen/test4/paltest_fopen_test4")
{
FILE *fp;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test4/testinfo.dat
deleted file mode 100644
index ba3a6c59518f79..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test4/testinfo.dat
+++ /dev/null
@@ -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 = fopen
-Name = Positive Test for fopen
-TYPE = DEFAULT
-EXE1 = test4
-Description
-= Test to ensure that you can't write to a 'r' mode file. And that you can
-= read from a 'r' mode file.
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test5/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test5/CMakeLists.txt
deleted file mode 100644
index ccbce5d6ba45b9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test5/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test5.cpp
-)
-
-add_executable(paltest_fopen_test5
- ${SOURCES}
-)
-
-add_dependencies(paltest_fopen_test5 coreclrpal)
-
-target_link_libraries(paltest_fopen_test5
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test5/test5.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test5/test5.cpp
index 81428a4dcfca17..04205aca833529 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test5/test5.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test5/test5.cpp
@@ -21,7 +21,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fopen_test5_paltest_fopen_test5, "c_runtime/fopen/test5/paltest_fopen_test5")
{
FILE *fp;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test5/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test5/testinfo.dat
deleted file mode 100644
index 5528ec39b500db..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test5/testinfo.dat
+++ /dev/null
@@ -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 = fopen
-Name = Positive Test for fopen
-TYPE = DEFAULT
-EXE1 = test5
-Description
-= Test to ensure that you can write to a 'r+' mode file. And that you can
-= read from a 'r+' mode file.
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test6/CMakeLists.txt
deleted file mode 100644
index 7e373e71fa9082..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test6.cpp
-)
-
-add_executable(paltest_fopen_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_fopen_test6 coreclrpal)
-
-target_link_libraries(paltest_fopen_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test6/test6.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test6/test6.cpp
index 7e55b0963c475c..13f00cc9300b66 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test6/test6.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test6/test6.cpp
@@ -22,7 +22,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fopen_test6_paltest_fopen_test6, "c_runtime/fopen/test6/paltest_fopen_test6")
{
FILE *fp;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test6/testinfo.dat
deleted file mode 100644
index c28ce15b975014..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test6/testinfo.dat
+++ /dev/null
@@ -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 = fopen
-Name = Positive Test for fopen
-TYPE = DEFAULT
-EXE1 = test6
-Description
-= Test to ensure that you can write to a 'a' mode file. And that you can't
-= read from a 'a' mode file.
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test7/CMakeLists.txt
deleted file mode 100644
index 8c8d1c2c37dc41..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test7.cpp
-)
-
-add_executable(paltest_fopen_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_fopen_test7 coreclrpal)
-
-target_link_libraries(paltest_fopen_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test7/test7.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test7/test7.cpp
index 719ed7d08252b4..0cf274d8c6b78d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test7/test7.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test7/test7.cpp
@@ -22,7 +22,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fopen_test7_paltest_fopen_test7, "c_runtime/fopen/test7/paltest_fopen_test7")
{
FILE *fp;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test7/testinfo.dat
deleted file mode 100644
index 642695288ed3fb..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fopen/test7/testinfo.dat
+++ /dev/null
@@ -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 = fopen
-Name = Positive Test for fopen
-TYPE = DEFAULT
-EXE1 = test7
-Description
-= Test to ensure that you can write to a 'a+' mode file. And that you can
-= read from a 'a+' mode file.
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/CMakeLists.txt
deleted file mode 100644
index 256753a6364625..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/CMakeLists.txt
+++ /dev/null
@@ -1,20 +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(test5)
-add_subdirectory(test6)
-add_subdirectory(test7)
-add_subdirectory(test8)
-add_subdirectory(test9)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/fprintf.h b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/fprintf.h
index beead0eee58c4d..fe19a4d74589ef 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/fprintf.h
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/fprintf.h
@@ -10,7 +10,7 @@ function with this as a return type.
#ifndef __FPRINTF_H__
#define __FPRINTF_H__
-void DoStrTest(const char *formatstr, char* param, const char *checkstr)
+inline void DoStrTest_fprintf(const char *formatstr, char* param, const char *checkstr)
{
FILE *fp;
char buf[256] = { 0 };
@@ -32,8 +32,9 @@ void DoStrTest(const char *formatstr, char* param, const char *checkstr)
}
fclose(fp);
}
+#define DoStrTest DoStrTest_fprintf
-void DoWStrTest(const char *formatstr, WCHAR* param, const char *checkstr)
+inline void DoWStrTest_fprintf(const char *formatstr, WCHAR* param, const char *checkstr)
{
FILE *fp;
char buf[256] = { 0 };
@@ -55,9 +56,9 @@ void DoWStrTest(const char *formatstr, WCHAR* param, const char *checkstr)
}
fclose(fp);
}
+#define DoWStrTest DoWStrTest_fprintf
-
-void DoCharTest(const char *formatstr, char param, const char *checkstr)
+inline void DoCharTest_fprintf(const char *formatstr, char param, const char *checkstr)
{
FILE *fp;
char buf[256] = { 0 };
@@ -79,8 +80,9 @@ void DoCharTest(const char *formatstr, char param, const char *checkstr)
}
fclose(fp);
}
+#define DoCharTest DoCharTest_fprintf
-void DoWCharTest(const char *formatstr, WCHAR param, const char *checkstr)
+inline void DoWCharTest_fprintf(const char *formatstr, WCHAR param, const char *checkstr)
{
FILE *fp;
char buf[256] = { 0 };
@@ -102,8 +104,9 @@ void DoWCharTest(const char *formatstr, WCHAR param, const char *checkstr)
}
fclose(fp);
}
+#define DoWCharTest DoWCharTest_fprintf
-void DoNumTest(const char *formatstr, int value, const char *checkstr)
+inline void DoNumTest_fprintf(const char *formatstr, int value, const char *checkstr)
{
FILE *fp;
char buf[256] = { 0 };
@@ -125,8 +128,9 @@ void DoNumTest(const char *formatstr, int value, const char *checkstr)
}
fclose(fp);
}
+#define DoNumTest DoNumTest_fprintf
-void DoI64Test(const char *formatstr, INT64 value, char *valuestr, const char *checkstr1, const char *checkstr2)
+inline void DoI64Test_fprintf(const char *formatstr, INT64 value, char *valuestr, const char *checkstr1, const char *checkstr2)
{
FILE *fp;
char buf[256] = { 0 };
@@ -149,8 +153,9 @@ void DoI64Test(const char *formatstr, INT64 value, char *valuestr, const char *c
}
fclose(fp);
}
+#define DoI64Test DoI64Test_fprintf
-void DoDoubleTest(const char *formatstr, double value, const char *checkstr1, const char *checkstr2)
+inline void DoDoubleTest_fprintf(const char *formatstr, double value, const char *checkstr1, const char *checkstr2)
{
FILE *fp;
char buf[256] = { 0 };
@@ -173,4 +178,5 @@ void DoDoubleTest(const char *formatstr, double value, const char *checkstr1, co
}
fclose(fp);
}
+#define DoDoubleTest DoDoubleTest_fprintf
#endif
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test1/CMakeLists.txt
deleted file mode 100644
index c092aaf9eeee0c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_fprintf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_fprintf_test1 coreclrpal)
-
-target_link_libraries(paltest_fprintf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test1/test1.cpp
index b97ed0e1b9239e..8fa9ef72fc7eed 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test1/test1.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fgets, fseek and fclose.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fprintf_test1_paltest_fprintf_test1, "c_runtime/fprintf/test1/paltest_fprintf_test1")
{
FILE *fp;
char testfile[] = "testfile.txt";
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test1/testinfo.dat
deleted file mode 100644
index e5049fea0506c5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test1/testinfo.dat
+++ /dev/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 = fprintf
-Name = Positive Test for fprintf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= A single, basic, test case with no formatting.
-= Test modeled after the sprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test10/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test10/CMakeLists.txt
deleted file mode 100644
index c095555ed6f90a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test10/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test10.cpp
-)
-
-add_executable(paltest_fprintf_test10
- ${SOURCES}
-)
-
-add_dependencies(paltest_fprintf_test10 coreclrpal)
-
-target_link_libraries(paltest_fprintf_test10
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test10/test10.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test10/test10.cpp
index b7061b62ac026a..b94ee2e7a7ee0a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test10/test10.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test10/test10.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fprintf_test10_paltest_fprintf_test10, "c_runtime/fprintf/test10/paltest_fprintf_test10")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test10/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test10/testinfo.dat
deleted file mode 100644
index f7704dd567384c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test10/testinfo.dat
+++ /dev/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 = fprintf
-Name = Positive Test for fprintf
-TYPE = DEFAULT
-EXE1 = test10
-Description
-= Tests the octal specifier (%o).
-= This test is modeled after the fprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test11/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test11/CMakeLists.txt
deleted file mode 100644
index 32559bf8003e21..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test11/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test11.cpp
-)
-
-add_executable(paltest_fprintf_test11
- ${SOURCES}
-)
-
-add_dependencies(paltest_fprintf_test11 coreclrpal)
-
-target_link_libraries(paltest_fprintf_test11
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test11/test11.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test11/test11.cpp
index 4451ccdb5ac739..4b987fcb266399 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test11/test11.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test11/test11.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fprintf_test11_paltest_fprintf_test11, "c_runtime/fprintf/test11/paltest_fprintf_test11")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test11/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test11/testinfo.dat
deleted file mode 100644
index 8a7084e1b04e38..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test11/testinfo.dat
+++ /dev/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 = fprintf
-Name = Positive Test for fprintf
-TYPE = DEFAULT
-EXE1 = test11
-Description
-= Test the unsigned int specifier (%u).
-= This test is modeled after the fprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test12/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test12/CMakeLists.txt
deleted file mode 100644
index 1ee3cb295d276a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test12/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test12.cpp
-)
-
-add_executable(paltest_fprintf_test12
- ${SOURCES}
-)
-
-add_dependencies(paltest_fprintf_test12 coreclrpal)
-
-target_link_libraries(paltest_fprintf_test12
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test12/test12.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test12/test12.cpp
index db65b1c44582be..368de6987a4846 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test12/test12.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test12/test12.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fprintf_test12_paltest_fprintf_test12, "c_runtime/fprintf/test12/paltest_fprintf_test12")
{
int neg = -42;
int pos = 0x1234ab;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test12/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test12/testinfo.dat
deleted file mode 100644
index 80f855c0587263..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test12/testinfo.dat
+++ /dev/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 = fprintf
-Name = Positive Test for fprintf
-TYPE = DEFAULT
-EXE1 = test12
-Description
-= Tests the (lowercase) hexadecimal specifier (%x).
-= This test is modeled after the fprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test13/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test13/CMakeLists.txt
deleted file mode 100644
index 1c4049e992df2e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test13/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test13.cpp
-)
-
-add_executable(paltest_fprintf_test13
- ${SOURCES}
-)
-
-add_dependencies(paltest_fprintf_test13 coreclrpal)
-
-target_link_libraries(paltest_fprintf_test13
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test13/test13.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test13/test13.cpp
index 7a29345aa7775e..52cca2d9e79fe0 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test13/test13.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test13/test13.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fprintf_test13_paltest_fprintf_test13, "c_runtime/fprintf/test13/paltest_fprintf_test13")
{
int neg = -42;
int pos = 0x1234AB;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test13/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test13/testinfo.dat
deleted file mode 100644
index 49c0c469fda34a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test13/testinfo.dat
+++ /dev/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 = fprintf
-Name = Positive Test for fprintf
-TYPE = DEFAULT
-EXE1 = test13
-Description
-= Tests the (uppercase) hexadecimal specifier (%X).
-= This test is modeled after the fprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test14/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test14/CMakeLists.txt
deleted file mode 100644
index 3266d846d1b877..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test14/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test14.cpp
-)
-
-add_executable(paltest_fprintf_test14
- ${SOURCES}
-)
-
-add_dependencies(paltest_fprintf_test14 coreclrpal)
-
-target_link_libraries(paltest_fprintf_test14
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test14/test14.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test14/test14.cpp
index 1396181e467f79..2d230acbc32cbb 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test14/test14.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test14/test14.cpp
@@ -19,7 +19,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fprintf_test14_paltest_fprintf_test14, "c_runtime/fprintf/test14/paltest_fprintf_test14")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test14/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test14/testinfo.dat
deleted file mode 100644
index 0628542f3e3e70..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test14/testinfo.dat
+++ /dev/null
@@ -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 = fprintf
-Name = Positive Test for fprintf
-TYPE = DEFAULT
-EXE1 = test14
-Description
-= Tests the lowercase exponential
-= notation double specifier (%e).
-= This test is modeled after the fprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test15/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test15/CMakeLists.txt
deleted file mode 100644
index 51e7444939596c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test15/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test15.cpp
-)
-
-add_executable(paltest_fprintf_test15
- ${SOURCES}
-)
-
-add_dependencies(paltest_fprintf_test15 coreclrpal)
-
-target_link_libraries(paltest_fprintf_test15
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test15/test15.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test15/test15.cpp
index 0a1d25880d1456..c5b15723c5e09c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test15/test15.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test15/test15.cpp
@@ -19,7 +19,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fprintf_test15_paltest_fprintf_test15, "c_runtime/fprintf/test15/paltest_fprintf_test15")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test15/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test15/testinfo.dat
deleted file mode 100644
index af6d4f56bd464c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test15/testinfo.dat
+++ /dev/null
@@ -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 = fprintf
-Name = Positive Test for fprintf
-TYPE = DEFAULT
-EXE1 = test15
-Description
-= Tests the uppercase exponential
-= notation double specifier (%E).
-= This test is modeled after the fprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test16/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test16/CMakeLists.txt
deleted file mode 100644
index 388ff218ef384e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test16/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test16.cpp
-)
-
-add_executable(paltest_fprintf_test16
- ${SOURCES}
-)
-
-add_dependencies(paltest_fprintf_test16 coreclrpal)
-
-target_link_libraries(paltest_fprintf_test16
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test16/test16.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test16/test16.cpp
index e68876a12f5557..fd56b5b54fe6d3 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test16/test16.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test16/test16.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fprintf_test16_paltest_fprintf_test16, "c_runtime/fprintf/test16/paltest_fprintf_test16")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test16/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test16/testinfo.dat
deleted file mode 100644
index 1bbed723c36697..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test16/testinfo.dat
+++ /dev/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 = fprintf
-Name = Positive Test for fprintf
-TYPE = DEFAULT
-EXE1 = test16
-Description
-= Tests the decimal notation double specifier (%f).
-= This test is modeled after the fprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test17/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test17/CMakeLists.txt
deleted file mode 100644
index b2f46f51057f6a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test17/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test17.cpp
-)
-
-add_executable(paltest_fprintf_test17
- ${SOURCES}
-)
-
-add_dependencies(paltest_fprintf_test17 coreclrpal)
-
-target_link_libraries(paltest_fprintf_test17
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test17/test17.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test17/test17.cpp
index a2b366c184c3c5..e12048d25cef5d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test17/test17.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test17/test17.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fprintf_test17_paltest_fprintf_test17, "c_runtime/fprintf/test17/paltest_fprintf_test17")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test17/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test17/testinfo.dat
deleted file mode 100644
index 014c9c60d00be4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test17/testinfo.dat
+++ /dev/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 = fprintf
-Name = Positive Test for fprintf
-TYPE = DEFAULT
-EXE1 = test17
-Description
-= Tests the lowercase shorthand notation double specifier (%g).
-= This test is modeled after the fprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test18/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test18/CMakeLists.txt
deleted file mode 100644
index 65a2329b235c54..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test18/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test18.cpp
-)
-
-add_executable(paltest_fprintf_test18
- ${SOURCES}
-)
-
-add_dependencies(paltest_fprintf_test18 coreclrpal)
-
-target_link_libraries(paltest_fprintf_test18
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test18/test18.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test18/test18.cpp
index 6c28d6d8d3f1b3..62e4b6622f2d08 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test18/test18.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test18/test18.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fprintf_test18_paltest_fprintf_test18, "c_runtime/fprintf/test18/paltest_fprintf_test18")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test18/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test18/testinfo.dat
deleted file mode 100644
index a1bd6109c49ed0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test18/testinfo.dat
+++ /dev/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 = fprintf
-Name = Positive Test for fprintf
-TYPE = DEFAULT
-EXE1 = test18
-Description
-= Tests the uppercase shorthand notation double specifier (%G).
-= This test is modeled after the fprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test19/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test19/CMakeLists.txt
deleted file mode 100644
index 934285871ef7a3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test19/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test19.cpp
-)
-
-add_executable(paltest_fprintf_test19
- ${SOURCES}
-)
-
-add_dependencies(paltest_fprintf_test19 coreclrpal)
-
-target_link_libraries(paltest_fprintf_test19
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test19/test19.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test19/test19.cpp
index 7e82b98311db7d..26a92db5142e44 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test19/test19.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test19/test19.cpp
@@ -104,7 +104,7 @@ void DoublePrecTest(char *formatstr, int precision,
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fprintf_test19_paltest_fprintf_test19, "c_runtime/fprintf/test19/paltest_fprintf_test19")
{
if (PAL_Initialize(argc, argv) != 0)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test19/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test19/testinfo.dat
deleted file mode 100644
index d30e57dfa2e3cf..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test19/testinfo.dat
+++ /dev/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 = fprintf
-Name = Positive Test for fprintf
-TYPE = DEFAULT
-EXE1 = test19
-Description
-= Tests the variable length precision argument.
-= This test is modeled after the fprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test2/CMakeLists.txt
deleted file mode 100644
index daa9a5fd991eb5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_fprintf_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_fprintf_test2 coreclrpal)
-
-target_link_libraries(paltest_fprintf_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test2/test2.cpp
index 79c638027deee5..8d08177463a636 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test2/test2.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fprintf_test2_paltest_fprintf_test2, "c_runtime/fprintf/test2/paltest_fprintf_test2")
{
if (PAL_Initialize(argc, argv) != 0)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test2/testinfo.dat
deleted file mode 100644
index eac39643ac948c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test2/testinfo.dat
+++ /dev/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 = fprintf
-Name = Positive Test for fprintf
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Tests the string specifier (%s).
-= This test is modeled after the fprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test3/CMakeLists.txt
deleted file mode 100644
index 7b3ed7b3096ca6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_fprintf_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_fprintf_test3 coreclrpal)
-
-target_link_libraries(paltest_fprintf_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test3/test3.cpp
index 8819aa36c35225..6f15affb4d9306 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test3/test3.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fprintf_test3_paltest_fprintf_test3, "c_runtime/fprintf/test3/paltest_fprintf_test3")
{
if (PAL_Initialize(argc, argv) != 0)
return(FAIL);
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test3/testinfo.dat
deleted file mode 100644
index 9fa452afa34bfe..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test3/testinfo.dat
+++ /dev/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 = fprintf
-Name = Positive Test for fprintf
-TYPE = DEFAULT
-EXE1 = test3
-Description
-= Tests the wide string specifier (%S).
-= This test is modeled after the fprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test4/CMakeLists.txt
deleted file mode 100644
index 10a3c948b699fe..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_fprintf_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_fprintf_test4 coreclrpal)
-
-target_link_libraries(paltest_fprintf_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test4/test4.cpp
index 00450ba852f16b..2717de09db49fb 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test4/test4.cpp
@@ -62,7 +62,7 @@ static void DoTest(char *formatstr, void* param, char* paramstr,
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fprintf_test4_paltest_fprintf_test4, "c_runtime/fprintf/test4/paltest_fprintf_test4")
{
void *ptr = (void*) 0x123456;
INT64 lptr = I64(0x1234567887654321);
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test4/testinfo.dat
deleted file mode 100644
index cbea3031975473..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test4/testinfo.dat
+++ /dev/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 = fprintf
-Name = Positive Test for fprintf
-TYPE = DEFAULT
-EXE1 = test4
-Description
-= Tests the pointer specifier (%p).
-= This test is modeled after the fprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test5/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test5/CMakeLists.txt
deleted file mode 100644
index 87536616d0d50d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test5/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test5.cpp
-)
-
-add_executable(paltest_fprintf_test5
- ${SOURCES}
-)
-
-add_dependencies(paltest_fprintf_test5 coreclrpal)
-
-target_link_libraries(paltest_fprintf_test5
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test5/test5.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test5/test5.cpp
index 8318b1a83ef743..1834f248db1ea9 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test5/test5.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test5/test5.cpp
@@ -108,7 +108,7 @@ static void DoShortTest(char *formatstr, int param, char *checkstr)
}
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fprintf_test5_paltest_fprintf_test5, "c_runtime/fprintf/test5/paltest_fprintf_test5")
{
if (PAL_Initialize(argc, argv) != 0)
return(FAIL);
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test5/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test5/testinfo.dat
deleted file mode 100644
index ac3e1e9dafd776..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test5/testinfo.dat
+++ /dev/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 = fprintf
-Name = Positive Test for fprintf
-TYPE = DEFAULT
-EXE1 = test5
-Description
-= Tests the count specifier (%n).
-= This test is modeled after the fprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test6/CMakeLists.txt
deleted file mode 100644
index 8c7253cd78214d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test6.cpp
-)
-
-add_executable(paltest_fprintf_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_fprintf_test6 coreclrpal)
-
-target_link_libraries(paltest_fprintf_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test6/test6.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test6/test6.cpp
index 0de4fedc065eff..5cf185cd5c88a1 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test6/test6.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test6/test6.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fprintf_test6_paltest_fprintf_test6, "c_runtime/fprintf/test6/paltest_fprintf_test6")
{
WCHAR wc = (WCHAR) 'c';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test6/testinfo.dat
deleted file mode 100644
index cbad94d74a8661..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test6/testinfo.dat
+++ /dev/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 = fprintf
-Name = Positive Test for fprintf
-TYPE = DEFAULT
-EXE1 = test6
-Description
-= Tests the char specifier (%c).
-= This test is modeled after the fprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test7/CMakeLists.txt
deleted file mode 100644
index 7e803e709d5caf..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test7.cpp
-)
-
-add_executable(paltest_fprintf_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_fprintf_test7 coreclrpal)
-
-target_link_libraries(paltest_fprintf_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test7/test7.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test7/test7.cpp
index 12bb0e595d4f2e..d81916c8a28ed8 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test7/test7.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test7/test7.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fprintf_test7_paltest_fprintf_test7, "c_runtime/fprintf/test7/paltest_fprintf_test7")
{
WCHAR wb = (WCHAR) 'b';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test7/testinfo.dat
deleted file mode 100644
index aef742a3dcb77e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test7/testinfo.dat
+++ /dev/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 = fprintf
-Name = Positive Test for fprintf
-TYPE = DEFAULT
-EXE1 = test7
-Description
-= Tests the wide char specifier (%C).
-= This test is modeled after the fprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test8/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test8/CMakeLists.txt
deleted file mode 100644
index 0dd9501e474bb6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test8/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test8.cpp
-)
-
-add_executable(paltest_fprintf_test8
- ${SOURCES}
-)
-
-add_dependencies(paltest_fprintf_test8 coreclrpal)
-
-target_link_libraries(paltest_fprintf_test8
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test8/test8.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test8/test8.cpp
index a59cee3caa3a5d..3392affaef75ba 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test8/test8.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test8/test8.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fprintf_test8_paltest_fprintf_test8, "c_runtime/fprintf/test8/paltest_fprintf_test8")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test8/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test8/testinfo.dat
deleted file mode 100644
index e18af7dd2ad7fe..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test8/testinfo.dat
+++ /dev/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 = fprintf
-Name = Positive Test for fprintf
-TYPE = DEFAULT
-EXE1 = test8
-Description
-= Tests the decimal specifier (%d).
-= This test is modeled after the fprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test9/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test9/CMakeLists.txt
deleted file mode 100644
index 60ad74927927e3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test9/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test9.cpp
-)
-
-add_executable(paltest_fprintf_test9
- ${SOURCES}
-)
-
-add_dependencies(paltest_fprintf_test9 coreclrpal)
-
-target_link_libraries(paltest_fprintf_test9
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test9/test9.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test9/test9.cpp
index 978a06177d2aca..7e42d5daf697f7 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test9/test9.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test9/test9.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fprintf_test9_paltest_fprintf_test9, "c_runtime/fprintf/test9/paltest_fprintf_test9")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test9/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test9/testinfo.dat
deleted file mode 100644
index 6a8ae9653a82d5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fprintf/test9/testinfo.dat
+++ /dev/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 = fprintf
-Name = Positive Test for fprintf
-TYPE = DEFAULT
-EXE1 = test9
-Description
-= Tests the integer specifier (%i).
-= This test is modeled after the fprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/test1/CMakeLists.txt
deleted file mode 100644
index 1a9ccfa1235673..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_fputs_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_fputs_test1 coreclrpal)
-
-target_link_libraries(paltest_fputs_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/test1/test1.cpp
index e4e0443faa6052..c746daff9e6d24 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/test1/test1.cpp
@@ -17,7 +17,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fputs_test1_paltest_fputs_test1, "c_runtime/fputs/test1/paltest_fputs_test1")
{
FILE* TheFile;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/test1/testinfo.dat
deleted file mode 100644
index 199eb4684af68e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/test1/testinfo.dat
+++ /dev/null
@@ -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 = fputs
-Name = Check that fputs writes correctly to a valid stream
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Call fputs twice and write two strings to a file. Then
-= call fread on the file and check that the data which was written is what
-= we expect it to be.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/test2/CMakeLists.txt
deleted file mode 100644
index 261b420e015f52..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_fputs_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_fputs_test2 coreclrpal)
-
-target_link_libraries(paltest_fputs_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/test2/test2.cpp
index 3b1c8baf4bcf52..aa8d36a5115b09 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/test2/test2.cpp
@@ -14,7 +14,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fputs_test2_paltest_fputs_test2, "c_runtime/fputs/test2/paltest_fputs_test2")
{
FILE* TheFile;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/test2/testinfo.dat
deleted file mode 100644
index 923eaf11afd93b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fputs/test2/testinfo.dat
+++ /dev/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 = fputs
-Name = Check that fputs returns EOF when called on closed/readonly streams
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Check to see that fputs fails and returns EOF when called on
-= a closed file stream and a read-only file stream.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/CMakeLists.txt
deleted file mode 100644
index d243b82668a350..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/CMakeLists.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test1/CMakeLists.txt
deleted file mode 100644
index a4e54c42feaef2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_fread_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_fread_test1 coreclrpal)
-
-target_link_libraries(paltest_fread_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test1/test1.cpp
index 95d60d544eb766..3cfe9fa444a566 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test1/test1.cpp
@@ -29,7 +29,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fread_test1_paltest_fread_test1, "c_runtime/fread/test1/paltest_fread_test1")
{
const char filename[] = "testfile";
char buffer[128];
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test1/testinfo.dat
deleted file mode 100644
index 79351d10fc3af2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test1/testinfo.dat
+++ /dev/null
@@ -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 = fread
-Name = Positive Test for fread
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the fread function.
-= Open a file in READ mode, and then try to read all the characters,
-= more than all the characters, 0 characters and 0 sized characters and
-= check that the return values are correct.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test2/CMakeLists.txt
deleted file mode 100644
index 01fd7c77765f27..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_fread_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_fread_test2 coreclrpal)
-
-target_link_libraries(paltest_fread_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test2/test2.cpp
index 53f5f6b1cbfd66..de372204eb66e7 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test2/test2.cpp
@@ -31,7 +31,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fread_test2_paltest_fread_test2, "c_runtime/fread/test2/paltest_fread_test2")
{
const char filename[] = "testfile";
char buffer[128];
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test2/testinfo.dat
deleted file mode 100644
index 06205cef6692d6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test2/testinfo.dat
+++ /dev/null
@@ -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 = fread
-Name = Positive Test for fread
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Tests the PAL implementation of the fread function.
-= Open a file in READ mode, and then try to read all
-= the characters, more than all the characters,
-= 0 characters and 0 sized characters and check that
-= the strings read in are correct.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test3/CMakeLists.txt
deleted file mode 100644
index 07615a3d285b70..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_fread_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_fread_test3 coreclrpal)
-
-target_link_libraries(paltest_fread_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test3/test3.cpp
index c4998ab8230c4e..75ae9c6ad1b3d0 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test3/test3.cpp
@@ -25,7 +25,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fread_test3_paltest_fread_test3, "c_runtime/fread/test3/paltest_fread_test3")
{
const char filename[] = "testfile";
char buffer[128];
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test3/testinfo.dat
deleted file mode 100644
index 9662aeb5b6e6c7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fread/test3/testinfo.dat
+++ /dev/null
@@ -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 = fread
-Name = Positive Test for fread
-TYPE = DEFAULT
-EXE1 = test3
-Description
-= Tests the PAL implementation of the fread function.
-= Open a file in READ mode, then try to read from the file with
-= different 'size' params. Check to ensure the return values and
-= the text in the buffer is correct
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/free/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/free/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/free/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/free/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/free/test1/CMakeLists.txt
deleted file mode 100644
index c8c5aa9be9d306..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/free/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_free_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_free_test1 coreclrpal)
-
-target_link_libraries(paltest_free_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/free/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/free/test1/test1.cpp
index ca49da436fd46b..dc8d13158862ea 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/free/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/free/test1/test1.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_free_test1_paltest_free_test1, "c_runtime/free/test1/paltest_free_test1")
{
char *testA;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/free/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/free/test1/testinfo.dat
deleted file mode 100644
index a220635ee5cb01..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/free/test1/testinfo.dat
+++ /dev/null
@@ -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 = free
-Name = Positive Test for free
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Repeatedly allocates and frees a chunk of memory, to verify that free
-= is really returning memory to the heap
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fseek/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fseek/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fseek/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fseek/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fseek/test1/CMakeLists.txt
deleted file mode 100644
index b175d42a660b2e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fseek/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_fseek_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_fseek_test1 coreclrpal)
-
-target_link_libraries(paltest_fseek_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fseek/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fseek/test1/test1.cpp
index 2fd1144571a81d..7fdfc2fef2fe4d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fseek/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fseek/test1/test1.cpp
@@ -39,7 +39,7 @@ static BOOL Cleanup(HANDLE hFile)
return result;
}
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fseek_test1_paltest_fseek_test1, "c_runtime/fseek/test1/paltest_fseek_test1")
{
char outBuf[] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
char inBuf[20];
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fseek/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fseek/test1/testinfo.dat
deleted file mode 100644
index 32e862db75e1b5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fseek/test1/testinfo.dat
+++ /dev/null
@@ -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 = fseek
-Name = Positive Test for fseek
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Call seek to move a file pointer to the start of a file, a position
-= offset from the start, a position offset from the current position, and
-= a position offset from the end of the file. Check that the file
-= pointer is at the correct position after each seek.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ftell/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/ftell/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ftell/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ftell/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/ftell/test1/CMakeLists.txt
deleted file mode 100644
index 4167741726b936..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ftell/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- ftell.cpp
-)
-
-add_executable(paltest_ftell_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_ftell_test1 coreclrpal)
-
-target_link_libraries(paltest_ftell_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ftell/test1/ftell.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/ftell/test1/ftell.cpp
index b5900887e5d992..1c60fab20791e9 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ftell/test1/ftell.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/ftell/test1/ftell.cpp
@@ -82,7 +82,7 @@ BOOL MovePointer(long lDist, int nFrom)
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_ftell_test1_paltest_ftell_test1, "c_runtime/ftell/test1/paltest_ftell_test1")
{
const char szFileName[] = {"testfile.txt"};
long lPos = -1;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ftell/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/ftell/test1/testinfo.dat
deleted file mode 100644
index e4f2333213c826..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ftell/test1/testinfo.dat
+++ /dev/null
@@ -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 = ftell
-Name = test for ftell (test 1)
-Type = DEFAULT
-EXE1 = ftell
-Description
-= Use fseek and a static list of distances to move, direction
-= to move and expected results to test the ftell function. A typical
-= test will move the file pointer with fseek then call ftell. The
-= results from ftell will then be compared to the expected result to
-= determine whether the test passed or failed.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/CMakeLists.txt
deleted file mode 100644
index 256753a6364625..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/CMakeLists.txt
+++ /dev/null
@@ -1,20 +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(test5)
-add_subdirectory(test6)
-add_subdirectory(test7)
-add_subdirectory(test8)
-add_subdirectory(test9)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/fwprintf.h b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/fwprintf.h
index f6bfc10918b49f..25376de5e9f7d2 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/fwprintf.h
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/fwprintf.h
@@ -13,7 +13,7 @@
#ifndef __fwprintf_H__
#define __fwprintf_H__
-void DoStrTest(const WCHAR *formatstr, char* param, const char *checkstr)
+inline void DoStrTest_fwprintf(const WCHAR *formatstr, char* param, const char *checkstr)
{
FILE *fp;
char buf[256] = { 0 };
@@ -43,8 +43,9 @@ void DoStrTest(const WCHAR *formatstr, char* param, const char *checkstr)
}
fclose(fp);
}
+#define DoStrTest DoStrTest_fwprintf
-void DoWStrTest(const WCHAR *formatstr, WCHAR* param, const char *checkstr)
+inline void DoWStrTest_fwprintf(const WCHAR *formatstr, WCHAR* param, const char *checkstr)
{
FILE *fp;
char buf[256] = { 0 };
@@ -74,9 +75,9 @@ void DoWStrTest(const WCHAR *formatstr, WCHAR* param, const char *checkstr)
}
fclose(fp);
}
+#define DoWStrTest DoWStrTest_fwprintf
-
-void DoPointerTest(const WCHAR *formatstr, void* param, char* paramstr,
+inline void DoPointerTest_fwprintf(const WCHAR *formatstr, void* param, char* paramstr,
const char *checkstr1, const char *checkstr2)
{
FILE *fp;
@@ -115,10 +116,10 @@ void DoPointerTest(const WCHAR *formatstr, void* param, char* paramstr,
Fail("ERROR: fclose failed to close \"testfile.txt\"\n");
}
}
+#define DoPointerTest DoPointerTest_fwprintf
-
-void DoCountTest(const WCHAR *formatstr, int param, const char *checkstr)
+inline void DoCountTest_fwprintf(const WCHAR *formatstr, int param, const char *checkstr)
{
FILE *fp;
char buf[512] = { 0 };
@@ -160,8 +161,9 @@ void DoCountTest(const WCHAR *formatstr, int param, const char *checkstr)
Fail("ERROR: fclose failed to close \"testfile.txt\"\n");
}
}
+#define DoCountTest DoCountTest_fwprintf
-void DoShortCountTest(const WCHAR *formatstr, int param, const char *checkstr)
+inline void DoShortCountTest_fwprintf(const WCHAR *formatstr, int param, const char *checkstr)
{
FILE *fp;
char buf[512] = { 0 };
@@ -203,9 +205,9 @@ void DoShortCountTest(const WCHAR *formatstr, int param, const char *checkstr)
Fail("ERROR: fclose failed to close \"testfile.txt\"\n");
}
}
+#define DoShortCountTest DoShortCountTest_fwprintf
-
-void DoCharTest(const WCHAR *formatstr, char param, const char *checkstr)
+inline void DoCharTest_fwprintf(const WCHAR *formatstr, char param, const char *checkstr)
{
FILE *fp;
char buf[256] = { 0 };
@@ -235,8 +237,9 @@ void DoCharTest(const WCHAR *formatstr, char param, const char *checkstr)
}
fclose(fp);
}
+#define DoCharTest DoCharTest_fwprintf
-void DoWCharTest(const WCHAR *formatstr, WCHAR param, const char *checkstr)
+inline void DoWCharTest_fwprintf(const WCHAR *formatstr, WCHAR param, const char *checkstr)
{
FILE *fp;
char buf[256] = { 0 };
@@ -266,8 +269,9 @@ void DoWCharTest(const WCHAR *formatstr, WCHAR param, const char *checkstr)
}
fclose(fp);
}
+#define DoWCharTest DoWCharTest_fwprintf
-void DoNumTest(const WCHAR *formatstr, int value, const char *checkstr)
+inline void DoNumTest_fwprintf(const WCHAR *formatstr, int value, const char *checkstr)
{
FILE *fp;
char buf[256] = { 0 };
@@ -297,8 +301,9 @@ void DoNumTest(const WCHAR *formatstr, int value, const char *checkstr)
}
fclose(fp);
}
+#define DoNumTest DoNumTest_fwprintf
-void DoI64Test(const WCHAR *formatstr, INT64 value, char *valuestr, const char *checkstr1,
+inline void DoI64Test_fwprintf(const WCHAR *formatstr, INT64 value, char *valuestr, const char *checkstr1,
const char *checkstr2)
{
FILE *fp;
@@ -330,8 +335,9 @@ void DoI64Test(const WCHAR *formatstr, INT64 value, char *valuestr, const char *
}
fclose(fp);
}
+#define DoI64Test DoI64Test_fwprintf
-void DoDoubleTest(const WCHAR *formatstr, double value, const char *checkstr1,
+inline void DoDoubleTest_fwprintf(const WCHAR *formatstr, double value, const char *checkstr1,
const char *checkstr2)
{
FILE *fp;
@@ -364,9 +370,9 @@ void DoDoubleTest(const WCHAR *formatstr, double value, const char *checkstr1,
}
fclose(fp);
}
+#define DoDoubleTest DoDoubleTest_fwprintf
-
-void DoArgumentPrecTest(const WCHAR *formatstr, int precision, void *param,
+inline void DoArgumentPrecTest_fwprintf(const WCHAR *formatstr, int precision, void *param,
char *paramstr, const char *checkstr1, const char *checkstr2)
{
FILE *fp;
@@ -407,8 +413,9 @@ void DoArgumentPrecTest(const WCHAR *formatstr, int precision, void *param,
}
}
+#define DoArgumentPrecTest DoArgumentPrecTest_fwprintf
-void DoArgumentPrecDoubleTest(const WCHAR *formatstr, int precision, double param,
+inline void DoArgumentPrecDoubleTest_fwprintf(const WCHAR *formatstr, int precision, double param,
const char *checkstr1, const char *checkstr2)
{
FILE *fp;
@@ -448,5 +455,5 @@ void DoArgumentPrecDoubleTest(const WCHAR *formatstr, int precision, double para
}
}
-
+#define DoArgumentPrecDoubleTest DoArgumentPrecDoubleTest_fwprintf
#endif
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test1/CMakeLists.txt
deleted file mode 100644
index b337d8a40c5542..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_fwprintf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_fwprintf_test1 coreclrpal)
-
-target_link_libraries(paltest_fwprintf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test1/test1.cpp
index 784ddbfcab4c83..907c009b1177ee 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test1/test1.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fgets, fseek and fclose.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fwprintf_test1_paltest_fwprintf_test1, "c_runtime/fwprintf/test1/paltest_fwprintf_test1")
{
FILE *fp;
char testfile[] = "testfile.txt";
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test1/testinfo.dat
deleted file mode 100644
index 0e86460b2c02fe..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test1/testinfo.dat
+++ /dev/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 = fwprintf
-Name = Positive Test for fwprintf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= A single, basic, test case with no formatting.
-= Test modeled after the sprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test10/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test10/CMakeLists.txt
deleted file mode 100644
index a17b9641fbb252..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test10/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test10.cpp
-)
-
-add_executable(paltest_fwprintf_test10
- ${SOURCES}
-)
-
-add_dependencies(paltest_fwprintf_test10 coreclrpal)
-
-target_link_libraries(paltest_fwprintf_test10
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test10/test10.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test10/test10.cpp
index 1e1574df0d99eb..eb3c3021702885 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test10/test10.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test10/test10.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fwprintf_test10_paltest_fwprintf_test10, "c_runtime/fwprintf/test10/paltest_fwprintf_test10")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test10/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test10/testinfo.dat
deleted file mode 100644
index 43032b16964ff1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test10/testinfo.dat
+++ /dev/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 = fwprintf
-Name = Positive Test for fwprintf
-TYPE = DEFAULT
-EXE1 = test10
-Description
-= Tests the octal specifier (%o).
-= This test is modeled after the sprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test11/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test11/CMakeLists.txt
deleted file mode 100644
index 9ba381ff663af3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test11/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test11.cpp
-)
-
-add_executable(paltest_fwprintf_test11
- ${SOURCES}
-)
-
-add_dependencies(paltest_fwprintf_test11 coreclrpal)
-
-target_link_libraries(paltest_fwprintf_test11
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test11/test11.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test11/test11.cpp
index ba01c9e5274d34..43d3c8931766b1 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test11/test11.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test11/test11.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fwprintf_test11_paltest_fwprintf_test11, "c_runtime/fwprintf/test11/paltest_fwprintf_test11")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test11/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test11/testinfo.dat
deleted file mode 100644
index e8a4ac8918871e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test11/testinfo.dat
+++ /dev/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 = fwprintf
-Name = Positive Test for fwprintf
-TYPE = DEFAULT
-EXE1 = test11
-Description
-= Test the unsigned int specifier (%u).
-= This test is modeled after the sprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test12/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test12/CMakeLists.txt
deleted file mode 100644
index da0f985e273076..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test12/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test12.cpp
-)
-
-add_executable(paltest_fwprintf_test12
- ${SOURCES}
-)
-
-add_dependencies(paltest_fwprintf_test12 coreclrpal)
-
-target_link_libraries(paltest_fwprintf_test12
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test12/test12.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test12/test12.cpp
index 86ae29c159d219..eda46590a18044 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test12/test12.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test12/test12.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fwprintf_test12_paltest_fwprintf_test12, "c_runtime/fwprintf/test12/paltest_fwprintf_test12")
{
int neg = -42;
int pos = 0x1234ab;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test12/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test12/testinfo.dat
deleted file mode 100644
index b33156ad2ecc92..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test12/testinfo.dat
+++ /dev/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 = fwprintf
-Name = Positive Test for fwprintf
-TYPE = DEFAULT
-EXE1 = test12
-Description
-= Tests the (lowercase) hexadecimal specifier (%x).
-= This test is modeled after the sprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test13/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test13/CMakeLists.txt
deleted file mode 100644
index 08c287adf0eea5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test13/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test13.cpp
-)
-
-add_executable(paltest_fwprintf_test13
- ${SOURCES}
-)
-
-add_dependencies(paltest_fwprintf_test13 coreclrpal)
-
-target_link_libraries(paltest_fwprintf_test13
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test13/test13.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test13/test13.cpp
index ee8a0d7fb2a70f..0a9d214181bc7a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test13/test13.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test13/test13.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fwprintf_test13_paltest_fwprintf_test13, "c_runtime/fwprintf/test13/paltest_fwprintf_test13")
{
int neg = -42;
int pos = 0x1234AB;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test13/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test13/testinfo.dat
deleted file mode 100644
index b8e7eaca0c3e57..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test13/testinfo.dat
+++ /dev/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 = fwprintf
-Name = Positive Test for fwprintf
-TYPE = DEFAULT
-EXE1 = test13
-Description
-= Tests the (uppercase) hexadecimal specifier (%X).
-= This test is modeled after the sprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test14/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test14/CMakeLists.txt
deleted file mode 100644
index dacbfead240aad..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test14/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test14.cpp
-)
-
-add_executable(paltest_fwprintf_test14
- ${SOURCES}
-)
-
-add_dependencies(paltest_fwprintf_test14 coreclrpal)
-
-target_link_libraries(paltest_fwprintf_test14
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test14/test14.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test14/test14.cpp
index 397f7a1e2b6766..ea1436239d7a85 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test14/test14.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test14/test14.cpp
@@ -19,7 +19,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fwprintf_test14_paltest_fwprintf_test14, "c_runtime/fwprintf/test14/paltest_fwprintf_test14")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test14/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test14/testinfo.dat
deleted file mode 100644
index fc9947b4cee65c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test14/testinfo.dat
+++ /dev/null
@@ -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 = fwprintf
-Name = Positive Test for fwprintf
-TYPE = DEFAULT
-EXE1 = test14
-Description
-= Tests the lowercase exponential
-= notation double specifier (%e).
-= This test is modeled after the sprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test15/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test15/CMakeLists.txt
deleted file mode 100644
index 4d42e736588f63..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test15/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test15.cpp
-)
-
-add_executable(paltest_fwprintf_test15
- ${SOURCES}
-)
-
-add_dependencies(paltest_fwprintf_test15 coreclrpal)
-
-target_link_libraries(paltest_fwprintf_test15
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test15/test15.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test15/test15.cpp
index 672eb51402c75a..34f78cc3dbaca4 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test15/test15.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test15/test15.cpp
@@ -19,7 +19,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fwprintf_test15_paltest_fwprintf_test15, "c_runtime/fwprintf/test15/paltest_fwprintf_test15")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test15/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test15/testinfo.dat
deleted file mode 100644
index d9370d186b78f7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test15/testinfo.dat
+++ /dev/null
@@ -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 = fwprintf
-Name = Positive Test for fwprintf
-TYPE = DEFAULT
-EXE1 = test15
-Description
-= Tests the uppercase exponential
-= notation double specifier (%E).
-= This test is modeled after the sprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test16/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test16/CMakeLists.txt
deleted file mode 100644
index 2b47be54904301..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test16/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test16.cpp
-)
-
-add_executable(paltest_fwprintf_test16
- ${SOURCES}
-)
-
-add_dependencies(paltest_fwprintf_test16 coreclrpal)
-
-target_link_libraries(paltest_fwprintf_test16
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test16/test16.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test16/test16.cpp
index 1aa29b82c053b9..8f90e162874cd4 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test16/test16.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test16/test16.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fwprintf_test16_paltest_fwprintf_test16, "c_runtime/fwprintf/test16/paltest_fwprintf_test16")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test16/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test16/testinfo.dat
deleted file mode 100644
index 7b9b7cf577564d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test16/testinfo.dat
+++ /dev/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 = fwprintf
-Name = Positive Test for fwprintf
-TYPE = DEFAULT
-EXE1 = test16
-Description
-= Tests the decimal notation double specifier (%f).
-= This test is modeled after the sprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test17/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test17/CMakeLists.txt
deleted file mode 100644
index 89e557b7766887..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test17/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test17.cpp
-)
-
-add_executable(paltest_fwprintf_test17
- ${SOURCES}
-)
-
-add_dependencies(paltest_fwprintf_test17 coreclrpal)
-
-target_link_libraries(paltest_fwprintf_test17
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test17/test17.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test17/test17.cpp
index 67d3156a6df7cf..002bbcd034ab2e 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test17/test17.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test17/test17.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fwprintf_test17_paltest_fwprintf_test17, "c_runtime/fwprintf/test17/paltest_fwprintf_test17")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test17/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test17/testinfo.dat
deleted file mode 100644
index 6d12af33a77689..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test17/testinfo.dat
+++ /dev/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 = fwprintf
-Name = Positive Test for fwprintf
-TYPE = DEFAULT
-EXE1 = test17
-Description
-= Tests the lowercase shorthand notation double specifier (%g).
-= This test is modeled after the sprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test18/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test18/CMakeLists.txt
deleted file mode 100644
index 8e677c9c455d29..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test18/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test18.cpp
-)
-
-add_executable(paltest_fwprintf_test18
- ${SOURCES}
-)
-
-add_dependencies(paltest_fwprintf_test18 coreclrpal)
-
-target_link_libraries(paltest_fwprintf_test18
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test18/test18.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test18/test18.cpp
index 001acd1eb60068..fd9955b218d726 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test18/test18.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test18/test18.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fwprintf_test18_paltest_fwprintf_test18, "c_runtime/fwprintf/test18/paltest_fwprintf_test18")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test18/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test18/testinfo.dat
deleted file mode 100644
index 839f5edcae34e5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test18/testinfo.dat
+++ /dev/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 = fwprintf
-Name = Positive Test for fwprintf
-TYPE = DEFAULT
-EXE1 = test18
-Description
-= Tests the uppercase shorthand notation double specifier (%G).
-= This test is modeled after the sprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test19/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test19/CMakeLists.txt
deleted file mode 100644
index 0d0c420c262f14..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test19/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test19.cpp
-)
-
-add_executable(paltest_fwprintf_test19
- ${SOURCES}
-)
-
-add_dependencies(paltest_fwprintf_test19 coreclrpal)
-
-target_link_libraries(paltest_fwprintf_test19
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test19/test19.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test19/test19.cpp
index 1c4ac012284658..c53509d22754fa 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test19/test19.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test19/test19.cpp
@@ -20,7 +20,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fwprintf_test19_paltest_fwprintf_test19, "c_runtime/fwprintf/test19/paltest_fwprintf_test19")
{
int n = -1;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test19/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test19/testinfo.dat
deleted file mode 100644
index 4161de7f43a68b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test19/testinfo.dat
+++ /dev/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 = fwprintf
-Name = Positive Test for fwprintf
-TYPE = DEFAULT
-EXE1 = test19
-Description
-= Tests the variable length precision argument.
-= This test is modeled after the sprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test2/CMakeLists.txt
deleted file mode 100644
index 308d58e38b2474..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_fwprintf_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_fwprintf_test2 coreclrpal)
-
-target_link_libraries(paltest_fwprintf_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test2/test2.cpp
index 79e1c3825040db..e591a71ab58746 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test2/test2.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fwprintf_test2_paltest_fwprintf_test2, "c_runtime/fwprintf/test2/paltest_fwprintf_test2")
{
if (PAL_Initialize(argc, argv) != 0)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test2/testinfo.dat
deleted file mode 100644
index 22e41fd9e3e695..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test2/testinfo.dat
+++ /dev/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 = fwprintf
-Name = Positive Test for fwprintf
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Tests the string specifier (%s).
-= This test is modeled after the sprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test3/CMakeLists.txt
deleted file mode 100644
index ac5531efdeac08..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_fwprintf_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_fwprintf_test3 coreclrpal)
-
-target_link_libraries(paltest_fwprintf_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test3/test3.cpp
index 425526ad8ce097..21876d28b1ac7d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test3/test3.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fwprintf_test3_paltest_fwprintf_test3, "c_runtime/fwprintf/test3/paltest_fwprintf_test3")
{
if (PAL_Initialize(argc, argv) != 0)
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test3/testinfo.dat
deleted file mode 100644
index 12d078a5c70ef6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test3/testinfo.dat
+++ /dev/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 = fwprintf
-Name = Positive Test for fwprintf
-TYPE = DEFAULT
-EXE1 = test3
-Description
-= Tests the wide string specifier (%S).
-= This test is modeled after the sprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test4/CMakeLists.txt
deleted file mode 100644
index 61b49dfd1e1003..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_fwprintf_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_fwprintf_test4 coreclrpal)
-
-target_link_libraries(paltest_fwprintf_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test4/test4.cpp
index 389e3ed81adcd2..35053ad0df3855 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test4/test4.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fwprintf_test4_paltest_fwprintf_test4, "c_runtime/fwprintf/test4/paltest_fwprintf_test4")
{
void *ptr = (void*) 0x123456;
INT64 lptr = I64(0x1234567887654321);
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test4/testinfo.dat
deleted file mode 100644
index 75caf169182a81..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test4/testinfo.dat
+++ /dev/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 = fwprintf
-Name = Positive Test for fwprintf
-TYPE = DEFAULT
-EXE1 = test4
-Description
-= Tests the pointer specifier (%p).
-= This test is modeled after the sprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test5/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test5/CMakeLists.txt
deleted file mode 100644
index d136abd145987c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test5/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test5.cpp
-)
-
-add_executable(paltest_fwprintf_test5
- ${SOURCES}
-)
-
-add_dependencies(paltest_fwprintf_test5 coreclrpal)
-
-target_link_libraries(paltest_fwprintf_test5
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test5/test5.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test5/test5.cpp
index 635c0128eecee5..d7ee738f8a1867 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test5/test5.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test5/test5.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fwprintf_test5_paltest_fwprintf_test5, "c_runtime/fwprintf/test5/paltest_fwprintf_test5")
{
WCHAR *longStr;
char *longResult =
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test5/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test5/testinfo.dat
deleted file mode 100644
index 1136506c4f7995..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test5/testinfo.dat
+++ /dev/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 = fwprintf
-Name = Positive Test for fwprintf
-TYPE = DEFAULT
-EXE1 = test5
-Description
-= Tests the count specifier (%n).
-= This test is modeled after the sprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test6/CMakeLists.txt
deleted file mode 100644
index 128ec07fb44822..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test6.cpp
-)
-
-add_executable(paltest_fwprintf_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_fwprintf_test6 coreclrpal)
-
-target_link_libraries(paltest_fwprintf_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test6/test6.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test6/test6.cpp
index b8cf52e8bfd187..5baa96b229f53f 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test6/test6.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test6/test6.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fwprintf_test6_paltest_fwprintf_test6, "c_runtime/fwprintf/test6/paltest_fwprintf_test6")
{
WCHAR wb = (WCHAR) 'b';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test6/testinfo.dat
deleted file mode 100644
index 30b4cae7da930b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test6/testinfo.dat
+++ /dev/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 = fwprintf
-Name = Positive Test for fwprintf
-TYPE = DEFAULT
-EXE1 = test6
-Description
-= Tests the char specifier (%c).
-= This test is modeled after the sprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test7/CMakeLists.txt
deleted file mode 100644
index 85d45bf01c5837..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test7.cpp
-)
-
-add_executable(paltest_fwprintf_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_fwprintf_test7 coreclrpal)
-
-target_link_libraries(paltest_fwprintf_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test7/test7.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test7/test7.cpp
index 87beeb630d2663..aff34340f63ae8 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test7/test7.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test7/test7.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fwprintf_test7_paltest_fwprintf_test7, "c_runtime/fwprintf/test7/paltest_fwprintf_test7")
{
WCHAR wb = (WCHAR) 'b';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test7/testinfo.dat
deleted file mode 100644
index 23ae9df7985197..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test7/testinfo.dat
+++ /dev/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 = fwprintf
-Name = Positive Test for fwprintf
-TYPE = DEFAULT
-EXE1 = test7
-Description
-= Tests the wide char specifier (%C).
-= This test is modeled after the sprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test8/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test8/CMakeLists.txt
deleted file mode 100644
index 3d0ecc2942354d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test8/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test8.cpp
-)
-
-add_executable(paltest_fwprintf_test8
- ${SOURCES}
-)
-
-add_dependencies(paltest_fwprintf_test8 coreclrpal)
-
-target_link_libraries(paltest_fwprintf_test8
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test8/test8.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test8/test8.cpp
index 242e0ca9a8b1ba..a7d253166e4821 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test8/test8.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test8/test8.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fwprintf_test8_paltest_fwprintf_test8, "c_runtime/fwprintf/test8/paltest_fwprintf_test8")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test8/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test8/testinfo.dat
deleted file mode 100644
index e5bc8f086eaf85..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test8/testinfo.dat
+++ /dev/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 = fwprintf
-Name = Positive Test for fwprintf
-TYPE = DEFAULT
-EXE1 = test8
-Description
-= Tests the decimal specifier (%d).
-= This test is modeled after the sprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test9/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test9/CMakeLists.txt
deleted file mode 100644
index 502acf38d1e279..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test9/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test9.cpp
-)
-
-add_executable(paltest_fwprintf_test9
- ${SOURCES}
-)
-
-add_dependencies(paltest_fwprintf_test9 coreclrpal)
-
-target_link_libraries(paltest_fwprintf_test9
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test9/test9.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test9/test9.cpp
index 3c252af996383b..74fbdfc57e89ba 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test9/test9.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test9/test9.cpp
@@ -18,7 +18,7 @@
* Depends on memcmp, strlen, fopen, fseek and fgets.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_fwprintf_test9_paltest_fwprintf_test9, "c_runtime/fwprintf/test9/paltest_fwprintf_test9")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test9/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test9/testinfo.dat
deleted file mode 100644
index 266f1176ace2be..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwprintf/test9/testinfo.dat
+++ /dev/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 = fwprintf
-Name = Positive Test for fwprintf
-TYPE = DEFAULT
-EXE1 = test9
-Description
-= Tests the integer specifier (%i).
-= This test is modeled after the sprintf series.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwrite/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwrite/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwrite/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwrite/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwrite/test1/CMakeLists.txt
deleted file mode 100644
index 7ed1e9a496a9d2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwrite/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_fwrite_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_fwrite_test1 coreclrpal)
-
-target_link_libraries(paltest_fwrite_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwrite/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwrite/test1/test1.cpp
index 70e7deb245e504..5b74faa8eac925 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwrite/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwrite/test1/test1.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_fwrite_test1_paltest_fwrite_test1, "c_runtime/fwrite/test1/paltest_fwrite_test1")
{
const char filename[] = "testfile.tmp";
const char outBuffer[] = "This is a test.";
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwrite/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/fwrite/test1/testinfo.dat
deleted file mode 100644
index c14a988fd4a2bf..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/fwrite/test1/testinfo.dat
+++ /dev/null
@@ -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 = fwrite
-Name = Positive Test for fwrite
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Write a short string to a file and check that it was written properly.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/CMakeLists.txt
deleted file mode 100644
index d243b82668a350..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/CMakeLists.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test1/CMakeLists.txt
deleted file mode 100644
index 70ae0e18ab9de0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_getenv_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_getenv_test1 coreclrpal)
-
-target_link_libraries(paltest_getenv_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test1/test1.cpp
index d7361d7de1787c..88f66e9d3cffb4 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test1/test1.cpp
@@ -16,7 +16,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_getenv_test1_paltest_getenv_test1, "c_runtime/getenv/test1/paltest_getenv_test1")
{
const char* SetVariable = "PalTestingEnvironmentVariable=The value";
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test1/testinfo.dat
deleted file mode 100644
index 9d0485bd8b0598..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test1/testinfo.dat
+++ /dev/null
@@ -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 = getenv
-Name = Test retrieval of variables correctly, and failure if they don't exist
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Create an environment variable and then use getenv to get
-= a pointer to it. Check that the pointer is valid and that the string
-= is what we expected. Also check that searching for a non-existent
-= variable will cause getenv to return NULL. Also check that changing
-= the case (upper or lower) of a variable does not effect functionality.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test2/CMakeLists.txt
deleted file mode 100644
index a5ebccd658b6c8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_getenv_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_getenv_test2 coreclrpal)
-
-target_link_libraries(paltest_getenv_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test2/test2.cpp
index c0d2d27733fc03..250d7191603d2c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test2/test2.cpp
@@ -14,7 +14,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_getenv_test2_paltest_getenv_test2, "c_runtime/getenv/test2/paltest_getenv_test2")
{
#if WIN32
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test2/testinfo.dat
deleted file mode 100644
index 1151f19590a705..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test2/testinfo.dat
+++ /dev/null
@@ -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 = getenv
-Name = Test retrieval of variables differing only by case.
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Check that environment variables differing only by their
-= case are interpreted as separate variables by the BSD Operationg
-= System.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test3/CMakeLists.txt
deleted file mode 100644
index a0e620dc276572..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_getenv_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_getenv_test3 coreclrpal)
-
-target_link_libraries(paltest_getenv_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test3/test3.cpp
index ca734748b0bdc2..e4c98c66adff07 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test3/test3.cpp
@@ -15,7 +15,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_getenv_test3_paltest_getenv_test3, "c_runtime/getenv/test3/paltest_getenv_test3")
{
#if WIN32
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test3/testinfo.dat
deleted file mode 100644
index ccec02c70cdb66..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/getenv/test3/testinfo.dat
+++ /dev/null
@@ -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 = getenv
-Name = Test retrieval of variables differing only by case.
-TYPE = DEFAULT
-EXE1 = test3
-Description
-= Check that environment variables differing only by their
-= case are interpreted as the same variables in the WIN32
-= platform.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogb/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogb/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogb/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogb/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogb/test1/CMakeLists.txt
deleted file mode 100644
index d6485d927c3ef7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogb/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_ilogb_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_ilogb_test1 coreclrpal)
-
-target_link_libraries(paltest_ilogb_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogb/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogb/test1/test1.cpp
index 67290f598f9c21..9fbd270d52579c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogb/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogb/test1/test1.cpp
@@ -25,11 +25,11 @@ struct test
};
/**
- * validate
+ * ilogb_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, int expected)
+void __cdecl ilogb_test1_validate(double value, int expected)
{
int result = ilogb(value);
@@ -45,7 +45,7 @@ void __cdecl validate(double value, int expected)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_ilogb_test1_paltest_ilogb_test1, "c_runtime/ilogb/test1/paltest_ilogb_test1")
{
struct test tests[] =
{
@@ -92,7 +92,7 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].value, tests[i].expected);
+ ilogb_test1_validate(tests[i].value, tests[i].expected);
}
PAL_Terminate();
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogb/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogb/test1/testinfo.dat
deleted file mode 100644
index 4d224a437db8ad..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogb/test1/testinfo.dat
+++ /dev/null
@@ -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 = ilogb
-Name = Call ilogb with some std input/output.
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Call the ilogb function with various num/exponent pairs
-= that should produce std answers.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogbf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogbf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogbf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogbf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogbf/test1/CMakeLists.txt
deleted file mode 100644
index 634ad8dc04f7ed..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogbf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_ilogbf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_ilogbf_test1 coreclrpal)
-
-target_link_libraries(paltest_ilogbf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogbf/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogbf/test1/test1.cpp
index b224e205990290..c5022056c97e42 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogbf/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogbf/test1/test1.cpp
@@ -25,11 +25,11 @@ struct test
};
/**
- * validate
+ * ilogbf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, int expected)
+void __cdecl ilogbf_test1_validate(float value, int expected)
{
int result = ilogbf(value);
@@ -45,7 +45,7 @@ void __cdecl validate(float value, int expected)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_ilogbf_test1_paltest_ilogbf_test1, "c_runtime/ilogbf/test1/paltest_ilogbf_test1")
{
struct test tests[] =
{
@@ -92,7 +92,7 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].value, tests[i].expected);
+ ilogbf_test1_validate(tests[i].value, tests[i].expected);
}
PAL_Terminate();
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogbf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogbf/test1/testinfo.dat
deleted file mode 100644
index a34d80a551d650..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/ilogbf/test1/testinfo.dat
+++ /dev/null
@@ -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 = ilogbf
-Name = Call ilogbf with some std input/output.
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Call the ilogbf function with various num/expfonent pairs
-= that should produce std answers.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isalnum/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/isalnum/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isalnum/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isalnum/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/isalnum/test1/CMakeLists.txt
deleted file mode 100644
index d8b68ab508399a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isalnum/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_isalnum_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_isalnum_test1 coreclrpal)
-
-target_link_libraries(paltest_isalnum_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isalnum/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/isalnum/test1/test1.cpp
index 78560d5320d385..b7ec330ae94769 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isalnum/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/isalnum/test1/test1.cpp
@@ -21,7 +21,7 @@ struct testCase
int character;
};
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_isalnum_test1_paltest_isalnum_test1, "c_runtime/isalnum/test1/paltest_isalnum_test1")
{
int result;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isalnum/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/isalnum/test1/testinfo.dat
deleted file mode 100644
index 78d8cd2ee4234b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isalnum/test1/testinfo.dat
+++ /dev/null
@@ -1,18 +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 = isalnum
-Name = Positive Test for isalnum
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the isalnum function
-= Check that a number of characters return the correct values for whether
-= they are alpha/numeric or not.
-
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isalpha/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/isalpha/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isalpha/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isalpha/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/isalpha/test1/CMakeLists.txt
deleted file mode 100644
index 5d5170d473e4fb..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isalpha/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_isalpha_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_isalpha_test1 coreclrpal)
-
-target_link_libraries(paltest_isalpha_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isalpha/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/isalpha/test1/test1.cpp
index 7e125b4817b98d..581f5d3e277ad8 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isalpha/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/isalpha/test1/test1.cpp
@@ -20,7 +20,7 @@ struct testCase
int character;
};
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_isalpha_test1_paltest_isalpha_test1, "c_runtime/isalpha/test1/paltest_isalpha_test1")
{
int result;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isalpha/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/isalpha/test1/testinfo.dat
deleted file mode 100644
index 3c1ea87c2cd862..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isalpha/test1/testinfo.dat
+++ /dev/null
@@ -1,18 +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 = isalpha
-Name = Positive Test for isalpha
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the isalpha function
-= Check that a number of characters return the correct values for whether
-= they are alpha or not.
-
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isdigit/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/isdigit/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isdigit/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isdigit/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/isdigit/test1/CMakeLists.txt
deleted file mode 100644
index 94b40753a9837f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isdigit/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_isdigit_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_isdigit_test1 coreclrpal)
-
-target_link_libraries(paltest_isdigit_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isdigit/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/isdigit/test1/test1.cpp
index 28f2b08a8b3f75..d84029f9322d14 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isdigit/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/isdigit/test1/test1.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_isdigit_test1_paltest_isdigit_test1, "c_runtime/isdigit/test1/paltest_isdigit_test1")
{
int i;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isdigit/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/isdigit/test1/testinfo.dat
deleted file mode 100644
index 66e1e117e0023d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isdigit/test1/testinfo.dat
+++ /dev/null
@@ -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 = isdigit
-Name = Test #1 for isdigit
-TYPE = DEFAULT
-EXE1 = test1
-Description
-=Checks every character against the known range of digits.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/islower/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/islower/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/islower/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/islower/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/islower/test1/CMakeLists.txt
deleted file mode 100644
index e0b01f7eacac80..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/islower/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_islower_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_islower_test1 coreclrpal)
-
-target_link_libraries(paltest_islower_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/islower/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/islower/test1/test1.cpp
index 77b99843b55072..f8f6a7a4df2e75 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/islower/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/islower/test1/test1.cpp
@@ -20,7 +20,7 @@ struct testCase
int character;
};
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_islower_test1_paltest_islower_test1, "c_runtime/islower/test1/paltest_islower_test1")
{
int result;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/islower/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/islower/test1/testinfo.dat
deleted file mode 100644
index 72caf94d43c50f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/islower/test1/testinfo.dat
+++ /dev/null
@@ -1,18 +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 = islower
-Name = Positive Test for islower
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the islower function
-= Check that a number of characters return the correct values for whether
-= they are lower case or not.
-
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/test1/CMakeLists.txt
deleted file mode 100644
index 58505f15d943fa..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- isprint.cpp
-)
-
-add_executable(paltest_isprint_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_isprint_test1 coreclrpal)
-
-target_link_libraries(paltest_isprint_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/test1/isprint.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/test1/isprint.cpp
index 57d1d5159565b2..0d3f0618024c6b 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/test1/isprint.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/test1/isprint.cpp
@@ -12,7 +12,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_isprint_test1_paltest_isprint_test1, "c_runtime/isprint/test1/paltest_isprint_test1")
{
int err;
int index;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/test1/testinfo.dat
deleted file mode 100644
index 15e53e3981429c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/test1/testinfo.dat
+++ /dev/null
@@ -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 = miscellaneous
-Function = isprint
-Name = Positive test for isprint API to check if a character is printable
-TYPE = DEFAULT
-EXE1 = isprint
-Description
-=Test the isprint to check if a character is printable
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/test2/CMakeLists.txt
deleted file mode 100644
index d06c0d36ee184a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_isprint_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_isprint_test2 coreclrpal)
-
-target_link_libraries(paltest_isprint_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/test2/test2.cpp
index 08591afc7f21eb..9871c1d221a66b 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/test2/test2.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_isprint_test2_paltest_isprint_test2, "c_runtime/isprint/test2/paltest_isprint_test2")
{
int err;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/test2/testinfo.dat
deleted file mode 100644
index ebd114d38f0653..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isprint/test2/testinfo.dat
+++ /dev/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 = miscellaneous
-Function = isprint
-Name = Test isprint API to check if out of range characters are not printable.
-TYPE = DEFAULT
-EXE1 = test2
-Description
-=Test the isprint function to verify that out of range characters
-=are not printable.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isspace/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/isspace/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isspace/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isspace/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/isspace/test1/CMakeLists.txt
deleted file mode 100644
index 678ea87bc96c5a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isspace/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_isspace_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_isspace_test1 coreclrpal)
-
-target_link_libraries(paltest_isspace_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isspace/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/isspace/test1/test1.cpp
index d5806ad728479f..a5bdf2cb2187c4 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isspace/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/isspace/test1/test1.cpp
@@ -22,7 +22,7 @@ struct testCase
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_isspace_test1_paltest_isspace_test1, "c_runtime/isspace/test1/paltest_isspace_test1")
{
int i=0;
long result = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isspace/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/isspace/test1/testinfo.dat
deleted file mode 100644
index 2ac42ae0f7cb10..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isspace/test1/testinfo.dat
+++ /dev/null
@@ -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 = isspace
-Name = Positive Test for isspace
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Run through every possible character. For each time that isspace returns
-= >0, check through a list of the known space characters to ensure that it
-= is really a space. Also, when it returns <=0, ensure that that character
-= isn't a space.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isupper/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/isupper/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isupper/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isupper/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/isupper/test1/CMakeLists.txt
deleted file mode 100644
index 0eded6e61d60ad..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isupper/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_isupper_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_isupper_test1 coreclrpal)
-
-target_link_libraries(paltest_isupper_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isupper/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/isupper/test1/test1.cpp
index b4894429919697..6b297ebba48100 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isupper/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/isupper/test1/test1.cpp
@@ -20,7 +20,7 @@ struct testCase
int character;
};
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_isupper_test1_paltest_isupper_test1, "c_runtime/isupper/test1/paltest_isupper_test1")
{
int result;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isupper/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/isupper/test1/testinfo.dat
deleted file mode 100644
index 7cd4c66bb58f3a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isupper/test1/testinfo.dat
+++ /dev/null
@@ -1,18 +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 = isupper
-Name = Positive Test for isupper
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the isupper function
-= Check that a number of characters return the correct values for whether
-= they are upper case or not.
-
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswdigit/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/iswdigit/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswdigit/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswdigit/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/iswdigit/test1/CMakeLists.txt
deleted file mode 100644
index dce86a1f1cfa79..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswdigit/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_iswdigit_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_iswdigit_test1 coreclrpal)
-
-target_link_libraries(paltest_iswdigit_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswdigit/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/iswdigit/test1/test1.cpp
index 8b82b11e94017f..d7ea8d5513a213 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswdigit/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/iswdigit/test1/test1.cpp
@@ -20,7 +20,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_iswdigit_test1_paltest_iswdigit_test1, "c_runtime/iswdigit/test1/paltest_iswdigit_test1")
{
int result;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswdigit/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/iswdigit/test1/testinfo.dat
deleted file mode 100644
index c9bf834b0d9156..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswdigit/test1/testinfo.dat
+++ /dev/null
@@ -1,18 +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 = iswdigit
-Name = Positive Test for iswdigit
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the iswdigit function.
-= Tests the passed parameter to iswdigit for being a
-= digit ('0' - '9'). Also passes non-digits to make sure
-= iswdigit picks them up.
-= NOTE: There are three ASCII values that under Windows,
-= iswdigit will return non-zero, indicating a digit.
-= These values are quite apparently not digits:
-= 178, 179, 185. These are not tested.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswprint/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/iswprint/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswprint/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswprint/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/iswprint/test1/CMakeLists.txt
deleted file mode 100644
index 8605249190d635..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswprint/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_iswprint_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_iswprint_test1 coreclrpal)
-
-target_link_libraries(paltest_iswprint_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswprint/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/iswprint/test1/test1.cpp
index ac6e9246227bf2..cdc249a62727ca 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswprint/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/iswprint/test1/test1.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_iswprint_test1_paltest_iswprint_test1, "c_runtime/iswprint/test1/paltest_iswprint_test1")
{
WORD Info;
int ret;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswprint/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/iswprint/test1/testinfo.dat
deleted file mode 100644
index e99abf3a5e55c5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswprint/test1/testinfo.dat
+++ /dev/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 = iswprint
-Name = Positive Test for iswprint
-TYPE = DEFAULT
-EXE1 = test1
-Description
-=Tests iswprint with all wide characters, ensuring they are
-=consistent with GetStringTypeExW.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswspace/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/iswspace/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswspace/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswspace/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/iswspace/test1/CMakeLists.txt
deleted file mode 100644
index f5eef10caeef0d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswspace/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_iswspace_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_iswspace_test1 coreclrpal)
-
-target_link_libraries(paltest_iswspace_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswspace/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/iswspace/test1/test1.cpp
index 14b78b4ec5409b..4d9de5d01a67e8 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswspace/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/iswspace/test1/test1.cpp
@@ -15,7 +15,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_iswspace_test1_paltest_iswspace_test1, "c_runtime/iswspace/test1/paltest_iswspace_test1")
{
int ret;
int i;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswspace/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/iswspace/test1/testinfo.dat
deleted file mode 100644
index d401868b2dea2d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswspace/test1/testinfo.dat
+++ /dev/null
@@ -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 = iswspace
-Name = Positive Test for iswspace
-TYPE = DEFAULT
-EXE1 = test1
-Description
-=Tests iswspace with a range of wide characters.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswupper/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/iswupper/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswupper/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswupper/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/iswupper/test1/CMakeLists.txt
deleted file mode 100644
index 94c0cafa89b877..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswupper/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_iswupper_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_iswupper_test1 coreclrpal)
-
-target_link_libraries(paltest_iswupper_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswupper/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/iswupper/test1/test1.cpp
index 11602130667431..7106aef6cd1b4d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswupper/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/iswupper/test1/test1.cpp
@@ -22,7 +22,7 @@ struct testCase
WCHAR character;
};
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_iswupper_test1_paltest_iswupper_test1, "c_runtime/iswupper/test1/paltest_iswupper_test1")
{
int result;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswupper/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/iswupper/test1/testinfo.dat
deleted file mode 100644
index 14c4ac8c95e7cd..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/iswupper/test1/testinfo.dat
+++ /dev/null
@@ -1,18 +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 = isupper
-Name = Positive Test for iswupper
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the iswupper function
-= Check that a number of characters return the correct values for whether
-= they are upper case or not.
-
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isxdigit/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/isxdigit/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isxdigit/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isxdigit/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/isxdigit/test1/CMakeLists.txt
deleted file mode 100644
index 95a78d400d1e27..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isxdigit/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_isxdigit_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_isxdigit_test1 coreclrpal)
-
-target_link_libraries(paltest_isxdigit_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isxdigit/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/isxdigit/test1/test1.cpp
index bbca8e1d225427..c4c245cd255dd2 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isxdigit/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/isxdigit/test1/test1.cpp
@@ -19,7 +19,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_isxdigit_test1_paltest_isxdigit_test1, "c_runtime/isxdigit/test1/paltest_isxdigit_test1")
{
int i;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/isxdigit/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/isxdigit/test1/testinfo.dat
deleted file mode 100644
index 983902fde35d8d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/isxdigit/test1/testinfo.dat
+++ /dev/null
@@ -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 = isxdigit
-Name = Positive Test for isxdigit
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Run through every possible character. For each time that isxdigit returns
-= 1, check through a list of the known hex characters to ensure that it
-= is really a hex char. Also, when it returns 0, ensure that that character
-= isn't a hex character.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/llabs/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/llabs/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/llabs/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/llabs/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/llabs/test1/CMakeLists.txt
deleted file mode 100644
index 1255c58eee4f95..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/llabs/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_llabs_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_llabs_test1 coreclrpal)
-
-target_link_libraries(paltest_llabs_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/llabs/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/llabs/test1/test1.cpp
index a6ea7d475e50ad..05c23c0c7b27c8 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/llabs/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/llabs/test1/test1.cpp
@@ -20,7 +20,7 @@ struct testCase
__int64 AbsoluteLongLongValue;
};
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_llabs_test1_paltest_llabs_test1, "c_runtime/llabs/test1/paltest_llabs_test1")
{
__int64 result=0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/llabs/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/llabs/test1/testinfo.dat
deleted file mode 100644
index 9d3b744cb3b0fe..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/llabs/test1/testinfo.dat
+++ /dev/null
@@ -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 = labs
-Name = Series of tests for labs: positive, negative, zero, maximum __int64 value.
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Call llabs on a series of values -- negative, positive, zero,
-= and the largest negative value of an __int64. Ensure that they are all
-= changed properly to their absoulte value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/log/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/log/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/log/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/log/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/log/test1/CMakeLists.txt
deleted file mode 100644
index 9550b086213d96..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/log/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_log_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_log_test1 coreclrpal)
-
-target_link_libraries(paltest_log_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/log/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/log/test1/test1.cpp
index 9c8f72cafccb55..a780558a049b8f 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/log/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/log/test1/test1.cpp
@@ -40,11 +40,11 @@ struct test
};
/**
- * validate
+ * log_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl log_test1_validate(double value, double expected, double variance)
{
double result = log(value);
@@ -62,11 +62,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * log_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl log_test1_validate_isnan(double value)
{
double result = log(value);
@@ -82,7 +82,7 @@ void __cdecl validate_isnan(double value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_log_test1_paltest_log_test1, "c_runtime/log/test1/paltest_log_test1")
{
struct test tests[] =
{
@@ -128,11 +128,11 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].value, tests[i].expected, tests[i].variance);
+ log_test1_validate(tests[i].value, tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NEGINF);
- validate_isnan(PAL_NAN);
+ log_test1_validate_isnan(PAL_NEGINF);
+ log_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/log/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/log/test1/testinfo.dat
deleted file mode 100644
index 67493229879901..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/log/test1/testinfo.dat
+++ /dev/null
@@ -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 = log
-Name = Positive Test for log
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes a series of values to the log() function,
-= checking each for the expected result. Also checks
-= for proper handling of out-of-range values.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/log10/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/log10/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/log10/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/log10/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/log10/test1/CMakeLists.txt
deleted file mode 100644
index 75092a2f36571e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/log10/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_log10_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_log10_test1 coreclrpal)
-
-target_link_libraries(paltest_log10_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/log10/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/log10/test1/test1.cpp
index b1444528c61887..26d13508cc4b70 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/log10/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/log10/test1/test1.cpp
@@ -46,11 +46,11 @@ struct test
};
/**
- * validate
+ * log10_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl log10_test1_validate(double value, double expected, double variance)
{
double result = log10(value);
@@ -68,11 +68,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * log10_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl log10_test1_validate_isnan(double value)
{
double result = log10(value);
@@ -88,7 +88,7 @@ void __cdecl validate_isnan(double value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_log10_test1_paltest_log10_test1, "c_runtime/log10/test1/paltest_log10_test1")
{
struct test tests[] =
{
@@ -134,11 +134,11 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].value, tests[i].expected, tests[i].variance);
+ log10_test1_validate(tests[i].value, tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NEGINF);
- validate_isnan(PAL_NAN);
+ log10_test1_validate_isnan(PAL_NEGINF);
+ log10_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/log10/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/log10/test1/testinfo.dat
deleted file mode 100644
index 1068593a04f489..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/log10/test1/testinfo.dat
+++ /dev/null
@@ -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 = log10
-Name = Positive Test for log10
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes a series of values to the log10() function,
-= checking each for the expected result. Also checks
-= for proper handling of out-of-range values.
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/log10f/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/log10f/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/log10f/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/log10f/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/log10f/test1/CMakeLists.txt
deleted file mode 100644
index 4c0350869865de..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/log10f/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_log10f_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_log10f_test1 coreclrpal)
-
-target_link_libraries(paltest_log10f_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/log10f/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/log10f/test1/test1.cpp
similarity index 92%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/log10f/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/log10f/test1/test1.cpp
index d43ef2f43e9ed0..a503ebaab744da 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/log10f/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/log10f/test1/test1.cpp
@@ -45,11 +45,11 @@ struct test
};
/**
- * validate
+ * log10f_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl log10f_test1_validate(float value, float expected, float variance)
{
float result = log10f(value);
@@ -67,11 +67,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * log10f_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl log10f_test1_validate_isnan(float value)
{
float result = log10f(value);
@@ -87,7 +87,7 @@ void __cdecl validate_isnan(float value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_log10f_test1_paltest_log10f_test1, "c_runtime/log10f/test1/paltest_log10f_test1")
{
struct test tests[] =
{
@@ -132,11 +132,11 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].value, tests[i].expected, tests[i].variance);
+ log10f_test1_validate(tests[i].value, tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NEGINF);
- validate_isnan(PAL_NAN);
+ log10f_test1_validate_isnan(PAL_NEGINF);
+ log10f_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/log10f/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/log10f/test1/testinfo.dat
deleted file mode 100644
index 591853bc1dd879..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/log10f/test1/testinfo.dat
+++ /dev/null
@@ -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 = log10f
-Name = Positive Test for log10f
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes a series of values to the log10f() function,
-= checking each for the expected result. Also checks
-= for proper handling of out-of-range values.
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/log2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/log2/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/log2/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/log2/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/log2/test1/CMakeLists.txt
deleted file mode 100644
index efee18bc620655..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/log2/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_log2_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_log2_test1 coreclrpal)
-
-target_link_libraries(paltest_log2_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/log2/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/log2/test1/test1.cpp
index c453e102a5fb37..8ca12f4dd54c9e 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/log2/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/log2/test1/test1.cpp
@@ -40,11 +40,11 @@ struct test
};
/**
- * validate
+ * log2_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl log2_test1_validate(double value, double expected, double variance)
{
double result = log2(value);
@@ -62,11 +62,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * log2_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl log2_test1_validate_isnan(double value)
{
double result = log2(value);
@@ -82,7 +82,7 @@ void __cdecl validate_isnan(double value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_log2_test1_paltest_log2_test1, "c_runtime/log2/test1/paltest_log2_test1")
{
struct test tests[] =
{
@@ -127,11 +127,11 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].value, tests[i].expected, tests[i].variance);
+ log2_test1_validate(tests[i].value, tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NEGINF);
- validate_isnan(PAL_NAN);
+ log2_test1_validate_isnan(PAL_NEGINF);
+ log2_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/log2/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/log2/test1/testinfo.dat
deleted file mode 100644
index 14c34b08a0efce..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/log2/test1/testinfo.dat
+++ /dev/null
@@ -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 = log2
-Name = Call log2 with some std input/output.
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Call the log2 function with various num/exponent pairs
-= that should produce std answers.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/log2f/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/log2f/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/log2f/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/log2f/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/log2f/test1/CMakeLists.txt
deleted file mode 100644
index 6002cf7ad8c936..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/log2f/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_log2f_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_log2f_test1 coreclrpal)
-
-target_link_libraries(paltest_log2f_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/log2f/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/log2f/test1/test1.cpp
similarity index 92%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/log2f/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/log2f/test1/test1.cpp
index a4195d051b7e80..29de3c76de7946 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/log2f/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/log2f/test1/test1.cpp
@@ -39,11 +39,11 @@ struct test
};
/**
- * validate
+ * log2f_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl log2f_test1_validate(float value, float expected, float variance)
{
float result = log2f(value);
@@ -61,11 +61,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * log2f_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl log2f_test1_validate_isnan(float value)
{
float result = log2f(value);
@@ -81,7 +81,7 @@ void __cdecl validate_isnan(float value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_log2f_test1_paltest_log2f_test1, "c_runtime/log2f/test1/paltest_log2f_test1")
{
struct test tests[] =
{
@@ -126,11 +126,11 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].value, tests[i].expected, tests[i].variance);
+ log2f_test1_validate(tests[i].value, tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NEGINF);
- validate_isnan(PAL_NAN);
+ log2f_test1_validate_isnan(PAL_NEGINF);
+ log2f_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/log2f/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/log2f/test1/testinfo.dat
deleted file mode 100644
index ebda8b49d0e229..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/log2f/test1/testinfo.dat
+++ /dev/null
@@ -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 = log2f
-Name = Call log2f with some std input/output.
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Call the log2f function with various num/expfonent pairs
-= that should produce std answers.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/logf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/logf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/logf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/logf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/logf/test1/CMakeLists.txt
deleted file mode 100644
index 5cb727d05137ff..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/logf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_logf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_logf_test1 coreclrpal)
-
-target_link_libraries(paltest_logf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/logf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/logf/test1/test1.cpp
similarity index 92%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/logf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/logf/test1/test1.cpp
index 3c7f10f0e9bdae..7980ae1b28e9e1 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/logf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/logf/test1/test1.cpp
@@ -39,11 +39,11 @@ struct test
};
/**
- * validate
+ * logf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl logf_test1_validate(float value, float expected, float variance)
{
float result = logf(value);
@@ -61,11 +61,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * logf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl logf_test1_validate_isnan(float value)
{
float result = logf(value);
@@ -81,7 +81,7 @@ void __cdecl validate_isnan(float value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_logf_test1_paltest_logf_test1, "c_runtime/logf/test1/paltest_logf_test1")
{
struct test tests[] =
{
@@ -127,11 +127,11 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].value, tests[i].expected, tests[i].variance);
+ logf_test1_validate(tests[i].value, tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NEGINF);
- validate_isnan(PAL_NAN);
+ logf_test1_validate_isnan(PAL_NEGINF);
+ logf_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/logf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/logf/test1/testinfo.dat
deleted file mode 100644
index 52236efce0d30a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/logf/test1/testinfo.dat
+++ /dev/null
@@ -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 = logf
-Name = Positive Test for logf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes a series of values to the logf() function,
-= checking each for the expected result. Also checks
-= for proper handling of out-of-range values.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/test1/CMakeLists.txt
deleted file mode 100644
index 198ff68b42fcc4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_malloc_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_malloc_test1 coreclrpal)
-
-target_link_libraries(paltest_malloc_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/test1/test1.cpp
index be71d783297f26..2f713a0ee96faa 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/test1/test1.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_malloc_test1_paltest_malloc_test1, "c_runtime/malloc/test1/paltest_malloc_test1")
{
char *testA;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/test1/testinfo.dat
deleted file mode 100644
index d815414e38c7af..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/test1/testinfo.dat
+++ /dev/null
@@ -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 = malloc
-Name = Positive Test for malloc
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests that malloc properly allocates memory.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/test2/CMakeLists.txt
deleted file mode 100644
index 03b0648f17f590..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_malloc_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_malloc_test2 coreclrpal)
-
-target_link_libraries(paltest_malloc_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/test2/test2.cpp
index 6aa3e3f6b200ee..9f94f1050d6ac2 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/test2/test2.cpp
@@ -12,7 +12,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_malloc_test2_paltest_malloc_test2, "c_runtime/malloc/test2/paltest_malloc_test2")
{
char *testA;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/test2/testinfo.dat
deleted file mode 100644
index c4fad6844f2ac3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/malloc/test2/testinfo.dat
+++ /dev/null
@@ -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 = malloc
-Name = Positive Test for malloc
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Test that malloc(0) returns non-zero value
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/memchr/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/memchr/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/memchr/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/memchr/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/memchr/test1/CMakeLists.txt
deleted file mode 100644
index 9fcc0837408f1f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/memchr/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_memchr_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_memchr_test1 coreclrpal)
-
-target_link_libraries(paltest_memchr_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/memchr/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/memchr/test1/test1.cpp
index 924e5c80a554d4..a7e44dbd911f1a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/memchr/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/memchr/test1/test1.cpp
@@ -25,7 +25,7 @@ struct testCase
};
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_memchr_test1_paltest_memchr_test1, "c_runtime/memchr/test1/paltest_memchr_test1")
{
int i = 0;
char *result = NULL;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/memchr/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/memchr/test1/testinfo.dat
deleted file mode 100644
index d5e074c6ae7c96..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/memchr/test1/testinfo.dat
+++ /dev/null
@@ -1,18 +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 = memchr
-Name = Positive Test for memchr
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Create a string buffer, and check for a number of characters in it.
-= Test to ensure it returns NULL if it can't find the character, and that
-= the size argument works properly.
-
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/memcmp/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/memcmp/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/memcmp/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/memcmp/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/memcmp/test1/CMakeLists.txt
deleted file mode 100644
index f48bac8058cba7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/memcmp/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_memcmp_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_memcmp_test1 coreclrpal)
-
-target_link_libraries(paltest_memcmp_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/memcmp/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/memcmp/test1/test1.cpp
index 41c16d98e0f844..c1a17f30a659bb 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/memcmp/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/memcmp/test1/test1.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_memcmp_test1_paltest_memcmp_test1, "c_runtime/memcmp/test1/paltest_memcmp_test1")
{
char testA[] = "aaaaaaaaaaaaaaaaaaaa";
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/memcmp/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/memcmp/test1/testinfo.dat
deleted file mode 100644
index 852ea669788e78..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/memcmp/test1/testinfo.dat
+++ /dev/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 = memcmp
-Name = Positive Test for memcmp
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Check that memcmp find identical buffers to be identical,
-= and that it correctly orders different buffers.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/memcpy/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/memcpy/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/memcpy/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/memcpy/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/memcpy/test1/CMakeLists.txt
deleted file mode 100644
index d7471acb984d07..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/memcpy/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_memcpy_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_memcpy_test1 coreclrpal)
-
-target_link_libraries(paltest_memcpy_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/memcpy/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/memcpy/test1/test1.cpp
index 26d59aa94ea409..bbf674cedd8fc6 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/memcpy/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/memcpy/test1/test1.cpp
@@ -12,7 +12,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_memcpy_test1_paltest_memcpy_test1, "c_runtime/memcpy/test1/paltest_memcpy_test1")
{
char testA[20];
char testB[20];
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/memcpy/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/memcpy/test1/testinfo.dat
deleted file mode 100644
index f4ea0f1ee23d10..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/memcpy/test1/testinfo.dat
+++ /dev/null
@@ -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 = memcpy
-Name = Positive Test for memcpy
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Calls memcpy and verifies that the buffer was copied correctly.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/memmove/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/memmove/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/memmove/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/memmove/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/memmove/test1/CMakeLists.txt
deleted file mode 100644
index b5f8d4c7bf182b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/memmove/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_memmove_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_memmove_test1 coreclrpal)
-
-target_link_libraries(paltest_memmove_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/memmove/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/memmove/test1/test1.cpp
index 8bb0ee231532ae..476ba01f5f276c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/memmove/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/memmove/test1/test1.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_memmove_test1_paltest_memmove_test1, "c_runtime/memmove/test1/paltest_memmove_test1")
{
char testA[11] = "abcdefghij";
char testB[15] = "aabbccddeeffgg";
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/memmove/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/memmove/test1/testinfo.dat
deleted file mode 100644
index 777c1aacf3111f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/memmove/test1/testinfo.dat
+++ /dev/null
@@ -1,18 +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 = memmove
-Name = Positive Test for memmove
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Test that memmove correctly copies text from one buffer to another
-= even when the buffers overlap.
-
-
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/memset/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/memset/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/memset/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/memset/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/memset/test1/CMakeLists.txt
deleted file mode 100644
index bc24ed87b43c36..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/memset/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_memset_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_memset_test1 coreclrpal)
-
-target_link_libraries(paltest_memset_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/memset/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/memset/test1/test1.cpp
index 483e3b9c3559e4..ee8d92fd4ab538 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/memset/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/memset/test1/test1.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_memset_test1_paltest_memset_test1, "c_runtime/memset/test1/paltest_memset_test1")
{
char testA[22] = "bbbbbbbbbbbbbbbbbbbbb";
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/memset/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/memset/test1/testinfo.dat
deleted file mode 100644
index 647bcd87f92d71..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/memset/test1/testinfo.dat
+++ /dev/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 = memset
-Name = Positive Test for memset
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Check that memset correctly fills a destination buffer without overflowing it.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/modf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/modf/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/modf/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/modf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/modf/test1/CMakeLists.txt
deleted file mode 100644
index bc9e8870f9610e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/modf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_modf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_modf_test1 coreclrpal)
-
-target_link_libraries(paltest_modf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/modf/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/modf/test1/test1.cpp
index b0beb7cabe13c4..726e524d0a4e8e 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/modf/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/modf/test1/test1.cpp
@@ -47,11 +47,11 @@ struct test
};
/**
- * validate
+ * modf_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance, double expected_intpart, double variance_intpart)
+void __cdecl modf_test1_validate(double value, double expected, double variance, double expected_intpart, double variance_intpart)
{
double result_intpart;
double result = modf(value, &result_intpart);
@@ -71,11 +71,11 @@ void __cdecl validate(double value, double expected, double variance, double exp
}
/**
- * validate
+ * modf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl modf_test1_validate_isnan(double value)
{
double result_intpart;
double result = modf(value, &result_intpart);
@@ -92,7 +92,7 @@ void __cdecl validate_isnan(double value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_modf_test1_paltest_modf_test1, "c_runtime/modf/test1/paltest_modf_test1")
{
struct test tests[] =
{
@@ -124,11 +124,11 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance, tests[i].expected_intpart, tests[i].variance_intpart);
- validate(-tests[i].value, -tests[i].expected, tests[i].variance, -tests[i].expected_intpart, tests[i].variance_intpart);
+ modf_test1_validate( tests[i].value, tests[i].expected, tests[i].variance, tests[i].expected_intpart, tests[i].variance_intpart);
+ modf_test1_validate(-tests[i].value, -tests[i].expected, tests[i].variance, -tests[i].expected_intpart, tests[i].variance_intpart);
}
- validate_isnan(PAL_NAN);
+ modf_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/modf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/modf/test1/testinfo.dat
deleted file mode 100644
index ad8b36486fca31..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/modf/test1/testinfo.dat
+++ /dev/null
@@ -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 = modf
-Name = Positive Test for modf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to modf() a series of values, checking that
-= each one return to correct value.
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/modff/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/modff/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/modff/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/modff/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/modff/test1/CMakeLists.txt
deleted file mode 100644
index a86d7e70a36397..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/modff/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_modff_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_modff_test1 coreclrpal)
-
-target_link_libraries(paltest_modff_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/modff/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/modff/test1/test1.cpp
index a96cf7c78d756c..898566b27398b4 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/modff/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/modff/test1/test1.cpp
@@ -46,11 +46,11 @@ struct test
};
/**
- * validate
+ * modff_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance, float expected_intpart, float variance_intpart)
+void __cdecl modff_test1_validate(float value, float expected, float variance, float expected_intpart, float variance_intpart)
{
float result_intpart;
float result = modff(value, &result_intpart);
@@ -70,11 +70,11 @@ void __cdecl validate(float value, float expected, float variance, float expecte
}
/**
- * validate
+ * modff_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl modff_test1_validate_isnan(float value)
{
float result_intpart;
float result = modff(value, &result_intpart);
@@ -91,7 +91,7 @@ void __cdecl validate_isnan(float value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_modff_test1_paltest_modff_test1, "c_runtime/modff/test1/paltest_modff_test1")
{
struct test tests[] =
{
@@ -123,11 +123,11 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance, tests[i].expected_intpart, tests[i].variance_intpart);
- validate(-tests[i].value, -tests[i].expected, tests[i].variance, -tests[i].expected_intpart, tests[i].variance_intpart);
+ modff_test1_validate( tests[i].value, tests[i].expected, tests[i].variance, tests[i].expected_intpart, tests[i].variance_intpart);
+ modff_test1_validate(-tests[i].value, -tests[i].expected, tests[i].variance, -tests[i].expected_intpart, tests[i].variance_intpart);
}
- validate_isnan(PAL_NAN);
+ modff_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/modff/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/modff/test1/testinfo.dat
deleted file mode 100644
index 26429e91f486c0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/modff/test1/testinfo.dat
+++ /dev/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 = modff
-Name = Positive Test for modff
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to modff() a series of values, checking that
-= each one return to correct value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/pow/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/pow/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/pow/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/pow/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/pow/test1/CMakeLists.txt
deleted file mode 100644
index 86ae740da67c70..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/pow/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_pow_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_pow_test1 coreclrpal)
-
-target_link_libraries(paltest_pow_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/pow/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/pow/test1/test1.cpp
index 159d3956ea9caf..22f482868b3d86 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/pow/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/pow/test1/test1.cpp
@@ -43,11 +43,11 @@ struct test
};
/**
- * validate
+ * pow_test1_validate
*
* test validation function
*/
-void __cdecl validate(double x, double y, double expected, double variance)
+void __cdecl pow_test1_validate(double x, double y, double expected, double variance)
{
double result = pow(x, y);
@@ -65,11 +65,11 @@ void __cdecl validate(double x, double y, double expected, double variance)
}
/**
- * validate
+ * pow_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double x, double y)
+void __cdecl pow_test1_validate_isnan(double x, double y)
{
double result = pow(x, y);
@@ -85,7 +85,7 @@ void __cdecl validate_isnan(double x, double y)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_pow_test1_paltest_pow_test1, "c_runtime/pow/test1/paltest_pow_test1")
{
struct test tests[] =
{
@@ -203,26 +203,26 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].x, tests[i].y, tests[i].expected, tests[i].variance);
+ pow_test1_validate(tests[i].x, tests[i].y, tests[i].expected, tests[i].variance);
}
- validate_isnan(-10, -1.5707963267948966); // y: -(pi / 2)
- validate_isnan(-10, -0.78539816339744828); // y: -(pi / 4)
- validate_isnan(-10, 0.78539816339744828); // y: pi / 4
- validate_isnan(-10, 1.5707963267948966); // y: pi / 2
+ pow_test1_validate_isnan(-10, -1.5707963267948966); // y: -(pi / 2)
+ pow_test1_validate_isnan(-10, -0.78539816339744828); // y: -(pi / 4)
+ pow_test1_validate_isnan(-10, 0.78539816339744828); // y: pi / 4
+ pow_test1_validate_isnan(-10, 1.5707963267948966); // y: pi / 2
- validate_isnan(-2.7182818284590452, -1.5707963267948966); // x: -(e) y: -(pi / 2)
- validate_isnan(-2.7182818284590452, -0.78539816339744828); // x: -(e) y: -(pi / 4)
- validate_isnan(-2.7182818284590452, 0.78539816339744828); // x: -(e) y: pi / 4
- validate_isnan(-2.7182818284590452, 1.5707963267948966); // x: -(e) y: pi / 2
+ pow_test1_validate_isnan(-2.7182818284590452, -1.5707963267948966); // x: -(e) y: -(pi / 2)
+ pow_test1_validate_isnan(-2.7182818284590452, -0.78539816339744828); // x: -(e) y: -(pi / 4)
+ pow_test1_validate_isnan(-2.7182818284590452, 0.78539816339744828); // x: -(e) y: pi / 4
+ pow_test1_validate_isnan(-2.7182818284590452, 1.5707963267948966); // x: -(e) y: pi / 2
- validate_isnan(PAL_NEGINF, PAL_NAN);
- validate_isnan(PAL_NAN, PAL_NEGINF);
+ pow_test1_validate_isnan(PAL_NEGINF, PAL_NAN);
+ pow_test1_validate_isnan(PAL_NAN, PAL_NEGINF);
- validate_isnan(PAL_POSINF, PAL_NAN);
- validate_isnan(PAL_NAN, PAL_POSINF);
+ pow_test1_validate_isnan(PAL_POSINF, PAL_NAN);
+ pow_test1_validate_isnan(PAL_NAN, PAL_POSINF);
- validate_isnan(PAL_NAN, PAL_NAN);
+ pow_test1_validate_isnan(PAL_NAN, PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/pow/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/pow/test1/testinfo.dat
deleted file mode 100644
index 0dae5d52460681..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/pow/test1/testinfo.dat
+++ /dev/null
@@ -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 = pow
-Name = Call pow with some std input/output.
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Call the pow function with various num/exponent pairs
-= that should produce std answers.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/powf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/powf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/powf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/powf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/powf/test1/CMakeLists.txt
deleted file mode 100644
index 53443f15598cfe..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/powf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_powf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_powf_test1 coreclrpal)
-
-target_link_libraries(paltest_powf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/powf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/powf/test1/test1.cpp
similarity index 88%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/powf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/powf/test1/test1.cpp
index 24a23e04f9e142..5e704f2d59b612 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/powf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/powf/test1/test1.cpp
@@ -42,11 +42,11 @@ struct test
};
/**
- * validate
+ * powf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float x, float y, float expected, float variance)
+void __cdecl powf_test1_validate(float x, float y, float expected, float variance)
{
float result = powf(x, y);
@@ -64,11 +64,11 @@ void __cdecl validate(float x, float y, float expected, float variance)
}
/**
- * validate
+ * powf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float x, float y)
+void __cdecl powf_test1_validate_isnan(float x, float y)
{
float result = powf(x, y);
@@ -84,7 +84,7 @@ void __cdecl validate_isnan(float x, float y)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_powf_test1_paltest_powf_test1, "c_runtime/powf/test1/paltest_powf_test1")
{
struct test tests[] =
{
@@ -202,26 +202,26 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].x, tests[i].y, tests[i].expected, tests[i].variance);
+ powf_test1_validate(tests[i].x, tests[i].y, tests[i].expected, tests[i].variance);
}
- validate_isnan(-10, -1.57079633f); // y: -(pi / 2)
- validate_isnan(-10, -0.785398163f); // y: -(pi / 4)
- validate_isnan(-10, 0.785398163f); // y: pi / 4
- validate_isnan(-10, 1.57079633f); // y: pi / 2
+ powf_test1_validate_isnan(-10, -1.57079633f); // y: -(pi / 2)
+ powf_test1_validate_isnan(-10, -0.785398163f); // y: -(pi / 4)
+ powf_test1_validate_isnan(-10, 0.785398163f); // y: pi / 4
+ powf_test1_validate_isnan(-10, 1.57079633f); // y: pi / 2
- validate_isnan(-2.71828183f, -1.57079633f); // x: -(e) y: -(pi / 2)
- validate_isnan(-2.71828183f, -0.785398163f); // x: -(e) y: -(pi / 4)
- validate_isnan(-2.71828183f, 0.785398163f); // x: -(e) y: pi / 4
- validate_isnan(-2.71828183f, 1.57079633f); // x: -(e) y: pi / 2
+ powf_test1_validate_isnan(-2.71828183f, -1.57079633f); // x: -(e) y: -(pi / 2)
+ powf_test1_validate_isnan(-2.71828183f, -0.785398163f); // x: -(e) y: -(pi / 4)
+ powf_test1_validate_isnan(-2.71828183f, 0.785398163f); // x: -(e) y: pi / 4
+ powf_test1_validate_isnan(-2.71828183f, 1.57079633f); // x: -(e) y: pi / 2
- validate_isnan(PAL_NEGINF, PAL_NAN);
- validate_isnan(PAL_NAN, PAL_NEGINF);
+ powf_test1_validate_isnan(PAL_NEGINF, PAL_NAN);
+ powf_test1_validate_isnan(PAL_NAN, PAL_NEGINF);
- validate_isnan(PAL_POSINF, PAL_NAN);
- validate_isnan(PAL_NAN, PAL_POSINF);
+ powf_test1_validate_isnan(PAL_POSINF, PAL_NAN);
+ powf_test1_validate_isnan(PAL_NAN, PAL_POSINF);
- validate_isnan(PAL_NAN, PAL_NAN);
+ powf_test1_validate_isnan(PAL_NAN, PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/powf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/powf/test1/testinfo.dat
deleted file mode 100644
index 2194e10846545f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/powf/test1/testinfo.dat
+++ /dev/null
@@ -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 = powf
-Name = Call powf with some std input/output.
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Call the powf function with various num/expfonent pairs
-= that should produce std answers.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/CMakeLists.txt
deleted file mode 100644
index 256753a6364625..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/CMakeLists.txt
+++ /dev/null
@@ -1,20 +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(test5)
-add_subdirectory(test6)
-add_subdirectory(test7)
-add_subdirectory(test8)
-add_subdirectory(test9)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/printf.h b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/printf.h
index 780cf8f01cf32c..7d6a9c75c4e30d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/printf.h
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/printf.h
@@ -13,7 +13,7 @@
#ifndef __printf_H__
#define __printf_H__
-void DoStrTest(const char *formatstr, char* param, const char *checkstr)
+inline void DoStrTest_printf(const char *formatstr, char* param, const char *checkstr)
{
int ret;
@@ -24,8 +24,9 @@ void DoStrTest(const char *formatstr, char* param, const char *checkstr)
strlen(checkstr), ret);
}
}
+#define DoStrTest DoStrTest_printf
-void DoWStrTest(const char *formatstr, WCHAR* param, const char *checkstr)
+inline void DoWStrTest_printf(const char *formatstr, WCHAR* param, const char *checkstr)
{
int ret;
@@ -36,8 +37,9 @@ void DoWStrTest(const char *formatstr, WCHAR* param, const char *checkstr)
strlen(checkstr), ret);
}
}
+#define DoWStrTest DoWStrTest_printf
-void DoPointerTest(const char *formatstr, void* param, char* paramstr,
+inline void DoPointerTest_printf(const char *formatstr, void* param, char* paramstr,
const char *checkstr1)
{
int ret;
@@ -49,8 +51,9 @@ void DoPointerTest(const char *formatstr, void* param, char* paramstr,
strlen(checkstr1), ret);
}
}
+#define DoPointerTest DoPointerTest_printf
-void DoCountTest(const char *formatstr, int param, const char *checkstr)
+inline void DoCountTest_printf(const char *formatstr, int param, const char *checkstr)
{
int ret;
int n = -1;
@@ -68,8 +71,9 @@ void DoCountTest(const char *formatstr, int param, const char *checkstr)
strlen(checkstr), ret);
}
}
+#define DoCountTest DoCountTest_printf
-void DoShortCountTest(const char *formatstr, int param, const char *checkstr)
+inline void DoShortCountTest_printf(const char *formatstr, int param, const char *checkstr)
{
int ret;
short int n = -1;
@@ -87,9 +91,9 @@ void DoShortCountTest(const char *formatstr, int param, const char *checkstr)
strlen(checkstr), ret);
}
}
+#define DoShortCountTest DoShortCountTest_printf
-
-void DoCharTest(const char *formatstr, char param, const char *checkstr)
+inline void DoCharTest_printf(const char *formatstr, char param, const char *checkstr)
{
int ret;
@@ -100,8 +104,9 @@ void DoCharTest(const char *formatstr, char param, const char *checkstr)
strlen(checkstr), ret);
}
}
+#define DoCharTest DoCharTest_printf
-void DoWCharTest(const char *formatstr, WCHAR param, const char *checkstr)
+inline void DoWCharTest_printf(const char *formatstr, WCHAR param, const char *checkstr)
{
int ret;
@@ -112,8 +117,9 @@ void DoWCharTest(const char *formatstr, WCHAR param, const char *checkstr)
strlen(checkstr), ret);
}
}
+#define DoWCharTest DoWCharTest_printf
-void DoNumTest(const char *formatstr, int param, const char *checkstr)
+inline void DoNumTest_printf(const char *formatstr, int param, const char *checkstr)
{
int ret;
@@ -124,8 +130,9 @@ void DoNumTest(const char *formatstr, int param, const char *checkstr)
strlen(checkstr), ret);
}
}
+#define DoNumTest DoNumTest_printf
-void DoI64Test(const char *formatstr, INT64 param, char *valuestr,
+inline void DoI64Test_printf(const char *formatstr, INT64 param, char *valuestr,
const char *checkstr1)
{
int ret;
@@ -137,8 +144,9 @@ void DoI64Test(const char *formatstr, INT64 param, char *valuestr,
strlen(checkstr1), ret);
}
}
+#define DoI64Test DoI64Test_printf
-void DoDoubleTest(const char *formatstr, double param,
+inline void DoDoubleTest_printf(const char *formatstr, double param,
const char *checkstr1, const char *checkstr2)
{
int ret;
@@ -150,8 +158,9 @@ void DoDoubleTest(const char *formatstr, double param,
strlen(checkstr1), strlen(checkstr2), ret);
}
}
+#define DoDoubleTest DoDoubleTest_printf
-void DoArgumentPrecTest(const char *formatstr, int precision, void *param,
+inline void DoArgumentPrecTest_printf(const char *formatstr, int precision, void *param,
char *paramstr, const char *checkstr1, const char *checkstr2)
{
int ret;
@@ -163,8 +172,9 @@ void DoArgumentPrecTest(const char *formatstr, int precision, void *param,
strlen(checkstr1), strlen(checkstr2), ret);
}
}
+#define DoArgumentPrecTest DoArgumentPrecTest_printf
-void DoArgumentPrecDoubleTest(const char *formatstr, int precision, double param,
+inline void DoArgumentPrecDoubleTest_printf(const char *formatstr, int precision, double param,
const char *checkstr1, const char *checkstr2)
{
int ret;
@@ -176,6 +186,7 @@ void DoArgumentPrecDoubleTest(const char *formatstr, int precision, double param
strlen(checkstr1), strlen(checkstr2), ret);
}
}
+#define DoArgumentPrecDoubleTest DoArgumentPrecDoubleTest_printf
#endif
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test1/CMakeLists.txt
deleted file mode 100644
index f3cce9c786a345..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_printf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_printf_test1 coreclrpal)
-
-target_link_libraries(paltest_printf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test1/test1.cpp
index 3b941ae215bcb3..6523995e558584 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test1/test1.cpp
@@ -16,7 +16,7 @@
#include
#include "../printf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_printf_test1_paltest_printf_test1, "c_runtime/printf/test1/paltest_printf_test1")
{
char checkstr[] = "hello world";
int ret;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test1/testinfo.dat
deleted file mode 100644
index dedc3cff90e109..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test1/testinfo.dat
+++ /dev/null
@@ -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 = printf
-Name = Positive Test for printf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= General test to see if printf works correctly
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test10/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test10/CMakeLists.txt
deleted file mode 100644
index 5fa23114334e0f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test10/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test10.cpp
-)
-
-add_executable(paltest_printf_test10
- ${SOURCES}
-)
-
-add_dependencies(paltest_printf_test10 coreclrpal)
-
-target_link_libraries(paltest_printf_test10
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test10/test10.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test10/test10.cpp
index 122eacd7d07e6e..acad7053b5c343 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test10/test10.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test10/test10.cpp
@@ -17,7 +17,7 @@
#include "../printf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_printf_test10_paltest_printf_test10, "c_runtime/printf/test10/paltest_printf_test10")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test10/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test10/testinfo.dat
deleted file mode 100644
index 994c781b0566ca..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test10/testinfo.dat
+++ /dev/null
@@ -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 = printf
-Name = Positive Test for printf
-TYPE = DEFAULT
-EXE1 = test10
-Description
-= Tests printf with octal numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test11/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test11/CMakeLists.txt
deleted file mode 100644
index 52b7202b48ae35..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test11/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test11.cpp
-)
-
-add_executable(paltest_printf_test11
- ${SOURCES}
-)
-
-add_dependencies(paltest_printf_test11 coreclrpal)
-
-target_link_libraries(paltest_printf_test11
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test11/test11.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test11/test11.cpp
index be94cb6b6d7a32..36dbdf3197c7d0 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test11/test11.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test11/test11.cpp
@@ -16,7 +16,7 @@
#include
#include "../printf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_printf_test11_paltest_printf_test11, "c_runtime/printf/test11/paltest_printf_test11")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test11/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test11/testinfo.dat
deleted file mode 100644
index aeb1aba1d1b9da..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test11/testinfo.dat
+++ /dev/null
@@ -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 = printf
-Name = Positive Test for printf
-TYPE = DEFAULT
-EXE1 = test11
-Description
-= Tests printf with unsigned numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test12/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test12/CMakeLists.txt
deleted file mode 100644
index aa19c4bb77f53d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test12/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test12.cpp
-)
-
-add_executable(paltest_printf_test12
- ${SOURCES}
-)
-
-add_dependencies(paltest_printf_test12 coreclrpal)
-
-target_link_libraries(paltest_printf_test12
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test12/test12.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test12/test12.cpp
index 00328193ef1a0a..5d6ed79be1259a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test12/test12.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test12/test12.cpp
@@ -17,7 +17,7 @@
#include "../printf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_printf_test12_paltest_printf_test12, "c_runtime/printf/test12/paltest_printf_test12")
{
int neg = -42;
int pos = 0x1234ab;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test12/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test12/testinfo.dat
deleted file mode 100644
index 100e1bf35febb3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test12/testinfo.dat
+++ /dev/null
@@ -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 = printf
-Name = Positive Test for printf
-TYPE = DEFAULT
-EXE1 = test12
-Description
-= Tests printf with hex numbers (lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test13/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test13/CMakeLists.txt
deleted file mode 100644
index e715bdde8135ca..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test13/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test13.cpp
-)
-
-add_executable(paltest_printf_test13
- ${SOURCES}
-)
-
-add_dependencies(paltest_printf_test13 coreclrpal)
-
-target_link_libraries(paltest_printf_test13
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test13/test13.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test13/test13.cpp
index d42313f90c060d..dbda8dc2276916 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test13/test13.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test13/test13.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_printf_test13_paltest_printf_test13, "c_runtime/printf/test13/paltest_printf_test13")
{
int neg = -42;
int pos = 0x1234AB;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test13/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test13/testinfo.dat
deleted file mode 100644
index eb8dd5351f0e4a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test13/testinfo.dat
+++ /dev/null
@@ -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 = printf
-Name = Positive Test for printf
-TYPE = DEFAULT
-EXE1 = test13
-Description
-= Tests printf with hex numbers (uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test14/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test14/CMakeLists.txt
deleted file mode 100644
index 878392a4cbd29b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test14/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test14.cpp
-)
-
-add_executable(paltest_printf_test14
- ${SOURCES}
-)
-
-add_dependencies(paltest_printf_test14 coreclrpal)
-
-target_link_libraries(paltest_printf_test14
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test14/test14.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test14/test14.cpp
index 5a999122324fbf..dcfa4a54a9273f 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test14/test14.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test14/test14.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_printf_test14_paltest_printf_test14, "c_runtime/printf/test14/paltest_printf_test14")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test14/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test14/testinfo.dat
deleted file mode 100644
index d13bbd2ec6858e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test14/testinfo.dat
+++ /dev/null
@@ -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 = printf
-Name = Positive Test for printf
-TYPE = DEFAULT
-EXE1 = test14
-Description
-= Tests printf with exponential format doubles (lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test15/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test15/CMakeLists.txt
deleted file mode 100644
index 7630cbbb69e5d7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test15/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test15.cpp
-)
-
-add_executable(paltest_printf_test15
- ${SOURCES}
-)
-
-add_dependencies(paltest_printf_test15 coreclrpal)
-
-target_link_libraries(paltest_printf_test15
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test15/test15.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test15/test15.cpp
index 03ba391fde54b3..a53c4a4c9de4e9 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test15/test15.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test15/test15.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_printf_test15_paltest_printf_test15, "c_runtime/printf/test15/paltest_printf_test15")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test15/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test15/testinfo.dat
deleted file mode 100644
index 2c917d7b30b17f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test15/testinfo.dat
+++ /dev/null
@@ -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 = printf
-Name = Positive Test for printf
-TYPE = DEFAULT
-EXE1 = test15
-Description
-= Tests printf with exponential format doubles (uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test16/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test16/CMakeLists.txt
deleted file mode 100644
index 6d4082e2e0efc3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test16/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test16.cpp
-)
-
-add_executable(paltest_printf_test16
- ${SOURCES}
-)
-
-add_dependencies(paltest_printf_test16 coreclrpal)
-
-target_link_libraries(paltest_printf_test16
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test16/test16.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test16/test16.cpp
index 186568262a8c46..a2fbc429e8b931 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test16/test16.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test16/test16.cpp
@@ -17,7 +17,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_printf_test16_paltest_printf_test16, "c_runtime/printf/test16/paltest_printf_test16")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test16/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test16/testinfo.dat
deleted file mode 100644
index c7e2f771b3f8ac..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test16/testinfo.dat
+++ /dev/null
@@ -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 = printf
-Name = Positive Test for printf
-TYPE = DEFAULT
-EXE1 = test16
-Description
-= Tests printf with decimal point format doubles
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test17/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test17/CMakeLists.txt
deleted file mode 100644
index 3873af8f414595..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test17/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test17.cpp
-)
-
-add_executable(paltest_printf_test17
- ${SOURCES}
-)
-
-add_dependencies(paltest_printf_test17 coreclrpal)
-
-target_link_libraries(paltest_printf_test17
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test17/test17.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test17/test17.cpp
index 58dbc37feaa231..70a574aaa7e866 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test17/test17.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test17/test17.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_printf_test17_paltest_printf_test17, "c_runtime/printf/test17/paltest_printf_test17")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test17/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test17/testinfo.dat
deleted file mode 100644
index 203125deed7fe4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test17/testinfo.dat
+++ /dev/null
@@ -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 = printf
-Name = Positive Test for printf
-TYPE = DEFAULT
-EXE1 = test17
-Description
-= Tests printf with compact format doubles (lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test18/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test18/CMakeLists.txt
deleted file mode 100644
index 75791354e7d3c3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test18/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test18.cpp
-)
-
-add_executable(paltest_printf_test18
- ${SOURCES}
-)
-
-add_dependencies(paltest_printf_test18 coreclrpal)
-
-target_link_libraries(paltest_printf_test18
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test18/test18.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test18/test18.cpp
index 25f3c91ee3d444..17e9aabe8e866a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test18/test18.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test18/test18.cpp
@@ -17,7 +17,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_printf_test18_paltest_printf_test18, "c_runtime/printf/test18/paltest_printf_test18")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test18/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test18/testinfo.dat
deleted file mode 100644
index f8af9313962d40..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test18/testinfo.dat
+++ /dev/null
@@ -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 = printf
-Name = Positive Test for printf
-TYPE = DEFAULT
-EXE1 = test18
-Description
-= Tests printf with compact format doubles (uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test19/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test19/CMakeLists.txt
deleted file mode 100644
index 98321bc653e73e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test19/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test19.cpp
-)
-
-add_executable(paltest_printf_test19
- ${SOURCES}
-)
-
-add_dependencies(paltest_printf_test19 coreclrpal)
-
-target_link_libraries(paltest_printf_test19
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test19/test19.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test19/test19.cpp
index ecef021d658b3c..d70aad2bd72034 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test19/test19.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test19/test19.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_printf_test19_paltest_printf_test19, "c_runtime/printf/test19/paltest_printf_test19")
{
int n = -1;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test19/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test19/testinfo.dat
deleted file mode 100644
index bf57331b4a406f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test19/testinfo.dat
+++ /dev/null
@@ -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 = printf
-Name = Positive Test for printf
-TYPE = DEFAULT
-EXE1 = test19
-Description
-= Tests printf with argument specified precision
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test2/CMakeLists.txt
deleted file mode 100644
index 7208d56ca8dd29..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_printf_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_printf_test2 coreclrpal)
-
-target_link_libraries(paltest_printf_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test2/test2.cpp
index 5ddcce29c336d8..b32f36d30721ec 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test2/test2.cpp
@@ -17,7 +17,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_printf_test2_paltest_printf_test2, "c_runtime/printf/test2/paltest_printf_test2")
{
if (PAL_Initialize(argc, argv))
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test2/testinfo.dat
deleted file mode 100644
index b1813b134f3b1d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test2/testinfo.dat
+++ /dev/null
@@ -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 = printf
-Name = Positive Test for printf
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Tests printf with strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test3/CMakeLists.txt
deleted file mode 100644
index b75a50ed076eb3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_printf_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_printf_test3 coreclrpal)
-
-target_link_libraries(paltest_printf_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test3/test3.cpp
index 5778ebc0ab899b..b7ff6bf60e6a71 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test3/test3.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_printf_test3_paltest_printf_test3, "c_runtime/printf/test3/paltest_printf_test3")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test3/testinfo.dat
deleted file mode 100644
index db5f9770184e21..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test3/testinfo.dat
+++ /dev/null
@@ -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 = printf
-Name = Positive Test for printf
-TYPE = DEFAULT
-EXE1 = test3
-Description
-= Tests printf with wide strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test4/CMakeLists.txt
deleted file mode 100644
index 6ce28017e285b1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_printf_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_printf_test4 coreclrpal)
-
-target_link_libraries(paltest_printf_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test4/test4.cpp
index d673fdda44126e..507308779bd6c4 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test4/test4.cpp
@@ -16,7 +16,7 @@
#include
#include "../printf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_printf_test4_paltest_printf_test4, "c_runtime/printf/test4/paltest_printf_test4")
{
void *ptr = (void*) 0x123456;
INT64 lptr = I64(0x1234567887654321);
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test4/testinfo.dat
deleted file mode 100644
index 2aef0fe76668e7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test4/testinfo.dat
+++ /dev/null
@@ -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 = printf
-Name = Positive Test for printf
-TYPE = DEFAULT
-EXE1 = test4
-Description
-= Tests printf with pointers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test5/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test5/CMakeLists.txt
deleted file mode 100644
index 885448a4a5465d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test5/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test5.cpp
-)
-
-add_executable(paltest_printf_test5
- ${SOURCES}
-)
-
-add_dependencies(paltest_printf_test5 coreclrpal)
-
-target_link_libraries(paltest_printf_test5
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test5/test5.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test5/test5.cpp
index b02195a02f1c68..15e806bf0e8420 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test5/test5.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test5/test5.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_printf_test5_paltest_printf_test5, "c_runtime/printf/test5/paltest_printf_test5")
{
char *longStr =
"really-long-string-that-just-keeps-going-on-and-on-and-on.."
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test5/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test5/testinfo.dat
deleted file mode 100644
index a0eec366238162..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test5/testinfo.dat
+++ /dev/null
@@ -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 = printf
-Name = Positive Test for printf
-TYPE = DEFAULT
-EXE1 = test5
-Description
-= Tests printf with the count specifier
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test6/CMakeLists.txt
deleted file mode 100644
index 21224fda58260a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test6.cpp
-)
-
-add_executable(paltest_printf_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_printf_test6 coreclrpal)
-
-target_link_libraries(paltest_printf_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test6/test6.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test6/test6.cpp
index ab55cb65b9128f..8ba3d68004c10a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test6/test6.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test6/test6.cpp
@@ -17,7 +17,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_printf_test6_paltest_printf_test6, "c_runtime/printf/test6/paltest_printf_test6")
{
WCHAR wc = (WCHAR) 'c';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test6/testinfo.dat
deleted file mode 100644
index a39fbd8cff51c0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test6/testinfo.dat
+++ /dev/null
@@ -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 = printf
-Name = Positive Test for printf
-TYPE = DEFAULT
-EXE1 = test6
-Description
-= Tests printf with characters
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test7/CMakeLists.txt
deleted file mode 100644
index 3a8f15e7e2beda..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test7.cpp
-)
-
-add_executable(paltest_printf_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_printf_test7 coreclrpal)
-
-target_link_libraries(paltest_printf_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test7/test7.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test7/test7.cpp
index 6ec7a29a567439..1e34f0aaef88e9 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test7/test7.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test7/test7.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_printf_test7_paltest_printf_test7, "c_runtime/printf/test7/paltest_printf_test7")
{
WCHAR wb = (WCHAR) 'b';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test7/testinfo.dat
deleted file mode 100644
index 62dfef223a74b8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test7/testinfo.dat
+++ /dev/null
@@ -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 = printf
-Name = Positive Test for printf
-TYPE = DEFAULT
-EXE1 = test7
-Description
-= Tests printf with wide characters
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test8/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test8/CMakeLists.txt
deleted file mode 100644
index b79c169cf95a7d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test8/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test8.cpp
-)
-
-add_executable(paltest_printf_test8
- ${SOURCES}
-)
-
-add_dependencies(paltest_printf_test8 coreclrpal)
-
-target_link_libraries(paltest_printf_test8
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test8/test8.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test8/test8.cpp
index bf3f76d4c9be2a..7b93fda0e8011c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test8/test8.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test8/test8.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_printf_test8_paltest_printf_test8, "c_runtime/printf/test8/paltest_printf_test8")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test8/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test8/testinfo.dat
deleted file mode 100644
index 70d98766882315..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test8/testinfo.dat
+++ /dev/null
@@ -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 = printf
-Name = Positive Test for printf
-TYPE = DEFAULT
-EXE1 = test8
-Description
-= Tests printf with decimal numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test9/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test9/CMakeLists.txt
deleted file mode 100644
index f7aea6862d1c3c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test9/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test9.cpp
-)
-
-add_executable(paltest_printf_test9
- ${SOURCES}
-)
-
-add_dependencies(paltest_printf_test9 coreclrpal)
-
-target_link_libraries(paltest_printf_test9
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test9/test9.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test9/test9.cpp
index bad50d00a9ee39..00de8a2abc19b4 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test9/test9.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test9/test9.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_printf_test9_paltest_printf_test9, "c_runtime/printf/test9/paltest_printf_test9")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test9/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test9/testinfo.dat
deleted file mode 100644
index 4737eb08553d7d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/printf/test9/testinfo.dat
+++ /dev/null
@@ -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 = printf
-Name = Positive Test for printf
-TYPE = DEFAULT
-EXE1 = test9
-Description
-= Tests printf with integer numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/test1/CMakeLists.txt
deleted file mode 100644
index 56e2de25e5056e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_qsort_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_qsort_test1 coreclrpal)
-
-target_link_libraries(paltest_qsort_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/test1/test1.cpp
index 674ec965fc8cd1..57b288a809ea5f 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/test1/test1.cpp
@@ -13,12 +13,12 @@
#include
-int __cdecl charcmp(const void *pa, const void *pb)
+int __cdecl charcmp_qsort_test1(const void *pa, const void *pb)
{
return memcmp(pa, pb, 1);
}
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_qsort_test1_paltest_qsort_test1, "c_runtime/qsort/test1/paltest_qsort_test1")
{
char before[] = "cgaiehdbjf";
const char after[] = "abcdefghij";
@@ -29,7 +29,7 @@ int __cdecl main(int argc, char **argv)
}
- qsort(before, sizeof(before) - 1, sizeof(char), charcmp);
+ qsort(before, sizeof(before) - 1, sizeof(char), charcmp_qsort_test1);
if (memcmp(before, after, sizeof(before)) != 0)
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/test1/testinfo.dat
deleted file mode 100644
index d15798b1a92ee4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/test1/testinfo.dat
+++ /dev/null
@@ -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 = qsort
-Name = Positive Test for qsort
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Calls qsort to sort a buffer, and verifies that it has done the job correctly.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/test2/CMakeLists.txt
deleted file mode 100644
index f3f8993479318f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_qsort_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_qsort_test2 coreclrpal)
-
-target_link_libraries(paltest_qsort_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/test2/test2.cpp
index 9500002a939b8d..20d76c5677e3d3 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/test2/test2.cpp
@@ -13,12 +13,12 @@
#include
-int __cdecl twocharcmp(const void *pa, const void *pb)
+int __cdecl twocharcmp_qsort_test2(const void *pa, const void *pb)
{
return memcmp(pa, pb, 2);
}
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_qsort_test2_paltest_qsort_test2, "c_runtime/qsort/test2/paltest_qsort_test2")
{
char before[] = "ccggaaiieehhddbbjjff";
const char after[] = "aabbccddeeffgghhiijj";
@@ -29,7 +29,7 @@ int __cdecl main(int argc, char **argv)
}
- qsort(before, (sizeof(before) - 1) / 2, 2 * sizeof(char), twocharcmp);
+ qsort(before, (sizeof(before) - 1) / 2, 2 * sizeof(char), twocharcmp_qsort_test2);
if (memcmp(before, after, sizeof(before)) != 0)
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/test2/testinfo.dat
deleted file mode 100644
index 8946ab67a5b6fd..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/qsort/test2/testinfo.dat
+++ /dev/null
@@ -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 = qsort
-Name = Positive Test for qsort
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Calls qsort to sort a buffer, and verifies that it has done the job correctly.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/rand_srand/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/rand_srand/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/rand_srand/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/rand_srand/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/rand_srand/test1/CMakeLists.txt
deleted file mode 100644
index fd44b33443bab4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/rand_srand/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_rand_srand_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_rand_srand_test1 coreclrpal)
-
-target_link_libraries(paltest_rand_srand_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/rand_srand/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/rand_srand/test1/test1.cpp
index 68888ca8e5fb48..fea66560c1fd85 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/rand_srand/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/rand_srand/test1/test1.cpp
@@ -21,7 +21,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_rand_srand_test1_paltest_rand_srand_test1, "c_runtime/rand_srand/test1/paltest_rand_srand_test1")
{
int RandNumber[10];
int TempRandNumber;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/rand_srand/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/rand_srand/test1/testinfo.dat
deleted file mode 100644
index 272e23f038f768..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/rand_srand/test1/testinfo.dat
+++ /dev/null
@@ -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 = rand and srand
-Name = Positive Test for rand and srand
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Call rand without srand and get 10 random number batch 1.
-= call srand with seed 2, get 10 other random number and verify
-= that numbers are different from the batch 1.
-= Set the seed to 1, get 10 other random number and verify
-= that the generated number are the same as batch 1.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/realloc/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/realloc/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/realloc/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/realloc/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/realloc/test1/CMakeLists.txt
deleted file mode 100644
index b57d84b91b5a0a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/realloc/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_realloc_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_realloc_test1 coreclrpal)
-
-target_link_libraries(paltest_realloc_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/realloc/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/realloc/test1/test1.cpp
index ff812e1f0d5067..edd075da23f70e 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/realloc/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/realloc/test1/test1.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_realloc_test1_paltest_realloc_test1, "c_runtime/realloc/test1/paltest_realloc_test1")
{
char *testA;
const int len1 = 10;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/realloc/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/realloc/test1/testinfo.dat
deleted file mode 100644
index 710109597425fc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/realloc/test1/testinfo.dat
+++ /dev/null
@@ -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 = realloc
-Name = Positive Test for realloc
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Uses realloc to allocate and realloate memory, checking that memory
-= contents are copied when the memory is reallocated.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbn/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbn/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbn/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbn/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbn/test1/CMakeLists.txt
deleted file mode 100644
index 96abef47fc1459..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbn/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_scalbn_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_scalbn_test1 coreclrpal)
-
-target_link_libraries(paltest_scalbn_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbn/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbn/test1/test1.cpp
index 22c61328edd0f8..a36f2de02ede12 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbn/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbn/test1/test1.cpp
@@ -41,11 +41,11 @@ struct test
};
/**
- * validate
+ * scalbn_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, int exponent, double expected, double variance)
+void __cdecl scalbn_test1_validate(double value, int exponent, double expected, double variance)
{
double result = scalbn(value, exponent);
@@ -63,11 +63,11 @@ void __cdecl validate(double value, int exponent, double expected, double varian
}
/**
- * validate
+ * scalbn_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value, int exponent)
+void __cdecl scalbn_test1_validate_isnan(double value, int exponent)
{
double result = scalbn(value, exponent);
@@ -83,7 +83,7 @@ void __cdecl validate_isnan(double value, int exponent)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_scalbn_test1_paltest_scalbn_test1, "c_runtime/scalbn/test1/paltest_scalbn_test1")
{
struct test tests[] =
{
@@ -129,10 +129,10 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].value, tests[i].exponent, tests[i].expected, tests[i].variance);
+ scalbn_test1_validate(tests[i].value, tests[i].exponent, tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN, 2147483647);
+ scalbn_test1_validate_isnan(PAL_NAN, 2147483647);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbn/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbn/test1/testinfo.dat
deleted file mode 100644
index d39477b81d815d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbn/test1/testinfo.dat
+++ /dev/null
@@ -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 = scalbn
-Name = Call scalbn with some std input/output.
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Call the scalbn function with various num/exponent pairs
-= that should produce std answers.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbnf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbnf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbnf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbnf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbnf/test1/CMakeLists.txt
deleted file mode 100644
index c5a1dc2872cdab..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbnf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_scalbnf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_scalbnf_test1 coreclrpal)
-
-target_link_libraries(paltest_scalbnf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbnf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbnf/test1/test1.cpp
similarity index 91%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/scalbnf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/scalbnf/test1/test1.cpp
index 10c7b2a7178e89..28ac6405bfebeb 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbnf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbnf/test1/test1.cpp
@@ -40,11 +40,11 @@ struct test
};
/**
- * validate
+ * scalbnf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, int exponent, float expected, float variance)
+void __cdecl scalbnf_test1_validate(float value, int exponent, float expected, float variance)
{
float result = scalbnf(value, exponent);
@@ -62,11 +62,11 @@ void __cdecl validate(float value, int exponent, float expected, float variance)
}
/**
- * validate
+ * scalbnf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value, int exponent)
+void __cdecl scalbnf_test1_validate_isnan(float value, int exponent)
{
float result = scalbnf(value, exponent);
@@ -82,7 +82,7 @@ void __cdecl validate_isnan(float value, int exponent)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_scalbnf_test1_paltest_scalbnf_test1, "c_runtime/scalbnf/test1/paltest_scalbnf_test1")
{
struct test tests[] =
{
@@ -128,10 +128,10 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].value, tests[i].exponent, tests[i].expected, tests[i].variance);
+ scalbnf_test1_validate(tests[i].value, tests[i].exponent, tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN, 2147483647);
+ scalbnf_test1_validate_isnan(PAL_NAN, 2147483647);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbnf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbnf/test1/testinfo.dat
deleted file mode 100644
index 3fe3745eacfdf5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/scalbnf/test1/testinfo.dat
+++ /dev/null
@@ -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 = scalbnf
-Name = Call scalbnf with some std input/output.
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Call the scalbnf function with various num/expfonent pairs
-= that should produce std answers.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sin/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sin/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sin/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sin/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sin/test1/CMakeLists.txt
deleted file mode 100644
index 6a7549a6bdb9a9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sin/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_sin_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_sin_test1 coreclrpal)
-
-target_link_libraries(paltest_sin_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sin/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sin/test1/test1.cpp
index 7c83f7281f5517..bcfeb4baa05158 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sin/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sin/test1/test1.cpp
@@ -45,11 +45,11 @@ struct test
};
/**
- * validate
+ * sin_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl sin_test1_validate(double value, double expected, double variance)
{
double result = sin(value);
@@ -67,11 +67,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * sin_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl sin_test1_validate_isnan(double value)
{
double result = sin(value);
@@ -87,7 +87,7 @@ void __cdecl validate_isnan(double value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_sin_test1_paltest_sin_test1, "c_runtime/sin/test1/paltest_sin_test1")
{
struct test tests[] =
{
@@ -117,13 +117,13 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, -tests[i].expected, tests[i].variance);
+ sin_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ sin_test1_validate(-tests[i].value, -tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NEGINF);
- validate_isnan(PAL_NAN);
- validate_isnan(PAL_POSINF);
+ sin_test1_validate_isnan(PAL_NEGINF);
+ sin_test1_validate_isnan(PAL_NAN);
+ sin_test1_validate_isnan(PAL_POSINF);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sin/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sin/test1/testinfo.dat
deleted file mode 100644
index 8ec3977815bd99..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sin/test1/testinfo.dat
+++ /dev/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 = sin
-Name = Positive Test for sin
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to sin() a series of angle value, checking that
-= each one return to correct value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sinf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sinf/test1/CMakeLists.txt
deleted file mode 100644
index 76ceb1e94d10c3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_sinf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_sinf_test1 coreclrpal)
-
-target_link_libraries(paltest_sinf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/sinf/test1/test1.cpp
similarity index 87%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/sinf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/sinf/test1/test1.cpp
index 0fa2935f1907b3..1481843fed4735 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sinf/test1/test1.cpp
@@ -44,11 +44,11 @@ struct test
};
/**
- * validate
+ * sinf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl sinf_test1_validate(float value, float expected, float variance)
{
float result = sinf(value);
@@ -66,11 +66,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * sinf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl sinf_test1_validate_isnan(float value)
{
float result = sinf(value);
@@ -86,7 +86,7 @@ void __cdecl validate_isnan(float value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_sinf_test1_paltest_sinf_test1, "c_runtime/sinf/test1/paltest_sinf_test1")
{
struct test tests[] =
{
@@ -116,13 +116,13 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, -tests[i].expected, tests[i].variance);
+ sinf_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ sinf_test1_validate(-tests[i].value, -tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NEGINF);
- validate_isnan(PAL_NAN);
- validate_isnan(PAL_POSINF);
+ sinf_test1_validate_isnan(PAL_NEGINF);
+ sinf_test1_validate_isnan(PAL_NAN);
+ sinf_test1_validate_isnan(PAL_POSINF);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sinf/test1/testinfo.dat
deleted file mode 100644
index 2d70efaab92875..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinf/test1/testinfo.dat
+++ /dev/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 = sinf
-Name = Positive Test for sinf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to sinf() a series of angle value, checking that
-= each one return to correct value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinh/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sinh/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinh/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinh/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sinh/test1/CMakeLists.txt
deleted file mode 100644
index bd74171f425212..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinh/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_sinh_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_sinh_test1 coreclrpal)
-
-target_link_libraries(paltest_sinh_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinh/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sinh/test1/test1.cpp
index 5dc6282a022104..2879bf16aea92e 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinh/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sinh/test1/test1.cpp
@@ -45,11 +45,11 @@ struct test
};
/**
- * validate
+ * sinh_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl sinh_test1_validate(double value, double expected, double variance)
{
double result = sinh(value);
@@ -67,11 +67,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * sinh_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl sinh_test1_validate_isnan(double value)
{
double result = sinh(value);
@@ -87,7 +87,7 @@ void __cdecl validate_isnan(double value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_sinh_test1_paltest_sinh_test1, "c_runtime/sinh/test1/paltest_sinh_test1")
{
struct test tests[] =
{
@@ -118,11 +118,11 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, -tests[i].expected, tests[i].variance);
+ sinh_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ sinh_test1_validate(-tests[i].value, -tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ sinh_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinh/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sinh/test1/testinfo.dat
deleted file mode 100644
index a8f09d8fc28b19..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinh/test1/testinfo.dat
+++ /dev/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 = sinh
-Name = Positive Test for sinh
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to sinh() a series of angle value, checking that
-= each one return to correct value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinhf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sinhf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinhf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinhf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sinhf/test1/CMakeLists.txt
deleted file mode 100644
index 811324b05db541..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinhf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_sinhf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_sinhf_test1 coreclrpal)
-
-target_link_libraries(paltest_sinhf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinhf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/sinhf/test1/test1.cpp
similarity index 89%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/sinhf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/sinhf/test1/test1.cpp
index 6c00b85996970c..a67ab96a4101e6 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinhf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sinhf/test1/test1.cpp
@@ -44,11 +44,11 @@ struct test
};
/**
- * validate
+ * sinhf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl sinhf_test1_validate(float value, float expected, float variance)
{
float result = sinhf(value);
@@ -66,11 +66,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * sinhf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl sinhf_test1_validate_isnan(float value)
{
float result = sinhf(value);
@@ -86,7 +86,7 @@ void __cdecl validate_isnan(float value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_sinhf_test1_paltest_sinhf_test1, "c_runtime/sinhf/test1/paltest_sinhf_test1")
{
struct test tests[] =
{
@@ -117,11 +117,11 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, -tests[i].expected, tests[i].variance);
+ sinhf_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ sinhf_test1_validate(-tests[i].value, -tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ sinhf_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinhf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sinhf/test1/testinfo.dat
deleted file mode 100644
index 1af96771ef9141..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sinhf/test1/testinfo.dat
+++ /dev/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 = sinhf
-Name = Positive Test for sinhf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to sinhf() a series of angle value, checking that
-= each one return to correct value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/CMakeLists.txt
deleted file mode 100644
index b29c7c438bd107..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/CMakeLists.txt
+++ /dev/null
@@ -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)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/sprintf_s.h b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/sprintf_s.h
index cc3eff5fd95430..8cfe4507ac1b87 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/sprintf_s.h
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/sprintf_s.h
@@ -13,7 +13,7 @@
#ifndef __SPRINTF_S_H__
#define __SPRINTF_S_H__
-void DoStrTest(const char *formatstr, char* param, const char *checkstr)
+inline void DoStrTest_sprintf_s(const char *formatstr, char* param, const char *checkstr)
{
char buf[256] = { 0 };
@@ -25,8 +25,9 @@ void DoStrTest(const char *formatstr, char* param, const char *checkstr)
param, formatstr, checkstr, buf);
}
}
+#define DoStrTest DoStrTest_sprintf_s
-void DoWStrTest(const char *formatstr, WCHAR* param, const char *checkstr)
+inline void DoWStrTest_sprintf_s(const char *formatstr, WCHAR* param, const char *checkstr)
{
char buf[256] = { 0 };
@@ -38,8 +39,9 @@ void DoWStrTest(const char *formatstr, WCHAR* param, const char *checkstr)
convertC(param), formatstr, checkstr, buf);
}
}
+#define DoWStrTest DoWStrTest_sprintf_s
-void DoPointerTest(const char *formatstr, void* param, char* paramstr,
+inline void DoPointerTest_sprintf_s(const char *formatstr, void* param, char* paramstr,
const char *checkstr1)
{
char buf[256] = { 0 };
@@ -52,8 +54,9 @@ void DoPointerTest(const char *formatstr, void* param, char* paramstr,
paramstr, formatstr, checkstr1, buf);
}
}
+#define DoPointerTest DoPointerTest_sprintf_s
-void DoCountTest(const char *formatstr, int param, const char *checkstr)
+inline void DoCountTest_sprintf_s(const char *formatstr, int param, const char *checkstr)
{
char buf[512] = { 0 };
int n = -1;
@@ -70,8 +73,9 @@ void DoCountTest(const char *formatstr, int param, const char *checkstr)
Fail("ERROR: Expected \"%s\" got \"%s\".\n", checkstr, buf);
}
}
+#define DoCountTest DoCountTest_sprintf_s
-void DoShortCountTest(const char *formatstr, int param, const char *checkstr)
+inline void DoShortCountTest_sprintf_s(const char *formatstr, int param, const char *checkstr)
{
char buf[256] = { 0 };
short int n = -1;
@@ -88,9 +92,9 @@ void DoShortCountTest(const char *formatstr, int param, const char *checkstr)
Fail("ERROR: Expected \"%s\" got \"%s\".\n", checkstr, buf);
}
}
+#define DoShortCountTest DoShortCountTest_sprintf_s
-
-void DoCharTest(const char *formatstr, char param, const char *checkstr)
+inline void DoCharTest_sprintf_s(const char *formatstr, char param, const char *checkstr)
{
char buf[256] = { 0 };
@@ -102,8 +106,9 @@ void DoCharTest(const char *formatstr, char param, const char *checkstr)
param, param, formatstr, checkstr, buf);
}
}
+#define DoCharTest DoCharTest_sprintf_s
-void DoWCharTest(const char *formatstr, WCHAR param, const char *checkstr)
+inline void DoWCharTest_sprintf_s(const char *formatstr, WCHAR param, const char *checkstr)
{
char buf[256] = { 0 };
@@ -115,8 +120,9 @@ void DoWCharTest(const char *formatstr, WCHAR param, const char *checkstr)
(char)param, param, formatstr, checkstr, buf);
}
}
+#define DoWCharTest DoWCharTest_sprintf_s
-void DoNumTest(const char *formatstr, int value, const char *checkstr)
+inline void DoNumTest_sprintf_s(const char *formatstr, int value, const char *checkstr)
{
char buf[256] = { 0 };
@@ -128,8 +134,9 @@ void DoNumTest(const char *formatstr, int value, const char *checkstr)
value, formatstr, checkstr, buf);
}
}
+#define DoNumTest DoNumTest_sprintf_s
-void DoI64Test(const char *formatstr, INT64 value, char *valuestr, const char *checkstr1)
+inline void DoI64Test_sprintf_s(const char *formatstr, INT64 value, char *valuestr, const char *checkstr1)
{
char buf[256] = { 0 };
@@ -141,8 +148,9 @@ void DoI64Test(const char *formatstr, INT64 value, char *valuestr, const char *c
valuestr, formatstr, checkstr1, buf);
}
}
+#define DoI64Test DoI64Test_sprintf_s
-void DoDoubleTest(const char *formatstr, double value, const char *checkstr1,
+inline void DoDoubleTest_sprintf_s(const char *formatstr, double value, const char *checkstr1,
const char *checkstr2)
{
char buf[256] = { 0 };
@@ -156,8 +164,9 @@ void DoDoubleTest(const char *formatstr, double value, const char *checkstr1,
value, formatstr, checkstr1, checkstr2, buf);
}
}
+#define DoDoubleTest DoDoubleTest_sprintf_s
-void DoArgumentPrecTest(const char *formatstr, int precision, void *param,
+inline void DoArgumentPrecTest_sprintf_s(const char *formatstr, int precision, void *param,
char *paramstr, const char *checkstr1, const char *checkstr2)
{
char buf[256];
@@ -172,8 +181,9 @@ void DoArgumentPrecTest(const char *formatstr, int precision, void *param,
}
}
+#define DoArgumentPrecTest DoArgumentPrecTest_sprintf_s
-void DoArgumentPrecDoubleTest(const char *formatstr, int precision, double param,
+inline void DoArgumentPrecDoubleTest_sprintf_s(const char *formatstr, int precision, double param,
const char *checkstr1, const char *checkstr2)
{
char buf[256];
@@ -188,6 +198,7 @@ void DoArgumentPrecDoubleTest(const char *formatstr, int precision, double param
}
}
+#define DoArgumentPrecDoubleTest DoArgumentPrecDoubleTest_sprintf_s
#endif
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test1/CMakeLists.txt
deleted file mode 100644
index d190fd7beb5238..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_sprintf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_sprintf_test1 coreclrpal)
-
-target_link_libraries(paltest_sprintf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test1/test1.cpp
index 95cabe068c3b28..12342858aff78b 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test1/test1.cpp
@@ -20,7 +20,7 @@
* Depends on memcmp and strlen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sprintf_s_test1_paltest_sprintf_test1, "c_runtime/sprintf_s/test1/paltest_sprintf_test1")
{
char checkstr[] = "hello world";
char buf[256];
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test1/testinfo.dat
deleted file mode 100644
index dd7e48e96b2da7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test1/testinfo.dat
+++ /dev/null
@@ -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
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test10/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test10/CMakeLists.txt
deleted file mode 100644
index 6ebb5559129310..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test10/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test10.cpp
-)
-
-add_executable(paltest_sprintf_test10
- ${SOURCES}
-)
-
-add_dependencies(paltest_sprintf_test10 coreclrpal)
-
-target_link_libraries(paltest_sprintf_test10
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test10/test10.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test10/test10.cpp
index fec2123687552f..915fae9900ec9e 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test10/test10.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test10/test10.cpp
@@ -20,7 +20,7 @@
* Depends on memcmp and strlen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sprintf_s_test10_paltest_sprintf_test10, "c_runtime/sprintf_s/test10/paltest_sprintf_test10")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test10/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test10/testinfo.dat
deleted file mode 100644
index 5bef07c257d635..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test10/testinfo.dat
+++ /dev/null
@@ -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
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test11/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test11/CMakeLists.txt
deleted file mode 100644
index 417db26057c44d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test11/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test11.cpp
-)
-
-add_executable(paltest_sprintf_test11
- ${SOURCES}
-)
-
-add_dependencies(paltest_sprintf_test11 coreclrpal)
-
-target_link_libraries(paltest_sprintf_test11
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test11/test11.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test11/test11.cpp
index d2d21e3222c6ae..4ce47e7ae3fa33 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test11/test11.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test11/test11.cpp
@@ -20,7 +20,7 @@
* Depends on memcmp and strlen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sprintf_s_test11_paltest_sprintf_test11, "c_runtime/sprintf_s/test11/paltest_sprintf_test11")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test11/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test11/testinfo.dat
deleted file mode 100644
index c65a26c7081231..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test11/testinfo.dat
+++ /dev/null
@@ -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
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test12/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test12/CMakeLists.txt
deleted file mode 100644
index c9c1025217bff6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test12/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test12.cpp
-)
-
-add_executable(paltest_sprintf_test12
- ${SOURCES}
-)
-
-add_dependencies(paltest_sprintf_test12 coreclrpal)
-
-target_link_libraries(paltest_sprintf_test12
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test12/test12.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test12/test12.cpp
index 44da16677ac0f3..b41cf9b631faf9 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test12/test12.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test12/test12.cpp
@@ -20,7 +20,7 @@
* Depends on memcmp and strlen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sprintf_s_test12_paltest_sprintf_test12, "c_runtime/sprintf_s/test12/paltest_sprintf_test12")
{
int neg = -42;
int pos = 0x1234ab;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test12/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test12/testinfo.dat
deleted file mode 100644
index 99db86d551dbb6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test12/testinfo.dat
+++ /dev/null
@@ -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)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test13/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test13/CMakeLists.txt
deleted file mode 100644
index 7c5c01483cdb12..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test13/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test13.cpp
-)
-
-add_executable(paltest_sprintf_test13
- ${SOURCES}
-)
-
-add_dependencies(paltest_sprintf_test13 coreclrpal)
-
-target_link_libraries(paltest_sprintf_test13
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test13/test13.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test13/test13.cpp
index 7542bb6fa78a60..be0ba077bea8e9 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test13/test13.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test13/test13.cpp
@@ -20,7 +20,7 @@
* Depends on memcmp and strlen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sprintf_s_test13_paltest_sprintf_test13, "c_runtime/sprintf_s/test13/paltest_sprintf_test13")
{
int neg = -42;
int pos = 0x1234AB;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test13/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test13/testinfo.dat
deleted file mode 100644
index 9ec9a9f53d91ba..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test13/testinfo.dat
+++ /dev/null
@@ -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)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test14/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test14/CMakeLists.txt
deleted file mode 100644
index f85869a52bcb16..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test14/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test14.cpp
-)
-
-add_executable(paltest_sprintf_test14
- ${SOURCES}
-)
-
-add_dependencies(paltest_sprintf_test14 coreclrpal)
-
-target_link_libraries(paltest_sprintf_test14
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test14/test14.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test14/test14.cpp
index 21b900d87d0657..74c7b199f3576d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test14/test14.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test14/test14.cpp
@@ -20,7 +20,7 @@
* Depends on memcmp and strlen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sprintf_s_test14_paltest_sprintf_test14, "c_runtime/sprintf_s/test14/paltest_sprintf_test14")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test14/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test14/testinfo.dat
deleted file mode 100644
index d9d2d7dd4ebd3a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test14/testinfo.dat
+++ /dev/null
@@ -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)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test15/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test15/CMakeLists.txt
deleted file mode 100644
index 99bd4cf858aed5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test15/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test15.cpp
-)
-
-add_executable(paltest_sprintf_test15
- ${SOURCES}
-)
-
-add_dependencies(paltest_sprintf_test15 coreclrpal)
-
-target_link_libraries(paltest_sprintf_test15
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test15/test15.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test15/test15.cpp
index 17b4020ec0ddeb..1854436ee80458 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test15/test15.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test15/test15.cpp
@@ -20,7 +20,7 @@
* Depends on memcmp and strlen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sprintf_s_test15_paltest_sprintf_test15, "c_runtime/sprintf_s/test15/paltest_sprintf_test15")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test15/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test15/testinfo.dat
deleted file mode 100644
index 458ef784771d59..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test15/testinfo.dat
+++ /dev/null
@@ -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 = test15
-Description
-= Tests sprintf_s with exponential format doubles (uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test16/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test16/CMakeLists.txt
deleted file mode 100644
index 1d57f8134f990d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test16/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test16.cpp
-)
-
-add_executable(paltest_sprintf_test16
- ${SOURCES}
-)
-
-add_dependencies(paltest_sprintf_test16 coreclrpal)
-
-target_link_libraries(paltest_sprintf_test16
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test16/test16.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test16/test16.cpp
index b25a48633b4f95..b3cea7ebf163dc 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test16/test16.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test16/test16.cpp
@@ -19,7 +19,7 @@
* Depends on memcmp and strlen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sprintf_s_test16_paltest_sprintf_test16, "c_runtime/sprintf_s/test16/paltest_sprintf_test16")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test16/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test16/testinfo.dat
deleted file mode 100644
index a40e69e531051c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test16/testinfo.dat
+++ /dev/null
@@ -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 = test16
-Description
-= Tests sprintf_s with decimal point format doubles
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test17/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test17/CMakeLists.txt
deleted file mode 100644
index 336639aef6fdae..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test17/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test17.cpp
-)
-
-add_executable(paltest_sprintf_test17
- ${SOURCES}
-)
-
-add_dependencies(paltest_sprintf_test17 coreclrpal)
-
-target_link_libraries(paltest_sprintf_test17
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test17/test17.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test17/test17.cpp
index 1cf0aaa4f31c16..daa05ba7a0f626 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test17/test17.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test17/test17.cpp
@@ -20,7 +20,7 @@
* Depends on memcmp and strlen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sprintf_s_test17_paltest_sprintf_test17, "c_runtime/sprintf_s/test17/paltest_sprintf_test17")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test17/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test17/testinfo.dat
deleted file mode 100644
index 2782f03bb863b9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test17/testinfo.dat
+++ /dev/null
@@ -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 = test17
-Description
-= Tests sprintf_s with compact format doubles (lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test18/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test18/CMakeLists.txt
deleted file mode 100644
index abf954908f7b5b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test18/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test18.cpp
-)
-
-add_executable(paltest_sprintf_test18
- ${SOURCES}
-)
-
-add_dependencies(paltest_sprintf_test18 coreclrpal)
-
-target_link_libraries(paltest_sprintf_test18
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test18/test18.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test18/test18.cpp
index e3130105f9c2bd..abb9a0b7b70a68 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test18/test18.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test18/test18.cpp
@@ -19,7 +19,7 @@
* Depends on memcmp and strlen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sprintf_s_test18_paltest_sprintf_test18, "c_runtime/sprintf_s/test18/paltest_sprintf_test18")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test18/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test18/testinfo.dat
deleted file mode 100644
index e93e01f2b11c42..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test18/testinfo.dat
+++ /dev/null
@@ -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 = test18
-Description
-= Tests sprintf_s with compact format doubles (uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test19/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test19/CMakeLists.txt
deleted file mode 100644
index 79d22af70b0acf..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test19/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test19.cpp
-)
-
-add_executable(paltest_sprintf_test19
- ${SOURCES}
-)
-
-add_dependencies(paltest_sprintf_test19 coreclrpal)
-
-target_link_libraries(paltest_sprintf_test19
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test19/test19.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test19/test19.cpp
index 98be4e8e1ed963..f5976c996e30fb 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test19/test19.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test19/test19.cpp
@@ -20,7 +20,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sprintf_s_test19_paltest_sprintf_test19, "c_runtime/sprintf_s/test19/paltest_sprintf_test19")
{
int n = -1;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test19/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test19/testinfo.dat
deleted file mode 100644
index ea56b0bb8f031c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test19/testinfo.dat
+++ /dev/null
@@ -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 = test19
-Description
-= Tests sprintf_s with argument specified precision
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test2/CMakeLists.txt
deleted file mode 100644
index da08f52ca795f9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_sprintf_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_sprintf_test2 coreclrpal)
-
-target_link_libraries(paltest_sprintf_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test2/test2.cpp
index efa9e484a9cc94..56371a906e7960 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test2/test2.cpp
@@ -19,7 +19,7 @@
* Depends on memcmp and strlen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sprintf_s_test2_paltest_sprintf_test2, "c_runtime/sprintf_s/test2/paltest_sprintf_test2")
{
if (PAL_Initialize(argc, argv) != 0)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test2/testinfo.dat
deleted file mode 100644
index 1ec448495ffccb..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test2/testinfo.dat
+++ /dev/null
@@ -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 = test2
-Description
-= Tests sprintf_s with strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test3/CMakeLists.txt
deleted file mode 100644
index 5a298edae22b69..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_sprintf_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_sprintf_test3 coreclrpal)
-
-target_link_libraries(paltest_sprintf_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test3/test3.cpp
index f39d667386b9c2..5f1ec06d4b3185 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test3/test3.cpp
@@ -20,7 +20,7 @@
* Depends on memcmp and strlen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sprintf_s_test3_paltest_sprintf_test3, "c_runtime/sprintf_s/test3/paltest_sprintf_test3")
{
if (PAL_Initialize(argc, argv) != 0)
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test3/testinfo.dat
deleted file mode 100644
index cc56fe26478f5f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test3/testinfo.dat
+++ /dev/null
@@ -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 = test3
-Description
-= Tests sprintf_s with wide strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test4/CMakeLists.txt
deleted file mode 100644
index ad306088e0ba00..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_sprintf_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_sprintf_test4 coreclrpal)
-
-target_link_libraries(paltest_sprintf_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test4/test4.cpp
index 67f664d59becde..6d9f3ebe35f093 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test4/test4.cpp
@@ -19,7 +19,7 @@
* Depends on memcmp and strlen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sprintf_s_test4_paltest_sprintf_test4, "c_runtime/sprintf_s/test4/paltest_sprintf_test4")
{
void *ptr = (void*) 0x123456;
INT64 lptr = I64(0x1234567887654321);
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test4/testinfo.dat
deleted file mode 100644
index 617c9b2d3e5bd5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test4/testinfo.dat
+++ /dev/null
@@ -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 = test4
-Description
-= Tests sprintf_s with pointers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test6/CMakeLists.txt
deleted file mode 100644
index 631282956ce7c4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test6.cpp
-)
-
-add_executable(paltest_sprintf_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_sprintf_test6 coreclrpal)
-
-target_link_libraries(paltest_sprintf_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test6/test6.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test6/test6.cpp
index 9682e61f543df6..a535777952e705 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test6/test6.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test6/test6.cpp
@@ -19,7 +19,7 @@
* Depends on memcmp and strlen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sprintf_s_test6_paltest_sprintf_test6, "c_runtime/sprintf_s/test6/paltest_sprintf_test6")
{
WCHAR wc = (WCHAR) 'c';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test6/testinfo.dat
deleted file mode 100644
index 8a8a3f4c986392..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test6/testinfo.dat
+++ /dev/null
@@ -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 = test6
-Description
-= Tests sprintf_s with characters
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test7/CMakeLists.txt
deleted file mode 100644
index c4261ef4cc40e1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test7.cpp
-)
-
-add_executable(paltest_sprintf_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_sprintf_test7 coreclrpal)
-
-target_link_libraries(paltest_sprintf_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test7/test7.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test7/test7.cpp
index b9dc0a810d57cd..91d18837660cd2 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test7/test7.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test7/test7.cpp
@@ -20,7 +20,7 @@
* Depends on memcmp and strlen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sprintf_s_test7_paltest_sprintf_test7, "c_runtime/sprintf_s/test7/paltest_sprintf_test7")
{
WCHAR wb = (WCHAR) 'b';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test7/testinfo.dat
deleted file mode 100644
index 38fa9371fe5959..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test7/testinfo.dat
+++ /dev/null
@@ -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 = test7
-Description
-= Tests sprintf_s with wide characters
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test8/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test8/CMakeLists.txt
deleted file mode 100644
index dc12c5dae591a3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test8/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test8.cpp
-)
-
-add_executable(paltest_sprintf_test8
- ${SOURCES}
-)
-
-add_dependencies(paltest_sprintf_test8 coreclrpal)
-
-target_link_libraries(paltest_sprintf_test8
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test8/test8.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test8/test8.cpp
index 70d0c6e1e09526..1a5153c343daf0 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test8/test8.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test8/test8.cpp
@@ -20,7 +20,7 @@
* Depends on memcmp and strlen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sprintf_s_test8_paltest_sprintf_test8, "c_runtime/sprintf_s/test8/paltest_sprintf_test8")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test8/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test8/testinfo.dat
deleted file mode 100644
index 8c9e8cff321b0d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test8/testinfo.dat
+++ /dev/null
@@ -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 = test8
-Description
-= Tests sprintf_s with decimal numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test9/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test9/CMakeLists.txt
deleted file mode 100644
index 28f2802953de2e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test9/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test9.cpp
-)
-
-add_executable(paltest_sprintf_test9
- ${SOURCES}
-)
-
-add_dependencies(paltest_sprintf_test9 coreclrpal)
-
-target_link_libraries(paltest_sprintf_test9
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test9/test9.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test9/test9.cpp
index d7e67a245b8d72..5804db818d4de5 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test9/test9.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test9/test9.cpp
@@ -20,7 +20,7 @@
* Depends on memcmp and strlen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sprintf_s_test9_paltest_sprintf_test9, "c_runtime/sprintf_s/test9/paltest_sprintf_test9")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test9/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test9/testinfo.dat
deleted file mode 100644
index beb708ae943cec..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sprintf_s/test9/testinfo.dat
+++ /dev/null
@@ -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 = test9
-Description
-= Tests sprintf_s with integer numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrt/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrt/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrt/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrt/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrt/test1/CMakeLists.txt
deleted file mode 100644
index 2af8b93d08b17b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrt/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_sqrt_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_sqrt_test1 coreclrpal)
-
-target_link_libraries(paltest_sqrt_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrt/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrt/test1/test1.cpp
index ae1b92fd12e5f1..c86c2cb29bb2dc 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrt/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrt/test1/test1.cpp
@@ -42,11 +42,11 @@ struct test
};
/**
- * validate
+ * sqrt_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl sqrt_test1_validate(double value, double expected, double variance)
{
double result = sqrt(value);
@@ -64,11 +64,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * sqrt_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl sqrt_test1_validate_isnan(double value)
{
double result = sqrt(value);
@@ -79,7 +79,7 @@ void __cdecl validate_isnan(double value)
}
}
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_sqrt_test1_paltest_sqrt_test1, "c_runtime/sqrt/test1/paltest_sqrt_test1")
{
struct test tests[] =
{
@@ -106,16 +106,16 @@ int __cdecl main(int argc, char **argv)
return FAIL;
}
- validate(-0.0, -0.0, PAL_EPSILON);
- validate( 0.0, 0.0, PAL_EPSILON);
+ sqrt_test1_validate(-0.0, -0.0, PAL_EPSILON);
+ sqrt_test1_validate( 0.0, 0.0, PAL_EPSILON);
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].value, tests[i].expected, tests[i].variance);
- validate_isnan(-tests[i].value);
+ sqrt_test1_validate(tests[i].value, tests[i].expected, tests[i].variance);
+ sqrt_test1_validate_isnan(-tests[i].value);
}
- validate_isnan(PAL_NAN);
+ sqrt_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrt/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrt/test1/testinfo.dat
deleted file mode 100644
index 65001382b9aaca..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrt/test1/testinfo.dat
+++ /dev/null
@@ -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 = sqrt
-Name = Call sqrt on positive values and zero.
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Call the sqrt function on a positive value, a positive value
-= with a decimal and on the maxium possible double value.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrtf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrtf/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrtf/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrtf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrtf/test1/CMakeLists.txt
deleted file mode 100644
index 5790f709239ac0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrtf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_sqrtf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_sqrtf_test1 coreclrpal)
-
-target_link_libraries(paltest_sqrtf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrtf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrtf/test1/test1.cpp
similarity index 87%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/sqrtf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/sqrtf/test1/test1.cpp
index ac3941b55f61c0..03cfffda1ee878 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrtf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrtf/test1/test1.cpp
@@ -41,11 +41,11 @@ struct test
};
/**
- * validate
+ * sqrtf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl sqrtf_test1_validate(float value, float expected, float variance)
{
float result = sqrtf(value);
@@ -63,11 +63,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * sqrtf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl sqrtf_test1_validate_isnan(float value)
{
float result = sqrtf(value);
@@ -78,7 +78,7 @@ void __cdecl validate_isnan(float value)
}
}
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_sqrtf_test1_paltest_sqrtf_test1, "c_runtime/sqrtf/test1/paltest_sqrtf_test1")
{
struct test tests[] =
{
@@ -105,16 +105,16 @@ int __cdecl main(int argc, char **argv)
return FAIL;
}
- validate(-0.0f, -0.0f, PAL_EPSILON);
- validate( 0.0f, 0.0f, PAL_EPSILON);
+ sqrtf_test1_validate(-0.0f, -0.0f, PAL_EPSILON);
+ sqrtf_test1_validate( 0.0f, 0.0f, PAL_EPSILON);
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate(tests[i].value, tests[i].expected, tests[i].variance);
- validate_isnan(-tests[i].value);
+ sqrtf_test1_validate(tests[i].value, tests[i].expected, tests[i].variance);
+ sqrtf_test1_validate_isnan(-tests[i].value);
}
- validate_isnan(PAL_NAN);
+ sqrtf_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrtf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrtf/test1/testinfo.dat
deleted file mode 100644
index 1bda2dabe57ce8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sqrtf/test1/testinfo.dat
+++ /dev/null
@@ -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 = sqrtf
-Name = Call sqrtf on positive values and zero.
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Call the sqrtf function on a positive value, a positive value
-= with a decimal and on the maxium possible float value.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/CMakeLists.txt
deleted file mode 100644
index 56b4848b303a24..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/CMakeLists.txt
+++ /dev/null
@@ -1,18 +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(test2)
-add_subdirectory(test3)
-add_subdirectory(test4)
-add_subdirectory(test5)
-add_subdirectory(test6)
-add_subdirectory(test7)
-add_subdirectory(test8)
-add_subdirectory(test9)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/sscanf_s.h b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/sscanf_s.h
index 6ef638c3fabb20..8c66c98fcb0c6f 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/sscanf_s.h
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/sscanf_s.h
@@ -13,7 +13,7 @@
#ifndef __SSCANF_S_H__
#define __SSCANF_S_H__
-void DoVoidTest(char *inputstr, const char *formatstr)
+inline void DoVoidTest_scanf_s(char *inputstr, const char *formatstr)
{
char buf[256] = { 0 };
int i;
@@ -36,8 +36,9 @@ void DoVoidTest(char *inputstr, const char *formatstr)
}
}
+#define DoVoidTest DoVoidTest_scanf_s
-void DoStrTest(char *inputstr, const char *formatstr, const char *checkstr)
+inline void DoStrTest_scanf_s(char *inputstr, const char *formatstr, const char *checkstr)
{
char buf[256] = { 0 };
int ret;
@@ -57,8 +58,9 @@ void DoStrTest(char *inputstr, const char *formatstr, const char *checkstr)
}
}
+#define DoStrTest DoStrTest_scanf_s
-void DoWStrTest(char *inputstr, const char *formatstr, const WCHAR *checkstr)
+inline void DoWStrTest_scanf_s(char *inputstr, const char *formatstr, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
int ret;
@@ -78,8 +80,9 @@ void DoWStrTest(char *inputstr, const char *formatstr, const WCHAR *checkstr)
}
}
+#define DoWStrTest DoWStrTest_scanf_s
-void DoNumTest(char *inputstr, const char *formatstr, int checknum)
+inline void DoNumTest_scanf_s(char *inputstr, const char *formatstr, int checknum)
{
int num;
int ret;
@@ -97,8 +100,9 @@ void DoNumTest(char *inputstr, const char *formatstr, int checknum)
"Expected %d, got %d.\n", inputstr, formatstr, checknum, num);
}
}
+#define DoNumTest DoNumTest_scanf_s
-void DoShortNumTest(char *inputstr, const char *formatstr, short checknum)
+inline void DoShortNumTest_scanf_s(char *inputstr, const char *formatstr, short checknum)
{
short num;
int ret;
@@ -116,8 +120,9 @@ void DoShortNumTest(char *inputstr, const char *formatstr, short checknum)
"Expected %hd, got %hd.\n", inputstr, formatstr, checknum, num);
}
}
+#define DoShortNumTest DoShortNumTest_scanf_s
-void DoI64NumTest(char *inputstr, const char *formatstr, INT64 checknum)
+inline void DoI64NumTest_scanf_s(char *inputstr, const char *formatstr, INT64 checknum)
{
char buf[256];
char check[256];
@@ -139,8 +144,9 @@ void DoI64NumTest(char *inputstr, const char *formatstr, INT64 checknum)
"Expected %s, got %s.\n", inputstr, formatstr, check, buf);
}
}
+#define DoI64NumTest DoI64NumTest_scanf_s
-void DoCharTest(char *inputstr, const char *formatstr, char* checkchars, int numchars)
+inline void DoCharTest_scanf_s(char *inputstr, const char *formatstr, char* checkchars, int numchars)
{
char buf[256];
int ret;
@@ -172,8 +178,9 @@ void DoCharTest(char *inputstr, const char *formatstr, char* checkchars, int num
numchars);
}
}
+#define DoCharTest DoCharTest_scanf_s
-void DoWCharTest(char *inputstr, const char *formatstr, WCHAR* checkchars, int numchars)
+inline void DoWCharTest_scanf_s(char *inputstr, const char *formatstr, WCHAR* checkchars, int numchars)
{
WCHAR buf[256];
int ret;
@@ -205,9 +212,9 @@ void DoWCharTest(char *inputstr, const char *formatstr, WCHAR* checkchars, int n
numchars);
}
}
+#define DoWCharTest DoWCharTest_scanf_s
-
-void DoFloatTest(char *inputstr, const char *formatstr, float checkval)
+inline void DoFloatTest_scanf_s(char *inputstr, const char *formatstr, float checkval)
{
char buf[256] = { 0 };
float val;
@@ -240,6 +247,6 @@ void DoFloatTest(char *inputstr, const char *formatstr, float checkval)
}
}
-
+#define DoFloatTest DoFloatTest_scanf_s
#endif
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test1/CMakeLists.txt
deleted file mode 100644
index 6069fc86a7bc46..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_sscanf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_sscanf_test1 coreclrpal)
-
-target_link_libraries(paltest_sscanf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test1/test1.cpp
index c8c12aa854a894..a359003e135be2 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test1/test1.cpp
@@ -16,7 +16,7 @@
#include "../sscanf_s.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sscanf_s_test1_paltest_sscanf_test1, "c_runtime/sscanf_s/test1/paltest_sscanf_test1")
{
int num;
int ret;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test1/testinfo.dat
deleted file mode 100644
index 03ccc14eb2007a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test1/testinfo.dat
+++ /dev/null
@@ -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 = sscanf_s
-Name = Positive Test for sscanf_s
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= General test of sscanf_s
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test10/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test10/CMakeLists.txt
deleted file mode 100644
index ba3dbad611d88c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test10/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test10.cpp
-)
-
-add_executable(paltest_sscanf_test10
- ${SOURCES}
-)
-
-add_dependencies(paltest_sscanf_test10 coreclrpal)
-
-target_link_libraries(paltest_sscanf_test10
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test10/test10.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test10/test10.cpp
index fb710429db1813..caa94e49742929 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test10/test10.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test10/test10.cpp
@@ -15,7 +15,7 @@
#include
#include "../sscanf_s.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sscanf_s_test10_paltest_sscanf_test10, "c_runtime/sscanf_s/test10/paltest_sscanf_test10")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test10/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test10/testinfo.dat
deleted file mode 100644
index ef47b2b5ab7ce7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test10/testinfo.dat
+++ /dev/null
@@ -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 = sscanf_s
-Name = Positive Test for sscanf_s
-TYPE = DEFAULT
-EXE1 = test10
-Description
-= Tests sscanf_s with wide characters
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test11/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test11/CMakeLists.txt
deleted file mode 100644
index 69f212567b260f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test11/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test11.cpp
-)
-
-add_executable(paltest_sscanf_test11
- ${SOURCES}
-)
-
-add_dependencies(paltest_sscanf_test11 coreclrpal)
-
-target_link_libraries(paltest_sscanf_test11
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test11/test11.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test11/test11.cpp
index 665f006ee076a3..1561351ac1e4ae 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test11/test11.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test11/test11.cpp
@@ -15,7 +15,7 @@
#include
#include "../sscanf_s.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sscanf_s_test11_paltest_sscanf_test11, "c_runtime/sscanf_s/test11/paltest_sscanf_test11")
{
if (PAL_Initialize(argc, argv))
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test11/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test11/testinfo.dat
deleted file mode 100644
index 6dadb849e37ae2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test11/testinfo.dat
+++ /dev/null
@@ -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 = sscanf_s
-Name = Positive Test for sscanf_s
-TYPE = DEFAULT
-EXE1 = test11
-Description
-= Tests sscanf_s with strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test12/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test12/CMakeLists.txt
deleted file mode 100644
index 21dbb424e296a2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test12/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test12.cpp
-)
-
-add_executable(paltest_sscanf_test12
- ${SOURCES}
-)
-
-add_dependencies(paltest_sscanf_test12 coreclrpal)
-
-target_link_libraries(paltest_sscanf_test12
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test12/test12.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test12/test12.cpp
index 912dac26f6d46c..337c8300083a71 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test12/test12.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test12/test12.cpp
@@ -15,7 +15,7 @@
#include
#include "../sscanf_s.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sscanf_s_test12_paltest_sscanf_test12, "c_runtime/sscanf_s/test12/paltest_sscanf_test12")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test12/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test12/testinfo.dat
deleted file mode 100644
index 816f51ee6713ac..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test12/testinfo.dat
+++ /dev/null
@@ -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 = sscanf_s
-Name = Positive Test for sscanf_s
-TYPE = DEFAULT
-EXE1 = test12
-Description
-= Tests sscanf_s with wide strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test13/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test13/CMakeLists.txt
deleted file mode 100644
index 56a1adc73c2903..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test13/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test13.cpp
-)
-
-add_executable(paltest_sscanf_test13
- ${SOURCES}
-)
-
-add_dependencies(paltest_sscanf_test13 coreclrpal)
-
-target_link_libraries(paltest_sscanf_test13
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test13/test13.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test13/test13.cpp
index f7deec83c78efa..0b7648a5173831 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test13/test13.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test13/test13.cpp
@@ -15,7 +15,7 @@
#include
#include "../sscanf_s.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sscanf_s_test13_paltest_sscanf_test13, "c_runtime/sscanf_s/test13/paltest_sscanf_test13")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test13/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test13/testinfo.dat
deleted file mode 100644
index 1e62e1a5c70340..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test13/testinfo.dat
+++ /dev/null
@@ -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 = sscanf_s
-Name = Positive Test for sscanf_s
-TYPE = DEFAULT
-EXE1 = test13
-Description
-= Tests sscanf_s with floats (decimal notation)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test14/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test14/CMakeLists.txt
deleted file mode 100644
index 17cc710e79b990..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test14/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test14.cpp
-)
-
-add_executable(paltest_sscanf_test14
- ${SOURCES}
-)
-
-add_dependencies(paltest_sscanf_test14 coreclrpal)
-
-target_link_libraries(paltest_sscanf_test14
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test14/test14.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test14/test14.cpp
index 091afd61535ed4..f3a975caff34f4 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test14/test14.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test14/test14.cpp
@@ -15,7 +15,7 @@
#include
#include "../sscanf_s.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sscanf_s_test14_paltest_sscanf_test14, "c_runtime/sscanf_s/test14/paltest_sscanf_test14")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test14/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test14/testinfo.dat
deleted file mode 100644
index cf144fe4627211..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test14/testinfo.dat
+++ /dev/null
@@ -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 = sscanf_s
-Name = Positive Test for sscanf_s
-TYPE = DEFAULT
-EXE1 = test14
-Description
-= Tests sscanf_s with floats (exponential notation, lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test15/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test15/CMakeLists.txt
deleted file mode 100644
index d33cbb76d38cb0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test15/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test15.cpp
-)
-
-add_executable(paltest_sscanf_test15
- ${SOURCES}
-)
-
-add_dependencies(paltest_sscanf_test15 coreclrpal)
-
-target_link_libraries(paltest_sscanf_test15
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test15/test15.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test15/test15.cpp
index cf2a30de87b1b8..1cd69a4c7bdc47 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test15/test15.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test15/test15.cpp
@@ -15,7 +15,7 @@
#include
#include "../sscanf_s.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sscanf_s_test15_paltest_sscanf_test15, "c_runtime/sscanf_s/test15/paltest_sscanf_test15")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test15/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test15/testinfo.dat
deleted file mode 100644
index 1e7ac43310c7a9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test15/testinfo.dat
+++ /dev/null
@@ -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 = sscanf_s
-Name = Positive Test for sscanf_s
-TYPE = DEFAULT
-EXE1 = test15
-Description
-= Tests sscanf_s with floats (exponential notation, uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test16/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test16/CMakeLists.txt
deleted file mode 100644
index fc8d924d16950a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test16/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test16.cpp
-)
-
-add_executable(paltest_sscanf_test16
- ${SOURCES}
-)
-
-add_dependencies(paltest_sscanf_test16 coreclrpal)
-
-target_link_libraries(paltest_sscanf_test16
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test16/test16.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test16/test16.cpp
index 546d9fb6206f3a..ff603f82eee442 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test16/test16.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test16/test16.cpp
@@ -15,7 +15,7 @@
#include
#include "../sscanf_s.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sscanf_s_test16_paltest_sscanf_test16, "c_runtime/sscanf_s/test16/paltest_sscanf_test16")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test16/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test16/testinfo.dat
deleted file mode 100644
index 6cc77ce7051118..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test16/testinfo.dat
+++ /dev/null
@@ -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 = sscanf_s
-Name = Positive Test for sscanf_s
-TYPE = DEFAULT
-EXE1 = test16
-Description
-= Tests sscanf_s with floats (compact notation, lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test17/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test17/CMakeLists.txt
deleted file mode 100644
index 8f8f02fd77b27c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test17/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test17.cpp
-)
-
-add_executable(paltest_sscanf_test17
- ${SOURCES}
-)
-
-add_dependencies(paltest_sscanf_test17 coreclrpal)
-
-target_link_libraries(paltest_sscanf_test17
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test17/test17.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test17/test17.cpp
index 0205d4e4210f90..a9a4bd99d259ad 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test17/test17.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test17/test17.cpp
@@ -15,7 +15,7 @@
#include
#include "../sscanf_s.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sscanf_s_test17_paltest_sscanf_test17, "c_runtime/sscanf_s/test17/paltest_sscanf_test17")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test17/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test17/testinfo.dat
deleted file mode 100644
index 555e5e31843057..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test17/testinfo.dat
+++ /dev/null
@@ -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 = sscanf_s
-Name = Positive Test for sscanf_s
-TYPE = DEFAULT
-EXE1 = test17
-Description
-= Tests sscanf_s with floats (compact notation, uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test2/CMakeLists.txt
deleted file mode 100644
index 26b23fd358cbf7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_sscanf_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_sscanf_test2 coreclrpal)
-
-target_link_libraries(paltest_sscanf_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test2/test2.cpp
index 162521a839995d..3579c4b83422b2 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test2/test2.cpp
@@ -22,7 +22,7 @@
* feed), even if it says it only wants spaces tabs and newlines.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sscanf_s_test2_paltest_sscanf_test2, "c_runtime/sscanf_s/test2/paltest_sscanf_test2")
{
if (PAL_Initialize(argc, argv))
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test2/testinfo.dat
deleted file mode 100644
index d3442af413680d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test2/testinfo.dat
+++ /dev/null
@@ -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 = sscanf_s
-Name = Positive Test for sscanf_s
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Test to see if sscanf_s handles whitespace correctly
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test3/CMakeLists.txt
deleted file mode 100644
index 030b000e9d9783..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_sscanf_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_sscanf_test3 coreclrpal)
-
-target_link_libraries(paltest_sscanf_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test3/test3.cpp
index 85e6d8d0cbee2a..eb3b34a10988e4 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test3/test3.cpp
@@ -15,7 +15,7 @@
#include
#include "../sscanf_s.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sscanf_s_test3_paltest_sscanf_test3, "c_runtime/sscanf_s/test3/paltest_sscanf_test3")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test3/testinfo.dat
deleted file mode 100644
index 0125372264cb9e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test3/testinfo.dat
+++ /dev/null
@@ -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 = sscanf_s
-Name = Positive Test for sscanf_s
-TYPE = DEFAULT
-EXE1 = test3
-Description
-= Tests sscanf_s with bracketed set strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test4/CMakeLists.txt
deleted file mode 100644
index a9fa199e48a475..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_sscanf_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_sscanf_test4 coreclrpal)
-
-target_link_libraries(paltest_sscanf_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test4/test4.cpp
index 9caa663f5fba9f..a6348c982bc245 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test4/test4.cpp
@@ -16,7 +16,7 @@
#include "../sscanf_s.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sscanf_s_test4_paltest_sscanf_test4, "c_runtime/sscanf_s/test4/paltest_sscanf_test4")
{
int n65535 = 65535; /* Walkaround compiler strictness */
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test4/testinfo.dat
deleted file mode 100644
index 24436214cd329e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test4/testinfo.dat
+++ /dev/null
@@ -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 = sscanf_s
-Name = Positive Test for sscanf_s
-TYPE = DEFAULT
-EXE1 = test4
-Description
-= Tests sscanf_s with decimal numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test5/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test5/CMakeLists.txt
deleted file mode 100644
index 704116833651d5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test5/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test5.cpp
-)
-
-add_executable(paltest_sscanf_test5
- ${SOURCES}
-)
-
-add_dependencies(paltest_sscanf_test5 coreclrpal)
-
-target_link_libraries(paltest_sscanf_test5
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test5/test5.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test5/test5.cpp
index 35a4498f15789e..4679714df8a3b6 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test5/test5.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test5/test5.cpp
@@ -15,7 +15,7 @@
#include
#include "../sscanf_s.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sscanf_s_test5_paltest_sscanf_test5, "c_runtime/sscanf_s/test5/paltest_sscanf_test5")
{
int n65535 = 65535; /* Walkaround compiler strictness */
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test5/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test5/testinfo.dat
deleted file mode 100644
index 54577ae93e3dfa..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test5/testinfo.dat
+++ /dev/null
@@ -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 = sscanf_s
-Name = Positive Test for sscanf_s
-TYPE = DEFAULT
-EXE1 = test5
-Description
-= Tests sscanf_s with integer numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test6/CMakeLists.txt
deleted file mode 100644
index 7c18d1375a9a39..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test6.cpp
-)
-
-add_executable(paltest_sscanf_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_sscanf_test6 coreclrpal)
-
-target_link_libraries(paltest_sscanf_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test6/test6.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test6/test6.cpp
index d0a75282e4494f..56e0e778f0ecb9 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test6/test6.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test6/test6.cpp
@@ -15,7 +15,7 @@
#include
#include "../sscanf_s.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sscanf_s_test6_paltest_sscanf_test6, "c_runtime/sscanf_s/test6/paltest_sscanf_test6")
{
int n65535 = 65535; /* Walkaround compiler strictness */
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test6/testinfo.dat
deleted file mode 100644
index 7e33d024408e0b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test6/testinfo.dat
+++ /dev/null
@@ -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 = sscanf_s
-Name = Positive Test for sscanf_s
-TYPE = DEFAULT
-EXE1 = test6
-Description
-= Tests sscanf_s with octal numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test7/CMakeLists.txt
deleted file mode 100644
index d80c1386ced615..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test7.cpp
-)
-
-add_executable(paltest_sscanf_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_sscanf_test7 coreclrpal)
-
-target_link_libraries(paltest_sscanf_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test7/test7.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test7/test7.cpp
index 609a29613c03c6..5be10dcc50d4df 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test7/test7.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test7/test7.cpp
@@ -15,7 +15,7 @@
#include
#include "../sscanf_s.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sscanf_s_test7_paltest_sscanf_test7, "c_runtime/sscanf_s/test7/paltest_sscanf_test7")
{
int n65535 = 65535; /* Walkaround compiler strictness */
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test7/testinfo.dat
deleted file mode 100644
index e2b55a7fd7a1bc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test7/testinfo.dat
+++ /dev/null
@@ -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 = sscanf_s
-Name = Positive Test for sscanf_s
-TYPE = DEFAULT
-EXE1 = test7
-Description
-= Tests sscanf_s with hex numbers (lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test8/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test8/CMakeLists.txt
deleted file mode 100644
index d9759d9a43cd3a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test8/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test8.cpp
-)
-
-add_executable(paltest_sscanf_test8
- ${SOURCES}
-)
-
-add_dependencies(paltest_sscanf_test8 coreclrpal)
-
-target_link_libraries(paltest_sscanf_test8
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test8/test8.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test8/test8.cpp
index b447442a924c89..c5c0b9122d9114 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test8/test8.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test8/test8.cpp
@@ -15,7 +15,7 @@
#include
#include "../sscanf_s.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sscanf_s_test8_paltest_sscanf_test8, "c_runtime/sscanf_s/test8/paltest_sscanf_test8")
{
int n65535 = 65535; /* Walkaround compiler strictness */
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test8/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test8/testinfo.dat
deleted file mode 100644
index d68933dd5408e6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test8/testinfo.dat
+++ /dev/null
@@ -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 = sscanf_s
-Name = Positive Test for sscanf_s
-TYPE = DEFAULT
-EXE1 = test8
-Description
-= Tests sscanf_s with unsigned numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test9/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test9/CMakeLists.txt
deleted file mode 100644
index 37b4ad87d63909..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test9/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test9.cpp
-)
-
-add_executable(paltest_sscanf_test9
- ${SOURCES}
-)
-
-add_dependencies(paltest_sscanf_test9 coreclrpal)
-
-target_link_libraries(paltest_sscanf_test9
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test9/test9.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test9/test9.cpp
index 0fcab98f024753..0c53cf84d3d90f 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test9/test9.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test9/test9.cpp
@@ -16,7 +16,7 @@
#include "../sscanf_s.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_sscanf_s_test9_paltest_sscanf_test9, "c_runtime/sscanf_s/test9/paltest_sscanf_test9")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test9/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test9/testinfo.dat
deleted file mode 100644
index 371cd5e31288a1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/sscanf_s/test9/testinfo.dat
+++ /dev/null
@@ -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 = sscanf_s
-Name = Positive Test for sscanf_s
-TYPE = DEFAULT
-EXE1 = test9
-Description
-= Tests sscanf_s with characters
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcat/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strcat/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcat/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcat/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strcat/test1/CMakeLists.txt
deleted file mode 100644
index a08cb2b9054eb3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcat/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_strcat_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_strcat_test1 coreclrpal)
-
-target_link_libraries(paltest_strcat_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcat/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/strcat/test1/test1.cpp
index f5c00c5be4471a..7c8ec61fe9f6e9 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcat/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/strcat/test1/test1.cpp
@@ -17,7 +17,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_strcat_test1_paltest_strcat_test1, "c_runtime/strcat/test1/paltest_strcat_test1")
{
char dest[80];
char *test = "foo bar baz";
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcat/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/strcat/test1/testinfo.dat
deleted file mode 100644
index 145816d7cb7010..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcat/test1/testinfo.dat
+++ /dev/null
@@ -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 = strcat
-Name = Test #1 for strcat
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Concatenate three strings into one string. Each time, check to ensure
-= the pointer returned was what we expected. When finished, compare the
-= newly formed string to what it should be to ensure no characters were
-= lost.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strchr/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strchr/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strchr/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strchr/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strchr/test1/CMakeLists.txt
deleted file mode 100644
index a3e6cf8ed7c14c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strchr/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_strchr_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_strchr_test1 coreclrpal)
-
-target_link_libraries(paltest_strchr_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strchr/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/strchr/test1/test1.cpp
index 0d75dd81dfb19c..44d0b6053c813e 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strchr/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/strchr/test1/test1.cpp
@@ -25,7 +25,7 @@ struct testCase
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_strchr_test1_paltest_strchr_test1, "c_runtime/strchr/test1/paltest_strchr_test1")
{
int i = 0;
char *result;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strchr/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/strchr/test1/testinfo.dat
deleted file mode 100644
index 8c5f6a1214b881..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strchr/test1/testinfo.dat
+++ /dev/null
@@ -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 = strchr
-Name = Test #1 for strchr
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Test this on a character which is in a string, and ensure the pointer
-= points to that character. Then check the string for the null character,
-= which the return pointer should point to. Then search for a character not
-= in the string and check that the return value is NULL.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcmp/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strcmp/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcmp/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcmp/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strcmp/test1/CMakeLists.txt
deleted file mode 100644
index 74d260cc62b880..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcmp/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_strcmp_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_strcmp_test1 coreclrpal)
-
-target_link_libraries(paltest_strcmp_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcmp/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/strcmp/test1/test1.cpp
index 26e00d939cfe97..dadbeb5cb5b334 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcmp/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/strcmp/test1/test1.cpp
@@ -21,24 +21,24 @@ typedef struct
char string2[50];
} testCase;
-testCase testCases[]=
+PALTEST(c_runtime_strcmp_test1_paltest_strcmp_test1, "c_runtime/strcmp/test1/paltest_strcmp_test1")
{
- {0,"Hello","Hello"},
- {1,"hello","Hello"},
- {-1,"Hello","hello"},
- {0,"0Test","0Test"},
- {0,"***???","***???"},
- {0,"Testing the string for string comparison","Testing the string for "
- "string comparison"},
- {-1,"Testing the string for string comparison","Testing the string for "
- "string comparsioa"},
- {1,"Testing the string for string comparison","Testing the string for "
- "comparison"},
- {-1,"aaaabbbbb","aabcdefeccg"}
-};
+ testCase testCases[]=
+ {
+ {0,"Hello","Hello"},
+ {1,"hello","Hello"},
+ {-1,"Hello","hello"},
+ {0,"0Test","0Test"},
+ {0,"***???","***???"},
+ {0,"Testing the string for string comparison","Testing the string for "
+ "string comparison"},
+ {-1,"Testing the string for string comparison","Testing the string for "
+ "string comparsioa"},
+ {1,"Testing the string for string comparison","Testing the string for "
+ "comparison"},
+ {-1,"aaaabbbbb","aabcdefeccg"}
+ };
-int __cdecl main(int argc, char *argv[])
-{
int i = 0;
int result = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcmp/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/strcmp/test1/testinfo.dat
deleted file mode 100644
index ed6838e4205071..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcmp/test1/testinfo.dat
+++ /dev/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 = strcmp
-Name = Test #1 for strcmp
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Compare a number of different strings against each other, ensure that the
-= three return values are given at the appropriate times.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcpy/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strcpy/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcpy/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcpy/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strcpy/test1/CMakeLists.txt
deleted file mode 100644
index 3fc0bfcd48756e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcpy/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_strcpy_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_strcpy_test1 coreclrpal)
-
-target_link_libraries(paltest_strcpy_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcpy/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/strcpy/test1/test1.cpp
index af9f88b1edeeaf..969c360ac0ffd1 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcpy/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/strcpy/test1/test1.cpp
@@ -16,7 +16,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_strcpy_test1_paltest_strcpy_test1, "c_runtime/strcpy/test1/paltest_strcpy_test1")
{
char dest[80];
char *result = "foo";
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcpy/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/strcpy/test1/testinfo.dat
deleted file mode 100644
index 2327a8ca83e963..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcpy/test1/testinfo.dat
+++ /dev/null
@@ -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 = strcpy
-Name = Test #1 for strcpy
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Call the function to copy into an empty buffer. Check that the return value
-= is pointing at the destination buffer. Also compare the string copied to
-= the origional string, to ensure they are the same.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcspn/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strcspn/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcspn/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcspn/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strcspn/test1/CMakeLists.txt
deleted file mode 100644
index f2fe19a07306eb..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcspn/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_strcspn_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_strcspn_test1 coreclrpal)
-
-target_link_libraries(paltest_strcspn_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcspn/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/strcspn/test1/test1.cpp
index cd321f1e80e78a..2c7f7e609c1e79 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcspn/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/strcspn/test1/test1.cpp
@@ -22,7 +22,7 @@ struct testCase
char *string2;
};
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_strcspn_test1_paltest_strcspn_test1, "c_runtime/strcspn/test1/paltest_strcspn_test1")
{
int i=0;
long TheResult = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcspn/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/strcspn/test1/testinfo.dat
deleted file mode 100644
index 54fbb7f34906ae..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strcspn/test1/testinfo.dat
+++ /dev/null
@@ -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 = strcspn
-Name = Test #1 for strcspn
-TYPE = DEFAULT
-EXE1 = test1
-Description
-=Tests strcspn with a character set that should give an index into
-=the middle of the original string. Also tests with character sets
-=that are not in the string at all, and character sets that match
-=with the very first character.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strlen/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strlen/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strlen/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strlen/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strlen/test1/CMakeLists.txt
deleted file mode 100644
index 4ecbbd2d201414..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strlen/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_strlen_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_strlen_test1 coreclrpal)
-
-target_link_libraries(paltest_strlen_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strlen/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/strlen/test1/test1.cpp
index 9fea613f95607f..b19b3fec34457f 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strlen/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/strlen/test1/test1.cpp
@@ -14,7 +14,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_strlen_test1_paltest_strlen_test1, "c_runtime/strlen/test1/paltest_strlen_test1")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strlen/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/strlen/test1/testinfo.dat
deleted file mode 100644
index b55bc8e8a5b8dc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strlen/test1/testinfo.dat
+++ /dev/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 = strlen
-Name = Positive Test for strlen
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Check the length of a string and the length of a 0 character string to
-= see that this function returns the correct values for each.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncat/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strncat/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncat/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncat/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strncat/test1/CMakeLists.txt
deleted file mode 100644
index 7221b15ae0d74b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncat/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_strncat_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_strncat_test1 coreclrpal)
-
-target_link_libraries(paltest_strncat_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncat/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/strncat/test1/test1.cpp
index 505db1e6088012..240a78f9fef276 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncat/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/strncat/test1/test1.cpp
@@ -16,7 +16,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_strncat_test1_paltest_strncat_test1, "c_runtime/strncat/test1/paltest_strncat_test1")
{
char dest[80];
char *test = "foo barbaz";
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncat/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/strncat/test1/testinfo.dat
deleted file mode 100644
index da8476d664964c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncat/test1/testinfo.dat
+++ /dev/null
@@ -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 = strncat
-Name = Test #1 for strncat
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Concatenate a few strings together, setting different lengths to be
-= used for each one. Check to ensure the pointers which are returned are
-= correct, and that the final string is what was expected.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncmp/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strncmp/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncmp/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncmp/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strncmp/test1/CMakeLists.txt
deleted file mode 100644
index 3787d50cfb8c97..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncmp/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_strncmp_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_strncmp_test1 coreclrpal)
-
-target_link_libraries(paltest_strncmp_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncmp/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/strncmp/test1/test1.cpp
index 66d947edff9f27..c39498739f1df6 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncmp/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/strncmp/test1/test1.cpp
@@ -23,29 +23,28 @@ typedef struct
int number;
} testCase;
-testCase testCases[]=
+PALTEST(c_runtime_strncmp_test1_paltest_strncmp_test1, "c_runtime/strncmp/test1/paltest_strncmp_test1")
{
- {0,"Hello","Hello",5},
- {1,"hello","Hello",3},
- {-1,"Hello","hello",5},
- {0,"heLLo","heLLo",5},
- {1,"hello","heLlo",5},
- {-1,"heLlo","hello",5},
- {0,"0Test","0Test",5},
- {0,"***???","***???",6},
- {0,"Testing the string for string comparison","Testing the string for "
- "string comparison",40},
- {-1,"Testing the string for string comparison","Testing the string for "
- "string comparsioa",40},
- {1,"Testing the string for string comparison","Testing the string for "
- "comparison",34},
- {0,"aaaabbbbb","aabcdefeccg",2},
- {0,"abcd","abcd",10}
-};
-
+ testCase testCases[]=
+ {
+ {0,"Hello","Hello",5},
+ {1,"hello","Hello",3},
+ {-1,"Hello","hello",5},
+ {0,"heLLo","heLLo",5},
+ {1,"hello","heLlo",5},
+ {-1,"heLlo","hello",5},
+ {0,"0Test","0Test",5},
+ {0,"***???","***???",6},
+ {0,"Testing the string for string comparison","Testing the string for "
+ "string comparison",40},
+ {-1,"Testing the string for string comparison","Testing the string for "
+ "string comparsioa",40},
+ {1,"Testing the string for string comparison","Testing the string for "
+ "comparison",34},
+ {0,"aaaabbbbb","aabcdefeccg",2},
+ {0,"abcd","abcd",10}
+ };
-int __cdecl main(int argc, char *argv[])
-{
int i=0;
int iresult=0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncmp/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/strncmp/test1/testinfo.dat
deleted file mode 100644
index 0aabf93e4f811d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncmp/test1/testinfo.dat
+++ /dev/null
@@ -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 = strncmp
-Name = Test #1 for strncmp
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Test to ensure all three possible return values are given under the
-= appropriate circumstance. Also, uses different sizes, to only compare
-= portions of strings, checking to make sure these return the correct value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncpy/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strncpy/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncpy/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncpy/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strncpy/test1/CMakeLists.txt
deleted file mode 100644
index fac100451f0b51..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncpy/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_strncpy_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_strncpy_test1 coreclrpal)
-
-target_link_libraries(paltest_strncpy_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncpy/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/strncpy/test1/test1.cpp
index 96f8f9b3bfe22e..b934d3cfb65546 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncpy/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/strncpy/test1/test1.cpp
@@ -17,7 +17,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_strncpy_test1_paltest_strncpy_test1, "c_runtime/strncpy/test1/paltest_strncpy_test1")
{
char dest[80];
char *result = "foobar";
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncpy/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/strncpy/test1/testinfo.dat
deleted file mode 100644
index eeb07877308586..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strncpy/test1/testinfo.dat
+++ /dev/null
@@ -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 = strncpy
-Name = Test #1 for strncpy
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Test to see that you can copy a portion of a string into a new buffer.
-= Also check that the strncpy function doesn't overflow when it is used.
-= Finally check that if the number of characters given is greater than the
-= amount to copy, that the destination buffer is padded with NULLs.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strpbrk/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strpbrk/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strpbrk/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strpbrk/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strpbrk/test1/CMakeLists.txt
deleted file mode 100644
index 6748bea9472753..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strpbrk/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_strpbrk_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_strpbrk_test1 coreclrpal)
-
-target_link_libraries(paltest_strpbrk_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strpbrk/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/strpbrk/test1/test1.cpp
index 88bb3da1e13c89..b2b90edea7e934 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strpbrk/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/strpbrk/test1/test1.cpp
@@ -22,7 +22,7 @@ struct testCase
char *string2;
};
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_strpbrk_test1_paltest_strpbrk_test1, "c_runtime/strpbrk/test1/paltest_strpbrk_test1")
{
char *ptr = NULL;
int i = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strpbrk/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/strpbrk/test1/testinfo.dat
deleted file mode 100644
index 291f23458d18e2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strpbrk/test1/testinfo.dat
+++ /dev/null
@@ -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 = strpbrk
-Name = Test #1 for strpbrk
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Search a string for characters in a given character set and ensure the
-= pointer returned points to the first occurrence. Check to see that the
-= function returns NULL if the character is not found.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strrchr/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strrchr/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strrchr/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strrchr/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strrchr/test1/CMakeLists.txt
deleted file mode 100644
index 25e8916030b593..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strrchr/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_strrchr_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_strrchr_test1 coreclrpal)
-
-target_link_libraries(paltest_strrchr_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strrchr/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/strrchr/test1/test1.cpp
index b7014848d9f096..85e53eb2a8631a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strrchr/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/strrchr/test1/test1.cpp
@@ -18,7 +18,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_strrchr_test1_paltest_strrchr_test1, "c_runtime/strrchr/test1/paltest_strrchr_test1")
{
char *str = "foo bar baz";
char *ptr;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strrchr/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/strrchr/test1/testinfo.dat
deleted file mode 100644
index 8c35087963b13f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strrchr/test1/testinfo.dat
+++ /dev/null
@@ -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 = strrchr
-Name = Test #1 for strrchr
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Search a string for a given character. Search for a character contained
-= in the string, and ensure the pointer returned points to it. Then search
-= for the null character, and ensure the pointer points to that. Finally
-= search for a character which is not in the string and ensure that it
-= returns NULL.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strspn/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strspn/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strspn/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strspn/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strspn/test1/CMakeLists.txt
deleted file mode 100644
index e984a6e578f5e8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strspn/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_strspn_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_strspn_test1 coreclrpal)
-
-target_link_libraries(paltest_strspn_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strspn/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/strspn/test1/test1.cpp
index cc841696284bfd..64bac75258e9bf 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strspn/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/strspn/test1/test1.cpp
@@ -23,7 +23,7 @@ struct testCase
char *string2;
};
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_strspn_test1_paltest_strspn_test1, "c_runtime/strspn/test1/paltest_strspn_test1")
{
int i=0;
long TheResult = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strspn/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/strspn/test1/testinfo.dat
deleted file mode 100644
index a5c17886711102..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strspn/test1/testinfo.dat
+++ /dev/null
@@ -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 = strspn
-Name = Test #1 for strspn
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Check a character set against a string to see that the function returns
-= the length of the substring which consists of all characters in the string.
-= Also check that if the character set doesn't match the string at all, that
-= the value is 0.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strstr/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strstr/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strstr/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strstr/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strstr/test1/CMakeLists.txt
deleted file mode 100644
index 4efe7105b4e243..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strstr/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_strstr_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_strstr_test1 coreclrpal)
-
-target_link_libraries(paltest_strstr_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strstr/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/strstr/test1/test1.cpp
index cfd71ac57fb54f..e50d5bda12b819 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strstr/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/strstr/test1/test1.cpp
@@ -28,7 +28,7 @@ struct testCase
};
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_strstr_test1_paltest_strstr_test1, "c_runtime/strstr/test1/paltest_strstr_test1")
{
int i=0;
char *ptr=NULL;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strstr/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/strstr/test1/testinfo.dat
deleted file mode 100644
index 45bdf71da1fab9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strstr/test1/testinfo.dat
+++ /dev/null
@@ -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 = strstr
-Name = Positive Test for strstr
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Check three cases of searching for a string within a string. First when
-= the string is contained, check that the pointer returned points to it.
-= Then when it isn't contained, ensure it returns null. And when the string
-= we're searching for is empty, it should return a pointer to the string
-= we're searching through.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/test1/CMakeLists.txt
deleted file mode 100644
index 8914dd1e17d32d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_strtod_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_strtod_test1 coreclrpal)
-
-target_link_libraries(paltest_strtod_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/test1/test1.cpp
index e4d7d66623f499..d5b6d0a66f6fb3 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/test1/test1.cpp
@@ -23,7 +23,7 @@ struct testCase
};
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_strtod_test1_paltest_strtod_test1, "c_runtime/strtod/test1/paltest_strtod_test1")
{
char * endptr;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/test1/testinfo.dat
deleted file mode 100644
index a5141e07a3479d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/test1/testinfo.dat
+++ /dev/null
@@ -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 = strtod
-Name = Positive Test for strtod
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Purpose: Tests the PAL implementation of the strtod function.
-= Convert a number of strings to doubles. Ensure they convert correctly.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/test2/CMakeLists.txt
deleted file mode 100644
index aabfd182931116..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_strtod_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_strtod_test2 coreclrpal)
-
-target_link_libraries(paltest_strtod_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/test2/test2.cpp
index 71915dbbd5c20d..038bbe07a1a117 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/test2/test2.cpp
@@ -12,7 +12,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_strtod_test2_paltest_strtod_test2, "c_runtime/strtod/test2/paltest_strtod_test2")
{
/* Representation of positive infinty for a IEEE 64-bit double */
INT64 PosInifity = (INT64)(0x7ff00000) << 32;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/test2/testinfo.dat
deleted file mode 100644
index 892df776dfc7e7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtod/test2/testinfo.dat
+++ /dev/null
@@ -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 = strtod
-Name = Negative test for strtod with overflows
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Test strtod with overflows.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtok/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strtok/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtok/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtok/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strtok/test1/CMakeLists.txt
deleted file mode 100644
index 322203c4827f99..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtok/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_strtok_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_strtok_test1 coreclrpal)
-
-target_link_libraries(paltest_strtok_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtok/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/strtok/test1/test1.cpp
index de157a531db1fa..b14222931ad3b8 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtok/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/strtok/test1/test1.cpp
@@ -16,7 +16,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_strtok_test1_paltest_strtok_test1, "c_runtime/strtok/test1/paltest_strtok_test1")
{
char str[] = "foo bar baz";
char *result1= "foo \0ar baz";
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtok/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/strtok/test1/testinfo.dat
deleted file mode 100644
index 78c82d75a07f28..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtok/test1/testinfo.dat
+++ /dev/null
@@ -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 = strtok
-Name = Test #1 for strtok
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Search for a number of tokens within strings. Check that the return values
-= are what is expect, and also that the strings match up with our expected
-= results.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtoul/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strtoul/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtoul/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtoul/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/strtoul/test1/CMakeLists.txt
deleted file mode 100644
index 4d58d74b14086b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtoul/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_strtoul_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_strtoul_test1 coreclrpal)
-
-target_link_libraries(paltest_strtoul_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtoul/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/strtoul/test1/test1.cpp
index 4db4401a5ec84f..c18b550d1e1441 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtoul/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/strtoul/test1/test1.cpp
@@ -27,20 +27,19 @@ typedef struct
ULONG result;
} TestCase;
-TestCase TestCases[] =
+PALTEST(c_runtime_strtoul_test1_paltest_strtoul_test1, "c_runtime/strtoul/test1/paltest_strtoul_test1")
{
- { teststr1, teststr1 + 3, 4, 27},
- { teststr1, teststr1 + 5, 10, 12345},
- { teststr2, teststr2, 10, 0},
- { teststr3, teststr3+10, 10, 4294967295ul},
- { teststr4, teststr4+10, 10, 4294967295ul}
-};
-
-int NumCases = sizeof(TestCases) / sizeof(TestCases[0]);
+ TestCase TestCases[] =
+ {
+ { teststr1, teststr1 + 3, 4, 27},
+ { teststr1, teststr1 + 5, 10, 12345},
+ { teststr2, teststr2, 10, 0},
+ { teststr3, teststr3+10, 10, 4294967295ul},
+ { teststr4, teststr4+10, 10, 4294967295ul}
+ };
+ int NumCases = sizeof(TestCases) / sizeof(TestCases[0]);
-int __cdecl main(int argc, char *argv[])
-{
char *end;
ULONG l;
int i;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtoul/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/strtoul/test1/testinfo.dat
deleted file mode 100644
index df7165719dbd48..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/strtoul/test1/testinfo.dat
+++ /dev/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 = strtoul
-Name = Test #1 for strtoul
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests stroul with different bases and overflows, as well as valid input.
-= Makes sure that the end pointer is correct.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/CMakeLists.txt
deleted file mode 100644
index b29c7c438bd107..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/CMakeLists.txt
+++ /dev/null
@@ -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)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/swprintf.h b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/swprintf.h
index 74ab02977aee73..5ca39606e8b2e1 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/swprintf.h
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/swprintf.h
@@ -13,7 +13,7 @@
#ifndef __SWPRINTF_H__
#define __SWPRINTF_H__
-void DoWStrTest(const WCHAR *formatstr, WCHAR *param, const WCHAR *checkstr)
+inline void DoWStrTest_swprintf_s(const WCHAR *formatstr, WCHAR *param, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -27,8 +27,9 @@ void DoWStrTest(const WCHAR *formatstr, WCHAR *param, const WCHAR *checkstr)
convertC(checkstr), convertC(buf));
}
}
+#define DoWStrTest DoWStrTest_swprintf_s
-void DoStrTest(const WCHAR *formatstr, char *param, const WCHAR *checkstr)
+inline void DoStrTest_swprintf_s(const WCHAR *formatstr, char *param, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -42,8 +43,9 @@ void DoStrTest(const WCHAR *formatstr, char *param, const WCHAR *checkstr)
convertC(buf));
}
}
+#define DoStrTest DoStrTest_swprintf_s
-void DoPointerTest(const WCHAR *formatstr, void* param, const WCHAR *checkstr1)
+inline void DoPointerTest_swprintf_s(const WCHAR *formatstr, void* param, const WCHAR *checkstr1)
{
WCHAR buf[256] = { 0 };
@@ -55,8 +57,9 @@ void DoPointerTest(const WCHAR *formatstr, void* param, const WCHAR *checkstr1)
convertC(formatstr), convertC(checkstr1), convertC(buf));
}
}
+#define DoPointerTest DoPointerTest_swprintf_s
-void DoCharTest(const WCHAR *formatstr, char param, const WCHAR *checkstr)
+inline void DoCharTest_swprintf_s(const WCHAR *formatstr, char param, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -68,8 +71,9 @@ void DoCharTest(const WCHAR *formatstr, char param, const WCHAR *checkstr)
convertC(formatstr), convertC(checkstr), convertC(buf));
}
}
+#define DoCharTest DoCharTest_swprintf_s
-void DoWCharTest(const WCHAR *formatstr, WCHAR param, const WCHAR *checkstr)
+inline void DoWCharTest_swprintf_s(const WCHAR *formatstr, WCHAR param, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -81,8 +85,9 @@ void DoWCharTest(const WCHAR *formatstr, WCHAR param, const WCHAR *checkstr)
convertC(formatstr), convertC(checkstr), convertC(buf));
}
}
+#define DoWCharTest DoWCharTest_swprintf_s
-void DoNumTest(const WCHAR *formatstr, int value, const WCHAR *checkstr)
+inline void DoNumTest_swprintf_s(const WCHAR *formatstr, int value, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -94,8 +99,9 @@ void DoNumTest(const WCHAR *formatstr, int value, const WCHAR *checkstr)
convertC(checkstr), convertC(buf));
}
}
+#define DoNumTest DoNumTest_swprintf_s
-void DoI64Test(const WCHAR *formatstr, INT64 param, char *paramdesc,
+inline void DoI64Test_swprintf_s(const WCHAR *formatstr, INT64 param, char *paramdesc,
const WCHAR *checkstr1)
{
WCHAR buf[256] = { 0 };
@@ -108,8 +114,9 @@ void DoI64Test(const WCHAR *formatstr, INT64 param, char *paramdesc,
convertC(formatstr), convertC(checkstr1), convertC(buf));
}
}
+#define DoI64Test DoI64Test_swprintf_s
-void DoDoubleTest(const WCHAR *formatstr, double value, const WCHAR *checkstr1,
+inline void DoDoubleTest_swprintf_s(const WCHAR *formatstr, double value, const WCHAR *checkstr1,
const WCHAR *checkstr2)
{
WCHAR buf[256] = { 0 };
@@ -124,8 +131,9 @@ void DoDoubleTest(const WCHAR *formatstr, double value, const WCHAR *checkstr1,
convertC(checkstr2), convertC(buf));
}
}
+#define DoDoubleTest DoDoubleTest_swprintf_s
-void DoArgumentPrecTest(const WCHAR *formatstr, int precision, void *param,
+inline void DoArgumentPrecTest_swprintf_s(const WCHAR *formatstr, int precision, void *param,
char *paramstr, const WCHAR *checkstr1, const WCHAR *checkstr2)
{
WCHAR buf[256];
@@ -140,8 +148,9 @@ void DoArgumentPrecTest(const WCHAR *formatstr, int precision, void *param,
convertC(checkstr1), convertC(checkstr2), convertC(buf));
}
}
+#define DoArgumentPrecTest DoArgumentPrecTest_swprintf_s
-void DoArgumentPrecDoubleTest(const WCHAR *formatstr, int precision, double param,
+inline void DoArgumentPrecDoubleTest_swprintf_s(const WCHAR *formatstr, int precision, double param,
const WCHAR *checkstr1, const WCHAR *checkstr2)
{
WCHAR buf[256];
@@ -156,6 +165,7 @@ void DoArgumentPrecDoubleTest(const WCHAR *formatstr, int precision, double para
convertC(checkstr1), convertC(checkstr2), convertC(buf));
}
}
+#define DoArgumentPrecDoubleTest DoArgumentPrecDoubleTest_swprintf_s
#endif
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test1/CMakeLists.txt
deleted file mode 100644
index 6427bdbd989bfc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_swprintf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_swprintf_test1 coreclrpal)
-
-target_link_libraries(paltest_swprintf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test1/test1.cpp
index 7353646b31b8f1..62ec881dfca328 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test1/test1.cpp
@@ -19,7 +19,7 @@
* Uses memcmp & wcslen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swprintf_test1_paltest_swprintf_test1, "c_runtime/swprintf/test1/paltest_swprintf_test1")
{
WCHAR *checkstr;
WCHAR buf[256];
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test1/testinfo.dat
deleted file mode 100644
index e80446528413e4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test1/testinfo.dat
+++ /dev/null
@@ -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 = swprintf
-Name = Positive Test for swprintf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= General test to see if swprintf works correctly
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test10/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test10/CMakeLists.txt
deleted file mode 100644
index 23190da6ce14b7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test10/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test10.cpp
-)
-
-add_executable(paltest_swprintf_test10
- ${SOURCES}
-)
-
-add_dependencies(paltest_swprintf_test10 coreclrpal)
-
-target_link_libraries(paltest_swprintf_test10
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test10/test10.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test10/test10.cpp
index aaf472c0e9089a..0231e7b6e9b38a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test10/test10.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test10/test10.cpp
@@ -19,7 +19,7 @@
* Uses memcmp & wcslen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swprintf_test10_paltest_swprintf_test10, "c_runtime/swprintf/test10/paltest_swprintf_test10")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test10/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test10/testinfo.dat
deleted file mode 100644
index 7f8ec90c67b552..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test10/testinfo.dat
+++ /dev/null
@@ -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 = swprintf
-Name = Positive Test for swprintf
-TYPE = DEFAULT
-EXE1 = test10
-Description
-= Tests swprintf with octal numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test11/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test11/CMakeLists.txt
deleted file mode 100644
index f18db331198167..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test11/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test11.cpp
-)
-
-add_executable(paltest_swprintf_test11
- ${SOURCES}
-)
-
-add_dependencies(paltest_swprintf_test11 coreclrpal)
-
-target_link_libraries(paltest_swprintf_test11
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test11/test11.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test11/test11.cpp
index 63592c542bf8a3..10b442fc39a239 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test11/test11.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test11/test11.cpp
@@ -19,7 +19,7 @@
* Uses memcmp & wcslen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swprintf_test11_paltest_swprintf_test11, "c_runtime/swprintf/test11/paltest_swprintf_test11")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test11/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test11/testinfo.dat
deleted file mode 100644
index 54b90d78845c99..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test11/testinfo.dat
+++ /dev/null
@@ -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 = swprintf
-Name = Positive Test for swprintf
-TYPE = DEFAULT
-EXE1 = test11
-Description
-= Tests swprintf with unsigned numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test12/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test12/CMakeLists.txt
deleted file mode 100644
index 23d4177c998d83..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test12/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test12.cpp
-)
-
-add_executable(paltest_swprintf_test12
- ${SOURCES}
-)
-
-add_dependencies(paltest_swprintf_test12 coreclrpal)
-
-target_link_libraries(paltest_swprintf_test12
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test12/test12.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test12/test12.cpp
index d3789b5f706510..4c755c7f808e7b 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test12/test12.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test12/test12.cpp
@@ -19,7 +19,7 @@
* Uses memcmp & wcslen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swprintf_test12_paltest_swprintf_test12, "c_runtime/swprintf/test12/paltest_swprintf_test12")
{
int neg = -42;
int pos = 0x1234ab;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test12/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test12/testinfo.dat
deleted file mode 100644
index 91439b8928c185..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test12/testinfo.dat
+++ /dev/null
@@ -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 = swprintf
-Name = Positive Test for swprintf
-TYPE = DEFAULT
-EXE1 = test12
-Description
-= Tests swprintf with hex numbers (lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test13/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test13/CMakeLists.txt
deleted file mode 100644
index 828270fd98df93..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test13/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test13.cpp
-)
-
-add_executable(paltest_swprintf_test13
- ${SOURCES}
-)
-
-add_dependencies(paltest_swprintf_test13 coreclrpal)
-
-target_link_libraries(paltest_swprintf_test13
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test13/test13.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test13/test13.cpp
index d404eb95d2b71e..7cd455f8cac4af 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test13/test13.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test13/test13.cpp
@@ -19,7 +19,7 @@
* Uses memcmp & wcslen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swprintf_test13_paltest_swprintf_test13, "c_runtime/swprintf/test13/paltest_swprintf_test13")
{
int neg = -42;
int pos = 0x1234ab;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test13/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test13/testinfo.dat
deleted file mode 100644
index d22b3a6175e30b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test13/testinfo.dat
+++ /dev/null
@@ -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 = swprintf
-Name = Positive Test for swprintf
-TYPE = DEFAULT
-EXE1 = test13
-Description
-= Tests swprintf with hex numbers (uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test14/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test14/CMakeLists.txt
deleted file mode 100644
index a3caec6c10cd06..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test14/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test14.cpp
-)
-
-add_executable(paltest_swprintf_test14
- ${SOURCES}
-)
-
-add_dependencies(paltest_swprintf_test14 coreclrpal)
-
-target_link_libraries(paltest_swprintf_test14
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test14/test14.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test14/test14.cpp
index f17e42e0cc02f6..22fd903faa3b2c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test14/test14.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test14/test14.cpp
@@ -19,7 +19,7 @@
* Uses memcmp & wcslen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swprintf_test14_paltest_swprintf_test14, "c_runtime/swprintf/test14/paltest_swprintf_test14")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test14/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test14/testinfo.dat
deleted file mode 100644
index 9b069ec899430e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test14/testinfo.dat
+++ /dev/null
@@ -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 = swprintf
-Name = Positive Test for swprintf
-TYPE = DEFAULT
-EXE1 = test14
-Description
-= Tests swprintf with exponential format doubles (lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test15/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test15/CMakeLists.txt
deleted file mode 100644
index 62cdc8daeb9f15..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test15/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test15.cpp
-)
-
-add_executable(paltest_swprintf_test15
- ${SOURCES}
-)
-
-add_dependencies(paltest_swprintf_test15 coreclrpal)
-
-target_link_libraries(paltest_swprintf_test15
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test15/test15.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test15/test15.cpp
index 2aab51237fa375..0aa939d70a68b0 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test15/test15.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test15/test15.cpp
@@ -19,7 +19,7 @@
* Uses memcmp & wcslen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swprintf_test15_paltest_swprintf_test15, "c_runtime/swprintf/test15/paltest_swprintf_test15")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test15/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test15/testinfo.dat
deleted file mode 100644
index 3f917fc4054a7a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test15/testinfo.dat
+++ /dev/null
@@ -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 = swprintf
-Name = Positive Test for swprintf
-TYPE = DEFAULT
-EXE1 = test15
-Description
-= Tests swprintf with exponential format doubles (uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test16/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test16/CMakeLists.txt
deleted file mode 100644
index 19773af43813e3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test16/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test16.cpp
-)
-
-add_executable(paltest_swprintf_test16
- ${SOURCES}
-)
-
-add_dependencies(paltest_swprintf_test16 coreclrpal)
-
-target_link_libraries(paltest_swprintf_test16
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test16/test16.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test16/test16.cpp
index a97e516695677d..2edce8b2b5180c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test16/test16.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test16/test16.cpp
@@ -19,7 +19,7 @@
* Uses memcmp & wcslen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swprintf_test16_paltest_swprintf_test16, "c_runtime/swprintf/test16/paltest_swprintf_test16")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test16/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test16/testinfo.dat
deleted file mode 100644
index 0047513d65ed11..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test16/testinfo.dat
+++ /dev/null
@@ -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 = swprintf
-Name = Positive Test for swprintf
-TYPE = DEFAULT
-EXE1 = test16
-Description
-= Tests swprintf with decimal point format doubles
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test17/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test17/CMakeLists.txt
deleted file mode 100644
index 745cebcc15de63..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test17/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test17.cpp
-)
-
-add_executable(paltest_swprintf_test17
- ${SOURCES}
-)
-
-add_dependencies(paltest_swprintf_test17 coreclrpal)
-
-target_link_libraries(paltest_swprintf_test17
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test17/test17.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test17/test17.cpp
index b6c0aef6e51e5e..5fc26e57ff2160 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test17/test17.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test17/test17.cpp
@@ -19,7 +19,7 @@
* Uses memcmp & wcslen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swprintf_test17_paltest_swprintf_test17, "c_runtime/swprintf/test17/paltest_swprintf_test17")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test17/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test17/testinfo.dat
deleted file mode 100644
index ba8b0542bec812..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test17/testinfo.dat
+++ /dev/null
@@ -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 = swprintf
-Name = Positive Test for swprintf
-TYPE = DEFAULT
-EXE1 = test17
-Description
-= Tests swprintf with compact format doubles (lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test18/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test18/CMakeLists.txt
deleted file mode 100644
index d2257435b64e1e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test18/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test18.cpp
-)
-
-add_executable(paltest_swprintf_test18
- ${SOURCES}
-)
-
-add_dependencies(paltest_swprintf_test18 coreclrpal)
-
-target_link_libraries(paltest_swprintf_test18
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test18/test18.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test18/test18.cpp
index fd51bb0a4a6d88..717ca688b829f2 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test18/test18.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test18/test18.cpp
@@ -19,7 +19,7 @@
* Uses memcmp & wcslen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swprintf_test18_paltest_swprintf_test18, "c_runtime/swprintf/test18/paltest_swprintf_test18")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test18/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test18/testinfo.dat
deleted file mode 100644
index 5aa2c3436f7b3c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test18/testinfo.dat
+++ /dev/null
@@ -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 = swprintf
-Name = Positive Test for swprintf
-TYPE = DEFAULT
-EXE1 = test18
-Description
-= Tests swprintf with compact format doubles (uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test19/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test19/CMakeLists.txt
deleted file mode 100644
index 0e125d70527722..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test19/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test19.cpp
-)
-
-add_executable(paltest_swprintf_test19
- ${SOURCES}
-)
-
-add_dependencies(paltest_swprintf_test19 coreclrpal)
-
-target_link_libraries(paltest_swprintf_test19
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test19/test19.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test19/test19.cpp
index 936a4ef6f8e8b6..43a38d7477460a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test19/test19.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test19/test19.cpp
@@ -19,7 +19,7 @@
* Uses memcmp & wcslen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swprintf_test19_paltest_swprintf_test19, "c_runtime/swprintf/test19/paltest_swprintf_test19")
{
int n = -1;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test19/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test19/testinfo.dat
deleted file mode 100644
index 83c17566a57c8c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test19/testinfo.dat
+++ /dev/null
@@ -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 = swprintf
-Name = Positive Test for swprintf
-TYPE = DEFAULT
-EXE1 = test19
-Description
-= Tests swprintf with argument specified precision
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test2/CMakeLists.txt
deleted file mode 100644
index cd04e49dc6dd16..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_swprintf_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_swprintf_test2 coreclrpal)
-
-target_link_libraries(paltest_swprintf_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test2/test2.cpp
index e2721b0a177f3e..e6eee392eb4c46 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test2/test2.cpp
@@ -20,7 +20,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swprintf_test2_paltest_swprintf_test2, "c_runtime/swprintf/test2/paltest_swprintf_test2")
{
if (PAL_Initialize(argc, argv) != 0)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test2/testinfo.dat
deleted file mode 100644
index cf9413bb2bde4a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test2/testinfo.dat
+++ /dev/null
@@ -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 = swprintf
-Name = Positive Test for swprintf
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Tests swprintf with strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test3/CMakeLists.txt
deleted file mode 100644
index 47ee916d275f73..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_swprintf_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_swprintf_test3 coreclrpal)
-
-target_link_libraries(paltest_swprintf_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test3/test3.cpp
index fd8a82af34deab..16b37c8da33dc3 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test3/test3.cpp
@@ -19,7 +19,7 @@
* Uses memcmp & wcslen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swprintf_test3_paltest_swprintf_test3, "c_runtime/swprintf/test3/paltest_swprintf_test3")
{
if (PAL_Initialize(argc, argv) != 0)
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test3/testinfo.dat
deleted file mode 100644
index d8b74f0a083430..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test3/testinfo.dat
+++ /dev/null
@@ -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 = swprintf
-Name = Positive Test for swprintf
-TYPE = DEFAULT
-EXE1 = test3
-Description
-= Tests swprintf with wide strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test4/CMakeLists.txt
deleted file mode 100644
index d33c2d22d7ef9e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_swprintf_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_swprintf_test4 coreclrpal)
-
-target_link_libraries(paltest_swprintf_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test4/test4.cpp
index c461fab0ab2a81..ce5a2b24939cbc 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test4/test4.cpp
@@ -20,7 +20,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swprintf_test4_paltest_swprintf_test4, "c_runtime/swprintf/test4/paltest_swprintf_test4")
{
void *ptr = (void*) 0x123456;
INT64 lptr = I64(0x1234567887654321);
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test4/testinfo.dat
deleted file mode 100644
index 68d4d11fb2d4b0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test4/testinfo.dat
+++ /dev/null
@@ -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 = swprintf
-Name = Positive Test for swprintf
-TYPE = DEFAULT
-EXE1 = test4
-Description
-= Tests swprintf with pointers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test6/CMakeLists.txt
deleted file mode 100644
index 2ff88fced24751..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test6.cpp
-)
-
-add_executable(paltest_swprintf_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_swprintf_test6 coreclrpal)
-
-target_link_libraries(paltest_swprintf_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test6/test6.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test6/test6.cpp
index 9fe4f14af50913..2e2465c942f74b 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test6/test6.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test6/test6.cpp
@@ -19,7 +19,7 @@
* Uses memcmp & wcslen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swprintf_test6_paltest_swprintf_test6, "c_runtime/swprintf/test6/paltest_swprintf_test6")
{
WCHAR wb = (WCHAR) 'b';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test6/testinfo.dat
deleted file mode 100644
index 4b30cd1c61a5be..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test6/testinfo.dat
+++ /dev/null
@@ -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 = swprintf
-Name = Positive Test for swprintf
-TYPE = DEFAULT
-EXE1 = test6
-Description
-= Tests swprintf with characters
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test7/CMakeLists.txt
deleted file mode 100644
index 28454845eb16ce..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test7.cpp
-)
-
-add_executable(paltest_swprintf_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_swprintf_test7 coreclrpal)
-
-target_link_libraries(paltest_swprintf_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test7/test7.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test7/test7.cpp
index f547877e464fa4..ff9133197c6862 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test7/test7.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test7/test7.cpp
@@ -20,7 +20,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swprintf_test7_paltest_swprintf_test7, "c_runtime/swprintf/test7/paltest_swprintf_test7")
{
WCHAR wb = (WCHAR) 'b';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test7/testinfo.dat
deleted file mode 100644
index ab8f20d1628e11..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test7/testinfo.dat
+++ /dev/null
@@ -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 = swprintf
-Name = Positive Test for swprintf
-TYPE = DEFAULT
-EXE1 = test7
-Description
-= Tests swprintf with wide characters
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test8/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test8/CMakeLists.txt
deleted file mode 100644
index 72c922ca0e6396..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test8/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test8.cpp
-)
-
-add_executable(paltest_swprintf_test8
- ${SOURCES}
-)
-
-add_dependencies(paltest_swprintf_test8 coreclrpal)
-
-target_link_libraries(paltest_swprintf_test8
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test8/test8.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test8/test8.cpp
index e861c92cb4fe71..2ad8b05de662cd 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test8/test8.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test8/test8.cpp
@@ -19,7 +19,7 @@
* Uses memcmp & wcslen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swprintf_test8_paltest_swprintf_test8, "c_runtime/swprintf/test8/paltest_swprintf_test8")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test8/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test8/testinfo.dat
deleted file mode 100644
index 1626ffd8959188..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test8/testinfo.dat
+++ /dev/null
@@ -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 = swprintf
-Name = Positive Test for swprintf
-TYPE = DEFAULT
-EXE1 = test8
-Description
-= Tests swprintf with decimal numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test9/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test9/CMakeLists.txt
deleted file mode 100644
index 7236065bd0e2e2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test9/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test9.cpp
-)
-
-add_executable(paltest_swprintf_test9
- ${SOURCES}
-)
-
-add_dependencies(paltest_swprintf_test9 coreclrpal)
-
-target_link_libraries(paltest_swprintf_test9
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test9/test9.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test9/test9.cpp
index e49e788df04399..970f3d70269d1c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test9/test9.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test9/test9.cpp
@@ -19,7 +19,7 @@
* Uses memcmp & wcslen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swprintf_test9_paltest_swprintf_test9, "c_runtime/swprintf/test9/paltest_swprintf_test9")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test9/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test9/testinfo.dat
deleted file mode 100644
index 2c3207e0f33ccb..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swprintf/test9/testinfo.dat
+++ /dev/null
@@ -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 = swprintf
-Name = Positive Test for swprintf
-TYPE = DEFAULT
-EXE1 = test9
-Description
-= Tests swprintf with integer numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/CMakeLists.txt
deleted file mode 100644
index 56b4848b303a24..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/CMakeLists.txt
+++ /dev/null
@@ -1,18 +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(test2)
-add_subdirectory(test3)
-add_subdirectory(test4)
-add_subdirectory(test5)
-add_subdirectory(test6)
-add_subdirectory(test7)
-add_subdirectory(test8)
-add_subdirectory(test9)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/swscanf.h b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/swscanf.h
index 20c99092e1a363..a5b0228bc01f36 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/swscanf.h
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/swscanf.h
@@ -13,7 +13,7 @@
#ifndef __SWSCANF_H__
#define __SWSCANF_H__
-void DoVoidTest(WCHAR *inputstr, const WCHAR *formatstr)
+inline void DoVoidTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr)
{
char buf[256] = { 0 };
int i;
@@ -38,8 +38,9 @@ void DoVoidTest(WCHAR *inputstr, const WCHAR *formatstr)
}
}
+#define DoVoidTest DoVoidTest_swscanf
-void DoStrTest(WCHAR *inputstr, const WCHAR *formatstr, const char *checkstr)
+inline void DoStrTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr, const char *checkstr)
{
char buf[256] = { 0 };
int ret;
@@ -61,8 +62,9 @@ void DoStrTest(WCHAR *inputstr, const WCHAR *formatstr, const char *checkstr)
}
}
+#define DoStrTest DoStrTest_swscanf
-void DoWStrTest(WCHAR *inputstr, const WCHAR *formatstr, const WCHAR *checkstr)
+inline void DoWStrTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
int ret;
@@ -84,8 +86,9 @@ void DoWStrTest(WCHAR *inputstr, const WCHAR *formatstr, const WCHAR *checkstr)
}
}
+#define DoWStrTest DoWStrTest_swscanf
-void DoNumTest(WCHAR *inputstr, const WCHAR *formatstr, int checknum)
+inline void DoNumTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr, int checknum)
{
int num = 0;
int ret;
@@ -105,8 +108,9 @@ void DoNumTest(WCHAR *inputstr, const WCHAR *formatstr, int checknum)
convertC(formatstr), checknum, num);
}
}
+#define DoNumTest DoNumTest_swscanf
-void DoShortNumTest(WCHAR *inputstr, const WCHAR *formatstr, short checknum)
+inline void DoShortNumTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr, short checknum)
{
short num = 0;
int ret;
@@ -126,8 +130,9 @@ void DoShortNumTest(WCHAR *inputstr, const WCHAR *formatstr, short checknum)
convertC(formatstr), checknum, num);
}
}
+#define DoShortNumTest DoShortNumTest_swscanf
-void DoI64NumTest(WCHAR *inputstr, const WCHAR *formatstr, INT64 checknum)
+inline void DoI64NumTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr, INT64 checknum)
{
char buf[256];
char check[256];
@@ -151,8 +156,9 @@ void DoI64NumTest(WCHAR *inputstr, const WCHAR *formatstr, INT64 checknum)
convertC(formatstr), check, buf);
}
}
+#define DoI64NumTest DoI64NumTest_swscanf
-void DoCharTest(WCHAR *inputstr, const WCHAR *formatstr, char* checkchars, int numchars)
+inline void DoCharTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr, char* checkchars, int numchars)
{
char buf[256];
int ret;
@@ -185,8 +191,9 @@ void DoCharTest(WCHAR *inputstr, const WCHAR *formatstr, char* checkchars, int n
convertC(inputstr), convertC(formatstr), numchars);
}
}
+#define DoCharTest DoCharTest_swscanf
-void DoWCharTest(WCHAR *inputstr, const WCHAR *formatstr, const WCHAR *checkchars, int numchars)
+inline void DoWCharTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr, const WCHAR *checkchars, int numchars)
{
WCHAR buf[256];
int ret;
@@ -220,9 +227,9 @@ void DoWCharTest(WCHAR *inputstr, const WCHAR *formatstr, const WCHAR *checkchar
convertC(inputstr), convertC(formatstr), numchars);
}
}
+#define DoWCharTest DoWCharTest_swscanf
-
-void DoFloatTest(WCHAR *inputstr, const WCHAR *formatstr, float checkval)
+inline void DoFloatTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr, float checkval)
{
char buf[256] = { 0 };
float val;
@@ -256,6 +263,6 @@ void DoFloatTest(WCHAR *inputstr, const WCHAR *formatstr, float checkval)
}
}
-
+#define DoFloatTest DoFloatTest_swscanf
#endif
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test1/CMakeLists.txt
deleted file mode 100644
index ce24b1ea3fdacf..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_swscanf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_swscanf_test1 coreclrpal)
-
-target_link_libraries(paltest_swscanf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test1/test1.cpp
index 790284a01741e5..257706ae4cd3da 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test1/test1.cpp
@@ -16,7 +16,7 @@
#include "../swscanf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swscanf_test1_paltest_swscanf_test1, "c_runtime/swscanf/test1/paltest_swscanf_test1")
{
int num;
int ret;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test1/testinfo.dat
deleted file mode 100644
index 607f2641d620d5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test1/testinfo.dat
+++ /dev/null
@@ -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 = swscanf
-Name = Positive Test for swscanf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= General test of swscanf
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test10/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test10/CMakeLists.txt
deleted file mode 100644
index f250da5a9c4e45..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test10/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test10.cpp
-)
-
-add_executable(paltest_swscanf_test10
- ${SOURCES}
-)
-
-add_dependencies(paltest_swscanf_test10 coreclrpal)
-
-target_link_libraries(paltest_swscanf_test10
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test10/test10.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test10/test10.cpp
index 0c7c6cbd755c69..0e9422950bd7b8 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test10/test10.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test10/test10.cpp
@@ -15,7 +15,7 @@
#include
#include "../swscanf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swscanf_test10_paltest_swscanf_test10, "c_runtime/swscanf/test10/paltest_swscanf_test10")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test10/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test10/testinfo.dat
deleted file mode 100644
index 45ed1aea593b06..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test10/testinfo.dat
+++ /dev/null
@@ -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 = swscanf
-Name = Positive Test for swscanf
-TYPE = DEFAULT
-EXE1 = test10
-Description
-= Tests swscanf with wide characters
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test11/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test11/CMakeLists.txt
deleted file mode 100644
index c5fed9e9e8f0b3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test11/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test11.cpp
-)
-
-add_executable(paltest_swscanf_test11
- ${SOURCES}
-)
-
-add_dependencies(paltest_swscanf_test11 coreclrpal)
-
-target_link_libraries(paltest_swscanf_test11
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test11/test11.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test11/test11.cpp
index a5044d82c436ff..e24ca297f49362 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test11/test11.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test11/test11.cpp
@@ -15,7 +15,7 @@
#include
#include "../swscanf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swscanf_test11_paltest_swscanf_test11, "c_runtime/swscanf/test11/paltest_swscanf_test11")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test11/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test11/testinfo.dat
deleted file mode 100644
index 03ac4b1eab3376..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test11/testinfo.dat
+++ /dev/null
@@ -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 = swscanf
-Name = Positive Test for swscanf
-TYPE = DEFAULT
-EXE1 = test11
-Description
-= Tests swscanf with strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test12/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test12/CMakeLists.txt
deleted file mode 100644
index 33e2949f70aa38..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test12/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test12.cpp
-)
-
-add_executable(paltest_swscanf_test12
- ${SOURCES}
-)
-
-add_dependencies(paltest_swscanf_test12 coreclrpal)
-
-target_link_libraries(paltest_swscanf_test12
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test12/test12.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test12/test12.cpp
index 2ab7d910409a97..857c1386f9ff76 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test12/test12.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test12/test12.cpp
@@ -15,7 +15,7 @@
#include
#include "../swscanf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swscanf_test12_paltest_swscanf_test12, "c_runtime/swscanf/test12/paltest_swscanf_test12")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test12/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test12/testinfo.dat
deleted file mode 100644
index a5ce40ced2cbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test12/testinfo.dat
+++ /dev/null
@@ -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 = swscanf
-Name = Positive Test for swscanf
-TYPE = DEFAULT
-EXE1 = test12
-Description
-= Tests swscanf with wide strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test13/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test13/CMakeLists.txt
deleted file mode 100644
index 5dc8b64984f191..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test13/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test13.cpp
-)
-
-add_executable(paltest_swscanf_test13
- ${SOURCES}
-)
-
-add_dependencies(paltest_swscanf_test13 coreclrpal)
-
-target_link_libraries(paltest_swscanf_test13
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test13/test13.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test13/test13.cpp
index 2c89bcaaf40298..1e4d6021eb77f9 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test13/test13.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test13/test13.cpp
@@ -15,7 +15,7 @@
#include
#include "../swscanf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swscanf_test13_paltest_swscanf_test13, "c_runtime/swscanf/test13/paltest_swscanf_test13")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test13/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test13/testinfo.dat
deleted file mode 100644
index 92c9888305f993..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test13/testinfo.dat
+++ /dev/null
@@ -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 = swscanf
-Name = Positive Test for swscanf
-TYPE = DEFAULT
-EXE1 = test13
-Description
-= Tests swscanf with floats (decimal notation)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test14/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test14/CMakeLists.txt
deleted file mode 100644
index ca377515ecec0b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test14/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test14.cpp
-)
-
-add_executable(paltest_swscanf_test14
- ${SOURCES}
-)
-
-add_dependencies(paltest_swscanf_test14 coreclrpal)
-
-target_link_libraries(paltest_swscanf_test14
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test14/test14.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test14/test14.cpp
index a21976c0937ef6..a8cfc9040177a3 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test14/test14.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test14/test14.cpp
@@ -16,7 +16,7 @@
#include "../swscanf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swscanf_test14_paltest_swscanf_test14, "c_runtime/swscanf/test14/paltest_swscanf_test14")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test14/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test14/testinfo.dat
deleted file mode 100644
index 0a95899ad8b83f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test14/testinfo.dat
+++ /dev/null
@@ -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 = swscanf
-Name = Positive Test for swscanf
-TYPE = DEFAULT
-EXE1 = test14
-Description
-= Tests swscanf with floats (exponential notation, lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test15/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test15/CMakeLists.txt
deleted file mode 100644
index 4b56b9a76add89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test15/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test15.cpp
-)
-
-add_executable(paltest_swscanf_test15
- ${SOURCES}
-)
-
-add_dependencies(paltest_swscanf_test15 coreclrpal)
-
-target_link_libraries(paltest_swscanf_test15
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test15/test15.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test15/test15.cpp
index ef50e91905ffba..73a4e536ca4119 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test15/test15.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test15/test15.cpp
@@ -15,7 +15,7 @@
#include
#include "../swscanf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swscanf_test15_paltest_swscanf_test15, "c_runtime/swscanf/test15/paltest_swscanf_test15")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test15/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test15/testinfo.dat
deleted file mode 100644
index b022abba568476..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test15/testinfo.dat
+++ /dev/null
@@ -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 = swscanf
-Name = Positive Test for swscanf
-TYPE = DEFAULT
-EXE1 = test15
-Description
-= Tests swscanf with floats (exponential notation, uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test16/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test16/CMakeLists.txt
deleted file mode 100644
index 6004b38e67c19a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test16/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test16.cpp
-)
-
-add_executable(paltest_swscanf_test16
- ${SOURCES}
-)
-
-add_dependencies(paltest_swscanf_test16 coreclrpal)
-
-target_link_libraries(paltest_swscanf_test16
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test16/test16.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test16/test16.cpp
index 1a21fa915387e9..aff2ce3e0e5016 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test16/test16.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test16/test16.cpp
@@ -15,7 +15,7 @@
#include
#include "../swscanf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swscanf_test16_paltest_swscanf_test16, "c_runtime/swscanf/test16/paltest_swscanf_test16")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test16/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test16/testinfo.dat
deleted file mode 100644
index 186db5ba433b18..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test16/testinfo.dat
+++ /dev/null
@@ -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 = swscanf
-Name = Positive Test for swscanf
-TYPE = DEFAULT
-EXE1 = test16
-Description
-= Tests swscanf with floats (compact notation, lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test17/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test17/CMakeLists.txt
deleted file mode 100644
index 70226c27485d02..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test17/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test17.cpp
-)
-
-add_executable(paltest_swscanf_test17
- ${SOURCES}
-)
-
-add_dependencies(paltest_swscanf_test17 coreclrpal)
-
-target_link_libraries(paltest_swscanf_test17
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test17/test17.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test17/test17.cpp
index ffa8b9e2ddedcb..e50bf8a924f52a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test17/test17.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test17/test17.cpp
@@ -15,7 +15,7 @@
#include
#include "../swscanf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swscanf_test17_paltest_swscanf_test17, "c_runtime/swscanf/test17/paltest_swscanf_test17")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test17/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test17/testinfo.dat
deleted file mode 100644
index 6b393940febb3a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test17/testinfo.dat
+++ /dev/null
@@ -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 = swscanf
-Name = Positive Test for swscanf
-TYPE = DEFAULT
-EXE1 = test17
-Description
-= Tests swscanf with floats (compact notation, uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test2/CMakeLists.txt
deleted file mode 100644
index 42c2d6ce275067..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_swscanf_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_swscanf_test2 coreclrpal)
-
-target_link_libraries(paltest_swscanf_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test2/test2.cpp
index 3263341f715801..2661d0205da095 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test2/test2.cpp
@@ -21,7 +21,7 @@
* feed), even if it says it only wants spaces tabs and newlines.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swscanf_test2_paltest_swscanf_test2, "c_runtime/swscanf/test2/paltest_swscanf_test2")
{
if (PAL_Initialize(argc, argv))
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test2/testinfo.dat
deleted file mode 100644
index 188db3736802ea..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test2/testinfo.dat
+++ /dev/null
@@ -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 = swscanf
-Name = Positive Test for swscanf
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Test to see if swscanf handles whitespace correctly
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test3/CMakeLists.txt
deleted file mode 100644
index 3777c35d0a126a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_swscanf_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_swscanf_test3 coreclrpal)
-
-target_link_libraries(paltest_swscanf_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test3/test3.cpp
index 0413f150276adc..f1fc330fc2ecfb 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test3/test3.cpp
@@ -16,7 +16,7 @@
#include "../swscanf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swscanf_test3_paltest_swscanf_test3, "c_runtime/swscanf/test3/paltest_swscanf_test3")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test3/testinfo.dat
deleted file mode 100644
index c84dda67d8d357..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test3/testinfo.dat
+++ /dev/null
@@ -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 = swscanf
-Name = Positive Test for swscanf
-TYPE = DEFAULT
-EXE1 = test3
-Description
-= Tests swscanf with bracketed set strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test4/CMakeLists.txt
deleted file mode 100644
index e17b9beb3429a1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_swscanf_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_swscanf_test4 coreclrpal)
-
-target_link_libraries(paltest_swscanf_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test4/test4.cpp
index 11f86c4f6216ec..be65035d4b7ee1 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test4/test4.cpp
@@ -16,7 +16,7 @@
#include "../swscanf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swscanf_test4_paltest_swscanf_test4, "c_runtime/swscanf/test4/paltest_swscanf_test4")
{
int n65535 = 65535; /* Walkaround compiler strictness */
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test4/testinfo.dat
deleted file mode 100644
index 84639a1c25c3cc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test4/testinfo.dat
+++ /dev/null
@@ -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 = swscanf
-Name = Positive Test for swscanf
-TYPE = DEFAULT
-EXE1 = test4
-Description
-= Tests swscanf with decimal numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test5/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test5/CMakeLists.txt
deleted file mode 100644
index 736ce1135cc2a8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test5/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test5.cpp
-)
-
-add_executable(paltest_swscanf_test5
- ${SOURCES}
-)
-
-add_dependencies(paltest_swscanf_test5 coreclrpal)
-
-target_link_libraries(paltest_swscanf_test5
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test5/test5.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test5/test5.cpp
index 8b8be9a318a7d8..396c862fef12e3 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test5/test5.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test5/test5.cpp
@@ -16,7 +16,7 @@
#include "../swscanf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swscanf_test5_paltest_swscanf_test5, "c_runtime/swscanf/test5/paltest_swscanf_test5")
{
int n65535 = 65535; /* Walkaround compiler strictness */
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test5/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test5/testinfo.dat
deleted file mode 100644
index ffe131d178895b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test5/testinfo.dat
+++ /dev/null
@@ -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 = swscanf
-Name = Positive Test for swscanf
-TYPE = DEFAULT
-EXE1 = test5
-Description
-= Tests swscanf with integer numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test6/CMakeLists.txt
deleted file mode 100644
index 48c2750676b936..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test6.cpp
-)
-
-add_executable(paltest_swscanf_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_swscanf_test6 coreclrpal)
-
-target_link_libraries(paltest_swscanf_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test6/test6.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test6/test6.cpp
index d1a2540ca8a243..8cf2063f01786b 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test6/test6.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test6/test6.cpp
@@ -16,7 +16,7 @@
#include "../swscanf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swscanf_test6_paltest_swscanf_test6, "c_runtime/swscanf/test6/paltest_swscanf_test6")
{
int n65535 = 65535; /* Walkaround compiler strictness */
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test6/testinfo.dat
deleted file mode 100644
index d4969b1ba08119..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test6/testinfo.dat
+++ /dev/null
@@ -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 = swscanf
-Name = Positive Test for swscanf
-TYPE = DEFAULT
-EXE1 = test6
-Description
-= Tests swscanf with octal numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test7/CMakeLists.txt
deleted file mode 100644
index 4453e248993d81..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test7.cpp
-)
-
-add_executable(paltest_swscanf_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_swscanf_test7 coreclrpal)
-
-target_link_libraries(paltest_swscanf_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test7/test7.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test7/test7.cpp
index 954c1820b02d4e..404eeecf13ca52 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test7/test7.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test7/test7.cpp
@@ -16,7 +16,7 @@
#include "../swscanf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swscanf_test7_paltest_swscanf_test7, "c_runtime/swscanf/test7/paltest_swscanf_test7")
{
int n65535 = 65535; /* Walkaround compiler strictness */
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test7/testinfo.dat
deleted file mode 100644
index fa3d1fc1145e7f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test7/testinfo.dat
+++ /dev/null
@@ -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 = swscanf
-Name = Positive Test for swscanf
-TYPE = DEFAULT
-EXE1 = test7
-Description
-= Tests swscanf with hex numbers (lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test8/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test8/CMakeLists.txt
deleted file mode 100644
index 8d4e51b77ef7a4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test8/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test8.cpp
-)
-
-add_executable(paltest_swscanf_test8
- ${SOURCES}
-)
-
-add_dependencies(paltest_swscanf_test8 coreclrpal)
-
-target_link_libraries(paltest_swscanf_test8
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test8/test8.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test8/test8.cpp
index 9f02ac9efb32d6..9c54283c09f9d1 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test8/test8.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test8/test8.cpp
@@ -16,7 +16,7 @@
#include "../swscanf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swscanf_test8_paltest_swscanf_test8, "c_runtime/swscanf/test8/paltest_swscanf_test8")
{
int n65535 = 65535; /* Walkaround compiler strictness */
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test8/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test8/testinfo.dat
deleted file mode 100644
index 2363091e712cf7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test8/testinfo.dat
+++ /dev/null
@@ -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 = swscanf
-Name = Positive Test for swscanf
-TYPE = DEFAULT
-EXE1 = test8
-Description
-= Tests swscanf with unsigned numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test9/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test9/CMakeLists.txt
deleted file mode 100644
index 4b5e4c5fcb21e2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test9/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test9.cpp
-)
-
-add_executable(paltest_swscanf_test9
- ${SOURCES}
-)
-
-add_dependencies(paltest_swscanf_test9 coreclrpal)
-
-target_link_libraries(paltest_swscanf_test9
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test9/test9.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test9/test9.cpp
index 0d7cd508816fd9..c6cab41fe2673c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test9/test9.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test9/test9.cpp
@@ -15,7 +15,7 @@
#include
#include "../swscanf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_swscanf_test9_paltest_swscanf_test9, "c_runtime/swscanf/test9/paltest_swscanf_test9")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test9/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test9/testinfo.dat
deleted file mode 100644
index 9e3006447a5a64..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/swscanf/test9/testinfo.dat
+++ /dev/null
@@ -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 = swscanf
-Name = Positive Test for swscanf
-TYPE = DEFAULT
-EXE1 = test9
-Description
-= Tests swscanf with characters
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/tan/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/tan/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/tan/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/tan/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/tan/test1/CMakeLists.txt
deleted file mode 100644
index c7bffa5dda5ea5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/tan/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_tan_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_tan_test1 coreclrpal)
-
-target_link_libraries(paltest_tan_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/tan/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/tan/test1/test1.cpp
index 4724f0567c8cff..11f9123354ea24 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/tan/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/tan/test1/test1.cpp
@@ -45,11 +45,11 @@ struct test
};
/**
- * validate
+ * tan_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl tan_test1_validate(double value, double expected, double variance)
{
double result = tan(value);
@@ -67,11 +67,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * tan_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl tan_test1_validate_isnan(double value)
{
double result = tan(value);
@@ -87,7 +87,7 @@ void __cdecl validate_isnan(double value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_tan_test1_paltest_tan_test1, "c_runtime/tan/test1/paltest_tan_test1")
{
struct test tests[] =
{
@@ -117,19 +117,19 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, -tests[i].expected, tests[i].variance);
+ tan_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ tan_test1_validate(-tests[i].value, -tests[i].expected, tests[i].variance);
}
// -- SPECIAL CASE --
// Normally, tan(pi / 2) would return PAL_POSINF (atan2(PAL_POSINF) does return (pi / 2)).
// However, it seems instead (on all supported systems), we get a different number entirely.
- validate( 1.5707963267948966, 16331239353195370.0, 0);
- validate(-1.5707963267948966, -16331239353195370.0, 0);
+ tan_test1_validate( 1.5707963267948966, 16331239353195370.0, 0);
+ tan_test1_validate(-1.5707963267948966, -16331239353195370.0, 0);
- validate_isnan(PAL_NEGINF);
- validate_isnan(PAL_NAN);
- validate_isnan(PAL_POSINF);
+ tan_test1_validate_isnan(PAL_NEGINF);
+ tan_test1_validate_isnan(PAL_NAN);
+ tan_test1_validate_isnan(PAL_POSINF);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/tan/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/tan/test1/testinfo.dat
deleted file mode 100644
index 61ce69e24f3dcd..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/tan/test1/testinfo.dat
+++ /dev/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 = tan
-Name = Positive Test for tan
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to tan() a series of angle value, checking that
-= each one return to correct value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/tanf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/tanf/test1/CMakeLists.txt
deleted file mode 100644
index e6a4ee55af14be..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_tanf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_tanf_test1 coreclrpal)
-
-target_link_libraries(paltest_tanf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/tanf/test1/test1.cpp
similarity index 85%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/tanf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/tanf/test1/test1.cpp
index 7fb8b859e82a3b..2f7358cc2774dc 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/tanf/test1/test1.cpp
@@ -44,11 +44,11 @@ struct test
};
/**
- * validate
+ * tanf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl tanf_test1_validate(float value, float expected, float variance)
{
float result = tanf(value);
@@ -66,11 +66,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * tanf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl tanf_test1_validate_isnan(float value)
{
float result = tanf(value);
@@ -86,7 +86,7 @@ void __cdecl validate_isnan(float value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_tanf_test1_paltest_tanf_test1, "c_runtime/tanf/test1/paltest_tanf_test1")
{
struct test tests[] =
{
@@ -116,19 +116,19 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, -tests[i].expected, tests[i].variance);
+ tanf_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ tanf_test1_validate(-tests[i].value, -tests[i].expected, tests[i].variance);
}
// -- SPECIAL CASE --
// Normally, tanf(pi / 2) would return PAL_POSINF (atan2f(PAL_POSINF) does return (pi / 2)).
// However, it seems instead (on all supported systems), we get a different number entirely.
- validate( 1.57079633f, -22877332.0, PAL_EPSILON * 100000000);
- validate(-1.57079633f, 22877332.0, PAL_EPSILON * 100000000);
+ tanf_test1_validate( 1.57079633f, -22877332.0, PAL_EPSILON * 100000000);
+ tanf_test1_validate(-1.57079633f, 22877332.0, PAL_EPSILON * 100000000);
- validate_isnan(PAL_NEGINF);
- validate_isnan(PAL_NAN);
- validate_isnan(PAL_POSINF);
+ tanf_test1_validate_isnan(PAL_NEGINF);
+ tanf_test1_validate_isnan(PAL_NAN);
+ tanf_test1_validate_isnan(PAL_POSINF);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/tanf/test1/testinfo.dat
deleted file mode 100644
index d0b661feb425b5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanf/test1/testinfo.dat
+++ /dev/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 = tanf
-Name = Positive Test for tanf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to tanf() a series of angle value, checking that
-= each one return to correct value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanh/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/tanh/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanh/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanh/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/tanh/test1/CMakeLists.txt
deleted file mode 100644
index ee8f76a2562b39..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanh/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_tanh_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_tanh_test1 coreclrpal)
-
-target_link_libraries(paltest_tanh_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanh/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/tanh/test1/test1.cpp
index 5c6102478af543..a2df3885803c04 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanh/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/tanh/test1/test1.cpp
@@ -45,11 +45,11 @@ struct test
};
/**
- * validate
+ * tanh_test1_validate
*
* test validation function
*/
-void __cdecl validate(double value, double expected, double variance)
+void __cdecl tanh_test1_validate(double value, double expected, double variance)
{
double result = tanh(value);
@@ -67,11 +67,11 @@ void __cdecl validate(double value, double expected, double variance)
}
/**
- * validate
+ * tanh_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(double value)
+void __cdecl tanh_test1_validate_isnan(double value)
{
double result = tanh(value);
@@ -87,7 +87,7 @@ void __cdecl validate_isnan(double value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_tanh_test1_paltest_tanh_test1, "c_runtime/tanh/test1/paltest_tanh_test1")
{
struct test tests[] =
{
@@ -118,11 +118,11 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, -tests[i].expected, tests[i].variance);
+ tanh_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ tanh_test1_validate(-tests[i].value, -tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ tanh_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanh/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/tanh/test1/testinfo.dat
deleted file mode 100644
index 4bd3bfcd842802..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanh/test1/testinfo.dat
+++ /dev/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 = tanh
-Name = Positive Test for tanh
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to tanh() a series of angle value, checking that
-= each one return to correct value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanhf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/tanhf/CMakeLists.txt
deleted file mode 100644
index e46df577575559..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanhf/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(test1)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanhf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/tanhf/test1/CMakeLists.txt
deleted file mode 100644
index 5ee8f067682e5f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanhf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.c
-)
-
-add_executable(paltest_tanhf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_tanhf_test1 coreclrpal)
-
-target_link_libraries(paltest_tanhf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanhf/test1/test1.c b/src/coreclr/src/pal/tests/palsuite/c_runtime/tanhf/test1/test1.cpp
similarity index 89%
rename from src/coreclr/src/pal/tests/palsuite/c_runtime/tanhf/test1/test1.c
rename to src/coreclr/src/pal/tests/palsuite/c_runtime/tanhf/test1/test1.cpp
index 01649aea59372b..646e743fa418bf 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanhf/test1/test1.c
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/tanhf/test1/test1.cpp
@@ -44,11 +44,11 @@ struct test
};
/**
- * validate
+ * tanhf_test1_validate
*
* test validation function
*/
-void __cdecl validate(float value, float expected, float variance)
+void __cdecl tanhf_test1_validate(float value, float expected, float variance)
{
float result = tanhf(value);
@@ -66,11 +66,11 @@ void __cdecl validate(float value, float expected, float variance)
}
/**
- * validate
+ * tanhf_test1_validate
*
* test validation function for values returning NaN
*/
-void __cdecl validate_isnan(float value)
+void __cdecl tanhf_test1_validate_isnan(float value)
{
float result = tanhf(value);
@@ -86,7 +86,7 @@ void __cdecl validate_isnan(float value)
*
* executable entry point
*/
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_tanhf_test1_paltest_tanhf_test1, "c_runtime/tanhf/test1/paltest_tanhf_test1")
{
struct test tests[] =
{
@@ -117,11 +117,11 @@ int __cdecl main(int argc, char **argv)
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
- validate( tests[i].value, tests[i].expected, tests[i].variance);
- validate(-tests[i].value, -tests[i].expected, tests[i].variance);
+ tanhf_test1_validate( tests[i].value, tests[i].expected, tests[i].variance);
+ tanhf_test1_validate(-tests[i].value, -tests[i].expected, tests[i].variance);
}
- validate_isnan(PAL_NAN);
+ tanhf_test1_validate_isnan(PAL_NAN);
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanhf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/tanhf/test1/testinfo.dat
deleted file mode 100644
index 0aff99938749dd..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/tanhf/test1/testinfo.dat
+++ /dev/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 = tanhf
-Name = Positive Test for tanhf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Passes to tanhf() a series of angle value, checking that
-= each one return to correct value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/time/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/time/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/time/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/time/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/time/test1/CMakeLists.txt
deleted file mode 100644
index 7b43d7a7f2115c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/time/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_time_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_time_test1 coreclrpal)
-
-target_link_libraries(paltest_time_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/time/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/time/test1/test1.cpp
index 540794557ffd72..72d905be0a51e0 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/time/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/time/test1/test1.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_time_test1_paltest_time_test1, "c_runtime/time/test1/paltest_time_test1")
{
time_t t = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/time/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/time/test1/testinfo.dat
deleted file mode 100644
index 664cbde0110299..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/time/test1/testinfo.dat
+++ /dev/null
@@ -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 = time
-Name = Positive Test for time
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Calls the time function and verifies that the time returned is at
-= least a positive value.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/tolower/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/tolower/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/tolower/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/tolower/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/tolower/test1/CMakeLists.txt
deleted file mode 100644
index 8fb53906389cfd..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/tolower/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_tolower_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_tolower_test1 coreclrpal)
-
-target_link_libraries(paltest_tolower_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/tolower/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/tolower/test1/test1.cpp
index 6e3f0a50b6ef91..b6723786245da2 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/tolower/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/tolower/test1/test1.cpp
@@ -21,7 +21,7 @@ struct testCase
int start;
};
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_tolower_test1_paltest_tolower_test1, "c_runtime/tolower/test1/paltest_tolower_test1")
{
int result;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/tolower/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/tolower/test1/testinfo.dat
deleted file mode 100644
index 2abccb3499503c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/tolower/test1/testinfo.dat
+++ /dev/null
@@ -1,18 +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 = tolower
-Name = Positive Test for tolower
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the tolower function.
-= Check that the tolower function makes capital character lower case.
-= Also check that it has no effect on lower case letters and special
-= characters.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/toupper/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/toupper/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/toupper/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/toupper/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/toupper/test1/CMakeLists.txt
deleted file mode 100644
index 68541eb562b0c5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/toupper/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_toupper_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_toupper_test1 coreclrpal)
-
-target_link_libraries(paltest_toupper_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/toupper/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/toupper/test1/test1.cpp
index 546f898949bb93..1683aa3b9fc6d1 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/toupper/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/toupper/test1/test1.cpp
@@ -22,7 +22,7 @@ struct testCase
int start;
};
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_toupper_test1_paltest_toupper_test1, "c_runtime/toupper/test1/paltest_toupper_test1")
{
int result;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/toupper/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/toupper/test1/testinfo.dat
deleted file mode 100644
index 285f8555e7c5ce..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/toupper/test1/testinfo.dat
+++ /dev/null
@@ -1,18 +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 = toupper
-Name = Positive Test for toupper
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the toupper function.
-= Check that the toupper function makes lower case character a capital.
-= Also check that it has no effect on upper case letters and special
-= characters.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/towlower/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/towlower/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/towlower/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/towlower/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/towlower/test1/CMakeLists.txt
deleted file mode 100644
index 279882d712f09d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/towlower/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_towlower_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_towlower_test1 coreclrpal)
-
-target_link_libraries(paltest_towlower_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/towlower/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/towlower/test1/test1.cpp
index 6900a8fd43473a..e17aad88bc46d8 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/towlower/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/towlower/test1/test1.cpp
@@ -21,7 +21,7 @@ struct testCase
WCHAR start;
};
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_towlower_test1_paltest_towlower_test1, "c_runtime/towlower/test1/paltest_towlower_test1")
{
int result;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/towlower/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/towlower/test1/testinfo.dat
deleted file mode 100644
index f6ea60afb68708..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/towlower/test1/testinfo.dat
+++ /dev/null
@@ -1,18 +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 = towlower
-Name = Positive Test for towlower
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the towlower function.
-= Check that the tolower function makes capital character lower case.
-= Also check that it has no effect on lower case letters and special
-= characters.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/towupper/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/towupper/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/towupper/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/towupper/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/towupper/test1/CMakeLists.txt
deleted file mode 100644
index 95df931f4bd092..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/towupper/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_towupper_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_towupper_test1 coreclrpal)
-
-target_link_libraries(paltest_towupper_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/towupper/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/towupper/test1/test1.cpp
index a463a69d2ec517..d2fd880d17148a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/towupper/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/towupper/test1/test1.cpp
@@ -22,7 +22,7 @@ struct testCase
WCHAR start;
};
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_towupper_test1_paltest_towupper_test1, "c_runtime/towupper/test1/paltest_towupper_test1")
{
int result;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/towupper/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/towupper/test1/testinfo.dat
deleted file mode 100644
index b5977214b29bf0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/towupper/test1/testinfo.dat
+++ /dev/null
@@ -1,18 +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 = towupper
-Name = Positive Test for towupper
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the towupper function.
-= Check that the towupper function makes lower case character a capital.
-= Also check that it has no effect on upper case letters and special
-= characters.
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/CMakeLists.txt
deleted file mode 100644
index 256753a6364625..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/CMakeLists.txt
+++ /dev/null
@@ -1,20 +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(test5)
-add_subdirectory(test6)
-add_subdirectory(test7)
-add_subdirectory(test8)
-add_subdirectory(test9)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test1/CMakeLists.txt
deleted file mode 100644
index 2bc1d344163be4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_vfprintf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_vfprintf_test1 coreclrpal)
-
-target_link_libraries(paltest_vfprintf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test1/test1.cpp
index 28432f87e65dcf..8b088ba9a11adc 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test1/test1.cpp
@@ -16,7 +16,7 @@
#include
#include "../vfprintf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vfprintf_test1_paltest_vfprintf_test1, "c_runtime/vfprintf/test1/paltest_vfprintf_test1")
{
FILE *fp;
char testfile[] = "testfile.txt";
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test1/testinfo.dat
deleted file mode 100644
index fec5d5471f9cbd..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test1/testinfo.dat
+++ /dev/null
@@ -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 = vfprintf
-Name = Positive Test for vfprintf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= General test to see if vfprintf works correctly
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test10/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test10/CMakeLists.txt
deleted file mode 100644
index f15dcfec6bda95..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test10/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test10.cpp
-)
-
-add_executable(paltest_vfprintf_test10
- ${SOURCES}
-)
-
-add_dependencies(paltest_vfprintf_test10 coreclrpal)
-
-target_link_libraries(paltest_vfprintf_test10
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test10/test10.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test10/test10.cpp
index 9065352728aa40..17d5a3f00af89b 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test10/test10.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test10/test10.cpp
@@ -17,7 +17,7 @@
#include "../vfprintf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vfprintf_test10_paltest_vfprintf_test10, "c_runtime/vfprintf/test10/paltest_vfprintf_test10")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test10/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test10/testinfo.dat
deleted file mode 100644
index 4e310b6f0b53fa..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test10/testinfo.dat
+++ /dev/null
@@ -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 = vfprintf
-Name = Positive Test for vfprintf
-TYPE = DEFAULT
-EXE1 = test10
-Description
-= Tests vfprintf with octal numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test11/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test11/CMakeLists.txt
deleted file mode 100644
index fdefd96a8cb03f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test11/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test11.cpp
-)
-
-add_executable(paltest_vfprintf_test11
- ${SOURCES}
-)
-
-add_dependencies(paltest_vfprintf_test11 coreclrpal)
-
-target_link_libraries(paltest_vfprintf_test11
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test11/test11.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test11/test11.cpp
index 657d47baf9a087..e545dba311abf1 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test11/test11.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test11/test11.cpp
@@ -16,7 +16,7 @@
#include
#include "../vfprintf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vfprintf_test11_paltest_vfprintf_test11, "c_runtime/vfprintf/test11/paltest_vfprintf_test11")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test11/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test11/testinfo.dat
deleted file mode 100644
index 56a486fc9888b8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test11/testinfo.dat
+++ /dev/null
@@ -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 = vfprintf
-Name = Positive Test for vfprintf
-TYPE = DEFAULT
-EXE1 = test11
-Description
-= Tests vfprintf with unsigned numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test12/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test12/CMakeLists.txt
deleted file mode 100644
index d53b2c1275c6d8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test12/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test12.cpp
-)
-
-add_executable(paltest_vfprintf_test12
- ${SOURCES}
-)
-
-add_dependencies(paltest_vfprintf_test12 coreclrpal)
-
-target_link_libraries(paltest_vfprintf_test12
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test12/test12.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test12/test12.cpp
index 9063acf7b09179..167c4b28635b75 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test12/test12.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test12/test12.cpp
@@ -17,7 +17,7 @@
#include "../vfprintf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vfprintf_test12_paltest_vfprintf_test12, "c_runtime/vfprintf/test12/paltest_vfprintf_test12")
{
int neg = -42;
int pos = 0x1234ab;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test12/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test12/testinfo.dat
deleted file mode 100644
index 1e0579e381cd0f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test12/testinfo.dat
+++ /dev/null
@@ -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 = vfprintf
-Name = Positive Test for vfprintf
-TYPE = DEFAULT
-EXE1 = test12
-Description
-= Tests vfprintf with hex numbers (lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test13/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test13/CMakeLists.txt
deleted file mode 100644
index 7e07a5034ca462..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test13/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test13.cpp
-)
-
-add_executable(paltest_vfprintf_test13
- ${SOURCES}
-)
-
-add_dependencies(paltest_vfprintf_test13 coreclrpal)
-
-target_link_libraries(paltest_vfprintf_test13
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test13/test13.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test13/test13.cpp
index c2589697417120..6c5e4ac24e738a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test13/test13.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test13/test13.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vfprintf_test13_paltest_vfprintf_test13, "c_runtime/vfprintf/test13/paltest_vfprintf_test13")
{
int neg = -42;
int pos = 0x1234AB;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test13/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test13/testinfo.dat
deleted file mode 100644
index 337b3eed7ba7fd..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test13/testinfo.dat
+++ /dev/null
@@ -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 = vfprintf
-Name = Positive Test for vfprintf
-TYPE = DEFAULT
-EXE1 = test13
-Description
-= Tests vfprintf with hex numbers (uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test14/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test14/CMakeLists.txt
deleted file mode 100644
index eea6912b8e2342..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test14/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test14.cpp
-)
-
-add_executable(paltest_vfprintf_test14
- ${SOURCES}
-)
-
-add_dependencies(paltest_vfprintf_test14 coreclrpal)
-
-target_link_libraries(paltest_vfprintf_test14
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test14/test14.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test14/test14.cpp
index 194d47a285a731..9602a0a1bd2a52 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test14/test14.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test14/test14.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vfprintf_test14_paltest_vfprintf_test14, "c_runtime/vfprintf/test14/paltest_vfprintf_test14")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test14/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test14/testinfo.dat
deleted file mode 100644
index 21a6782a11a327..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test14/testinfo.dat
+++ /dev/null
@@ -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 = vfprintf
-Name = Positive Test for vfprintf
-TYPE = DEFAULT
-EXE1 = test14
-Description
-= Tests vfprintf with exponential format doubles (lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test15/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test15/CMakeLists.txt
deleted file mode 100644
index 1e88f42ff13e26..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test15/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test15.cpp
-)
-
-add_executable(paltest_vfprintf_test15
- ${SOURCES}
-)
-
-add_dependencies(paltest_vfprintf_test15 coreclrpal)
-
-target_link_libraries(paltest_vfprintf_test15
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test15/test15.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test15/test15.cpp
index de90698c9bb69b..050324de2a46d4 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test15/test15.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test15/test15.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vfprintf_test15_paltest_vfprintf_test15, "c_runtime/vfprintf/test15/paltest_vfprintf_test15")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test15/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test15/testinfo.dat
deleted file mode 100644
index eeb64d431ec5ff..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test15/testinfo.dat
+++ /dev/null
@@ -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 = vfprintf
-Name = Positive Test for vfprintf
-TYPE = DEFAULT
-EXE1 = test15
-Description
-= Tests vfprintf with exponential format doubles (uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test16/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test16/CMakeLists.txt
deleted file mode 100644
index d34097b4573a79..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test16/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test16.cpp
-)
-
-add_executable(paltest_vfprintf_test16
- ${SOURCES}
-)
-
-add_dependencies(paltest_vfprintf_test16 coreclrpal)
-
-target_link_libraries(paltest_vfprintf_test16
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test16/test16.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test16/test16.cpp
index eba3cbaae4601f..cc7dab4a4d6be5 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test16/test16.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test16/test16.cpp
@@ -17,7 +17,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vfprintf_test16_paltest_vfprintf_test16, "c_runtime/vfprintf/test16/paltest_vfprintf_test16")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test16/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test16/testinfo.dat
deleted file mode 100644
index bcfa56f113c028..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test16/testinfo.dat
+++ /dev/null
@@ -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 = vfprintf
-Name = Positive Test for vfprintf
-TYPE = DEFAULT
-EXE1 = test16
-Description
-= Tests vfprintf with decimal point format doubles
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test17/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test17/CMakeLists.txt
deleted file mode 100644
index 15c53b877491f3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test17/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test17.cpp
-)
-
-add_executable(paltest_vfprintf_test17
- ${SOURCES}
-)
-
-add_dependencies(paltest_vfprintf_test17 coreclrpal)
-
-target_link_libraries(paltest_vfprintf_test17
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test17/test17.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test17/test17.cpp
index add1f54cd02ab9..e60694909eeafb 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test17/test17.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test17/test17.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vfprintf_test17_paltest_vfprintf_test17, "c_runtime/vfprintf/test17/paltest_vfprintf_test17")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test17/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test17/testinfo.dat
deleted file mode 100644
index 6f4159a01187ed..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test17/testinfo.dat
+++ /dev/null
@@ -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 = vfprintf
-Name = Positive Test for vfprintf
-TYPE = DEFAULT
-EXE1 = test17
-Description
-= Tests vfprintf with compact format doubles (lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test18/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test18/CMakeLists.txt
deleted file mode 100644
index 1e91c5e043a281..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test18/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test18.cpp
-)
-
-add_executable(paltest_vfprintf_test18
- ${SOURCES}
-)
-
-add_dependencies(paltest_vfprintf_test18 coreclrpal)
-
-target_link_libraries(paltest_vfprintf_test18
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test18/test18.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test18/test18.cpp
index 6b4eea39725579..e634c02aac5fcd 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test18/test18.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test18/test18.cpp
@@ -17,7 +17,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vfprintf_test18_paltest_vfprintf_test18, "c_runtime/vfprintf/test18/paltest_vfprintf_test18")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test18/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test18/testinfo.dat
deleted file mode 100644
index 41c470542d4045..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test18/testinfo.dat
+++ /dev/null
@@ -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 = vfprintf
-Name = Positive Test for vfprintf
-TYPE = DEFAULT
-EXE1 = test18
-Description
-= Tests vfprintf with compact format doubles (uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test19/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test19/CMakeLists.txt
deleted file mode 100644
index 41315534c928ba..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test19/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test19.cpp
-)
-
-add_executable(paltest_vfprintf_test19
- ${SOURCES}
-)
-
-add_dependencies(paltest_vfprintf_test19 coreclrpal)
-
-target_link_libraries(paltest_vfprintf_test19
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test19/test19.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test19/test19.cpp
index 53b1209364fdcd..1e83dc6259ead4 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test19/test19.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test19/test19.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vfprintf_test19_paltest_vfprintf_test19, "c_runtime/vfprintf/test19/paltest_vfprintf_test19")
{
int n = -1;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test19/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test19/testinfo.dat
deleted file mode 100644
index b8bccc7b2cac75..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test19/testinfo.dat
+++ /dev/null
@@ -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 = vfprintf
-Name = Positive Test for vfprintf
-TYPE = DEFAULT
-EXE1 = test19
-Description
-= Tests vfprintf with argument specified precision
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test2/CMakeLists.txt
deleted file mode 100644
index 3c2c738bf705fe..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_vfprintf_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_vfprintf_test2 coreclrpal)
-
-target_link_libraries(paltest_vfprintf_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test2/test2.cpp
index f19665b6e1f380..df7ba73ee1c0e7 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test2/test2.cpp
@@ -17,7 +17,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vfprintf_test2_paltest_vfprintf_test2, "c_runtime/vfprintf/test2/paltest_vfprintf_test2")
{
if (PAL_Initialize(argc, argv))
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test2/testinfo.dat
deleted file mode 100644
index 7fbe6596a7f11c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test2/testinfo.dat
+++ /dev/null
@@ -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 = vfprintf
-Name = Positive Test for vfprintf
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Tests vfprintf with strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test3/CMakeLists.txt
deleted file mode 100644
index 85a4265b557471..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_vfprintf_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_vfprintf_test3 coreclrpal)
-
-target_link_libraries(paltest_vfprintf_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test3/test3.cpp
index b9ab319f2f9475..96a08df5e3a9ce 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test3/test3.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vfprintf_test3_paltest_vfprintf_test3, "c_runtime/vfprintf/test3/paltest_vfprintf_test3")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test3/testinfo.dat
deleted file mode 100644
index 721c7c9e48cecf..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test3/testinfo.dat
+++ /dev/null
@@ -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 = vfprintf
-Name = Positive Test for vfprintf
-TYPE = DEFAULT
-EXE1 = test3
-Description
-= Tests vfprintf with wide strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test4/CMakeLists.txt
deleted file mode 100644
index 5907a8d71c5052..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_vfprintf_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_vfprintf_test4 coreclrpal)
-
-target_link_libraries(paltest_vfprintf_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test4/test4.cpp
index 8afbca48333985..410c6ec158053a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test4/test4.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vfprintf_test4_paltest_vfprintf_test4, "c_runtime/vfprintf/test4/paltest_vfprintf_test4")
{
void *ptr = (void*) 0x123456;
INT64 lptr = I64(0x1234567887654321);
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test4/testinfo.dat
deleted file mode 100644
index 7413dcc4f0ef69..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test4/testinfo.dat
+++ /dev/null
@@ -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 = vfprintf
-Name = Positive Test for vfprintf
-TYPE = DEFAULT
-EXE1 = test4
-Description
-= Tests vfprintf with pointers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test5/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test5/CMakeLists.txt
deleted file mode 100644
index 97e5e4b0043108..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test5/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test5.cpp
-)
-
-add_executable(paltest_vfprintf_test5
- ${SOURCES}
-)
-
-add_dependencies(paltest_vfprintf_test5 coreclrpal)
-
-target_link_libraries(paltest_vfprintf_test5
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test5/test5.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test5/test5.cpp
index 03a8bd60b5523e..ccea60e93e3bf2 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test5/test5.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test5/test5.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vfprintf_test5_paltest_vfprintf_test5, "c_runtime/vfprintf/test5/paltest_vfprintf_test5")
{
char *longStr =
"really-long-string-that-just-keeps-going-on-and-on-and-on.."
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test5/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test5/testinfo.dat
deleted file mode 100644
index bd5d1e00a5d5df..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test5/testinfo.dat
+++ /dev/null
@@ -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 = vfprintf
-Name = Positive Test for vfprintf
-TYPE = DEFAULT
-EXE1 = test5
-Description
-= Tests vfprintf with the count specifier
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test6/CMakeLists.txt
deleted file mode 100644
index afe4f1aeb47fc4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test6.cpp
-)
-
-add_executable(paltest_vfprintf_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_vfprintf_test6 coreclrpal)
-
-target_link_libraries(paltest_vfprintf_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test6/test6.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test6/test6.cpp
index afa0909d648530..6404e8fca89e9d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test6/test6.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test6/test6.cpp
@@ -17,7 +17,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vfprintf_test6_paltest_vfprintf_test6, "c_runtime/vfprintf/test6/paltest_vfprintf_test6")
{
WCHAR wc = (WCHAR) 'c';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test6/testinfo.dat
deleted file mode 100644
index 3a6f60d2a3f324..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test6/testinfo.dat
+++ /dev/null
@@ -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 = vfprintf
-Name = Positive Test for vfprintf
-TYPE = DEFAULT
-EXE1 = test6
-Description
-= Tests vfprintf with characters
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test7/CMakeLists.txt
deleted file mode 100644
index e528033157d490..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test7.cpp
-)
-
-add_executable(paltest_vfprintf_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_vfprintf_test7 coreclrpal)
-
-target_link_libraries(paltest_vfprintf_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test7/test7.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test7/test7.cpp
index e8871b71600d8e..05e88dcb1f5b98 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test7/test7.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test7/test7.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vfprintf_test7_paltest_vfprintf_test7, "c_runtime/vfprintf/test7/paltest_vfprintf_test7")
{
WCHAR wb = (WCHAR) 'b';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test7/testinfo.dat
deleted file mode 100644
index 0bfd81343a5542..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test7/testinfo.dat
+++ /dev/null
@@ -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 = vfprintf
-Name = Positive Test for vfprintf
-TYPE = DEFAULT
-EXE1 = test7
-Description
-= Tests vfprintf with wide characters
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test8/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test8/CMakeLists.txt
deleted file mode 100644
index d131025ef00f68..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test8/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test8.cpp
-)
-
-add_executable(paltest_vfprintf_test8
- ${SOURCES}
-)
-
-add_dependencies(paltest_vfprintf_test8 coreclrpal)
-
-target_link_libraries(paltest_vfprintf_test8
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test8/test8.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test8/test8.cpp
index 3c6896417446d4..ce046df8950eb8 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test8/test8.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test8/test8.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vfprintf_test8_paltest_vfprintf_test8, "c_runtime/vfprintf/test8/paltest_vfprintf_test8")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test8/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test8/testinfo.dat
deleted file mode 100644
index 05bfce9c1932db..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test8/testinfo.dat
+++ /dev/null
@@ -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 = vfprintf
-Name = Positive Test for vfprintf
-TYPE = DEFAULT
-EXE1 = test8
-Description
-= Tests vfprintf with decimal numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test9/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test9/CMakeLists.txt
deleted file mode 100644
index 68c07179a8fcc6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test9/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test9.cpp
-)
-
-add_executable(paltest_vfprintf_test9
- ${SOURCES}
-)
-
-add_dependencies(paltest_vfprintf_test9 coreclrpal)
-
-target_link_libraries(paltest_vfprintf_test9
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test9/test9.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test9/test9.cpp
index f77ad5710ba65d..6a4bc39a52def5 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test9/test9.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test9/test9.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vfprintf_test9_paltest_vfprintf_test9, "c_runtime/vfprintf/test9/paltest_vfprintf_test9")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test9/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test9/testinfo.dat
deleted file mode 100644
index af803d0ef2eaaa..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/test9/testinfo.dat
+++ /dev/null
@@ -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 = vfprintf
-Name = Positive Test for vfprintf
-TYPE = DEFAULT
-EXE1 = test9
-Description
-= Tests vfprintf with integer numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/vfprintf.h b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/vfprintf.h
index 1e5bac108cab28..f8aa9dc8aecb4a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/vfprintf.h
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vfprintf/vfprintf.h
@@ -13,7 +13,7 @@
#ifndef __vfprintf_H__
#define __vfprintf_H__
-int DoVfprintf(FILE *fp, const char *format, ...)
+inline int DoVfprintf(FILE *fp, const char *format, ...)
{
int retVal;
va_list arglist;
@@ -25,7 +25,7 @@ int DoVfprintf(FILE *fp, const char *format, ...)
return (retVal);
}
-void DoStrTest(const char *formatstr, char* param, const char *checkstr)
+inline void DoStrTest_vfprintf(const char *formatstr, char* param, const char *checkstr)
{
FILE *fp;
char buf[256] = { 0 };
@@ -55,8 +55,9 @@ void DoStrTest(const char *formatstr, char* param, const char *checkstr)
}
fclose(fp);
}
+#define DoStrTest DoStrTest_vfprintf
-void DoWStrTest(const char *formatstr, WCHAR* param, const char *checkstr)
+inline void DoWStrTest_vfprintf(const char *formatstr, WCHAR* param, const char *checkstr)
{
FILE *fp;
char buf[256] = { 0 };
@@ -86,9 +87,9 @@ void DoWStrTest(const char *formatstr, WCHAR* param, const char *checkstr)
}
fclose(fp);
}
+#define DoWStrTest DoWStrTest_vfprintf
-
-void DoPointerTest(const char *formatstr, void* param, char* paramstr,
+inline void DoPointerTest_vfprintf(const char *formatstr, void* param, char* paramstr,
const char *checkstr1)
{
FILE *fp;
@@ -126,10 +127,9 @@ void DoPointerTest(const char *formatstr, void* param, char* paramstr,
Fail("ERROR: fclose failed to close \"testfile.txt\"\n");
}
}
+#define DoPointerTest DoPointerTest_vfprintf
-
-
-void DoCountTest(const char *formatstr, int param, const char *checkstr)
+inline void DoCountTest_vfprintf(const char *formatstr, int param, const char *checkstr)
{
FILE *fp;
char buf[512] = { 0 };
@@ -171,8 +171,9 @@ void DoCountTest(const char *formatstr, int param, const char *checkstr)
Fail("ERROR: fclose failed to close \"testfile.txt\"\n");
}
}
+#define DoCountTest DoCountTest_vfprintf
-void DoShortCountTest(const char *formatstr, int param, const char *checkstr)
+inline void DoShortCountTest_vfprintf(const char *formatstr, int param, const char *checkstr)
{
FILE *fp;
char buf[512] = { 0 };
@@ -214,9 +215,9 @@ void DoShortCountTest(const char *formatstr, int param, const char *checkstr)
Fail("ERROR: fclose failed to close \"testfile.txt\"\n");
}
}
+#define DoShortCountTest DoShortCountTest_vfprintf
-
-void DoCharTest(const char *formatstr, char param, const char *checkstr)
+inline void DoCharTest_vfprintf(const char *formatstr, char param, const char *checkstr)
{
FILE *fp;
char buf[256] = { 0 };
@@ -246,8 +247,9 @@ void DoCharTest(const char *formatstr, char param, const char *checkstr)
}
fclose(fp);
}
+#define DoCharTest DoCharTest_vfprintf
-void DoWCharTest(const char *formatstr, WCHAR param, const char *checkstr)
+inline void DoWCharTest_vfprintf(const char *formatstr, WCHAR param, const char *checkstr)
{
FILE *fp;
char buf[256] = { 0 };
@@ -277,8 +279,9 @@ void DoWCharTest(const char *formatstr, WCHAR param, const char *checkstr)
}
fclose(fp);
}
+#define DoWCharTest DoWCharTest_vfprintf
-void DoNumTest(const char *formatstr, int value, const char *checkstr)
+inline void DoNumTest_vfprintf(const char *formatstr, int value, const char *checkstr)
{
FILE *fp;
char buf[256] = { 0 };
@@ -308,8 +311,9 @@ void DoNumTest(const char *formatstr, int value, const char *checkstr)
}
fclose(fp);
}
+#define DoNumTest DoNumTest_vfprintf
-void DoI64Test(const char *formatstr, INT64 value, char *valuestr, const char *checkstr1)
+inline void DoI64Test_vfprintf(const char *formatstr, INT64 value, char *valuestr, const char *checkstr1)
{
FILE *fp;
char buf[256] = { 0 };
@@ -339,8 +343,9 @@ void DoI64Test(const char *formatstr, INT64 value, char *valuestr, const char *c
}
fclose(fp);
}
+#define DoI64Test DoI64Test_vfprintf
-void DoDoubleTest(const char *formatstr, double value, const char *checkstr1,
+inline void DoDoubleTest_vfprintf(const char *formatstr, double value, const char *checkstr1,
const char *checkstr2)
{
FILE *fp;
@@ -373,9 +378,9 @@ void DoDoubleTest(const char *formatstr, double value, const char *checkstr1,
}
fclose(fp);
}
+#define DoDoubleTest DoDoubleTest_vfprintf
-
-void DoArgumentPrecTest(const char *formatstr, int precision, void *param,
+inline void DoArgumentPrecTest_vfprintf(const char *formatstr, int precision, void *param,
char *paramstr, const char *checkstr1, const char *checkstr2)
{
FILE *fp;
@@ -416,8 +421,9 @@ void DoArgumentPrecTest(const char *formatstr, int precision, void *param,
}
}
+#define DoArgumentPrecTest DoArgumentPrecTest_vfprintf
-void DoArgumentPrecDoubleTest(const char *formatstr, int precision, double param,
+inline void DoArgumentPrecDoubleTest_vfprintf(const char *formatstr, int precision, double param,
const char *checkstr1, const char *checkstr2)
{
FILE *fp;
@@ -457,6 +463,7 @@ void DoArgumentPrecDoubleTest(const char *formatstr, int precision, double param
}
}
+#define DoArgumentPrecDoubleTest DoArgumentPrecDoubleTest_vfprintf
#endif
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/CMakeLists.txt
deleted file mode 100644
index 12016659f6be1d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/CMakeLists.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-# This test fails to build on ARM
-#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(test5)
-add_subdirectory(test6)
-add_subdirectory(test7)
-add_subdirectory(test8)
-add_subdirectory(test9)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test1/CMakeLists.txt
deleted file mode 100644
index 12e210b906d38d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_vprintf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_vprintf_test1 coreclrpal)
-
-target_link_libraries(paltest_vprintf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test1/test1.cpp
index 721ea27c12ae65..018055ca30d440 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test1/test1.cpp
@@ -16,7 +16,7 @@
#include
#include "../vprintf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vprintf_test1_paltest_vprintf_test1, "c_runtime/vprintf/test1/paltest_vprintf_test1")
{
char checkstr[] = "hello world";
int ret;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test1/testinfo.dat
deleted file mode 100644
index 36105e5acdd958..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test1/testinfo.dat
+++ /dev/null
@@ -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 = vprintf
-Name = Positive Test for vprintf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= General test to see if vprintf works correctly
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test10/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test10/CMakeLists.txt
deleted file mode 100644
index debfd71a7c4603..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test10/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test10.cpp
-)
-
-add_executable(paltest_vprintf_test10
- ${SOURCES}
-)
-
-add_dependencies(paltest_vprintf_test10 coreclrpal)
-
-target_link_libraries(paltest_vprintf_test10
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test10/test10.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test10/test10.cpp
index b7a6a1e2a2523b..e58ac1816dbf1a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test10/test10.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test10/test10.cpp
@@ -17,7 +17,7 @@
#include "../vprintf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vprintf_test10_paltest_vprintf_test10, "c_runtime/vprintf/test10/paltest_vprintf_test10")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test10/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test10/testinfo.dat
deleted file mode 100644
index e6a506774d7804..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test10/testinfo.dat
+++ /dev/null
@@ -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 = vprintf
-Name = Positive Test for vprintf
-TYPE = DEFAULT
-EXE1 = test10
-Description
-= Tests vprintf with octal numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test11/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test11/CMakeLists.txt
deleted file mode 100644
index 55d59ef7ba536a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test11/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test11.cpp
-)
-
-add_executable(paltest_vprintf_test11
- ${SOURCES}
-)
-
-add_dependencies(paltest_vprintf_test11 coreclrpal)
-
-target_link_libraries(paltest_vprintf_test11
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test11/test11.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test11/test11.cpp
index 61b370236b0fb3..b2718c995dade1 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test11/test11.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test11/test11.cpp
@@ -16,7 +16,7 @@
#include
#include "../vprintf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vprintf_test11_paltest_vprintf_test11, "c_runtime/vprintf/test11/paltest_vprintf_test11")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test11/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test11/testinfo.dat
deleted file mode 100644
index 19b15fb392756d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test11/testinfo.dat
+++ /dev/null
@@ -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 = vprintf
-Name = Positive Test for vprintf
-TYPE = DEFAULT
-EXE1 = test11
-Description
-= Tests vprintf with unsigned numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test12/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test12/CMakeLists.txt
deleted file mode 100644
index 1211a7d55ac879..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test12/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test12.cpp
-)
-
-add_executable(paltest_vprintf_test12
- ${SOURCES}
-)
-
-add_dependencies(paltest_vprintf_test12 coreclrpal)
-
-target_link_libraries(paltest_vprintf_test12
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test12/test12.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test12/test12.cpp
index a44a60abf60e2c..1cf22fef032700 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test12/test12.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test12/test12.cpp
@@ -17,7 +17,7 @@
#include "../vprintf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vprintf_test12_paltest_vprintf_test12, "c_runtime/vprintf/test12/paltest_vprintf_test12")
{
int neg = -42;
int pos = 0x1234ab;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test12/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test12/testinfo.dat
deleted file mode 100644
index 0b2af43a4ffa74..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test12/testinfo.dat
+++ /dev/null
@@ -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 = vprintf
-Name = Positive Test for vprintf
-TYPE = DEFAULT
-EXE1 = test12
-Description
-= Tests vprintf with hex numbers (lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test13/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test13/CMakeLists.txt
deleted file mode 100644
index 0d7943d61be019..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test13/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test13.cpp
-)
-
-add_executable(paltest_vprintf_test13
- ${SOURCES}
-)
-
-add_dependencies(paltest_vprintf_test13 coreclrpal)
-
-target_link_libraries(paltest_vprintf_test13
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test13/test13.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test13/test13.cpp
index 8267a21f6f8228..9919fab52a16c3 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test13/test13.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test13/test13.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vprintf_test13_paltest_vprintf_test13, "c_runtime/vprintf/test13/paltest_vprintf_test13")
{
int neg = -42;
int pos = 0x1234AB;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test13/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test13/testinfo.dat
deleted file mode 100644
index e962e317630476..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test13/testinfo.dat
+++ /dev/null
@@ -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 = vprintf
-Name = Positive Test for vprintf
-TYPE = DEFAULT
-EXE1 = test13
-Description
-= Tests vprintf with hex numbers (uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test14/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test14/CMakeLists.txt
deleted file mode 100644
index abf54434848d31..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test14/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test14.cpp
-)
-
-add_executable(paltest_vprintf_test14
- ${SOURCES}
-)
-
-add_dependencies(paltest_vprintf_test14 coreclrpal)
-
-target_link_libraries(paltest_vprintf_test14
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test14/test14.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test14/test14.cpp
index bba973a1e7f19d..874fc00dc45ce7 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test14/test14.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test14/test14.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vprintf_test14_paltest_vprintf_test14, "c_runtime/vprintf/test14/paltest_vprintf_test14")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test14/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test14/testinfo.dat
deleted file mode 100644
index 6d8fd63fdb61c6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test14/testinfo.dat
+++ /dev/null
@@ -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 = vprintf
-Name = Positive Test for vprintf
-TYPE = DEFAULT
-EXE1 = test14
-Description
-= Tests vprintf with exponential format doubles (lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test15/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test15/CMakeLists.txt
deleted file mode 100644
index 51e3c550101361..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test15/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test15.cpp
-)
-
-add_executable(paltest_vprintf_test15
- ${SOURCES}
-)
-
-add_dependencies(paltest_vprintf_test15 coreclrpal)
-
-target_link_libraries(paltest_vprintf_test15
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test15/test15.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test15/test15.cpp
index 6ea26bab57ff6d..d5b0d14c1330be 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test15/test15.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test15/test15.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vprintf_test15_paltest_vprintf_test15, "c_runtime/vprintf/test15/paltest_vprintf_test15")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test15/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test15/testinfo.dat
deleted file mode 100644
index bd474baf7d2737..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test15/testinfo.dat
+++ /dev/null
@@ -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 = vprintf
-Name = Positive Test for vprintf
-TYPE = DEFAULT
-EXE1 = test15
-Description
-= Tests vprintf with exponential format doubles (uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test16/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test16/CMakeLists.txt
deleted file mode 100644
index 54588ed1c9983b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test16/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test16.cpp
-)
-
-add_executable(paltest_vprintf_test16
- ${SOURCES}
-)
-
-add_dependencies(paltest_vprintf_test16 coreclrpal)
-
-target_link_libraries(paltest_vprintf_test16
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test16/test16.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test16/test16.cpp
index 7cb28491017fa8..4834d8002f09f0 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test16/test16.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test16/test16.cpp
@@ -17,7 +17,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vprintf_test16_paltest_vprintf_test16, "c_runtime/vprintf/test16/paltest_vprintf_test16")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test16/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test16/testinfo.dat
deleted file mode 100644
index f70e7de261f936..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test16/testinfo.dat
+++ /dev/null
@@ -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 = vprintf
-Name = Positive Test for vprintf
-TYPE = DEFAULT
-EXE1 = test16
-Description
-= Tests vprintf with decimal point format doubles
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test17/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test17/CMakeLists.txt
deleted file mode 100644
index 657a41c442c36b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test17/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test17.cpp
-)
-
-add_executable(paltest_vprintf_test17
- ${SOURCES}
-)
-
-add_dependencies(paltest_vprintf_test17 coreclrpal)
-
-target_link_libraries(paltest_vprintf_test17
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test17/test17.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test17/test17.cpp
index 0d178b935f77a5..1711b0f013ba8c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test17/test17.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test17/test17.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vprintf_test17_paltest_vprintf_test17, "c_runtime/vprintf/test17/paltest_vprintf_test17")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test17/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test17/testinfo.dat
deleted file mode 100644
index 75c5bf43e34e99..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test17/testinfo.dat
+++ /dev/null
@@ -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 = vprintf
-Name = Positive Test for vprintf
-TYPE = DEFAULT
-EXE1 = test17
-Description
-= Tests vprintf with compact format doubles (lowercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test18/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test18/CMakeLists.txt
deleted file mode 100644
index d0ad8fcb9a6786..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test18/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test18.cpp
-)
-
-add_executable(paltest_vprintf_test18
- ${SOURCES}
-)
-
-add_dependencies(paltest_vprintf_test18 coreclrpal)
-
-target_link_libraries(paltest_vprintf_test18
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test18/test18.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test18/test18.cpp
index 67d491140aa2a8..a5b7f54d5da342 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test18/test18.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test18/test18.cpp
@@ -17,7 +17,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vprintf_test18_paltest_vprintf_test18, "c_runtime/vprintf/test18/paltest_vprintf_test18")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test18/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test18/testinfo.dat
deleted file mode 100644
index 81e9efbf1fbf32..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test18/testinfo.dat
+++ /dev/null
@@ -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 = vprintf
-Name = Positive Test for vprintf
-TYPE = DEFAULT
-EXE1 = test18
-Description
-= Tests vprintf with compact format doubles (uppercase)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test19/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test19/CMakeLists.txt
deleted file mode 100644
index f07d23607ca5c5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test19/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test19.cpp
-)
-
-add_executable(paltest_vprintf_test19
- ${SOURCES}
-)
-
-add_dependencies(paltest_vprintf_test19 coreclrpal)
-
-target_link_libraries(paltest_vprintf_test19
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test19/test19.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test19/test19.cpp
index abeb7ead6e3e74..d99abe7b8e030c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test19/test19.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test19/test19.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vprintf_test19_paltest_vprintf_test19, "c_runtime/vprintf/test19/paltest_vprintf_test19")
{
int n = -1;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test19/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test19/testinfo.dat
deleted file mode 100644
index cbd8547ae944ff..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test19/testinfo.dat
+++ /dev/null
@@ -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 = vprintf
-Name = Positive Test for vprintf
-TYPE = DEFAULT
-EXE1 = test19
-Description
-= Tests vprintf with argument specified precision
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test2/CMakeLists.txt
deleted file mode 100644
index 13edb26ca9505d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_vprintf_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_vprintf_test2 coreclrpal)
-
-target_link_libraries(paltest_vprintf_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test2/test2.cpp
index 7b4b133f992837..ca43ae83fde367 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test2/test2.cpp
@@ -17,7 +17,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vprintf_test2_paltest_vprintf_test2, "c_runtime/vprintf/test2/paltest_vprintf_test2")
{
if (PAL_Initialize(argc, argv))
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test2/testinfo.dat
deleted file mode 100644
index 6abd0066b556b8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test2/testinfo.dat
+++ /dev/null
@@ -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 = vprintf
-Name = Positive Test for vprintf
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Tests vprintf with strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test3/CMakeLists.txt
deleted file mode 100644
index c704c2ffd32756..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_vprintf_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_vprintf_test3 coreclrpal)
-
-target_link_libraries(paltest_vprintf_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test3/test3.cpp
index 62826cfbc5ae94..1348eb40b518d5 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test3/test3.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vprintf_test3_paltest_vprintf_test3, "c_runtime/vprintf/test3/paltest_vprintf_test3")
{
if (PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test3/testinfo.dat
deleted file mode 100644
index c5776a92eb44cf..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test3/testinfo.dat
+++ /dev/null
@@ -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 = vprintf
-Name = Positive Test for vprintf
-TYPE = DEFAULT
-EXE1 = test3
-Description
-= Tests vprintf with wide strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test4/CMakeLists.txt
deleted file mode 100644
index fdb5acd9a748f4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_vprintf_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_vprintf_test4 coreclrpal)
-
-target_link_libraries(paltest_vprintf_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test4/test4.cpp
index 6a915b82fde0a9..bf98ec23ba9c16 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test4/test4.cpp
@@ -19,7 +19,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vprintf_test4_paltest_vprintf_test4, "c_runtime/vprintf/test4/paltest_vprintf_test4")
{
void *ptr = (void*) 0x123456;
INT64 lptr = I64(0x1234567887654321);
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test4/testinfo.dat
deleted file mode 100644
index 30c18365d8ec7d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test4/testinfo.dat
+++ /dev/null
@@ -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 = vprintf
-Name = Positive Test for vprintf
-TYPE = DEFAULT
-EXE1 = test4
-Description
-= Tests vprintf with pointers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test5/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test5/CMakeLists.txt
deleted file mode 100644
index 13c660c1b51e99..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test5/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test5.cpp
-)
-
-add_executable(paltest_vprintf_test5
- ${SOURCES}
-)
-
-add_dependencies(paltest_vprintf_test5 coreclrpal)
-
-target_link_libraries(paltest_vprintf_test5
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test5/test5.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test5/test5.cpp
index 69a9f0d2405aa9..a2b3233b5ac378 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test5/test5.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test5/test5.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vprintf_test5_paltest_vprintf_test5, "c_runtime/vprintf/test5/paltest_vprintf_test5")
{
char *longStr =
"really-long-string-that-just-keeps-going-on-and-on-and-on.."
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test5/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test5/testinfo.dat
deleted file mode 100644
index b1c3e8cf4974cf..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test5/testinfo.dat
+++ /dev/null
@@ -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 = vprintf
-Name = Positive Test for vprintf
-TYPE = DEFAULT
-EXE1 = test5
-Description
-= Tests vprintf with the count specifier
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test6/CMakeLists.txt
deleted file mode 100644
index df9ec1916cdba7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test6.cpp
-)
-
-add_executable(paltest_vprintf_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_vprintf_test6 coreclrpal)
-
-target_link_libraries(paltest_vprintf_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test6/test6.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test6/test6.cpp
index 3a04a5142056ad..5c6bec8c493cef 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test6/test6.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test6/test6.cpp
@@ -17,7 +17,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vprintf_test6_paltest_vprintf_test6, "c_runtime/vprintf/test6/paltest_vprintf_test6")
{
WCHAR wc = (WCHAR) 'c';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test6/testinfo.dat
deleted file mode 100644
index f762bc6e9cbb36..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test6/testinfo.dat
+++ /dev/null
@@ -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 = vprintf
-Name = Positive Test for vprintf
-TYPE = DEFAULT
-EXE1 = test6
-Description
-= Tests vprintf with characters
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test7/CMakeLists.txt
deleted file mode 100644
index d0086a9b362879..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test7.cpp
-)
-
-add_executable(paltest_vprintf_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_vprintf_test7 coreclrpal)
-
-target_link_libraries(paltest_vprintf_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test7/test7.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test7/test7.cpp
index 14bef0bf965030..d735623d082d78 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test7/test7.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test7/test7.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vprintf_test7_paltest_vprintf_test7, "c_runtime/vprintf/test7/paltest_vprintf_test7")
{
WCHAR wb = (WCHAR) 'b';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test7/testinfo.dat
deleted file mode 100644
index 399518e6ffd9b9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test7/testinfo.dat
+++ /dev/null
@@ -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 = vprintf
-Name = Positive Test for vprintf
-TYPE = DEFAULT
-EXE1 = test7
-Description
-= Tests vprintf with wide characters
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test8/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test8/CMakeLists.txt
deleted file mode 100644
index c47e2cf16ec3b1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test8/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test8.cpp
-)
-
-add_executable(paltest_vprintf_test8
- ${SOURCES}
-)
-
-add_dependencies(paltest_vprintf_test8 coreclrpal)
-
-target_link_libraries(paltest_vprintf_test8
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test8/test8.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test8/test8.cpp
index bed3b18b3099ac..7c1128d3653f2c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test8/test8.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test8/test8.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vprintf_test8_paltest_vprintf_test8, "c_runtime/vprintf/test8/paltest_vprintf_test8")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test8/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test8/testinfo.dat
deleted file mode 100644
index 0bb7038786f602..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test8/testinfo.dat
+++ /dev/null
@@ -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 = vprintf
-Name = Positive Test for vprintf
-TYPE = DEFAULT
-EXE1 = test8
-Description
-= Tests vprintf with decimal numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test9/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test9/CMakeLists.txt
deleted file mode 100644
index 521e354c3bacea..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test9/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test9.cpp
-)
-
-add_executable(paltest_vprintf_test9
- ${SOURCES}
-)
-
-add_dependencies(paltest_vprintf_test9 coreclrpal)
-
-target_link_libraries(paltest_vprintf_test9
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test9/test9.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test9/test9.cpp
index 4f8a05e4ce568f..44004d35ce1c8f 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test9/test9.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test9/test9.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vprintf_test9_paltest_vprintf_test9, "c_runtime/vprintf/test9/paltest_vprintf_test9")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test9/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test9/testinfo.dat
deleted file mode 100644
index 38b887dd1c2491..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/test9/testinfo.dat
+++ /dev/null
@@ -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 = vprintf
-Name = Positive Test for vprintf
-TYPE = DEFAULT
-EXE1 = test9
-Description
-= Tests vprintf with integer numbers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/vprintf.h b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/vprintf.h
index 87e7956b76225e..cdb0f4e5ee34ce 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/vprintf.h
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vprintf/vprintf.h
@@ -13,7 +13,7 @@
#ifndef __vprintf_H__
#define __vprintf_H__
-int DoVprintf(const char *format, ...)
+inline int DoVprintf(const char *format, ...)
{
int retVal;
va_list arglist;
@@ -25,7 +25,7 @@ int DoVprintf(const char *format, ...)
return (retVal);
}
-void DoStrTest(const char *formatstr, char* param, const char *checkstr)
+inline void DoStrTest_vprintf(const char *formatstr, char* param, const char *checkstr)
{
int ret;
@@ -36,8 +36,9 @@ void DoStrTest(const char *formatstr, char* param, const char *checkstr)
strlen(checkstr), ret);
}
}
+#define DoStrTest DoStrTest_vprintf
-void DoWStrTest(const char *formatstr, WCHAR* param, const char *checkstr)
+inline void DoWStrTest_vprintf(const char *formatstr, WCHAR* param, const char *checkstr)
{
int ret;
@@ -48,8 +49,9 @@ void DoWStrTest(const char *formatstr, WCHAR* param, const char *checkstr)
strlen(checkstr), ret);
}
}
+#define DoWStrTest DoWStrTest_vprintf
-void DoPointerTest(const char *formatstr, void* param, char* paramstr,
+inline void DoPointerTest_vprintf(const char *formatstr, void* param, char* paramstr,
const char *checkstr1)
{
int ret;
@@ -61,8 +63,9 @@ void DoPointerTest(const char *formatstr, void* param, char* paramstr,
strlen(checkstr1), ret);
}
}
+#define DoPointerTest DoPointerTest_vprintf
-void DoCountTest(const char *formatstr, int param, const char *checkstr)
+inline void DoCountTest_vprintf(const char *formatstr, int param, const char *checkstr)
{
int ret;
int n = -1;
@@ -80,8 +83,9 @@ void DoCountTest(const char *formatstr, int param, const char *checkstr)
strlen(checkstr), ret);
}
}
+#define DoCountTest DoCountTest_vprintf
-void DoShortCountTest(const char *formatstr, int param, const char *checkstr)
+inline void DoShortCountTest_vprintf(const char *formatstr, int param, const char *checkstr)
{
int ret;
short int n = -1;
@@ -99,9 +103,9 @@ void DoShortCountTest(const char *formatstr, int param, const char *checkstr)
strlen(checkstr), ret);
}
}
+#define DoShortCountTest DoShortCountTest_vprintf
-
-void DoCharTest(const char *formatstr, char param, const char *checkstr)
+inline void DoCharTest_vprintf(const char *formatstr, char param, const char *checkstr)
{
int ret;
@@ -112,8 +116,9 @@ void DoCharTest(const char *formatstr, char param, const char *checkstr)
strlen(checkstr), ret);
}
}
+#define DoCharTest DoCharTest_vprintf
-void DoWCharTest(const char *formatstr, WCHAR param, const char *checkstr)
+inline void DoWCharTest_vprintf(const char *formatstr, WCHAR param, const char *checkstr)
{
int ret;
@@ -124,8 +129,9 @@ void DoWCharTest(const char *formatstr, WCHAR param, const char *checkstr)
strlen(checkstr), ret);
}
}
+#define DoWCharTest DoWCharTest_vprintf
-void DoNumTest(const char *formatstr, int param, const char *checkstr)
+inline void DoNumTest_vprintf(const char *formatstr, int param, const char *checkstr)
{
int ret;
@@ -136,8 +142,9 @@ void DoNumTest(const char *formatstr, int param, const char *checkstr)
strlen(checkstr), ret);
}
}
+#define DoNumTest DoNumTest_vprintf
-void DoI64Test(const char *formatstr, INT64 param, char *valuestr, const char *checkstr1)
+inline void DoI64Test_vprintf(const char *formatstr, INT64 param, char *valuestr, const char *checkstr1)
{
int ret;
@@ -148,8 +155,9 @@ void DoI64Test(const char *formatstr, INT64 param, char *valuestr, const char *c
strlen(checkstr1), ret);
}
}
+#define DoI64Test DoI64Test_vprintf
-void DoDoubleTest(const char *formatstr, double param, const char *checkstr1,
+inline void DoDoubleTest_vprintf(const char *formatstr, double param, const char *checkstr1,
const char *checkstr2)
{
int ret;
@@ -161,8 +169,9 @@ void DoDoubleTest(const char *formatstr, double param, const char *checkstr1,
strlen(checkstr1), strlen(checkstr2), ret);
}
}
+#define DoDoubleTest DoDoubleTest_vprintf
-void DoArgumentPrecTest(const char *formatstr, int precision, void *param,
+inline void DoArgumentPrecTest_vprintf(const char *formatstr, int precision, void *param,
char *paramstr, const char *checkstr1, const char *checkstr2)
{
int ret;
@@ -174,8 +183,9 @@ void DoArgumentPrecTest(const char *formatstr, int precision, void *param,
strlen(checkstr1), strlen(checkstr2), ret);
}
}
+#define DoArgumentPrecTest DoArgumentPrecTest_vprintf
-void DoArgumentPrecDoubleTest(const char *formatstr, int precision, double param,
+inline void DoArgumentPrecDoubleTest_vprintf(const char *formatstr, int precision, double param,
const char *checkstr1, const char *checkstr2)
{
int ret;
@@ -187,6 +197,7 @@ void DoArgumentPrecDoubleTest(const char *formatstr, int precision, double param
strlen(checkstr1), strlen(checkstr2), ret);
}
}
+#define DoArgumentPrecDoubleTest DoArgumentPrecDoubleTest_vprintf
#endif
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/CMakeLists.txt
deleted file mode 100644
index b29c7c438bd107..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/CMakeLists.txt
+++ /dev/null
@@ -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)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test1/CMakeLists.txt
deleted file mode 100644
index cc1afb75245737..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_vsprintf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsprintf_test1 coreclrpal)
-
-target_link_libraries(paltest_vsprintf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test1/test1.cpp
index b210afe7ce459e..09b0b9f011148c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test1/test1.cpp
@@ -17,7 +17,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vsprintf_test1_paltest_vsprintf_test1, "c_runtime/vsprintf/test1/paltest_vsprintf_test1")
{
char checkstr[] = "hello world";
char buf[256] = { 0 };
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test1/testinfo.dat
deleted file mode 100644
index a8986b564e3626..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test1/testinfo.dat
+++ /dev/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 = vsprintf
-Name = Positive Test for vsprintf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the vsprintf function.
-= This test is modeled after _snprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test10/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test10/CMakeLists.txt
deleted file mode 100644
index 2ef1be6ffd0d58..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test10/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test10.cpp
-)
-
-add_executable(paltest_vsprintf_test10
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsprintf_test10 coreclrpal)
-
-target_link_libraries(paltest_vsprintf_test10
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test10/test10.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test10/test10.cpp
index 81e3f833bae36d..57523d77526816 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test10/test10.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test10/test10.cpp
@@ -17,7 +17,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vsprintf_test10_paltest_vsprintf_test10, "c_runtime/vsprintf/test10/paltest_vsprintf_test10")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test10/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test10/testinfo.dat
deleted file mode 100644
index 51c02697aa02fe..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test10/testinfo.dat
+++ /dev/null
@@ -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 = vsprintf
-Name = Positive Test for vsprintf
-TYPE = DEFAULT
-EXE1 = test10
-Description
-= Tests the PAL implementation of the vsprintf function.
-= Tests vsprintf with octal numbers.
-= This test is modeled after _snprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test11/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test11/CMakeLists.txt
deleted file mode 100644
index 80825409db24ec..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test11/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test11.cpp
-)
-
-add_executable(paltest_vsprintf_test11
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsprintf_test11 coreclrpal)
-
-target_link_libraries(paltest_vsprintf_test11
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test11/test11.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test11/test11.cpp
index da58cbad4e46bb..8524870ebe5634 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test11/test11.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test11/test11.cpp
@@ -17,7 +17,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vsprintf_test11_paltest_vsprintf_test11, "c_runtime/vsprintf/test11/paltest_vsprintf_test11")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test11/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test11/testinfo.dat
deleted file mode 100644
index a43d38bc04fe9d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test11/testinfo.dat
+++ /dev/null
@@ -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 = vsprintf
-Name = Positive Test for vsprintf
-TYPE = DEFAULT
-EXE1 = test11
-Description
-= Tests the PAL implementation of the vsprintf function.
-= Tests vsprintf with unsigned numbers.
-= This test is modeled after _snprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test12/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test12/CMakeLists.txt
deleted file mode 100644
index 4f84c438dfc396..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test12/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test12.cpp
-)
-
-add_executable(paltest_vsprintf_test12
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsprintf_test12 coreclrpal)
-
-target_link_libraries(paltest_vsprintf_test12
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test12/test12.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test12/test12.cpp
index 77852434416a9d..5b82544f108786 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test12/test12.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test12/test12.cpp
@@ -18,7 +18,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vsprintf_test12_paltest_vsprintf_test12, "c_runtime/vsprintf/test12/paltest_vsprintf_test12")
{
int neg = -42;
int pos = 0x1234ab;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test12/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test12/testinfo.dat
deleted file mode 100644
index 4415fa60459e87..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test12/testinfo.dat
+++ /dev/null
@@ -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 = vsprintf
-Name = Positive Test for vsprintf
-TYPE = DEFAULT
-EXE1 = test12
-Description
-= Tests the PAL implementation of the vsprintf function.
-= Tests vsprintf with hex numbers (lowercase).
-= This test is modeled after _snprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test13/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test13/CMakeLists.txt
deleted file mode 100644
index 53779dc7bb0da4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test13/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test13.cpp
-)
-
-add_executable(paltest_vsprintf_test13
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsprintf_test13 coreclrpal)
-
-target_link_libraries(paltest_vsprintf_test13
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test13/test13.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test13/test13.cpp
index 6422543f795d3e..b3b700173622d4 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test13/test13.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test13/test13.cpp
@@ -18,7 +18,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vsprintf_test13_paltest_vsprintf_test13, "c_runtime/vsprintf/test13/paltest_vsprintf_test13")
{
int neg = -42;
int pos = 0x1234AB;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test13/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test13/testinfo.dat
deleted file mode 100644
index 9fd558e0da2c00..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test13/testinfo.dat
+++ /dev/null
@@ -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 = vsprintf
-Name = Positive Test for vsprintf
-TYPE = DEFAULT
-EXE1 = test13
-Description
-= Tests the PAL implementation of the vsprintf function.
-= Tests vsprintf with hex numbers (uppercase).
-= This test is modeled after _snprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test14/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test14/CMakeLists.txt
deleted file mode 100644
index d08d6069e42495..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test14/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test14.cpp
-)
-
-add_executable(paltest_vsprintf_test14
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsprintf_test14 coreclrpal)
-
-target_link_libraries(paltest_vsprintf_test14
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test14/test14.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test14/test14.cpp
index de8395aa7f6a8b..7c8ed0e8b020d8 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test14/test14.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test14/test14.cpp
@@ -18,7 +18,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vsprintf_test14_paltest_vsprintf_test14, "c_runtime/vsprintf/test14/paltest_vsprintf_test14")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test14/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test14/testinfo.dat
deleted file mode 100644
index 81232f2e7dc5b8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test14/testinfo.dat
+++ /dev/null
@@ -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 = vsprintf
-Name = Positive Test for vsprintf
-TYPE = DEFAULT
-EXE1 = test14
-Description
-= Tests the PAL implementation of the vsprintf function.
-= Tests vsprintf with exponential format doubles (lowercase).
-= This test is modeled after _snprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test15/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test15/CMakeLists.txt
deleted file mode 100644
index f45c76840e90dc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test15/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test15.cpp
-)
-
-add_executable(paltest_vsprintf_test15
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsprintf_test15 coreclrpal)
-
-target_link_libraries(paltest_vsprintf_test15
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test15/test15.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test15/test15.cpp
index 760fa0081bccd1..ccf2a329bbb667 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test15/test15.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test15/test15.cpp
@@ -17,7 +17,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vsprintf_test15_paltest_vsprintf_test15, "c_runtime/vsprintf/test15/paltest_vsprintf_test15")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test15/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test15/testinfo.dat
deleted file mode 100644
index 01063b6a8f70d0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test15/testinfo.dat
+++ /dev/null
@@ -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 = vsprintf
-Name = Positive Test for vsprintf
-TYPE = DEFAULT
-EXE1 = test15
-Description
-= Tests the PAL implementation of the vsprintf function.
-= Tests vsprintf with exponential format doubles (uppercase).
-= This test is modeled after _snprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test16/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test16/CMakeLists.txt
deleted file mode 100644
index c80de4710793b5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test16/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test16.cpp
-)
-
-add_executable(paltest_vsprintf_test16
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsprintf_test16 coreclrpal)
-
-target_link_libraries(paltest_vsprintf_test16
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test16/test16.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test16/test16.cpp
index 65159efe590b7c..813077192bbc42 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test16/test16.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test16/test16.cpp
@@ -17,7 +17,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vsprintf_test16_paltest_vsprintf_test16, "c_runtime/vsprintf/test16/paltest_vsprintf_test16")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test16/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test16/testinfo.dat
deleted file mode 100644
index 28828b2f4943b8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test16/testinfo.dat
+++ /dev/null
@@ -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 = vsprintf
-Name = Positive Test for vsprintf
-TYPE = DEFAULT
-EXE1 = test16
-Description
-= Tests the PAL implementation of the vsprintf function.
-= Tests vsprintf with decimal point format doubles.
-= This test is modeled after _snprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test17/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test17/CMakeLists.txt
deleted file mode 100644
index 6eceb5b2c5ea21..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test17/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test17.cpp
-)
-
-add_executable(paltest_vsprintf_test17
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsprintf_test17 coreclrpal)
-
-target_link_libraries(paltest_vsprintf_test17
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test17/test17.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test17/test17.cpp
index d37c27b3a2e443..efc3344d71e5b1 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test17/test17.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test17/test17.cpp
@@ -17,7 +17,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vsprintf_test17_paltest_vsprintf_test17, "c_runtime/vsprintf/test17/paltest_vsprintf_test17")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test17/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test17/testinfo.dat
deleted file mode 100644
index 26d759bed51d6f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test17/testinfo.dat
+++ /dev/null
@@ -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 = vsprintf
-Name = Positive Test for vsprintf
-TYPE = DEFAULT
-EXE1 = test17
-Description
-= Tests the PAL implementation of the vsprintf function.
-= Tests vsprintf with compact format doubles (lowercase).
-= This test is modeled after _snprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test18/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test18/CMakeLists.txt
deleted file mode 100644
index 2fd06bc144fd9a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test18/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test18.cpp
-)
-
-add_executable(paltest_vsprintf_test18
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsprintf_test18 coreclrpal)
-
-target_link_libraries(paltest_vsprintf_test18
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test18/test18.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test18/test18.cpp
index 31fc132a5e15a3..318df06806444b 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test18/test18.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test18/test18.cpp
@@ -17,7 +17,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vsprintf_test18_paltest_vsprintf_test18, "c_runtime/vsprintf/test18/paltest_vsprintf_test18")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test18/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test18/testinfo.dat
deleted file mode 100644
index fb05cb1966c9d1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test18/testinfo.dat
+++ /dev/null
@@ -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 = vsprintf
-Name = Positive Test for vsprintf
-TYPE = DEFAULT
-EXE1 = test18
-Description
-= Tests the PAL implementation of the vsprintf function.
-= Tests vsprintf with compact format doubles (uppercase).
-= This test is modeled after _snprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test19/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test19/CMakeLists.txt
deleted file mode 100644
index ed0920635c1b56..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test19/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test19.cpp
-)
-
-add_executable(paltest_vsprintf_test19
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsprintf_test19 coreclrpal)
-
-target_link_libraries(paltest_vsprintf_test19
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test19/test19.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test19/test19.cpp
index 4136033c29e488..622e2f05043104 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test19/test19.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test19/test19.cpp
@@ -17,7 +17,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vsprintf_test19_paltest_vsprintf_test19, "c_runtime/vsprintf/test19/paltest_vsprintf_test19")
{
if (PAL_Initialize(argc, argv) != 0)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test19/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test19/testinfo.dat
deleted file mode 100644
index 262786d91a0d99..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test19/testinfo.dat
+++ /dev/null
@@ -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 = vsprintf
-Name = Positive Test for vsprintf
-TYPE = DEFAULT
-EXE1 = test19
-Description
-= Tests the PAL implementation of the vsprintf function.
-= Tests vsprintf with argument specified precision.
-= This test is modeled after _snprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test2/CMakeLists.txt
deleted file mode 100644
index ccc24cdf207a7e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_vsprintf_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsprintf_test2 coreclrpal)
-
-target_link_libraries(paltest_vsprintf_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test2/test2.cpp
index e2dea2c655ec2e..0c91e8f2ac8671 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test2/test2.cpp
@@ -16,7 +16,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vsprintf_test2_paltest_vsprintf_test2, "c_runtime/vsprintf/test2/paltest_vsprintf_test2")
{
if (PAL_Initialize(argc, argv) != 0)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test2/testinfo.dat
deleted file mode 100644
index eeb5836831a17e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test2/testinfo.dat
+++ /dev/null
@@ -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 = vsprintf
-Name = Positive Test for vsprintf
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Tests the PAL implementation of the vsprintf function.
-= Tests vsprintf with strings.
-= This test is modeled after _snprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test3/CMakeLists.txt
deleted file mode 100644
index 16436779de28a7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_vsprintf_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsprintf_test3 coreclrpal)
-
-target_link_libraries(paltest_vsprintf_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test3/test3.cpp
index be9e5270bee8fc..adfe6fb2555f8e 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test3/test3.cpp
@@ -17,7 +17,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vsprintf_test3_paltest_vsprintf_test3, "c_runtime/vsprintf/test3/paltest_vsprintf_test3")
{
if (PAL_Initialize(argc, argv) != 0)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test3/testinfo.dat
deleted file mode 100644
index ecb6acb657a293..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test3/testinfo.dat
+++ /dev/null
@@ -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 = vsprintf
-Name = Positive Test for vsprintf
-TYPE = DEFAULT
-EXE1 = test3
-Description
-= Tests the PAL implementation of the vsprintf function.
-= Tests vsprintf with wide strings.
-= This test is modeled after _snprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test4/CMakeLists.txt
deleted file mode 100644
index b53a17b14e4922..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_vsprintf_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsprintf_test4 coreclrpal)
-
-target_link_libraries(paltest_vsprintf_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test4/test4.cpp
index 5b71f63390ef04..9318f0659e9092 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test4/test4.cpp
@@ -18,7 +18,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vsprintf_test4_paltest_vsprintf_test4, "c_runtime/vsprintf/test4/paltest_vsprintf_test4")
{
void *ptr = (void*) 0x123456;
INT64 lptr = I64(0x1234567887654321);
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test4/testinfo.dat
deleted file mode 100644
index 63581f71eaff25..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test4/testinfo.dat
+++ /dev/null
@@ -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 = vsprintf
-Name = Positive Test for vsprintf
-TYPE = DEFAULT
-EXE1 = test4
-Description
-= Tests the PAL implementation of the vsprintf function.
-= Tests vsprintf with pointers.
-= This test is modeled after _snprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test6/CMakeLists.txt
deleted file mode 100644
index 3e2d95a50d8d04..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test6.cpp
-)
-
-add_executable(paltest_vsprintf_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsprintf_test6 coreclrpal)
-
-target_link_libraries(paltest_vsprintf_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test6/test6.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test6/test6.cpp
index 8b68bc9c915374..4560fb27fdb8ee 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test6/test6.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test6/test6.cpp
@@ -17,7 +17,7 @@
* Notes: memcmp is used, as is strlen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vsprintf_test6_paltest_vsprintf_test6, "c_runtime/vsprintf/test6/paltest_vsprintf_test6")
{
WCHAR wc = (WCHAR) 'c';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test6/testinfo.dat
deleted file mode 100644
index 0afdeaa8328371..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test6/testinfo.dat
+++ /dev/null
@@ -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 = vsprintf
-Name = Positive Test for vsprintf
-TYPE = DEFAULT
-EXE1 = test6
-Description
-= Tests the PAL implementation of the vsprintf function.
-= Tests vsprintf with characters.
-= This test is modeled after _snprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test7/CMakeLists.txt
deleted file mode 100644
index 740a1dcead2eab..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test7.cpp
-)
-
-add_executable(paltest_vsprintf_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsprintf_test7 coreclrpal)
-
-target_link_libraries(paltest_vsprintf_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test7/test7.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test7/test7.cpp
index 5bb113376dfe6d..9bdd339535c8e7 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test7/test7.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test7/test7.cpp
@@ -17,7 +17,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vsprintf_test7_paltest_vsprintf_test7, "c_runtime/vsprintf/test7/paltest_vsprintf_test7")
{
WCHAR wb = (WCHAR) 'b';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test7/testinfo.dat
deleted file mode 100644
index 239796200ad375..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test7/testinfo.dat
+++ /dev/null
@@ -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 = vsprintf
-Name = Positive Test for vsprintf
-TYPE = DEFAULT
-EXE1 = test7
-Description
-= Tests the PAL implementation of the vsprintf function.
-= Tests vsprintf with wide characters.
-= This test is modeled after _snprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test8/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test8/CMakeLists.txt
deleted file mode 100644
index 455311cf5be2c1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test8/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test8.cpp
-)
-
-add_executable(paltest_vsprintf_test8
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsprintf_test8 coreclrpal)
-
-target_link_libraries(paltest_vsprintf_test8
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test8/test8.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test8/test8.cpp
index e83e6b5c9f1a2a..c805dc5259ea22 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test8/test8.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test8/test8.cpp
@@ -18,7 +18,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vsprintf_test8_paltest_vsprintf_test8, "c_runtime/vsprintf/test8/paltest_vsprintf_test8")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test8/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test8/testinfo.dat
deleted file mode 100644
index 37cecfa8dadf53..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test8/testinfo.dat
+++ /dev/null
@@ -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 = vsprintf
-Name = Positive Test for vsprintf
-TYPE = DEFAULT
-EXE1 = test8
-Description
-= Tests the PAL implementation of the vsprintf function.
-= Tests vsprintf with decimal numbers.
-= This test is modeled after _snprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test9/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test9/CMakeLists.txt
deleted file mode 100644
index 7c5fc6c5769074..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test9/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test9.cpp
-)
-
-add_executable(paltest_vsprintf_test9
- ${SOURCES}
-)
-
-add_dependencies(paltest_vsprintf_test9 coreclrpal)
-
-target_link_libraries(paltest_vsprintf_test9
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test9/test9.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test9/test9.cpp
index 16fc3db29f7b66..5f27679174a499 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test9/test9.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test9/test9.cpp
@@ -18,7 +18,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vsprintf_test9_paltest_vsprintf_test9, "c_runtime/vsprintf/test9/paltest_vsprintf_test9")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test9/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test9/testinfo.dat
deleted file mode 100644
index 922474c8368d0c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/test9/testinfo.dat
+++ /dev/null
@@ -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 = vsprintf
-Name = Positive Test for vsprintf
-TYPE = DEFAULT
-EXE1 = test9
-Description
-= Tests the PAL implementation of the vsprintf function.
-= Tests vsprintf with integer numbers.
-= This test is modeled after _snprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/vsprintf.h b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/vsprintf.h
index f5556691efd6cf..00e459b3db0c79 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/vsprintf.h
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vsprintf/vsprintf.h
@@ -13,7 +13,7 @@
#define __VSPRINTF_H__
/* These functions leaks memory a lot. C'est la vie. */
-int testvsp(char* buf, size_t buffSize, const char* format, ...)
+inline int testvsp(char* buf, size_t buffSize, const char* format, ...)
{
int retVal;
va_list arglist;
@@ -25,7 +25,7 @@ int testvsp(char* buf, size_t buffSize, const char* format, ...)
return (retVal);
}
-void DoStrTest(const char *formatstr, char* param, const char *checkstr)
+inline void DoStrTest_vsprintf(const char *formatstr, char* param, const char *checkstr)
{
char buf[256] = { 0 };
@@ -37,8 +37,9 @@ void DoStrTest(const char *formatstr, char* param, const char *checkstr)
param, formatstr, checkstr, buf);
}
}
+#define DoStrTest DoStrTest_vsprintf
-void DoWStrTest(const char *formatstr, WCHAR* param, const char *checkstr)
+inline void DoWStrTest_vsprintf(const char *formatstr, WCHAR* param, const char *checkstr)
{
char buf[256] = { 0 };
@@ -50,9 +51,9 @@ void DoWStrTest(const char *formatstr, WCHAR* param, const char *checkstr)
convertC(param), formatstr, checkstr, buf);
}
}
+#define DoWStrTest DoWStrTest_vsprintf
-
-void DoCharTest(const char *formatstr, char param, const char *checkstr)
+inline void DoCharTest_vsprintf(const char *formatstr, char param, const char *checkstr)
{
char buf[256] = { 0 };
@@ -64,8 +65,9 @@ void DoCharTest(const char *formatstr, char param, const char *checkstr)
param, param, formatstr, checkstr, buf);
}
}
+#define DoCharTest DoCharTest_vsprintf
-void DoWCharTest(const char *formatstr, WCHAR param, const char *checkstr)
+inline void DoWCharTest_vsprintf(const char *formatstr, WCHAR param, const char *checkstr)
{
char buf[256] = { 0 };
@@ -77,8 +79,9 @@ void DoWCharTest(const char *formatstr, WCHAR param, const char *checkstr)
(char)param, param, formatstr, checkstr, buf);
}
}
+#define DoWCharTest DoWCharTest_vsprintf
-void DoNumTest(const char *formatstr, int value, const char *checkstr)
+inline void DoNumTest_vsprintf(const char *formatstr, int value, const char *checkstr)
{
char buf[256] = { 0 };
@@ -90,8 +93,9 @@ void DoNumTest(const char *formatstr, int value, const char *checkstr)
value, formatstr, checkstr, buf);
}
}
+#define DoNumTest DoNumTest_vsprintf
-void DoI64Test(const char *formatstr, INT64 value, char *valuestr, const char *checkstr)
+inline void DoI64Test_vsprintf(const char *formatstr, INT64 value, char *valuestr, const char *checkstr)
{
char buf[256] = { 0 };
@@ -103,7 +107,9 @@ void DoI64Test(const char *formatstr, INT64 value, char *valuestr, const char *c
valuestr, formatstr, checkstr, buf);
}
}
-void DoDoubleTest(const char *formatstr, double value, const char *checkstr1, char
+#define DoI64Test DoI64Test_vsprintf
+
+inline void DoDoubleTest_vsprintf(const char *formatstr, double value, const char *checkstr1, char
*checkstr2)
{
char buf[256] = { 0 };
@@ -117,8 +123,10 @@ void DoDoubleTest(const char *formatstr, double value, const char *checkstr1, ch
value, formatstr, checkstr1, checkstr2, buf);
}
}
+#define DoDoubleTest DoDoubleTest_vsprintf
+
/*FROM TEST 9*/
-void DoArgumentPrecTest(const char *formatstr, int precision, void *param,
+inline void DoArgumentPrecTest_vsprintf(const char *formatstr, int precision, void *param,
char *paramstr, const char *checkstr1, const char *checkstr2)
{
char buf[256];
@@ -133,8 +141,9 @@ void DoArgumentPrecTest(const char *formatstr, int precision, void *param,
}
}
+#define DoArgumentPrecTest DoArgumentPrecTest_vsprintf
-void DoArgumentPrecDoubleTest(const char *formatstr, int precision, double param,
+inline void DoArgumentPrecDoubleTest_vsprintf(const char *formatstr, int precision, double param,
const char *checkstr1, const char *checkstr2)
{
char buf[256];
@@ -148,8 +157,10 @@ void DoArgumentPrecDoubleTest(const char *formatstr, int precision, double param
precision, checkstr1, checkstr2, buf);
}
}
+#define DoArgumentPrecDoubleTest DoArgumentPrecDoubleTest_vsprintf
+
/*FROM TEST4*/
-void DoPointerTest(const char *formatstr, void* param, char* paramstr,
+inline void DoPointerTest_vsprintf(const char *formatstr, void* param, char* paramstr,
const char *checkstr1)
{
char buf[256] = { 0 };
@@ -162,8 +173,9 @@ void DoPointerTest(const char *formatstr, void* param, char* paramstr,
paramstr, formatstr, checkstr1, buf);
}
}
+#define DoPointerTest DoPointerTest_vsprintf
-void DoI64DoubleTest(const char *formatstr, INT64 value, char *valuestr,
+inline void DoI64DoubleTest_vsprintf(const char *formatstr, INT64 value, char *valuestr,
const char *checkstr1)
{
char buf[256] = { 0 };
@@ -176,8 +188,9 @@ void DoI64DoubleTest(const char *formatstr, INT64 value, char *valuestr,
valuestr, formatstr, checkstr1, buf);
}
}
+#define DoI64DoubleTest DoI64DoubleTest_vsprintf
-void DoTest(const char *formatstr, int param, const char *checkstr)
+inline void DoTest_vsprintf(const char *formatstr, int param, const char *checkstr)
{
char buf[256] = { 0 };
int n = -1;
@@ -194,8 +207,9 @@ void DoTest(const char *formatstr, int param, const char *checkstr)
Fail("ERROR: Expected \"%s\" got \"%s\".\n", checkstr, buf);
}
}
+#define DoTest DoTest_vsprintf
-void DoShortTest(const char *formatstr, int param, const char *checkstr)
+inline void DoShortTest_vsprintf(const char *formatstr, int param, const char *checkstr)
{
char buf[256] = { 0 };
short int n = -1;
@@ -212,6 +226,7 @@ void DoShortTest(const char *formatstr, int param, const char *checkstr)
Fail("ERROR: Expected \"%s\" got \"%s\".\n", checkstr, buf);
}
}
+#define DoShortTest DoShortTest_vsprintf
#endif
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/CMakeLists.txt
deleted file mode 100644
index b29c7c438bd107..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/CMakeLists.txt
+++ /dev/null
@@ -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)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test1/CMakeLists.txt
deleted file mode 100644
index 3bb7e5f9719510..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_vswprintf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_vswprintf_test1 coreclrpal)
-
-target_link_libraries(paltest_vswprintf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test1/test1.cpp
index 988c0e0e17fbdb..954f8f99f13e13 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test1/test1.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vswprintf_test1_paltest_vswprintf_test1, "c_runtime/vswprintf/test1/paltest_vswprintf_test1")
{
WCHAR *checkstr = NULL;
WCHAR buf[256] = { 0 };
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test1/testinfo.dat
deleted file mode 100644
index ca72ebc538b376..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test1/testinfo.dat
+++ /dev/null
@@ -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 = vswprintf
-Name = Positive Test for vswprintf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the vswprintf function.
-= General test to see if vswprintf works correctly.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test10/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test10/CMakeLists.txt
deleted file mode 100644
index 3a17ef2fa4b0f6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test10/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test10.cpp
-)
-
-add_executable(paltest_vswprintf_test10
- ${SOURCES}
-)
-
-add_dependencies(paltest_vswprintf_test10 coreclrpal)
-
-target_link_libraries(paltest_vswprintf_test10
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test10/test10.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test10/test10.cpp
index 58ea624ee9c16c..2ace47428947f7 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test10/test10.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test10/test10.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vswprintf_test10_paltest_vswprintf_test10, "c_runtime/vswprintf/test10/paltest_vswprintf_test10")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test10/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test10/testinfo.dat
deleted file mode 100644
index 994dead97da474..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test10/testinfo.dat
+++ /dev/null
@@ -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 = vswprintf
-Name = Positive Test for vswprintf
-TYPE = DEFAULT
-EXE1 = test10
-Description
-= Tests the PAL implementation of the vswprintf function.
-= Tests vswprintf with octal numbers.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test11/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test11/CMakeLists.txt
deleted file mode 100644
index 7040c2e01b3077..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test11/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test11.cpp
-)
-
-add_executable(paltest_vswprintf_test11
- ${SOURCES}
-)
-
-add_dependencies(paltest_vswprintf_test11 coreclrpal)
-
-target_link_libraries(paltest_vswprintf_test11
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test11/test11.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test11/test11.cpp
index a78b5963ff8d37..2e24f5bfd712e0 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test11/test11.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test11/test11.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vswprintf_test11_paltest_vswprintf_test11, "c_runtime/vswprintf/test11/paltest_vswprintf_test11")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test11/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test11/testinfo.dat
deleted file mode 100644
index d7182fedf7a6b7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test11/testinfo.dat
+++ /dev/null
@@ -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 = vswprintf
-Name = Positive Test for vswprintf
-TYPE = DEFAULT
-EXE1 = test11
-Description
-= Tests the PAL implementation of the vswprintf function.
-= Tests vswprintf with unsigned numbers.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test12/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test12/CMakeLists.txt
deleted file mode 100644
index 40778fa304f7f4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test12/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test12.cpp
-)
-
-add_executable(paltest_vswprintf_test12
- ${SOURCES}
-)
-
-add_dependencies(paltest_vswprintf_test12 coreclrpal)
-
-target_link_libraries(paltest_vswprintf_test12
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test12/test12.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test12/test12.cpp
index c5e0b16808572e..e80c7061756844 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test12/test12.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test12/test12.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vswprintf_test12_paltest_vswprintf_test12, "c_runtime/vswprintf/test12/paltest_vswprintf_test12")
{
int neg = -42;
int pos = 0x1234ab;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test12/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test12/testinfo.dat
deleted file mode 100644
index e23f936c182d56..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test12/testinfo.dat
+++ /dev/null
@@ -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 = vswprintf
-Name = Positive Test for vswprintf
-TYPE = DEFAULT
-EXE1 = test12
-Description
-= Tests the PAL implementation of the vswprintf function.
-= Tests vswprintf with hex numbers (lowercase).
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test13/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test13/CMakeLists.txt
deleted file mode 100644
index 26b85809e0fecc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test13/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test13.cpp
-)
-
-add_executable(paltest_vswprintf_test13
- ${SOURCES}
-)
-
-add_dependencies(paltest_vswprintf_test13 coreclrpal)
-
-target_link_libraries(paltest_vswprintf_test13
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test13/test13.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test13/test13.cpp
index b84836b214ffc6..081c63ea0cb553 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test13/test13.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test13/test13.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vswprintf_test13_paltest_vswprintf_test13, "c_runtime/vswprintf/test13/paltest_vswprintf_test13")
{
int neg = -42;
int pos = 0x1234ab;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test13/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test13/testinfo.dat
deleted file mode 100644
index a4a46b7329e3a2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test13/testinfo.dat
+++ /dev/null
@@ -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 = vswprintf
-Name = Positive Test for vswprintf
-TYPE = DEFAULT
-EXE1 = test13
-Description
-= Tests the PAL implementation of the vswprintf function.
-= Tests vswprintf with hex numbers (uppercase).
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test14/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test14/CMakeLists.txt
deleted file mode 100644
index 0e5366e131d7ed..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test14/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test14.cpp
-)
-
-add_executable(paltest_vswprintf_test14
- ${SOURCES}
-)
-
-add_dependencies(paltest_vswprintf_test14 coreclrpal)
-
-target_link_libraries(paltest_vswprintf_test14
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test14/test14.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test14/test14.cpp
index 5e948e8768ca63..5e00bf55963e19 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test14/test14.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test14/test14.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vswprintf_test14_paltest_vswprintf_test14, "c_runtime/vswprintf/test14/paltest_vswprintf_test14")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test14/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test14/testinfo.dat
deleted file mode 100644
index 8194ceee56c0d8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test14/testinfo.dat
+++ /dev/null
@@ -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 = vswprintf
-Name = Positive Test for vswprintf
-TYPE = DEFAULT
-EXE1 = test14
-Description
-= Tests the PAL implementation of the vswprintf function.
-= Tests vswprintf with exponential format doubles (lowercase).
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test15/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test15/CMakeLists.txt
deleted file mode 100644
index 23e9595a7df26e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test15/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test15.cpp
-)
-
-add_executable(paltest_vswprintf_test15
- ${SOURCES}
-)
-
-add_dependencies(paltest_vswprintf_test15 coreclrpal)
-
-target_link_libraries(paltest_vswprintf_test15
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test15/test15.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test15/test15.cpp
index fcfac5497ac4db..2dddd1a937d8a7 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test15/test15.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test15/test15.cpp
@@ -17,7 +17,7 @@
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vswprintf_test15_paltest_vswprintf_test15, "c_runtime/vswprintf/test15/paltest_vswprintf_test15")
{
double val = 256.0;
double neg = -256.0;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test15/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test15/testinfo.dat
deleted file mode 100644
index 0f1e42efff0e19..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test15/testinfo.dat
+++ /dev/null
@@ -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 = vswprintf
-Name = Positive Test for vswprintf
-TYPE = DEFAULT
-EXE1 = test15
-Description
-= Tests the PAL implementation of the vswprintf function.
-= Tests vswprintf with exponential format doubles (uppercase).
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test16/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test16/CMakeLists.txt
deleted file mode 100644
index b398fdc1d8134b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test16/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test16.cpp
-)
-
-add_executable(paltest_vswprintf_test16
- ${SOURCES}
-)
-
-add_dependencies(paltest_vswprintf_test16 coreclrpal)
-
-target_link_libraries(paltest_vswprintf_test16
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test16/test16.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test16/test16.cpp
index e0f0fea2a2bd70..a8f7f8f1b1609c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test16/test16.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test16/test16.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vswprintf_test16_paltest_vswprintf_test16, "c_runtime/vswprintf/test16/paltest_vswprintf_test16")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test16/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test16/testinfo.dat
deleted file mode 100644
index 2c2f716d0e9caa..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test16/testinfo.dat
+++ /dev/null
@@ -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 = vswprintf
-Name = Positive Test for vswprintf
-TYPE = DEFAULT
-EXE1 = test16
-Description
-= Tests the PAL implementation of the vswprintf function.
-= Tests vswprintf with decimal point format doubles.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test17/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test17/CMakeLists.txt
deleted file mode 100644
index 8b505dee0b6a91..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test17/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test17.cpp
-)
-
-add_executable(paltest_vswprintf_test17
- ${SOURCES}
-)
-
-add_dependencies(paltest_vswprintf_test17 coreclrpal)
-
-target_link_libraries(paltest_vswprintf_test17
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test17/test17.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test17/test17.cpp
index 635fb2b00eee18..08ec3fe1b81ba3 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test17/test17.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test17/test17.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vswprintf_test17_paltest_vswprintf_test17, "c_runtime/vswprintf/test17/paltest_vswprintf_test17")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test17/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test17/testinfo.dat
deleted file mode 100644
index a99a9d150e8011..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test17/testinfo.dat
+++ /dev/null
@@ -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 = vswprintf
-Name = Positive Test for vswprintf
-TYPE = DEFAULT
-EXE1 = test17
-Description
-= Tests the PAL implementation of the vswprintf function.
-= Tests vswprintf with compact format doubles (lowercase).
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test18/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test18/CMakeLists.txt
deleted file mode 100644
index 0fc1f0dad4d609..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test18/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test18.cpp
-)
-
-add_executable(paltest_vswprintf_test18
- ${SOURCES}
-)
-
-add_dependencies(paltest_vswprintf_test18 coreclrpal)
-
-target_link_libraries(paltest_vswprintf_test18
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test18/test18.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test18/test18.cpp
index 4318a5f4e67e07..cf59b137da1522 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test18/test18.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test18/test18.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vswprintf_test18_paltest_vswprintf_test18, "c_runtime/vswprintf/test18/paltest_vswprintf_test18")
{
double val = 2560.001;
double neg = -2560.001;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test18/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test18/testinfo.dat
deleted file mode 100644
index b022db560eedd7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test18/testinfo.dat
+++ /dev/null
@@ -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 = vswprintf
-Name = Positive Test for vswprintf
-TYPE = DEFAULT
-EXE1 = test18
-Description
-= Tests the PAL implementation of the vswprintf function.
-= Tests vswprintf with compact format doubles (uppercase).
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test19/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test19/CMakeLists.txt
deleted file mode 100644
index b974935de7f8a3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test19/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test19.cpp
-)
-
-add_executable(paltest_vswprintf_test19
- ${SOURCES}
-)
-
-add_dependencies(paltest_vswprintf_test19 coreclrpal)
-
-target_link_libraries(paltest_vswprintf_test19
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test19/test19.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test19/test19.cpp
index 70f586f77b5d31..482c442f03a2ce 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test19/test19.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test19/test19.cpp
@@ -18,7 +18,7 @@
#define DOTEST(a,b,c,d,e) DoTest(a,b,(void*)c,d,e)
-void DoArgumentPrecTest(WCHAR *formatstr, int precision, void *param,
+void DoArgumentPrecTest_vswprintf(WCHAR *formatstr, int precision, void *param,
WCHAR *paramstr, WCHAR *checkstr1, WCHAR *checkstr2)
{
WCHAR buf[256];
@@ -37,7 +37,7 @@ void DoArgumentPrecTest(WCHAR *formatstr, int precision, void *param,
convertC(buf));
}
}
-void DoArgumentPrecDoubleTest(WCHAR *formatstr, int precision, double param,
+void DoArgumentPrecDoubleTest_vswprintf(WCHAR *formatstr, int precision, double param,
WCHAR *checkstr1, WCHAR *checkstr2)
{
WCHAR buf[256];
@@ -60,75 +60,75 @@ void DoArgumentPrecDoubleTest(WCHAR *formatstr, int precision, double param,
* Uses memcmp & wcslen
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vswprintf_test19_paltest_vswprintf_test19, "c_runtime/vswprintf/test19/paltest_vswprintf_test19")
{
if (PAL_Initialize(argc, argv) != 0)
return(FAIL);
- DoArgumentPrecTest(convert("%.*s"), 2, (void*)convert("bar"), convert("bar"),
+ DoArgumentPrecTest_vswprintf(convert("%.*s"), 2, (void*)convert("bar"), convert("bar"),
convert("ba"), convert("ba"));
- DoArgumentPrecTest(convert("%.*c"), 0, (void*)'a', convert("a"),
+ DoArgumentPrecTest_vswprintf(convert("%.*c"), 0, (void*)'a', convert("a"),
convert("a"), convert("a"));
- DoArgumentPrecTest(convert("%.*c"), 4, (void*)'a', convert("a"),
+ DoArgumentPrecTest_vswprintf(convert("%.*c"), 4, (void*)'a', convert("a"),
convert("a"), convert("a"));
- DoArgumentPrecTest(convert("%.*C"), 0, (void*)'a', convert("a"),
+ DoArgumentPrecTest_vswprintf(convert("%.*C"), 0, (void*)'a', convert("a"),
convert("a"), convert("a"));
- DoArgumentPrecTest(convert("%.*C"), 4, (void*)'a', convert("a"),
+ DoArgumentPrecTest_vswprintf(convert("%.*C"), 4, (void*)'a', convert("a"),
convert("a"), convert("a"));
- DoArgumentPrecTest(convert("%.*d"), 1, (void*)42, convert("42"),
+ DoArgumentPrecTest_vswprintf(convert("%.*d"), 1, (void*)42, convert("42"),
convert("42"), convert("42"));
- DoArgumentPrecTest(convert("%.*d"), 3, (void*)42, convert("42"),
+ DoArgumentPrecTest_vswprintf(convert("%.*d"), 3, (void*)42, convert("42"),
convert("042"), convert("042"));
- DoArgumentPrecTest(convert("%.*i"), 1, (void*)42, convert("42"),
+ DoArgumentPrecTest_vswprintf(convert("%.*i"), 1, (void*)42, convert("42"),
convert("42"), convert("42"));
- DoArgumentPrecTest(convert("%.*i"), 3, (void*)42, convert("42"),
+ DoArgumentPrecTest_vswprintf(convert("%.*i"), 3, (void*)42, convert("42"),
convert("042"), convert("042"));
- DoArgumentPrecTest(convert("%.*o"), 1, (void*)42, convert("42"),
+ DoArgumentPrecTest_vswprintf(convert("%.*o"), 1, (void*)42, convert("42"),
convert("52"), convert("52"));
- DoArgumentPrecTest(convert("%.*o"), 3, (void*)42, convert("42"),
+ DoArgumentPrecTest_vswprintf(convert("%.*o"), 3, (void*)42, convert("42"),
convert("052"), convert("052"));
- DoArgumentPrecTest(convert("%.*u"), 1, (void*)42, convert("42"),
+ DoArgumentPrecTest_vswprintf(convert("%.*u"), 1, (void*)42, convert("42"),
convert("42"), convert("42"));
- DoArgumentPrecTest(convert("%.*u"), 3, (void*)42, convert("42"),
+ DoArgumentPrecTest_vswprintf(convert("%.*u"), 3, (void*)42, convert("42"),
convert("042"), convert("042"));
- DoArgumentPrecTest(convert("%.*x"), 1, (void*)0x42, convert("0x42"),
+ DoArgumentPrecTest_vswprintf(convert("%.*x"), 1, (void*)0x42, convert("0x42"),
convert("42"), convert("42"));
- DoArgumentPrecTest(convert("%.*x"), 3, (void*)0x42, convert("0x42"),
+ DoArgumentPrecTest_vswprintf(convert("%.*x"), 3, (void*)0x42, convert("0x42"),
convert("042"), convert("042"));
- DoArgumentPrecTest(convert("%.*X"), 1, (void*)0x42, convert("0x42"),
+ DoArgumentPrecTest_vswprintf(convert("%.*X"), 1, (void*)0x42, convert("0x42"),
convert("42"), convert("42"));
- DoArgumentPrecTest(convert("%.*X"), 3, (void*)0x42, convert("0x42"),
+ DoArgumentPrecTest_vswprintf(convert("%.*X"), 3, (void*)0x42, convert("0x42"),
convert("042"), convert("042"));
- DoArgumentPrecDoubleTest(convert("%.*e"), 1, 2.01, convert("2.0e+000"),
+ DoArgumentPrecDoubleTest_vswprintf(convert("%.*e"), 1, 2.01, convert("2.0e+000"),
convert("2.0e+00"));
- DoArgumentPrecDoubleTest(convert("%.*e"), 3, 2.01, convert("2.010e+000"),
+ DoArgumentPrecDoubleTest_vswprintf(convert("%.*e"), 3, 2.01, convert("2.010e+000"),
convert("2.010e+00"));
- DoArgumentPrecDoubleTest(convert("%.*E"), 1, 2.01, convert("2.0E+000"),
+ DoArgumentPrecDoubleTest_vswprintf(convert("%.*E"), 1, 2.01, convert("2.0E+000"),
convert("2.0E+00"));
- DoArgumentPrecDoubleTest(convert("%.*E"), 3, 2.01, convert("2.010E+000"),
+ DoArgumentPrecDoubleTest_vswprintf(convert("%.*E"), 3, 2.01, convert("2.010E+000"),
convert("2.010E+00"));
- DoArgumentPrecDoubleTest(convert("%.*f"), 1, 2.01, convert("2.0"),
+ DoArgumentPrecDoubleTest_vswprintf(convert("%.*f"), 1, 2.01, convert("2.0"),
convert("2.0"));
- DoArgumentPrecDoubleTest(convert("%.*f"), 3, 2.01, convert("2.010"),
+ DoArgumentPrecDoubleTest_vswprintf(convert("%.*f"), 3, 2.01, convert("2.010"),
convert("2.010"));
- DoArgumentPrecDoubleTest(convert("%.*g"), 1, 256.01, convert("3e+002"),
+ DoArgumentPrecDoubleTest_vswprintf(convert("%.*g"), 1, 256.01, convert("3e+002"),
convert("3e+02"));
- DoArgumentPrecDoubleTest(convert("%.*g"), 3, 256.01, convert("256"),
+ DoArgumentPrecDoubleTest_vswprintf(convert("%.*g"), 3, 256.01, convert("256"),
convert("256"));
- DoArgumentPrecDoubleTest(convert("%.*g"), 4, 256.01, convert("256"),
+ DoArgumentPrecDoubleTest_vswprintf(convert("%.*g"), 4, 256.01, convert("256"),
convert("256"));
- DoArgumentPrecDoubleTest(convert("%.*g"), 6, 256.01, convert("256.01"),
+ DoArgumentPrecDoubleTest_vswprintf(convert("%.*g"), 6, 256.01, convert("256.01"),
convert("256.01"));
- DoArgumentPrecDoubleTest(convert("%.*G"), 1, 256.01, convert("3E+002"),
+ DoArgumentPrecDoubleTest_vswprintf(convert("%.*G"), 1, 256.01, convert("3E+002"),
convert("3E+02"));
- DoArgumentPrecDoubleTest(convert("%.*G"), 3, 256.01, convert("256"),
+ DoArgumentPrecDoubleTest_vswprintf(convert("%.*G"), 3, 256.01, convert("256"),
convert("256"));
- DoArgumentPrecDoubleTest(convert("%.*G"), 4, 256.01, convert("256"),
+ DoArgumentPrecDoubleTest_vswprintf(convert("%.*G"), 4, 256.01, convert("256"),
convert("256"));
- DoArgumentPrecDoubleTest(convert("%.*G"), 6, 256.01, convert("256.01"),
+ DoArgumentPrecDoubleTest_vswprintf(convert("%.*G"), 6, 256.01, convert("256.01"),
convert("256.01"));
PAL_Terminate();
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test19/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test19/testinfo.dat
deleted file mode 100644
index 37ad02278b3213..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test19/testinfo.dat
+++ /dev/null
@@ -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 = vswprintf
-Name = Positive Test for vswprintf
-TYPE = DEFAULT
-EXE1 = test19
-Description
-= Tests the PAL implementation of the vswprintf function.
-= Tests vswprintf with argument specified precision.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test2/CMakeLists.txt
deleted file mode 100644
index 78550ca27b4d85..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_vswprintf_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_vswprintf_test2 coreclrpal)
-
-target_link_libraries(paltest_vswprintf_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test2/test2.cpp
index 215c26b679f05c..4b1b09619e5d65 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test2/test2.cpp
@@ -17,7 +17,7 @@
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vswprintf_test2_paltest_vswprintf_test2, "c_runtime/vswprintf/test2/paltest_vswprintf_test2")
{
if (PAL_Initialize(argc, argv) != 0)
return(FAIL);
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test2/testinfo.dat
deleted file mode 100644
index f10b42f6fbf97c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test2/testinfo.dat
+++ /dev/null
@@ -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 = vswprintf
-Name = Positive Test for vswprintf
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Tests the PAL implementation of the vswprintf function.
-= Tests vswprintf with strings.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test3/CMakeLists.txt
deleted file mode 100644
index 95247ceaea1408..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_vswprintf_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_vswprintf_test3 coreclrpal)
-
-target_link_libraries(paltest_vswprintf_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test3/test3.cpp
index e361074ec26ffb..2644c4a96be6a8 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test3/test3.cpp
@@ -17,7 +17,7 @@
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vswprintf_test3_paltest_vswprintf_test3, "c_runtime/vswprintf/test3/paltest_vswprintf_test3")
{
if (PAL_Initialize(argc, argv) != 0)
return(FAIL);
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test3/testinfo.dat
deleted file mode 100644
index 31fbe7cb21b573..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test3/testinfo.dat
+++ /dev/null
@@ -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 = vswprintf
-Name = Positive Test for vswprintf
-TYPE = DEFAULT
-EXE1 = test3
-Description
-= Tests the PAL implementation of the vswprintf function.
-= Tests vswprintf with wide strings.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test4/CMakeLists.txt
deleted file mode 100644
index dbaa6ac69ae263..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_vswprintf_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_vswprintf_test4 coreclrpal)
-
-target_link_libraries(paltest_vswprintf_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test4/test4.cpp
index aea717f105b74f..8e72f735224a2d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test4/test4.cpp
@@ -50,7 +50,7 @@ static void DoI64DoubleTest(WCHAR *formatstr, INT64 value, WCHAR *valuestr,
}
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vswprintf_test4_paltest_vswprintf_test4, "c_runtime/vswprintf/test4/paltest_vswprintf_test4")
{
void *ptr = (void*) 0x123456;
INT64 lptr = I64(0x1234567887654321);
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test4/testinfo.dat
deleted file mode 100644
index f0a23f0f146f0d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test4/testinfo.dat
+++ /dev/null
@@ -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 = vswprintf
-Name = Positive Test for vswprintf
-TYPE = DEFAULT
-EXE1 = test4
-Description
-= Tests the PAL implementation of the vswprintf function.
-= Tests vswprintf with pointers.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test6/CMakeLists.txt
deleted file mode 100644
index 40b3b50f017471..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test6.cpp
-)
-
-add_executable(paltest_vswprintf_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_vswprintf_test6 coreclrpal)
-
-target_link_libraries(paltest_vswprintf_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test6/test6.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test6/test6.cpp
index d9e47a15618147..e6c3de0641bcac 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test6/test6.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test6/test6.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vswprintf_test6_paltest_vswprintf_test6, "c_runtime/vswprintf/test6/paltest_vswprintf_test6")
{
WCHAR wc = (WCHAR) 'c';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test6/testinfo.dat
deleted file mode 100644
index 2b7032408c296f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test6/testinfo.dat
+++ /dev/null
@@ -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 = vswprintf
-Name = Positive Test for vswprintf
-TYPE = DEFAULT
-EXE1 = test6
-Description
-= Tests the PAL implementation of the vswprintf function.
-= Tests vswprintf with characters.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test7/CMakeLists.txt
deleted file mode 100644
index 96ef5052d84413..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test7.cpp
-)
-
-add_executable(paltest_vswprintf_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_vswprintf_test7 coreclrpal)
-
-target_link_libraries(paltest_vswprintf_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test7/test7.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test7/test7.cpp
index 789e32983e3fd2..22f87093de340f 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test7/test7.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test7/test7.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vswprintf_test7_paltest_vswprintf_test7, "c_runtime/vswprintf/test7/paltest_vswprintf_test7")
{
WCHAR wc = (WCHAR) 'c';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test7/testinfo.dat
deleted file mode 100644
index 71011f070f0302..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test7/testinfo.dat
+++ /dev/null
@@ -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 = vswprintf
-Name = Positive Test for vswprintf
-TYPE = DEFAULT
-EXE1 = test7
-Description
-= Tests the PAL implementation of the vswprintf function.
-= Tests vswprintf with wide characters.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test8/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test8/CMakeLists.txt
deleted file mode 100644
index 2fb6548b62b23c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test8/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test8.cpp
-)
-
-add_executable(paltest_vswprintf_test8
- ${SOURCES}
-)
-
-add_dependencies(paltest_vswprintf_test8 coreclrpal)
-
-target_link_libraries(paltest_vswprintf_test8
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test8/test8.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test8/test8.cpp
index a500b073b7ab7d..7ffcf2355e4296 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test8/test8.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test8/test8.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vswprintf_test8_paltest_vswprintf_test8, "c_runtime/vswprintf/test8/paltest_vswprintf_test8")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test8/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test8/testinfo.dat
deleted file mode 100644
index 0293f2dc0a480a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test8/testinfo.dat
+++ /dev/null
@@ -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 = vswprintf
-Name = Positive Test for vswprintf
-TYPE = DEFAULT
-EXE1 = test8
-Description
-= Tests the PAL implementation of the vswprintf function.
-= Tests vswprintf with decimal numbers.
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test9/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test9/CMakeLists.txt
deleted file mode 100644
index ef38e3cceb555a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test9/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test9.cpp
-)
-
-add_executable(paltest_vswprintf_test9
- ${SOURCES}
-)
-
-add_dependencies(paltest_vswprintf_test9 coreclrpal)
-
-target_link_libraries(paltest_vswprintf_test9
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test9/test9.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test9/test9.cpp
index 07754e2f63f897..b965466afffb4c 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test9/test9.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test9/test9.cpp
@@ -16,7 +16,7 @@
/* memcmp is used to verify the results, so this test is dependent on it. */
/* ditto with wcslen */
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_vswprintf_test9_paltest_vswprintf_test9, "c_runtime/vswprintf/test9/paltest_vswprintf_test9")
{
int neg = -42;
int pos = 42;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test9/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test9/testinfo.dat
deleted file mode 100644
index a05265d7967b5b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/test9/testinfo.dat
+++ /dev/null
@@ -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 = vswprintf
-Name = Positive Test for vswprintf
-TYPE = DEFAULT
-EXE1 = test9
-Description
-= Tests the PAL implementation of the vswprintf function.
-= Tests vswprintf with integer numbers
-= This test is modeled after _snwprintf.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/vswprintf.h b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/vswprintf.h
index ac72491695e845..c360c00db4e04d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/vswprintf.h
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/vswprintf/vswprintf.h
@@ -14,7 +14,7 @@
#define __vswprintf_H__
/* These functions leaks memory a lot. C'est la vie. */
-int testvswp(char16_t* buf, size_t buffSize, const char16_t* format, ...)
+inline int testvswp(char16_t* buf, size_t buffSize, const char16_t* format, ...)
{
int retVal = 0;
va_list arglist;
@@ -26,7 +26,7 @@ int testvswp(char16_t* buf, size_t buffSize, const char16_t* format, ...)
return( retVal);
}
-void DoWStrTest(const WCHAR *formatstr, WCHAR *param, const WCHAR *checkstr)
+inline void DoWStrTest_vswprintf_s(const WCHAR *formatstr, WCHAR *param, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -40,8 +40,9 @@ void DoWStrTest(const WCHAR *formatstr, WCHAR *param, const WCHAR *checkstr)
convertC(checkstr), convertC(buf));
}
}
+#define DoWStrTest DoWStrTest_vswprintf_s
-void DoStrTest(const WCHAR *formatstr, char *param, const WCHAR *checkstr)
+inline void DoStrTest_vswprintf_s(const WCHAR *formatstr, char *param, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -55,8 +56,9 @@ void DoStrTest(const WCHAR *formatstr, char *param, const WCHAR *checkstr)
convertC(buf));
}
}
+#define DoStrTest DoStrTest_vswprintf_s
-void DoCharTest(const WCHAR *formatstr, char param, const WCHAR *checkstr)
+inline void DoCharTest_vswprintf_s(const WCHAR *formatstr, char param, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -69,8 +71,9 @@ void DoCharTest(const WCHAR *formatstr, char param, const WCHAR *checkstr)
convertC(buf));
}
}
+#define DoCharTest DoCharTest_vswprintf_s
-void DoWCharTest(const WCHAR *formatstr, WCHAR param, const WCHAR *checkstr)
+inline void DoWCharTest_vswprintf_s(const WCHAR *formatstr, WCHAR param, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -83,8 +86,9 @@ void DoWCharTest(const WCHAR *formatstr, WCHAR param, const WCHAR *checkstr)
convertC(buf));
}
}
+#define DoWCharTest DoWCharTest_vswprintf_s
-void DoNumTest(const WCHAR *formatstr, int value, const WCHAR *checkstr)
+inline void DoNumTest_vswprintf_s(const WCHAR *formatstr, int value, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -96,8 +100,9 @@ void DoNumTest(const WCHAR *formatstr, int value, const WCHAR *checkstr)
convertC(checkstr), convertC(buf));
}
}
+#define DoNumTest DoNumTest_vswprintf_s
-void DoI64NumTest(const WCHAR *formatstr, INT64 value, char *valuestr, const WCHAR *checkstr)
+inline void DoI64NumTest_vswprintf_s(const WCHAR *formatstr, INT64 value, char *valuestr, const WCHAR *checkstr)
{
WCHAR buf[256] = { 0 };
@@ -109,7 +114,9 @@ void DoI64NumTest(const WCHAR *formatstr, INT64 value, char *valuestr, const WCH
convertC(checkstr), convertC(buf));
}
}
-void DoDoubleTest(const WCHAR *formatstr, double value, const WCHAR *checkstr1, WCHAR
+#define DoI64NumTest DoI64NumTest_vswprintf_s
+
+inline void DoDoubleTest_vswprintf_s(const WCHAR *formatstr, double value, const WCHAR *checkstr1, WCHAR
*checkstr2)
{
WCHAR buf[256] = { 0 };
@@ -127,5 +134,6 @@ void DoDoubleTest(const WCHAR *formatstr, double value, const WCHAR *checkstr1,
convertC(buf));
}
}
+#define DoDoubleTest DoDoubleTest_vswprintf_s
#endif
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscat/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscat/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscat/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscat/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscat/test1/CMakeLists.txt
deleted file mode 100644
index 08cd49f05dcedc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscat/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_wcscat_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcscat_test1 coreclrpal)
-
-target_link_libraries(paltest_wcscat_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscat/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscat/test1/test1.cpp
index c1f6f169f77ebc..da8f581554b5d5 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscat/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscat/test1/test1.cpp
@@ -20,7 +20,7 @@
* Notes: uses memcmp and the (pal) sprintf_s
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_wcscat_test1_paltest_wcscat_test1, "c_runtime/wcscat/test1/paltest_wcscat_test1")
{
WCHAR dest[80];
WCHAR test[] = {'f','o','o',' ','b','a','r',' ','b','a','z',0};
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscat/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscat/test1/testinfo.dat
deleted file mode 100644
index 8f5cff0e9d6742..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscat/test1/testinfo.dat
+++ /dev/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 = wcscat
-Name = Positive Test for wcscat
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Test to that wcscat correctly concatanates wide strings, including placing
-= null pointers
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcschr/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcschr/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcschr/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcschr/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcschr/test1/CMakeLists.txt
deleted file mode 100644
index 1687e57b87b1ae..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcschr/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_wcschr_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcschr_test1 coreclrpal)
-
-target_link_libraries(paltest_wcschr_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcschr/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcschr/test1/test1.cpp
index eeecf331a104f4..02276da03a51f4 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcschr/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcschr/test1/test1.cpp
@@ -16,7 +16,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_wcschr_test1_paltest_wcschr_test1, "c_runtime/wcschr/test1/paltest_wcschr_test1")
{
WCHAR str[] = {'f','o','o',' ','b','a','r',' ',0};
WCHAR c = (WCHAR)' ';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcschr/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcschr/test1/testinfo.dat
deleted file mode 100644
index 59e4d32dd31358..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcschr/test1/testinfo.dat
+++ /dev/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 = wcschr
-Name = Positive Test for wcschr
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests that wcschr correctly finds the first occurrence of a character in a
-= string.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscmp/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscmp/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscmp/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscmp/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscmp/test1/CMakeLists.txt
deleted file mode 100644
index a556133020a754..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscmp/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_wcscmp_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcscmp_test1 coreclrpal)
-
-target_link_libraries(paltest_wcscmp_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscmp/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscmp/test1/test1.cpp
index 0b374518b05d52..f7d2c12aa56635 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscmp/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscmp/test1/test1.cpp
@@ -14,7 +14,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_wcscmp_test1_paltest_wcscmp_test1, "c_runtime/wcscmp/test1/paltest_wcscmp_test1")
{
WCHAR str1[] = {'f','o','o',0};
WCHAR str2[] = {'f','o','o','x',0};
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscmp/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscmp/test1/testinfo.dat
deleted file mode 100644
index 9d5c60a03521a3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscmp/test1/testinfo.dat
+++ /dev/null
@@ -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 = wcscmp
-Name = Test #1 for wcscmp
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests that wcscmp correctly compares two strings with case sensitivity.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscpy/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscpy/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscpy/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscpy/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscpy/test1/CMakeLists.txt
deleted file mode 100644
index 8a004085eacb0f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscpy/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_wcscpy_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcscpy_test1 coreclrpal)
-
-target_link_libraries(paltest_wcscpy_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscpy/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscpy/test1/test1.cpp
index a2b98c5b6d4a3e..2c0c9afa8749cf 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscpy/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscpy/test1/test1.cpp
@@ -17,7 +17,7 @@
* Notes: uses memcmp and sprintf_s.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_wcscpy_test1_paltest_wcscpy_test1, "c_runtime/wcscpy/test1/paltest_wcscpy_test1")
{
WCHAR str[] = {'f','o','o',0,'b','a','r',0};
WCHAR dest[80];
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscpy/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscpy/test1/testinfo.dat
deleted file mode 100644
index b989c14556915f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcscpy/test1/testinfo.dat
+++ /dev/null
@@ -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 = wcscpy
-Name = Positive Test for wcscpy
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests that wcscpy correctly copies a null-terminated wide string.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcslen/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcslen/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcslen/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcslen/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcslen/test1/CMakeLists.txt
deleted file mode 100644
index 474f226fcc2f0c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcslen/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_wcslen_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcslen_test1 coreclrpal)
-
-target_link_libraries(paltest_wcslen_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcslen/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcslen/test1/test1.cpp
index ca2047b3c2d299..df7613dcae2dcd 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcslen/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcslen/test1/test1.cpp
@@ -16,7 +16,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_wcslen_test1_paltest_wcslen_test1, "c_runtime/wcslen/test1/paltest_wcslen_test1")
{
WCHAR str1[] = {'f','o','o',' ',0};
WCHAR str2[] = {0};
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcslen/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcslen/test1/testinfo.dat
deleted file mode 100644
index baefcff664d79d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcslen/test1/testinfo.dat
+++ /dev/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 = wcslen
-Name = Positive Test for wcslen
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests that wcslen correctly returns the length (in wide characters, not byte)
-= of a wide string
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncmp/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncmp/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncmp/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncmp/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncmp/test1/CMakeLists.txt
deleted file mode 100644
index b730673d38591a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncmp/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_wcsncmp_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcsncmp_test1 coreclrpal)
-
-target_link_libraries(paltest_wcsncmp_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncmp/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncmp/test1/test1.cpp
index 51ab8a371323d2..ff6a69e57f4f0b 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncmp/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncmp/test1/test1.cpp
@@ -20,7 +20,7 @@
* Notes: uses wcslen.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_wcsncmp_test1_paltest_wcsncmp_test1, "c_runtime/wcsncmp/test1/paltest_wcsncmp_test1")
{
WCHAR str1[] = {'f','o','o',0};
WCHAR str2[] = {'f','o','o','x',0};
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncmp/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncmp/test1/testinfo.dat
deleted file mode 100644
index 4ff561aee846c2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncmp/test1/testinfo.dat
+++ /dev/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 = wcsncmp
-Name = Positive Test for wcsncmp
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests that wcsncmp case-sensitively compares wide strings, making sure that
-= the count argument is handled correctly.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncpy/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncpy/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncpy/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncpy/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncpy/test1/CMakeLists.txt
deleted file mode 100644
index 8c70fdffaa1249..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncpy/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_wcsncpy_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcsncpy_test1 coreclrpal)
-
-target_link_libraries(paltest_wcsncpy_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncpy/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncpy/test1/test1.cpp
index 85c531ff043f58..1d514672bc3737 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncpy/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncpy/test1/test1.cpp
@@ -16,7 +16,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_wcsncpy_test1_paltest_wcsncpy_test1, "c_runtime/wcsncpy/test1/paltest_wcsncpy_test1")
{
WCHAR dest[80];
WCHAR result[] = {'f','o','o','b','a','r',0};
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncpy/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncpy/test1/testinfo.dat
deleted file mode 100644
index 7bb0faaae94d7c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsncpy/test1/testinfo.dat
+++ /dev/null
@@ -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 = wcsncpy
-Name = Test #1 for wcsncpy
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests to see that wcsncpy correctly copies wide strings, including handling
-= the count argument correctly (copying no more that count characters, not
-= automatically adding a null, and padding if necessary).
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcspbrk/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcspbrk/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcspbrk/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcspbrk/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcspbrk/test1/CMakeLists.txt
deleted file mode 100644
index d2f75eacb994ed..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcspbrk/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_wcspbrk_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcspbrk_test1 coreclrpal)
-
-target_link_libraries(paltest_wcspbrk_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcspbrk/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcspbrk/test1/test1.cpp
index 56773fce640f26..780d737d5b9d86 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcspbrk/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcspbrk/test1/test1.cpp
@@ -14,7 +14,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_wcspbrk_test1_paltest_wcspbrk_test1, "c_runtime/wcspbrk/test1/paltest_wcspbrk_test1")
{
WCHAR *string;
WCHAR *key1;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcspbrk/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcspbrk/test1/testinfo.dat
deleted file mode 100644
index 281570d87e78b9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcspbrk/test1/testinfo.dat
+++ /dev/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 = wcspbrk
-Name = Positive Test for wcspbrk
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests that wcspbrk returns a pointer to the first element in the first
-= string that matches a character in the second (or NULL).
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsrchr/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsrchr/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsrchr/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsrchr/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsrchr/test1/CMakeLists.txt
deleted file mode 100644
index 931dcc0148360b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsrchr/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_wcsrchr_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcsrchr_test1 coreclrpal)
-
-target_link_libraries(paltest_wcsrchr_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsrchr/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsrchr/test1/test1.cpp
index fc28893ed0f6e5..af2a58d158a566 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsrchr/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsrchr/test1/test1.cpp
@@ -16,7 +16,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_wcsrchr_test1_paltest_wcsrchr_test1, "c_runtime/wcsrchr/test1/paltest_wcsrchr_test1")
{
WCHAR str[] = {'f','o','o',' ','b','a','r',' ','b','a','z',0};
WCHAR c = (WCHAR)' ';
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsrchr/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsrchr/test1/testinfo.dat
deleted file mode 100644
index 8ed25b99e0031c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsrchr/test1/testinfo.dat
+++ /dev/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 = wcsrchr
-Name = Positive Test for wcsrchr
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests to see that wcsrchr correctly returns a pointer to the last occurence
-= of a character in a a string.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsstr/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsstr/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsstr/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsstr/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsstr/test1/CMakeLists.txt
deleted file mode 100644
index 2da56d9b777081..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsstr/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_wcsstr_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcsstr_test1 coreclrpal)
-
-target_link_libraries(paltest_wcsstr_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsstr/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsstr/test1/test1.cpp
index ab41299982c8fa..73264f6d127967 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsstr/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsstr/test1/test1.cpp
@@ -14,7 +14,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_wcsstr_test1_paltest_wcsstr_test1, "c_runtime/wcsstr/test1/paltest_wcsstr_test1")
{
WCHAR *string;
WCHAR *key1;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsstr/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsstr/test1/testinfo.dat
deleted file mode 100644
index 3d3d5d1f90b40c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcsstr/test1/testinfo.dat
+++ /dev/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 = wcsstr
-Name = Positive Test for wcsstr
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests that wcsstr correctly find substrings in wide stings, including
-= returning NULL when the substring can't be found.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/test1/CMakeLists.txt
deleted file mode 100644
index 1087e113907971..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_wcstod_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcstod_test1 coreclrpal)
-
-target_link_libraries(paltest_wcstod_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/test1/test1.cpp
index d49c9038752ea0..b1c1b9557c31f1 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/test1/test1.cpp
@@ -19,23 +19,23 @@ struct testCase
int stopChar;
};
-struct testCase testCases[] =
+PALTEST(c_runtime_wcstod_test1_paltest_wcstod_test1, "c_runtime/wcstod/test1/paltest_wcstod_test1")
{
- {1234,"1234", 4},
- {-1234,"-1234", 5},
- {1234.44,"1234.44", 7},
- {1234e-5,"1234e-5", 7},
- {1234e+5,"1234e+5", 7},
- {1234E5,"1234E5", 6},
- {1234.657e-8, "1234.657e-8", 11},
- {0, "1e-800", 6},
- {0, "-1e-800", 7},
- {1234567e-8, " 1234567e-8 foo", 13},
- {0, " foo 32 bar", 0},
-};
+ struct testCase testCases[] =
+ {
+ {1234,"1234", 4},
+ {-1234,"-1234", 5},
+ {1234.44,"1234.44", 7},
+ {1234e-5,"1234e-5", 7},
+ {1234e+5,"1234e+5", 7},
+ {1234E5,"1234E5", 6},
+ {1234.657e-8, "1234.657e-8", 11},
+ {0, "1e-800", 6},
+ {0, "-1e-800", 7},
+ {1234567e-8, " 1234567e-8 foo", 13},
+ {0, " foo 32 bar", 0},
+ };
-int __cdecl main(int argc, char **argv)
-{
WCHAR *wideStr;
WCHAR *endptr;
double result;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/test1/testinfo.dat
deleted file mode 100644
index 91eb1c62dd5d53..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/test1/testinfo.dat
+++ /dev/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 = wcstod
-Name = Positive Test for wcstod
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests wcstod with a number of sample strings.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/test2/CMakeLists.txt
deleted file mode 100644
index 76840320d27410..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_wcstod_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcstod_test2 coreclrpal)
-
-target_link_libraries(paltest_wcstod_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/test2/test2.cpp
index 3bd972c1b2d3bb..8da0a902174e5a 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/test2/test2.cpp
@@ -12,7 +12,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(c_runtime_wcstod_test2_paltest_wcstod_test2, "c_runtime/wcstod/test2/paltest_wcstod_test2")
{
/* Representation of positive infinty for a IEEE 64-bit double */
INT64 PosInifity = (INT64)(0x7ff00000) << 32;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/test2/testinfo.dat
deleted file mode 100644
index 1aa32d0b01e4d7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstod/test2/testinfo.dat
+++ /dev/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 = wcstod
-Name = Positive Test for wcstod
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Tests wcstod with overflows
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstok/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstok/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstok/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstok/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstok/test1/CMakeLists.txt
deleted file mode 100644
index 5e30ed3f64d84d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstok/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_wcstok_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcstok_test1 coreclrpal)
-
-target_link_libraries(paltest_wcstok_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstok/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstok/test1/test1.cpp
index 725669c36d56c7..564466c2a4e7f3 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstok/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstok/test1/test1.cpp
@@ -15,7 +15,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_wcstok_test1_paltest_wcstok_test1, "c_runtime/wcstok/test1/paltest_wcstok_test1")
{
/* foo bar baz */
WCHAR str[] = {'f','o','o',' ','b','a','r',' ','b','a','z','\0'};
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstok/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstok/test1/testinfo.dat
deleted file mode 100644
index f28611680755ca..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstok/test1/testinfo.dat
+++ /dev/null
@@ -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 = wcstok
-Name = wcstok test- tokenize a string and ensure the string takes correct form.
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Search for a number of tokens within strings. Check that the return values
-= are what is expect, and also that the strings match up with our expected
-= results.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/CMakeLists.txt
deleted file mode 100644
index 828a2878bf127a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/CMakeLists.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-add_subdirectory(test4)
-add_subdirectory(test5)
-add_subdirectory(test6)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test1/CMakeLists.txt
deleted file mode 100644
index 7157a2ae801cf5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_wcstoul_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcstoul_test1 coreclrpal)
-
-target_link_libraries(paltest_wcstoul_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test1/test1.cpp
index 190e05e373a730..e985ca2103af5d 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test1/test1.cpp
@@ -17,7 +17,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_wcstoul_test1_paltest_wcstoul_test1, "c_runtime/wcstoul/test1/paltest_wcstoul_test1")
{
WCHAR teststr[] = {'1','2','3','4','5',0};
WCHAR *end;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test1/testinfo.dat
deleted file mode 100644
index 1912c4332fba30..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test1/testinfo.dat
+++ /dev/null
@@ -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 = wcstoul
-Name = Positive Test for wcstoul
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests wcstoul with base 4 and a string that includes some invalid characters.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test2/CMakeLists.txt
deleted file mode 100644
index 30442349fbc38d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_wcstoul_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcstoul_test2 coreclrpal)
-
-target_link_libraries(paltest_wcstoul_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test2/test2.cpp
index 5464ee32869f37..c1b74ca01c77b3 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test2/test2.cpp
@@ -17,7 +17,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_wcstoul_test2_paltest_wcstoul_test2, "c_runtime/wcstoul/test2/paltest_wcstoul_test2")
{
WCHAR teststr[] = {'1','2','3','4','5',0};
WCHAR *end;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test2/testinfo.dat
deleted file mode 100644
index 699cc4090a3e65..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test2/testinfo.dat
+++ /dev/null
@@ -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 = wcstoul
-Name = Positive Test for wcstoul
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Tests wcstoul with base 10 and a completely valid string.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test3/CMakeLists.txt
deleted file mode 100644
index 30de2310e937c0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_wcstoul_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcstoul_test3 coreclrpal)
-
-target_link_libraries(paltest_wcstoul_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test3/test3.cpp
index 8e8916021d4ef6..5c09075ce9f73f 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test3/test3.cpp
@@ -17,7 +17,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_wcstoul_test3_paltest_wcstoul_test3, "c_runtime/wcstoul/test3/paltest_wcstoul_test3")
{
WCHAR str[] = {'Z',0};
WCHAR *end;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test3/testinfo.dat
deleted file mode 100644
index c4671d63a09a87..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test3/testinfo.dat
+++ /dev/null
@@ -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 = wcstoul
-Name = Positive Test for wcstoul
-TYPE = DEFAULT
-EXE1 = test3
-Description
-= Tests wcstoul with a completely invalid string (base 10).
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test4/CMakeLists.txt
deleted file mode 100644
index 1be7efdc815e45..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_wcstoul_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcstoul_test4 coreclrpal)
-
-target_link_libraries(paltest_wcstoul_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test4/test4.cpp
index 5aa380669ccd78..32055fb8bb5ba2 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test4/test4.cpp
@@ -16,7 +16,7 @@
* this is not currently tested.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_wcstoul_test4_paltest_wcstoul_test4, "c_runtime/wcstoul/test4/paltest_wcstoul_test4")
{
WCHAR maxstr[] = {'4','2','9','4','9','6','7','2','9','5',0};
ULONG max = 4294967295ul;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test4/testinfo.dat
deleted file mode 100644
index 2ae5a8b03f2f91..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test4/testinfo.dat
+++ /dev/null
@@ -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 = wcstoul
-Name = Positive Test for wcstoul
-TYPE = DEFAULT
-EXE1 = test4
-Description
-= Tests wcstoul with base 10 and the highest possible value.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test5/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test5/CMakeLists.txt
deleted file mode 100644
index fde5be4a19c37e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test5/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test5.cpp
-)
-
-add_executable(paltest_wcstoul_test5
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcstoul_test5 coreclrpal)
-
-target_link_libraries(paltest_wcstoul_test5
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test5/test5.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test5/test5.cpp
index 0f9ce043c94b81..2ffab4b9de051e 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test5/test5.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test5/test5.cpp
@@ -17,7 +17,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_wcstoul_test5_paltest_wcstoul_test5, "c_runtime/wcstoul/test5/paltest_wcstoul_test5")
{
WCHAR overstr[] = {'4','2','9','4','9','6','7','2','9','6',0};
WCHAR understr[] = {'-','1',0};
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test5/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test5/testinfo.dat
deleted file mode 100644
index 8f69b2ae9475b4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test5/testinfo.dat
+++ /dev/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 = wcstoul
-Name = Positive Test for wcstoul
-TYPE = DEFAULT
-EXE1 = test5
-Description
-= Tests wcstoul (base 10) with underflowing and overflowing.
-= Chesks that errno gets set to ERANGE.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test6/CMakeLists.txt
deleted file mode 100644
index 199744cc3da1e8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test6.cpp
-)
-
-add_executable(paltest_wcstoul_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_wcstoul_test6 coreclrpal)
-
-target_link_libraries(paltest_wcstoul_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test6/test6.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test6/test6.cpp
index 716dfef7cbdc5a..8ffd4c0b314db9 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test6/test6.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test6/test6.cpp
@@ -19,7 +19,7 @@
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_wcstoul_test6_paltest_wcstoul_test6, "c_runtime/wcstoul/test6/paltest_wcstoul_test6")
{
WCHAR test1[] = {'0','x','1','2', 0};
WCHAR test2[] = {'0','1','2',0};
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test6/testinfo.dat
deleted file mode 100644
index 255a584c901637..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wcstoul/test6/testinfo.dat
+++ /dev/null
@@ -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 = wcstoul
-Name = Positive Test for wcstoul
-TYPE = DEFAULT
-EXE1 = test6
-Description
-= Tests wcstoul with hex and octal strings, with different bases.
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/test1/CMakeLists.txt
deleted file mode 100644
index 63b44d817f861b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_wprintf_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_wprintf_test1 coreclrpal)
-
-target_link_libraries(paltest_wprintf_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/test1/test1.cpp
index 22b459eabf687c..75717a5e623605 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/test1/test1.cpp
@@ -16,7 +16,7 @@
#include
#include "../wprintf.h"
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_wprintf_test1_paltest_wprintf_test1, "c_runtime/wprintf/test1/paltest_wprintf_test1")
{
char checkstr[] = "hello world";
WCHAR *wcheckstr;
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/test1/testinfo.dat
deleted file mode 100644
index 5f807eee705e4d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/test1/testinfo.dat
+++ /dev/null
@@ -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 = wprintf
-Name = Positive Test for wprintf
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= General test to see if wprintf works correctly
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/test2/CMakeLists.txt
deleted file mode 100644
index bd529b79977e27..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_wprintf_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_wprintf_test2 coreclrpal)
-
-target_link_libraries(paltest_wprintf_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/test2/test2.cpp
index d1943902692ef7..9f9dd0e6dc4bde 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/test2/test2.cpp
@@ -17,7 +17,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(c_runtime_wprintf_test2_paltest_wprintf_test2, "c_runtime/wprintf/test2/paltest_wprintf_test2")
{
if (PAL_Initialize(argc, argv))
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/test2/testinfo.dat
deleted file mode 100644
index 7bbfe64e6cdaea..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/test2/testinfo.dat
+++ /dev/null
@@ -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 = wprintf
-Name = Positive Test for wprintf
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Tests wprintf with strings
diff --git a/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/wprintf.h b/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/wprintf.h
index 440d62c5a3e842..aa7889e4fae061 100644
--- a/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/wprintf.h
+++ b/src/coreclr/src/pal/tests/palsuite/c_runtime/wprintf/wprintf.h
@@ -13,7 +13,7 @@
#ifndef __wprintf_H__
#define __wprintf_H__
-void DoStrTest(const WCHAR *formatstr, const WCHAR *param, const WCHAR *checkstr)
+inline void DoStrTest_wprintf(const WCHAR *formatstr, const WCHAR *param, const WCHAR *checkstr)
{
int ret;
@@ -24,9 +24,9 @@ void DoStrTest(const WCHAR *formatstr, const WCHAR *param, const WCHAR *checkstr
wcslen(checkstr), ret);
}
}
+#define DoStrTest DoStrTest_wprintf
-
-void DoPointerTest(const WCHAR *formatstr, void* param, WCHAR* paramstr,
+inline void DoPointerTest_wprintf(const WCHAR *formatstr, void* param, WCHAR* paramstr,
const WCHAR *checkstr1)
{
int ret;
@@ -38,8 +38,9 @@ void DoPointerTest(const WCHAR *formatstr, void* param, WCHAR* paramstr,
wcslen(checkstr1), ret);
}
}
+#define DoPointerTest DoPointerTest_wprintf
-void DoCountTest(const WCHAR *formatstr, int param, const WCHAR *checkstr)
+inline void DoCountTest_wprintf(const WCHAR *formatstr, int param, const WCHAR *checkstr)
{
int ret;
int n = -1;
@@ -57,8 +58,9 @@ void DoCountTest(const WCHAR *formatstr, int param, const WCHAR *checkstr)
wcslen(checkstr), ret);
}
}
+#define DoCountTest DoCountTest_wprintf
-void DoShortCountTest(const WCHAR *formatstr, int param, const WCHAR *checkstr)
+inline void DoShortCountTest_wprintf(const WCHAR *formatstr, int param, const WCHAR *checkstr)
{
int ret;
short int n = -1;
@@ -76,9 +78,9 @@ void DoShortCountTest(const WCHAR *formatstr, int param, const WCHAR *checkstr)
wcslen(checkstr), ret);
}
}
+#define DoShortCountTest DoShortCountTest_wprintf
-
-void DoCharTest(const WCHAR *formatstr, WCHAR param, const WCHAR *checkstr)
+inline void DoCharTest_wprintf(const WCHAR *formatstr, WCHAR param, const WCHAR *checkstr)
{
int ret;
@@ -89,8 +91,9 @@ void DoCharTest(const WCHAR *formatstr, WCHAR param, const WCHAR *checkstr)
wcslen(checkstr), ret);
}
}
+#define DoCharTest DoCharTest_wprintf
-void DoWCharTest(const WCHAR *formatstr, WCHAR param, const WCHAR *checkstr)
+inline void DoWCharTest_wprintf(const WCHAR *formatstr, WCHAR param, const WCHAR *checkstr)
{
int ret;
@@ -101,8 +104,9 @@ void DoWCharTest(const WCHAR *formatstr, WCHAR param, const WCHAR *checkstr)
wcslen(checkstr), ret);
}
}
+#define DoWCharTest DoWCharTest_wprintf
-void DoNumTest(const WCHAR *formatstr, int param, const WCHAR *checkstr)
+inline void DoNumTest_wprintf(const WCHAR *formatstr, int param, const WCHAR *checkstr)
{
int ret;
@@ -113,8 +117,9 @@ void DoNumTest(const WCHAR *formatstr, int param, const WCHAR *checkstr)
wcslen(checkstr), ret);
}
}
+#define DoNumTest DoNumTest_wprintf
-void DoI64Test(const WCHAR *formatstr, INT64 param, const WCHAR *valuestr,
+inline void DoI64Test_wprintf(const WCHAR *formatstr, INT64 param, const WCHAR *valuestr,
const WCHAR *checkstr1)
{
int ret;
@@ -126,8 +131,9 @@ void DoI64Test(const WCHAR *formatstr, INT64 param, const WCHAR *valuestr,
wcslen(checkstr1), ret);
}
}
+#define DoI64Test DoI64Test_wprintf
-void DoDoubleTest(const WCHAR *formatstr, double param,
+inline void DoDoubleTest_wprintf(const WCHAR *formatstr, double param,
const WCHAR *checkstr1, const WCHAR *checkstr2)
{
int ret;
@@ -139,8 +145,9 @@ void DoDoubleTest(const WCHAR *formatstr, double param,
wcslen(checkstr1), wcslen(checkstr2), ret);
}
}
+#define DoDoubleTest DoDoubleTest_wprintf
-void DoArgumentPrecTest(const WCHAR *formatstr, int precision, void *param,
+inline void DoArgumentPrecTest_wprintf(const WCHAR *formatstr, int precision, void *param,
WCHAR *paramstr, const WCHAR *checkstr1, const WCHAR *checkstr2)
{
int ret;
@@ -152,8 +159,9 @@ void DoArgumentPrecTest(const WCHAR *formatstr, int precision, void *param,
wcslen(checkstr1), wcslen(checkstr2), ret);
}
}
+#define DoArgumentPrecTest DoArgumentPrecTest_wprintf
-void DoArgumentPrecDoubleTest(const WCHAR *formatstr, int precision, double param,
+inline void DoArgumentPrecDoubleTest_wprintf(const WCHAR *formatstr, int precision, double param,
const WCHAR *checkstr1, const WCHAR *checkstr2)
{
int ret;
@@ -165,6 +173,7 @@ void DoArgumentPrecDoubleTest(const WCHAR *formatstr, int precision, double para
wcslen(checkstr1), wcslen(checkstr2), ret);
}
}
+#define DoArgumentPrecDoubleTest DoArgumentPrecDoubleTest_wprintf
#endif
diff --git a/src/coreclr/src/pal/tests/palsuite/common/palsuite.cpp b/src/coreclr/src/pal/tests/palsuite/common/palsuite.cpp
new file mode 100644
index 00000000000000..a3c2d7186441a4
--- /dev/null
+++ b/src/coreclr/src/pal/tests/palsuite/common/palsuite.cpp
@@ -0,0 +1,207 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+/*============================================================================
+**
+** Source: palsuite.cpp
+**
+** Purpose: Define constants and implement functions that are useful to
+** multiple function categories.
+**
+**==========================================================================*/
+
+
+#include "palsuite.h"
+
+const char* szTextFile = "text.txt";
+
+HANDLE hToken[NUM_TOKENS];
+CRITICAL_SECTION CriticalSection;
+
+WCHAR* convert(const char * aString)
+{
+ int size;
+ WCHAR* wideBuffer;
+
+ size = MultiByteToWideChar(CP_ACP,0,aString,-1,NULL,0);
+ wideBuffer = (WCHAR*) malloc(size*sizeof(WCHAR));
+ if (wideBuffer == NULL)
+ {
+ Fail("ERROR: Unable to allocate memory!\n");
+ }
+ MultiByteToWideChar(CP_ACP,0,aString,-1,wideBuffer,size);
+ return wideBuffer;
+}
+
+char* convertC(const WCHAR * wString)
+{
+ int size;
+ char * MultiBuffer = NULL;
+
+ size = WideCharToMultiByte(CP_ACP,0,wString,-1,MultiBuffer,0,NULL,NULL);
+ MultiBuffer = (char*) malloc(size);
+ if (MultiBuffer == NULL)
+ {
+ Fail("ERROR: Unable to allocate memory!\n");
+ }
+ WideCharToMultiByte(CP_ACP,0,wString,-1,MultiBuffer,size,NULL,NULL);
+ return MultiBuffer;
+}
+
+UINT64 GetHighPrecisionTimeStamp(LARGE_INTEGER performanceFrequency)
+{
+ LARGE_INTEGER ts;
+ if (!QueryPerformanceCounter(&ts))
+ {
+ Fail("ERROR: Unable to query performance counter!\n");
+ }
+
+ return ts.QuadPart / (performanceFrequency.QuadPart / 1000);
+}
+
+static const char* rgchPathDelim = "\\";
+
+
+int
+mkAbsoluteFilename( LPSTR dirName,
+ DWORD dwDirLength,
+ LPCSTR fileName,
+ DWORD dwFileLength,
+ LPSTR absPathName )
+{
+ DWORD sizeDN, sizeFN, sizeAPN;
+
+ sizeDN = strlen( dirName );
+ sizeFN = strlen( fileName );
+ sizeAPN = (sizeDN + 1 + sizeFN + 1);
+
+ /* ensure ((dirName + DELIM + fileName + \0) =< _MAX_PATH ) */
+ if( sizeAPN > _MAX_PATH )
+ {
+ return ( 0 );
+ }
+
+ strncpy( absPathName, dirName, dwDirLength +1 );
+ strncpy( absPathName, rgchPathDelim, 2 );
+ strncpy( absPathName, fileName, dwFileLength +1 );
+
+ return (sizeAPN);
+
+}
+
+
+BOOL CleanupHelper (HANDLE *hArray, DWORD dwIndex)
+{
+ BOOL bCHRet;
+
+ bCHRet = CloseHandle(hArray[dwIndex]);
+ if (!bCHRet)
+ {
+ Trace("PALSUITE ERROR: Unable to execute CloseHandle(%p) during "
+ "clean up.\nGetLastError returned '%u'.\n", hArray[dwIndex],
+ GetLastError());
+ }
+
+ return (bCHRet);
+}
+
+BOOL Cleanup(HANDLE *hArray, DWORD dwIndex)
+{
+ BOOL bCRet;
+ BOOL bCHRet = 0;
+
+ while (--dwIndex > 0)
+ {
+ bCHRet = CleanupHelper(&hArray[0], dwIndex);
+ }
+
+ bCRet = CloseHandle(hArray[0]);
+ if (!bCRet)
+ {
+ Trace("PALSUITE ERROR: Unable to execute CloseHandle(%p) during "
+ "clean up.\nGetLastError returned '%u'.\n", hArray[dwIndex],
+ GetLastError());
+ }
+
+ return (bCRet&&bCHRet);
+}
+
+/*
+ * Take two wide strings representing file and directory names
+ * (dirName, fileName), join the strings with the appropriate path
+ * delimiter and populate a wide character buffer (absPathName) with
+ * the resulting string.
+ *
+ * Returns: The number of wide characters in the resulting string.
+ * 0 is returned on Error.
+ */
+int
+mkAbsoluteFilenameW (
+ LPWSTR dirName,
+ DWORD dwDirLength,
+ LPCWSTR fileName,
+ DWORD dwFileLength,
+ LPWSTR absPathName )
+{
+ const WCHAR szPathDelimW[] = {'\\','\0'};
+
+ DWORD sizeDN, sizeFN, sizeAPN;
+
+ sizeDN = wcslen( dirName );
+ sizeFN = wcslen( fileName );
+ sizeAPN = (sizeDN + 1 + sizeFN + 1);
+
+ /* insure ((dirName + DELIM + fileName + \0) =< _MAX_PATH ) */
+ if ( sizeAPN > _MAX_PATH )
+ {
+ return ( 0 );
+ }
+
+ wcsncpy(absPathName, dirName, dwDirLength +1);
+ wcsncpy(absPathName, szPathDelimW, 2);
+ wcsncpy(absPathName, fileName, dwFileLength +1);
+
+ return (sizeAPN);
+
+}
+
+/*
+ * Take two wide strings representing file and directory names
+ * (dirName, fileName), join the strings with the appropriate path
+ * delimiter and populate a wide character buffer (absPathName) with
+ * the resulting string.
+ *
+ * Returns: The number of wide characters in the resulting string.
+ * 0 is returned on Error.
+ */
+int
+mkAbsoluteFilenameA (
+ LPSTR dirName,
+ DWORD dwDirLength,
+ LPCSTR fileName,
+ DWORD dwFileLength,
+ LPSTR absPathName )
+{
+ const char *szPathDelimA = "\\";
+
+ DWORD sizeDN;
+ DWORD sizeFN;
+ DWORD sizeAPN;
+
+ sizeDN = strlen( dirName );
+ sizeFN = strlen( fileName );
+ sizeAPN = (sizeDN + 1 + sizeFN + 1);
+
+ /* insure ((dirName + DELIM + fileName + \0) =< _MAX_PATH ) */
+ if ( sizeAPN > _MAX_PATH )
+ {
+ return ( 0 );
+ }
+
+ strncpy(absPathName, dirName, dwDirLength +1);
+ strcat(absPathName, szPathDelimA);
+ strcat(absPathName, fileName);
+
+ return (sizeAPN);
+
+}
diff --git a/src/coreclr/src/pal/tests/palsuite/common/palsuite.h b/src/coreclr/src/pal/tests/palsuite/common/palsuite.h
index 34bf3a5fa1a484..d5e5a921ef1453 100644
--- a/src/coreclr/src/pal/tests/palsuite/common/palsuite.h
+++ b/src/coreclr/src/pal/tests/palsuite/common/palsuite.h
@@ -24,14 +24,18 @@ typedef unsigned short char16_t;
#include
#include
+#define PALTEST(testfunc, testname) \
+ int __cdecl testfunc(int argc, char* argv[]); \
+ static PALTest testfunc##_lookup(testfunc, testname); \
+ int __cdecl testfunc(int argc, char* argv[]) \
+
enum
{
PASS = 0,
FAIL = 1
};
-
-void Trace(const char *format, ...)
+inline void Trace(const char *format, ...)
{
va_list arglist;
@@ -42,7 +46,7 @@ void Trace(const char *format, ...)
va_end(arglist);
}
-void Fail(const char *format, ...)
+inline void Fail(const char *format, ...)
{
va_list arglist;
@@ -57,6 +61,23 @@ void Fail(const char *format, ...)
PAL_TerminateEx(FAIL);
}
+typedef int __cdecl(*PALTestEntrypoint)(int argc, char*[]);
+
+struct PALTest
+{
+ static PALTest* s_tests;
+ PALTest *_next;
+ PALTestEntrypoint _entrypoint;
+ const char *_name;
+ PALTest(PALTestEntrypoint entrypoint, const char *entrypointName)
+ {
+ _entrypoint = entrypoint;
+ _name = entrypointName;
+ _next = s_tests;
+ s_tests = this;
+ }
+};
+
#ifdef PAL_PERF
int __cdecl Test_Main(int argc, char **argv);
@@ -138,46 +159,65 @@ inline ULONG VAL32(ULONG x)
#define _countof(_array) (sizeof(_array)/sizeof(_array[0]))
-WCHAR* convert(const char * aString)
-{
- int size;
- WCHAR* wideBuffer;
-
- size = MultiByteToWideChar(CP_ACP,0,aString,-1,NULL,0);
- wideBuffer = (WCHAR*) malloc(size*sizeof(WCHAR));
- if (wideBuffer == NULL)
- {
- Fail("ERROR: Unable to allocate memory!\n");
- }
- MultiByteToWideChar(CP_ACP,0,aString,-1,wideBuffer,size);
- return wideBuffer;
-}
-
-char* convertC(const WCHAR * wString)
-{
- int size;
- char * MultiBuffer = NULL;
-
- size = WideCharToMultiByte(CP_ACP,0,wString,-1,MultiBuffer,0,NULL,NULL);
- MultiBuffer = (char*) malloc(size);
- if (MultiBuffer == NULL)
- {
- Fail("ERROR: Unable to allocate memory!\n");
- }
- WideCharToMultiByte(CP_ACP,0,wString,-1,MultiBuffer,size,NULL,NULL);
- return MultiBuffer;
-}
-
-UINT64 GetHighPrecisionTimeStamp(LARGE_INTEGER performanceFrequency)
-{
- LARGE_INTEGER ts;
- if (!QueryPerformanceCounter(&ts))
- {
- Fail("ERROR: Unable to query performance counter!\n");
- }
-
- return ts.QuadPart / (performanceFrequency.QuadPart / 1000);
-}
+WCHAR* convert(const char * aString);
+char* convertC(const WCHAR * wString);
+UINT64 GetHighPrecisionTimeStamp(LARGE_INTEGER performanceFrequency);
+
+extern const char* szTextFile;
+
+
+int
+mkAbsoluteFilename( LPSTR dirName,
+ DWORD dwDirLength,
+ LPCSTR fileName,
+ DWORD dwFileLength,
+ LPSTR absPathName );
+
+BOOL CleanupHelper (HANDLE *hArray, DWORD dwIndex);
+BOOL Cleanup(HANDLE *hArray, DWORD dwIndex);
+
+
+/*
+ * Tokens 0 and 1 are events. Token 2 is the thread.
+ */
+#define NUM_TOKENS 3
+
+extern HANDLE hToken[NUM_TOKENS];
+extern CRITICAL_SECTION CriticalSection;
+
+/*
+ * Take two wide strings representing file and directory names
+ * (dirName, fileName), join the strings with the appropriate path
+ * delimiter and populate a wide character buffer (absPathName) with
+ * the resulting string.
+ *
+ * Returns: The number of wide characters in the resulting string.
+ * 0 is returned on Error.
+ */
+int
+mkAbsoluteFilenameW (
+ LPWSTR dirName,
+ DWORD dwDirLength,
+ LPCWSTR fileName,
+ DWORD dwFileLength,
+ LPWSTR absPathName );
+
+/*
+ * Take two wide strings representing file and directory names
+ * (dirName, fileName), join the strings with the appropriate path
+ * delimiter and populate a wide character buffer (absPathName) with
+ * the resulting string.
+ *
+ * Returns: The number of wide characters in the resulting string.
+ * 0 is returned on Error.
+ */
+int
+mkAbsoluteFilenameA (
+ LPSTR dirName,
+ DWORD dwDirLength,
+ LPCSTR fileName,
+ DWORD dwFileLength,
+ LPSTR absPathName );
#endif
diff --git a/src/coreclr/src/pal/tests/palsuite/compilableTests.txt b/src/coreclr/src/pal/tests/palsuite/compilableTests.txt
new file mode 100644
index 00000000000000..2f754c48fdfb80
--- /dev/null
+++ b/src/coreclr/src/pal/tests/palsuite/compilableTests.txt
@@ -0,0 +1,804 @@
+c_runtime/abs/test1/paltest_abs_test1
+c_runtime/acos/test1/paltest_acos_test1
+c_runtime/acosf/test1/paltest_acosf_test1
+c_runtime/acosh/test1/paltest_acosh_test1
+c_runtime/acoshf/test1/paltest_acoshf_test1
+c_runtime/asin/test1/paltest_asin_test1
+c_runtime/asinf/test1/paltest_asinf_test1
+c_runtime/asinh/test1/paltest_asinh_test1
+c_runtime/asinhf/test1/paltest_asinhf_test1
+c_runtime/atan/test1/paltest_atan_test1
+c_runtime/atan2/test1/paltest_atan2_test1
+c_runtime/atan2f/test1/paltest_atan2f_test1
+c_runtime/atanf/test1/paltest_atanf_test1
+c_runtime/atanh/test1/paltest_atanh_test1
+c_runtime/atanhf/test1/paltest_atanhf_test1
+c_runtime/atof/test1/paltest_atof_test1
+c_runtime/atoi/test1/paltest_atoi_test1
+c_runtime/bsearch/test1/paltest_bsearch_test1
+c_runtime/bsearch/test2/paltest_bsearch_test2
+c_runtime/cbrt/test1/paltest_cbrt_test1
+c_runtime/cbrtf/test1/paltest_cbrtf_test1
+c_runtime/ceil/test1/paltest_ceil_test1
+c_runtime/ceilf/test1/paltest_ceilf_test1
+c_runtime/cos/test1/paltest_cos_test1
+c_runtime/cosf/test1/paltest_cosf_test1
+c_runtime/cosh/test1/paltest_cosh_test1
+c_runtime/coshf/test1/paltest_coshf_test1
+c_runtime/errno/test1/paltest_errno_test1
+c_runtime/errno/test2/paltest_errno_test2
+c_runtime/exit/test1/paltest_exit_test1
+c_runtime/exit/test2/paltest_exit_test2
+c_runtime/exp/test1/paltest_exp_test1
+c_runtime/expf/test1/paltest_expf_test1
+c_runtime/fabs/test1/paltest_fabs_test1
+c_runtime/fabsf/test1/paltest_fabsf_test1
+c_runtime/fclose/test1/paltest_fclose_test1
+c_runtime/fclose/test2/paltest_fclose_test2
+c_runtime/ferror/test1/paltest_ferror_test1
+c_runtime/ferror/test2/paltest_ferror_test2
+c_runtime/fflush/test1/paltest_fflush_test1
+c_runtime/fgets/test1/paltest_fgets_test1
+c_runtime/fgets/test2/paltest_fgets_test2
+c_runtime/fgets/test3/paltest_fgets_test3
+c_runtime/floor/test1/paltest_floor_test1
+c_runtime/floorf/test1/paltest_floorf_test1
+c_runtime/fma/test1/paltest_fma_test1
+c_runtime/fmaf/test1/paltest_fmaf_test1
+c_runtime/fmod/test1/paltest_fmod_test1
+c_runtime/fmodf/test1/paltest_fmodf_test1
+c_runtime/fopen/test1/paltest_fopen_test1
+c_runtime/fopen/test2/paltest_fopen_test2
+c_runtime/fopen/test3/paltest_fopen_test3
+c_runtime/fopen/test4/paltest_fopen_test4
+c_runtime/fopen/test5/paltest_fopen_test5
+c_runtime/fopen/test6/paltest_fopen_test6
+c_runtime/fopen/test7/paltest_fopen_test7
+c_runtime/fprintf/test1/paltest_fprintf_test1
+c_runtime/fprintf/test10/paltest_fprintf_test10
+c_runtime/fprintf/test11/paltest_fprintf_test11
+c_runtime/fprintf/test12/paltest_fprintf_test12
+c_runtime/fprintf/test13/paltest_fprintf_test13
+c_runtime/fprintf/test14/paltest_fprintf_test14
+c_runtime/fprintf/test15/paltest_fprintf_test15
+c_runtime/fprintf/test16/paltest_fprintf_test16
+c_runtime/fprintf/test17/paltest_fprintf_test17
+c_runtime/fprintf/test18/paltest_fprintf_test18
+c_runtime/fprintf/test19/paltest_fprintf_test19
+c_runtime/fprintf/test2/paltest_fprintf_test2
+c_runtime/fprintf/test3/paltest_fprintf_test3
+c_runtime/fprintf/test4/paltest_fprintf_test4
+c_runtime/fprintf/test5/paltest_fprintf_test5
+c_runtime/fprintf/test6/paltest_fprintf_test6
+c_runtime/fprintf/test7/paltest_fprintf_test7
+c_runtime/fprintf/test8/paltest_fprintf_test8
+c_runtime/fprintf/test9/paltest_fprintf_test9
+c_runtime/fputs/test1/paltest_fputs_test1
+c_runtime/fputs/test2/paltest_fputs_test2
+c_runtime/fread/test1/paltest_fread_test1
+c_runtime/fread/test2/paltest_fread_test2
+c_runtime/fread/test3/paltest_fread_test3
+c_runtime/free/test1/paltest_free_test1
+c_runtime/fseek/test1/paltest_fseek_test1
+c_runtime/ftell/test1/paltest_ftell_test1
+c_runtime/fwprintf/test1/paltest_fwprintf_test1
+c_runtime/fwprintf/test10/paltest_fwprintf_test10
+c_runtime/fwprintf/test11/paltest_fwprintf_test11
+c_runtime/fwprintf/test12/paltest_fwprintf_test12
+c_runtime/fwprintf/test13/paltest_fwprintf_test13
+c_runtime/fwprintf/test14/paltest_fwprintf_test14
+c_runtime/fwprintf/test15/paltest_fwprintf_test15
+c_runtime/fwprintf/test16/paltest_fwprintf_test16
+c_runtime/fwprintf/test17/paltest_fwprintf_test17
+c_runtime/fwprintf/test18/paltest_fwprintf_test18
+c_runtime/fwprintf/test19/paltest_fwprintf_test19
+c_runtime/fwprintf/test2/paltest_fwprintf_test2
+c_runtime/fwprintf/test3/paltest_fwprintf_test3
+c_runtime/fwprintf/test4/paltest_fwprintf_test4
+c_runtime/fwprintf/test5/paltest_fwprintf_test5
+c_runtime/fwprintf/test6/paltest_fwprintf_test6
+c_runtime/fwprintf/test7/paltest_fwprintf_test7
+c_runtime/fwprintf/test8/paltest_fwprintf_test8
+c_runtime/fwprintf/test9/paltest_fwprintf_test9
+c_runtime/fwrite/test1/paltest_fwrite_test1
+c_runtime/getenv/test1/paltest_getenv_test1
+c_runtime/getenv/test2/paltest_getenv_test2
+c_runtime/getenv/test3/paltest_getenv_test3
+c_runtime/ilogb/test1/paltest_ilogb_test1
+c_runtime/ilogbf/test1/paltest_ilogbf_test1
+c_runtime/isalnum/test1/paltest_isalnum_test1
+c_runtime/isalpha/test1/paltest_isalpha_test1
+c_runtime/isdigit/test1/paltest_isdigit_test1
+c_runtime/islower/test1/paltest_islower_test1
+c_runtime/isprint/test1/paltest_isprint_test1
+c_runtime/isprint/test2/paltest_isprint_test2
+c_runtime/isspace/test1/paltest_isspace_test1
+c_runtime/isupper/test1/paltest_isupper_test1
+c_runtime/iswdigit/test1/paltest_iswdigit_test1
+c_runtime/iswspace/test1/paltest_iswspace_test1
+c_runtime/iswupper/test1/paltest_iswupper_test1
+c_runtime/isxdigit/test1/paltest_isxdigit_test1
+c_runtime/llabs/test1/paltest_llabs_test1
+c_runtime/log/test1/paltest_log_test1
+c_runtime/log10/test1/paltest_log10_test1
+c_runtime/log10f/test1/paltest_log10f_test1
+c_runtime/log2/test1/paltest_log2_test1
+c_runtime/log2f/test1/paltest_log2f_test1
+c_runtime/logf/test1/paltest_logf_test1
+c_runtime/malloc/test1/paltest_malloc_test1
+c_runtime/malloc/test2/paltest_malloc_test2
+c_runtime/memchr/test1/paltest_memchr_test1
+c_runtime/memcmp/test1/paltest_memcmp_test1
+c_runtime/memcpy/test1/paltest_memcpy_test1
+c_runtime/memmove/test1/paltest_memmove_test1
+c_runtime/memset/test1/paltest_memset_test1
+c_runtime/modf/test1/paltest_modf_test1
+c_runtime/modff/test1/paltest_modff_test1
+c_runtime/pow/test1/paltest_pow_test1
+c_runtime/powf/test1/paltest_powf_test1
+c_runtime/printf/test1/paltest_printf_test1
+c_runtime/printf/test10/paltest_printf_test10
+c_runtime/printf/test11/paltest_printf_test11
+c_runtime/printf/test12/paltest_printf_test12
+c_runtime/printf/test13/paltest_printf_test13
+c_runtime/printf/test14/paltest_printf_test14
+c_runtime/printf/test15/paltest_printf_test15
+c_runtime/printf/test16/paltest_printf_test16
+c_runtime/printf/test17/paltest_printf_test17
+c_runtime/printf/test18/paltest_printf_test18
+c_runtime/printf/test19/paltest_printf_test19
+c_runtime/printf/test2/paltest_printf_test2
+c_runtime/printf/test3/paltest_printf_test3
+c_runtime/printf/test4/paltest_printf_test4
+c_runtime/printf/test5/paltest_printf_test5
+c_runtime/printf/test6/paltest_printf_test6
+c_runtime/printf/test7/paltest_printf_test7
+c_runtime/printf/test8/paltest_printf_test8
+c_runtime/printf/test9/paltest_printf_test9
+c_runtime/qsort/test1/paltest_qsort_test1
+c_runtime/qsort/test2/paltest_qsort_test2
+c_runtime/rand_srand/test1/paltest_rand_srand_test1
+c_runtime/realloc/test1/paltest_realloc_test1
+c_runtime/scalbn/test1/paltest_scalbn_test1
+c_runtime/scalbnf/test1/paltest_scalbnf_test1
+c_runtime/sin/test1/paltest_sin_test1
+c_runtime/sinf/test1/paltest_sinf_test1
+c_runtime/sinh/test1/paltest_sinh_test1
+c_runtime/sinhf/test1/paltest_sinhf_test1
+c_runtime/sprintf_s/test1/paltest_sprintf_test1
+c_runtime/sprintf_s/test10/paltest_sprintf_test10
+c_runtime/sprintf_s/test11/paltest_sprintf_test11
+c_runtime/sprintf_s/test12/paltest_sprintf_test12
+c_runtime/sprintf_s/test13/paltest_sprintf_test13
+c_runtime/sprintf_s/test14/paltest_sprintf_test14
+c_runtime/sprintf_s/test15/paltest_sprintf_test15
+c_runtime/sprintf_s/test16/paltest_sprintf_test16
+c_runtime/sprintf_s/test17/paltest_sprintf_test17
+c_runtime/sprintf_s/test18/paltest_sprintf_test18
+c_runtime/sprintf_s/test19/paltest_sprintf_test19
+c_runtime/sprintf_s/test2/paltest_sprintf_test2
+c_runtime/sprintf_s/test3/paltest_sprintf_test3
+c_runtime/sprintf_s/test4/paltest_sprintf_test4
+c_runtime/sprintf_s/test6/paltest_sprintf_test6
+c_runtime/sprintf_s/test7/paltest_sprintf_test7
+c_runtime/sprintf_s/test8/paltest_sprintf_test8
+c_runtime/sprintf_s/test9/paltest_sprintf_test9
+c_runtime/sqrt/test1/paltest_sqrt_test1
+c_runtime/sqrtf/test1/paltest_sqrtf_test1
+c_runtime/sscanf_s/test1/paltest_sscanf_test1
+c_runtime/sscanf_s/test10/paltest_sscanf_test10
+c_runtime/sscanf_s/test11/paltest_sscanf_test11
+c_runtime/sscanf_s/test12/paltest_sscanf_test12
+c_runtime/sscanf_s/test13/paltest_sscanf_test13
+c_runtime/sscanf_s/test14/paltest_sscanf_test14
+c_runtime/sscanf_s/test15/paltest_sscanf_test15
+c_runtime/sscanf_s/test16/paltest_sscanf_test16
+c_runtime/sscanf_s/test17/paltest_sscanf_test17
+c_runtime/sscanf_s/test2/paltest_sscanf_test2
+c_runtime/sscanf_s/test3/paltest_sscanf_test3
+c_runtime/sscanf_s/test4/paltest_sscanf_test4
+c_runtime/sscanf_s/test5/paltest_sscanf_test5
+c_runtime/sscanf_s/test6/paltest_sscanf_test6
+c_runtime/sscanf_s/test7/paltest_sscanf_test7
+c_runtime/sscanf_s/test8/paltest_sscanf_test8
+c_runtime/sscanf_s/test9/paltest_sscanf_test9
+c_runtime/strcat/test1/paltest_strcat_test1
+c_runtime/strchr/test1/paltest_strchr_test1
+c_runtime/strcmp/test1/paltest_strcmp_test1
+c_runtime/strcpy/test1/paltest_strcpy_test1
+c_runtime/strcspn/test1/paltest_strcspn_test1
+c_runtime/strlen/test1/paltest_strlen_test1
+c_runtime/strncat/test1/paltest_strncat_test1
+c_runtime/strncmp/test1/paltest_strncmp_test1
+c_runtime/strncpy/test1/paltest_strncpy_test1
+c_runtime/strpbrk/test1/paltest_strpbrk_test1
+c_runtime/strrchr/test1/paltest_strrchr_test1
+c_runtime/strspn/test1/paltest_strspn_test1
+c_runtime/strstr/test1/paltest_strstr_test1
+c_runtime/strtod/test1/paltest_strtod_test1
+c_runtime/strtod/test2/paltest_strtod_test2
+c_runtime/strtok/test1/paltest_strtok_test1
+c_runtime/strtoul/test1/paltest_strtoul_test1
+c_runtime/swprintf/test1/paltest_swprintf_test1
+c_runtime/swprintf/test10/paltest_swprintf_test10
+c_runtime/swprintf/test11/paltest_swprintf_test11
+c_runtime/swprintf/test12/paltest_swprintf_test12
+c_runtime/swprintf/test13/paltest_swprintf_test13
+c_runtime/swprintf/test14/paltest_swprintf_test14
+c_runtime/swprintf/test15/paltest_swprintf_test15
+c_runtime/swprintf/test16/paltest_swprintf_test16
+c_runtime/swprintf/test17/paltest_swprintf_test17
+c_runtime/swprintf/test18/paltest_swprintf_test18
+c_runtime/swprintf/test19/paltest_swprintf_test19
+c_runtime/swprintf/test2/paltest_swprintf_test2
+c_runtime/swprintf/test3/paltest_swprintf_test3
+c_runtime/swprintf/test4/paltest_swprintf_test4
+c_runtime/swprintf/test6/paltest_swprintf_test6
+c_runtime/swprintf/test7/paltest_swprintf_test7
+c_runtime/swprintf/test8/paltest_swprintf_test8
+c_runtime/swprintf/test9/paltest_swprintf_test9
+c_runtime/swscanf/test1/paltest_swscanf_test1
+c_runtime/swscanf/test10/paltest_swscanf_test10
+c_runtime/swscanf/test11/paltest_swscanf_test11
+c_runtime/swscanf/test12/paltest_swscanf_test12
+c_runtime/swscanf/test13/paltest_swscanf_test13
+c_runtime/swscanf/test14/paltest_swscanf_test14
+c_runtime/swscanf/test15/paltest_swscanf_test15
+c_runtime/swscanf/test16/paltest_swscanf_test16
+c_runtime/swscanf/test17/paltest_swscanf_test17
+c_runtime/swscanf/test2/paltest_swscanf_test2
+c_runtime/swscanf/test3/paltest_swscanf_test3
+c_runtime/swscanf/test4/paltest_swscanf_test4
+c_runtime/swscanf/test5/paltest_swscanf_test5
+c_runtime/swscanf/test6/paltest_swscanf_test6
+c_runtime/swscanf/test7/paltest_swscanf_test7
+c_runtime/swscanf/test8/paltest_swscanf_test8
+c_runtime/swscanf/test9/paltest_swscanf_test9
+c_runtime/tan/test1/paltest_tan_test1
+c_runtime/tanf/test1/paltest_tanf_test1
+c_runtime/tanh/test1/paltest_tanh_test1
+c_runtime/tanhf/test1/paltest_tanhf_test1
+c_runtime/time/test1/paltest_time_test1
+c_runtime/tolower/test1/paltest_tolower_test1
+c_runtime/toupper/test1/paltest_toupper_test1
+c_runtime/towlower/test1/paltest_towlower_test1
+c_runtime/towupper/test1/paltest_towupper_test1
+c_runtime/vfprintf/test1/paltest_vfprintf_test1
+c_runtime/vfprintf/test10/paltest_vfprintf_test10
+c_runtime/vfprintf/test11/paltest_vfprintf_test11
+c_runtime/vfprintf/test12/paltest_vfprintf_test12
+c_runtime/vfprintf/test13/paltest_vfprintf_test13
+c_runtime/vfprintf/test14/paltest_vfprintf_test14
+c_runtime/vfprintf/test15/paltest_vfprintf_test15
+c_runtime/vfprintf/test16/paltest_vfprintf_test16
+c_runtime/vfprintf/test17/paltest_vfprintf_test17
+c_runtime/vfprintf/test18/paltest_vfprintf_test18
+c_runtime/vfprintf/test19/paltest_vfprintf_test19
+c_runtime/vfprintf/test2/paltest_vfprintf_test2
+c_runtime/vfprintf/test3/paltest_vfprintf_test3
+c_runtime/vfprintf/test4/paltest_vfprintf_test4
+c_runtime/vfprintf/test5/paltest_vfprintf_test5
+c_runtime/vfprintf/test6/paltest_vfprintf_test6
+c_runtime/vfprintf/test7/paltest_vfprintf_test7
+c_runtime/vfprintf/test8/paltest_vfprintf_test8
+c_runtime/vfprintf/test9/paltest_vfprintf_test9
+c_runtime/vprintf/test10/paltest_vprintf_test10
+c_runtime/vprintf/test11/paltest_vprintf_test11
+c_runtime/vprintf/test12/paltest_vprintf_test12
+c_runtime/vprintf/test13/paltest_vprintf_test13
+c_runtime/vprintf/test14/paltest_vprintf_test14
+c_runtime/vprintf/test15/paltest_vprintf_test15
+c_runtime/vprintf/test16/paltest_vprintf_test16
+c_runtime/vprintf/test17/paltest_vprintf_test17
+c_runtime/vprintf/test18/paltest_vprintf_test18
+c_runtime/vprintf/test19/paltest_vprintf_test19
+c_runtime/vprintf/test2/paltest_vprintf_test2
+c_runtime/vprintf/test3/paltest_vprintf_test3
+c_runtime/vprintf/test4/paltest_vprintf_test4
+c_runtime/vprintf/test5/paltest_vprintf_test5
+c_runtime/vprintf/test6/paltest_vprintf_test6
+c_runtime/vprintf/test7/paltest_vprintf_test7
+c_runtime/vprintf/test8/paltest_vprintf_test8
+c_runtime/vprintf/test9/paltest_vprintf_test9
+c_runtime/vsprintf/test1/paltest_vsprintf_test1
+c_runtime/vsprintf/test10/paltest_vsprintf_test10
+c_runtime/vsprintf/test11/paltest_vsprintf_test11
+c_runtime/vsprintf/test12/paltest_vsprintf_test12
+c_runtime/vsprintf/test13/paltest_vsprintf_test13
+c_runtime/vsprintf/test14/paltest_vsprintf_test14
+c_runtime/vsprintf/test15/paltest_vsprintf_test15
+c_runtime/vsprintf/test16/paltest_vsprintf_test16
+c_runtime/vsprintf/test17/paltest_vsprintf_test17
+c_runtime/vsprintf/test18/paltest_vsprintf_test18
+c_runtime/vsprintf/test19/paltest_vsprintf_test19
+c_runtime/vsprintf/test2/paltest_vsprintf_test2
+c_runtime/vsprintf/test3/paltest_vsprintf_test3
+c_runtime/vsprintf/test4/paltest_vsprintf_test4
+c_runtime/vsprintf/test6/paltest_vsprintf_test6
+c_runtime/vsprintf/test7/paltest_vsprintf_test7
+c_runtime/vsprintf/test8/paltest_vsprintf_test8
+c_runtime/vsprintf/test9/paltest_vsprintf_test9
+c_runtime/vswprintf/test1/paltest_vswprintf_test1
+c_runtime/vswprintf/test10/paltest_vswprintf_test10
+c_runtime/vswprintf/test11/paltest_vswprintf_test11
+c_runtime/vswprintf/test12/paltest_vswprintf_test12
+c_runtime/vswprintf/test13/paltest_vswprintf_test13
+c_runtime/vswprintf/test14/paltest_vswprintf_test14
+c_runtime/vswprintf/test15/paltest_vswprintf_test15
+c_runtime/vswprintf/test16/paltest_vswprintf_test16
+c_runtime/vswprintf/test17/paltest_vswprintf_test17
+c_runtime/vswprintf/test18/paltest_vswprintf_test18
+c_runtime/vswprintf/test19/paltest_vswprintf_test19
+c_runtime/vswprintf/test2/paltest_vswprintf_test2
+c_runtime/vswprintf/test3/paltest_vswprintf_test3
+c_runtime/vswprintf/test4/paltest_vswprintf_test4
+c_runtime/vswprintf/test6/paltest_vswprintf_test6
+c_runtime/vswprintf/test7/paltest_vswprintf_test7
+c_runtime/vswprintf/test8/paltest_vswprintf_test8
+c_runtime/vswprintf/test9/paltest_vswprintf_test9
+c_runtime/wcscat/test1/paltest_wcscat_test1
+c_runtime/wcschr/test1/paltest_wcschr_test1
+c_runtime/wcscmp/test1/paltest_wcscmp_test1
+c_runtime/wcscpy/test1/paltest_wcscpy_test1
+c_runtime/wcslen/test1/paltest_wcslen_test1
+c_runtime/wcsncmp/test1/paltest_wcsncmp_test1
+c_runtime/wcsncpy/test1/paltest_wcsncpy_test1
+c_runtime/wcspbrk/test1/paltest_wcspbrk_test1
+c_runtime/wcsrchr/test1/paltest_wcsrchr_test1
+c_runtime/wcsstr/test1/paltest_wcsstr_test1
+c_runtime/wcstod/test1/paltest_wcstod_test1
+c_runtime/wcstod/test2/paltest_wcstod_test2
+c_runtime/wcstok/test1/paltest_wcstok_test1
+c_runtime/wcstoul/test1/paltest_wcstoul_test1
+c_runtime/wcstoul/test2/paltest_wcstoul_test2
+c_runtime/wcstoul/test3/paltest_wcstoul_test3
+c_runtime/wcstoul/test4/paltest_wcstoul_test4
+c_runtime/wcstoul/test5/paltest_wcstoul_test5
+c_runtime/wcstoul/test6/paltest_wcstoul_test6
+c_runtime/wprintf/test1/paltest_wprintf_test1
+c_runtime/wprintf/test2/paltest_wprintf_test2
+c_runtime/_alloca/test1/paltest_alloca_test1
+c_runtime/_fdopen/test1/paltest_fdopen_test1
+c_runtime/_finite/test1/paltest_finite_test1
+c_runtime/_finitef/test1/paltest_finitef_test1
+c_runtime/_isnan/test1/paltest_isnan_test1
+c_runtime/_isnanf/test1/paltest_isnanf_test1
+c_runtime/_itow/test1/paltest_itow_test1
+c_runtime/_putenv/test1/paltest_putenv_test1
+c_runtime/_putenv/test2/paltest_putenv_test2
+c_runtime/_putenv/test3/paltest_putenv_test3
+c_runtime/_putenv/test4/paltest_putenv_test4
+c_runtime/_rotl/test1/paltest_rotl_test1
+c_runtime/_rotr/test1/paltest_rotr_test1
+c_runtime/_snprintf_s/test1/paltest_snprintf_test1
+c_runtime/_snprintf_s/test10/paltest_snprintf_test10
+c_runtime/_snprintf_s/test11/paltest_snprintf_test11
+c_runtime/_snprintf_s/test12/paltest_snprintf_test12
+c_runtime/_snprintf_s/test13/paltest_snprintf_test13
+c_runtime/_snprintf_s/test14/paltest_snprintf_test14
+c_runtime/_snprintf_s/test15/paltest_snprintf_test15
+c_runtime/_snprintf_s/test16/paltest_snprintf_test16
+c_runtime/_snprintf_s/test17/paltest_snprintf_test17
+c_runtime/_snprintf_s/test18/paltest_snprintf_test18
+c_runtime/_snprintf_s/test19/paltest_snprintf_test19
+c_runtime/_snprintf_s/test2/paltest_snprintf_test2
+c_runtime/_snprintf_s/test3/paltest_snprintf_test3
+c_runtime/_snprintf_s/test4/paltest_snprintf_test4
+c_runtime/_snprintf_s/test6/paltest_snprintf_test6
+c_runtime/_snprintf_s/test7/paltest_snprintf_test7
+c_runtime/_snprintf_s/test8/paltest_snprintf_test8
+c_runtime/_snprintf_s/test9/paltest_snprintf_test9
+c_runtime/_snwprintf_s/test1/paltest_snwprintf_test1
+c_runtime/_snwprintf_s/test10/paltest_snwprintf_test10
+c_runtime/_snwprintf_s/test11/paltest_snwprintf_test11
+c_runtime/_snwprintf_s/test12/paltest_snwprintf_test12
+c_runtime/_snwprintf_s/test13/paltest_snwprintf_test13
+c_runtime/_snwprintf_s/test14/paltest_snwprintf_test14
+c_runtime/_snwprintf_s/test15/paltest_snwprintf_test15
+c_runtime/_snwprintf_s/test16/paltest_snwprintf_test16
+c_runtime/_snwprintf_s/test17/paltest_snwprintf_test17
+c_runtime/_snwprintf_s/test18/paltest_snwprintf_test18
+c_runtime/_snwprintf_s/test19/paltest_snwprintf_test19
+c_runtime/_snwprintf_s/test2/paltest_snwprintf_test2
+c_runtime/_snwprintf_s/test3/paltest_snwprintf_test3
+c_runtime/_snwprintf_s/test4/paltest_snwprintf_test4
+c_runtime/_snwprintf_s/test6/paltest_snwprintf_test6
+c_runtime/_snwprintf_s/test7/paltest_snwprintf_test7
+c_runtime/_snwprintf_s/test8/paltest_snwprintf_test8
+c_runtime/_snwprintf_s/test9/paltest_snwprintf_test9
+c_runtime/_stricmp/test1/paltest_stricmp_test1
+c_runtime/_strnicmp/test1/paltest_strnicmp_test1
+c_runtime/_vsnprintf_s/test1/paltest_vsnprintf_test1
+c_runtime/_vsnprintf_s/test10/paltest_vsnprintf_test10
+c_runtime/_vsnprintf_s/test11/paltest_vsnprintf_test11
+c_runtime/_vsnprintf_s/test12/paltest_vsnprintf_test12
+c_runtime/_vsnprintf_s/test13/paltest_vsnprintf_test13
+c_runtime/_vsnprintf_s/test14/paltest_vsnprintf_test14
+c_runtime/_vsnprintf_s/test15/paltest_vsnprintf_test15
+c_runtime/_vsnprintf_s/test16/paltest_vsnprintf_test16
+c_runtime/_vsnprintf_s/test17/paltest_vsnprintf_test17
+c_runtime/_vsnprintf_s/test18/paltest_vsnprintf_test18
+c_runtime/_vsnprintf_s/test19/paltest_vsnprintf_test19
+c_runtime/_vsnprintf_s/test2/paltest_vsnprintf_test2
+c_runtime/_vsnprintf_s/test3/paltest_vsnprintf_test3
+c_runtime/_vsnprintf_s/test4/paltest_vsnprintf_test4
+c_runtime/_vsnprintf_s/test6/paltest_vsnprintf_test6
+c_runtime/_vsnprintf_s/test7/paltest_vsnprintf_test7
+c_runtime/_vsnprintf_s/test8/paltest_vsnprintf_test8
+c_runtime/_vsnprintf_s/test9/paltest_vsnprintf_test9
+c_runtime/_vsnwprintf_s/test1/paltest_vsnwprintf_test1
+c_runtime/_vsnwprintf_s/test10/paltest_vsnwprintf_test10
+c_runtime/_vsnwprintf_s/test11/paltest_vsnwprintf_test11
+c_runtime/_vsnwprintf_s/test12/paltest_vsnwprintf_test12
+c_runtime/_vsnwprintf_s/test13/paltest_vsnwprintf_test13
+c_runtime/_vsnwprintf_s/test14/paltest_vsnwprintf_test14
+c_runtime/_vsnwprintf_s/test15/paltest_vsnwprintf_test15
+c_runtime/_vsnwprintf_s/test16/paltest_vsnwprintf_test16
+c_runtime/_vsnwprintf_s/test17/paltest_vsnwprintf_test17
+c_runtime/_vsnwprintf_s/test18/paltest_vsnwprintf_test18
+c_runtime/_vsnwprintf_s/test19/paltest_vsnwprintf_test19
+c_runtime/_vsnwprintf_s/test2/paltest_vsnwprintf_test2
+c_runtime/_vsnwprintf_s/test3/paltest_vsnwprintf_test3
+c_runtime/_vsnwprintf_s/test4/paltest_vsnwprintf_test4
+c_runtime/_vsnwprintf_s/test6/paltest_vsnwprintf_test6
+c_runtime/_vsnwprintf_s/test7/paltest_vsnwprintf_test7
+c_runtime/_vsnwprintf_s/test8/paltest_vsnwprintf_test8
+c_runtime/_vsnwprintf_s/test9/paltest_vsnwprintf_test9
+c_runtime/_wcsicmp/test1/paltest_wcsicmp_test1
+c_runtime/_wcslwr/test1/paltest_wcslwr_test1
+c_runtime/_wcsnicmp/test1/paltest_wcsnicmp_test1
+c_runtime/_wfopen/test1/paltest_wfopen_test1
+c_runtime/_wfopen/test2/paltest_wfopen_test2
+c_runtime/_wfopen/test3/paltest_wfopen_test3
+c_runtime/_wfopen/test4/paltest_wfopen_test4
+c_runtime/_wfopen/test5/paltest_wfopen_test5
+c_runtime/_wfopen/test6/paltest_wfopen_test6
+c_runtime/_wfopen/test7/paltest_wfopen_test7
+c_runtime/_wtoi/test1/paltest_wtoi_test1
+c_runtime/__iscsym/test1/paltest_iscsym_test1
+debug_api/OutputDebugStringA/test1/paltest_outputdebugstringa_test1
+debug_api/OutputDebugStringW/test1/paltest_outputdebugstringw_test1
+exception_handling/RaiseException/test1/paltest_raiseexception_test1
+exception_handling/RaiseException/test2/paltest_raiseexception_test2
+exception_handling/RaiseException/test3/paltest_raiseexception_test3
+filemapping_memmgt/CreateFileMappingA/test1/paltest_createfilemappinga_test1
+filemapping_memmgt/CreateFileMappingA/test3/paltest_createfilemappinga_test3
+filemapping_memmgt/CreateFileMappingA/test4/paltest_createfilemappinga_test4
+filemapping_memmgt/CreateFileMappingA/test5/paltest_createfilemappinga_test5
+filemapping_memmgt/CreateFileMappingA/test6/paltest_createfilemappinga_test6
+filemapping_memmgt/CreateFileMappingA/test7/paltest_createfilemappinga_test7
+filemapping_memmgt/CreateFileMappingA/test8/paltest_createfilemappinga_test8
+filemapping_memmgt/CreateFileMappingA/test9/paltest_createfilemappinga_test9
+filemapping_memmgt/CreateFileMappingW/CreateFileMapping_neg1/paltest_createfilemappingw_createfilemapping_neg1
+filemapping_memmgt/CreateFileMappingW/test1/paltest_createfilemappingw_test1
+filemapping_memmgt/CreateFileMappingW/test3/paltest_createfilemappingw_test3
+filemapping_memmgt/CreateFileMappingW/test4/paltest_createfilemappingw_test4
+filemapping_memmgt/CreateFileMappingW/test5/paltest_createfilemappingw_test5
+filemapping_memmgt/CreateFileMappingW/test6/paltest_createfilemappingw_test6
+filemapping_memmgt/CreateFileMappingW/test7/paltest_createfilemappingw_test7
+filemapping_memmgt/CreateFileMappingW/test8/paltest_createfilemappingw_test8
+filemapping_memmgt/CreateFileMappingW/test9/paltest_createfilemappingw_test9
+filemapping_memmgt/FreeLibrary/test1/paltest_freelibrary_test1
+filemapping_memmgt/FreeLibrary/test2/paltest_freelibrary_test2
+filemapping_memmgt/FreeLibraryAndExitThread/test1/paltest_freelibraryandexitthread_test1
+filemapping_memmgt/GetModuleFileNameA/test1/paltest_getmodulefilenamea_test1
+filemapping_memmgt/GetModuleFileNameA/test2/paltest_getmodulefilenamea_test2
+filemapping_memmgt/GetModuleFileNameW/test1/paltest_getmodulefilenamew_test1
+filemapping_memmgt/GetModuleFileNameW/test2/paltest_getmodulefilenamew_test2
+filemapping_memmgt/GetProcAddress/test1/paltest_getprocaddress_test1
+filemapping_memmgt/GetProcAddress/test2/paltest_getprocaddress_test2
+filemapping_memmgt/LocalAlloc/test1/paltest_localalloc_test1
+filemapping_memmgt/LocalFree/test1/paltest_localfree_test1
+filemapping_memmgt/LocalFree/test2/paltest_localfree_test2
+filemapping_memmgt/MapViewOfFile/test1/paltest_mapviewoffile_test1
+filemapping_memmgt/MapViewOfFile/test2/paltest_mapviewoffile_test2
+filemapping_memmgt/MapViewOfFile/test3/paltest_mapviewoffile_test3
+filemapping_memmgt/MapViewOfFile/test4/paltest_mapviewoffile_test4
+filemapping_memmgt/MapViewOfFile/test5/paltest_mapviewoffile_test5
+filemapping_memmgt/MapViewOfFile/test6/paltest_mapviewoffile_test6
+filemapping_memmgt/OpenFileMappingA/test1/paltest_openfilemappinga_test1
+filemapping_memmgt/OpenFileMappingA/test2/paltest_openfilemappinga_test2
+filemapping_memmgt/OpenFileMappingA/test3/paltest_openfilemappinga_test3
+filemapping_memmgt/OpenFileMappingW/test1/paltest_openfilemappingw_test1
+filemapping_memmgt/OpenFileMappingW/test2/paltest_openfilemappingw_test2
+filemapping_memmgt/OpenFileMappingW/test3/paltest_openfilemappingw_test3
+filemapping_memmgt/ProbeMemory/ProbeMemory_neg1/paltest_probememory_probememory_neg1
+filemapping_memmgt/ProbeMemory/test1/paltest_probememory_test1
+filemapping_memmgt/UnmapViewOfFile/test1/paltest_unmapviewoffile_test1
+filemapping_memmgt/UnmapViewOfFile/test2/paltest_unmapviewoffile_test2
+filemapping_memmgt/VirtualAlloc/test1/paltest_virtualalloc_test1
+filemapping_memmgt/VirtualAlloc/test10/paltest_virtualalloc_test10
+filemapping_memmgt/VirtualAlloc/test11/paltest_virtualalloc_test11
+filemapping_memmgt/VirtualAlloc/test12/paltest_virtualalloc_test12
+filemapping_memmgt/VirtualAlloc/test13/paltest_virtualalloc_test13
+filemapping_memmgt/VirtualAlloc/test14/paltest_virtualalloc_test14
+filemapping_memmgt/VirtualAlloc/test15/paltest_virtualalloc_test15
+filemapping_memmgt/VirtualAlloc/test16/paltest_virtualalloc_test16
+filemapping_memmgt/VirtualAlloc/test17/paltest_virtualalloc_test17
+filemapping_memmgt/VirtualAlloc/test18/paltest_virtualalloc_test18
+filemapping_memmgt/VirtualAlloc/test19/paltest_virtualalloc_test19
+filemapping_memmgt/VirtualAlloc/test2/paltest_virtualalloc_test2
+filemapping_memmgt/VirtualAlloc/test20/paltest_virtualalloc_test20
+filemapping_memmgt/VirtualAlloc/test21/paltest_virtualalloc_test21
+filemapping_memmgt/VirtualAlloc/test22/paltest_virtualalloc_test22
+filemapping_memmgt/VirtualAlloc/test3/paltest_virtualalloc_test3
+filemapping_memmgt/VirtualAlloc/test4/paltest_virtualalloc_test4
+filemapping_memmgt/VirtualAlloc/test5/paltest_virtualalloc_test5
+filemapping_memmgt/VirtualAlloc/test6/paltest_virtualalloc_test6
+filemapping_memmgt/VirtualAlloc/test7/paltest_virtualalloc_test7
+filemapping_memmgt/VirtualAlloc/test8/paltest_virtualalloc_test8
+filemapping_memmgt/VirtualAlloc/test9/paltest_virtualalloc_test9
+filemapping_memmgt/VirtualFree/test1/paltest_virtualfree_test1
+filemapping_memmgt/VirtualFree/test2/paltest_virtualfree_test2
+filemapping_memmgt/VirtualFree/test3/paltest_virtualfree_test3
+filemapping_memmgt/VirtualProtect/test1/paltest_virtualprotect_test1
+filemapping_memmgt/VirtualProtect/test2/paltest_virtualprotect_test2
+filemapping_memmgt/VirtualProtect/test3/paltest_virtualprotect_test3
+filemapping_memmgt/VirtualProtect/test4/paltest_virtualprotect_test4
+filemapping_memmgt/VirtualProtect/test6/paltest_virtualprotect_test6
+filemapping_memmgt/VirtualProtect/test7/paltest_virtualprotect_test7
+filemapping_memmgt/VirtualQuery/test1/paltest_virtualquery_test1
+file_io/CopyFileA/test1/paltest_copyfilea_test1
+file_io/CopyFileA/test2/paltest_copyfilea_test2
+file_io/CopyFileA/test3/paltest_copyfilea_test3
+file_io/CopyFileA/test4/paltest_copyfilea_test4
+file_io/CopyFileW/test1/paltest_copyfilew_test1
+file_io/CopyFileW/test2/paltest_copyfilew_test2
+file_io/CopyFileW/test3/paltest_copyfilew_test3
+file_io/CreateFileA/test1/paltest_createfilea_test1
+file_io/CreateFileW/test1/paltest_createfilew_test1
+file_io/DeleteFileA/test1/paltest_deletefilea_test1
+file_io/DeleteFileW/test1/paltest_deletefilew_test1
+file_io/errorpathnotfound/test1/paltest_errorpathnotfound_test1
+file_io/errorpathnotfound/test2/paltest_errorpathnotfound_test2
+file_io/FILECanonicalizePath/paltest_filecanonicalizepath_test1
+file_io/FindClose/test1/paltest_findclose_test1
+file_io/FindFirstFileA/test1/paltest_findfirstfilea_test1
+file_io/FindFirstFileW/test1/paltest_findfirstfilew_test1
+file_io/FindNextFileA/test1/paltest_findnextfilea_test1
+file_io/FindNextFileA/test2/paltest_findnextfilea_test2
+file_io/FindNextFileW/test1/paltest_findnextfilew_test1
+file_io/FindNextFileW/test2/paltest_findnextfilew_test2
+file_io/FlushFileBuffers/test1/paltest_flushfilebuffers_test1
+file_io/GetConsoleOutputCP/test1/paltest_getconsoleoutputcp_test1
+file_io/GetCurrentDirectoryA/test1/paltest_getcurrentdirectorya_test1
+file_io/GetCurrentDirectoryW/test1/paltest_getcurrentdirectoryw_test1
+file_io/GetFileAttributesA/test1/paltest_getfileattributesa_test1
+file_io/GetFileAttributesExW/test1/paltest_getfileattributesexw_test1
+file_io/GetFileAttributesExW/test2/paltest_getfileattributesexw_test2
+file_io/GetFileAttributesW/test1/paltest_getfileattributesw_test1
+file_io/GetFileSize/test1/paltest_getfilesize_test1
+file_io/GetFileSizeEx/test1/paltest_getfilesizeex_test1
+file_io/GetFullPathNameA/test1/paltest_getfullpathnamea_test1
+file_io/GetFullPathNameA/test2/paltest_getfullpathnamea_test2
+file_io/GetFullPathNameA/test3/paltest_getfullpathnamea_test3
+file_io/GetFullPathNameA/test4/paltest_getfullpathnamea_test4
+file_io/GetFullPathNameW/test1/paltest_getfullpathnamew_test1
+file_io/GetFullPathNameW/test2/paltest_getfullpathnamew_test2
+file_io/GetFullPathNameW/test3/paltest_getfullpathnamew_test3
+file_io/GetFullPathNameW/test4/paltest_getfullpathnamew_test4
+file_io/GetStdHandle/test1/paltest_getstdhandle_test1
+file_io/GetStdHandle/test2/paltest_getstdhandle_test2
+file_io/GetSystemTime/test1/paltest_getsystemtime_test1
+file_io/GetSystemTimeAsFileTime/test1/paltest_getsystemtimeasfiletime_test1
+file_io/GetTempFileNameA/test1/paltest_gettempfilenamea_test1
+file_io/GetTempFileNameA/test2/paltest_gettempfilenamea_test2
+file_io/GetTempFileNameA/test3/paltest_gettempfilenamea_test3
+file_io/GetTempFileNameW/test1/paltest_gettempfilenamew_test1
+file_io/GetTempFileNameW/test2/paltest_gettempfilenamew_test2
+file_io/GetTempFileNameW/test3/paltest_gettempfilenamew_test3
+file_io/gettemppatha/test1/paltest_gettemppatha_test1
+file_io/GetTempPathW/test1/paltest_gettemppathw_test1
+file_io/MoveFileExA/test1/paltest_movefileexa_test1
+file_io/MoveFileExW/test1/paltest_movefileexw_test1
+file_io/ReadFile/test1/paltest_readfile_test1
+file_io/ReadFile/test2/paltest_readfile_test2
+file_io/ReadFile/test3/paltest_readfile_test3
+file_io/ReadFile/test4/paltest_readfile_test4
+file_io/SearchPathW/test1/paltest_searchpathw_test1
+file_io/SetEndOfFile/test1/paltest_setendoffile_test1
+file_io/SetEndOfFile/test2/paltest_setendoffile_test2
+file_io/SetEndOfFile/test3/paltest_setendoffile_test3
+file_io/SetEndOfFile/test4/paltest_setendoffile_test4
+file_io/SetEndOfFile/test5/paltest_setendoffile_test5
+file_io/SetFilePointer/test1/paltest_setfilepointer_test1
+file_io/SetFilePointer/test2/paltest_setfilepointer_test2
+file_io/SetFilePointer/test3/paltest_setfilepointer_test3
+file_io/SetFilePointer/test4/paltest_setfilepointer_test4
+file_io/SetFilePointer/test5/paltest_setfilepointer_test5
+file_io/SetFilePointer/test6/paltest_setfilepointer_test6
+file_io/SetFilePointer/test7/paltest_setfilepointer_test7
+file_io/WriteFile/test1/paltest_writefile_test1
+file_io/WriteFile/test2/paltest_writefile_test2
+file_io/WriteFile/test3/paltest_writefile_test3
+file_io/WriteFile/test4/paltest_writefile_test4
+file_io/WriteFile/test5/paltest_writefile_test5
+loader/LoadLibraryA/test1/paltest_loadlibrarya_test1
+loader/LoadLibraryA/test2/paltest_loadlibrarya_test2
+loader/LoadLibraryA/test3/paltest_loadlibrarya_test3
+loader/LoadLibraryA/test5/paltest_loadlibrarya_test5
+loader/LoadLibraryA/test7/paltest_loadlibrarya_test7
+loader/LoadLibraryW/test1/paltest_loadlibraryw_test1
+loader/LoadLibraryW/test2/paltest_loadlibraryw_test2
+loader/LoadLibraryW/test3/paltest_loadlibraryw_test3
+loader/LoadLibraryW/test5/paltest_loadlibraryw_test5
+locale_info/GetACP/test1/paltest_getacp_test1
+locale_info/MultiByteToWideChar/test1/paltest_multibytetowidechar_test1
+locale_info/MultiByteToWideChar/test2/paltest_multibytetowidechar_test2
+locale_info/MultiByteToWideChar/test3/paltest_multibytetowidechar_test3
+locale_info/MultiByteToWideChar/test4/paltest_multibytetowidechar_test4
+locale_info/WideCharToMultiByte/test1/paltest_widechartomultibyte_test1
+locale_info/WideCharToMultiByte/test2/paltest_widechartomultibyte_test2
+locale_info/WideCharToMultiByte/test3/paltest_widechartomultibyte_test3
+locale_info/WideCharToMultiByte/test4/paltest_widechartomultibyte_test4
+locale_info/WideCharToMultiByte/test5/paltest_widechartomultibyte_test5
+miscellaneous/CGroup/test1/paltest_cgroup_test1
+miscellaneous/CloseHandle/test1/paltest_closehandle_test1
+miscellaneous/CloseHandle/test2/paltest_closehandle_test2
+miscellaneous/CreatePipe/test1/paltest_createpipe_test1
+miscellaneous/FlushInstructionCache/test1/paltest_flushinstructioncache_test1
+miscellaneous/FormatMessageW/test1/paltest_formatmessagew_test1
+miscellaneous/FormatMessageW/test2/paltest_formatmessagew_test2
+miscellaneous/FormatMessageW/test3/paltest_formatmessagew_test3
+miscellaneous/FormatMessageW/test4/paltest_formatmessagew_test4
+miscellaneous/FormatMessageW/test5/paltest_formatmessagew_test5
+miscellaneous/FormatMessageW/test6/paltest_formatmessagew_test6
+miscellaneous/FreeEnvironmentStringsW/test1/paltest_freeenvironmentstringsw_test1
+miscellaneous/FreeEnvironmentStringsW/test2/paltest_freeenvironmentstringsw_test2
+miscellaneous/GetCommandLineW/test1/paltest_getcommandlinew_test1
+miscellaneous/GetEnvironmentStringsW/test1/paltest_getenvironmentstringsw_test1
+miscellaneous/GetEnvironmentVariableA/test1/paltest_getenvironmentvariablea_test1
+miscellaneous/GetEnvironmentVariableA/test2/paltest_getenvironmentvariablea_test2
+miscellaneous/GetEnvironmentVariableA/test3/paltest_getenvironmentvariablea_test3
+miscellaneous/GetEnvironmentVariableA/test4/paltest_getenvironmentvariablea_test4
+miscellaneous/GetEnvironmentVariableA/test5/paltest_getenvironmentvariablea_test5
+miscellaneous/GetEnvironmentVariableA/test6/paltest_getenvironmentvariablea_test6
+miscellaneous/GetEnvironmentVariableW/test1/paltest_getenvironmentvariablew_test1
+miscellaneous/GetEnvironmentVariableW/test2/paltest_getenvironmentvariablew_test2
+miscellaneous/GetEnvironmentVariableW/test3/paltest_getenvironmentvariablew_test3
+miscellaneous/GetEnvironmentVariableW/test4/paltest_getenvironmentvariablew_test4
+miscellaneous/GetEnvironmentVariableW/test5/paltest_getenvironmentvariablew_test5
+miscellaneous/GetEnvironmentVariableW/test6/paltest_getenvironmentvariablew_test6
+miscellaneous/GetLastError/test1/paltest_getlasterror_test1
+miscellaneous/GetSystemInfo/test1/paltest_getsysteminfo_test1
+miscellaneous/GetTickCount/test1/paltest_gettickcount_test1
+miscellaneous/GlobalMemoryStatusEx/test1/paltest_globalmemorystatusex_test1
+miscellaneous/InterlockedBit/test1/paltest_interlockedbit_test1
+miscellaneous/InterlockedBit/test2/paltest_interlockedbit_test2
+miscellaneous/InterlockedCompareExchange/test1/paltest_interlockedcompareexchange_test1
+miscellaneous/InterlockedCompareExchange/test2/paltest_interlockedcompareexchange_test2
+miscellaneous/InterlockedCompareExchange64/test1/paltest_interlockedcompareexchange64_test1
+miscellaneous/InterlockedCompareExchange64/test2/paltest_interlockedcompareexchange64_test2
+miscellaneous/InterlockedCompareExchangePointer/test1/paltest_interlockedcompareexchangepointer_test1
+miscellaneous/InterlockedDecrement/test1/paltest_interlockeddecrement_test1
+miscellaneous/InterlockedDecrement/test2/paltest_interlockeddecrement_test2
+miscellaneous/InterlockedDecrement64/test1/paltest_interlockeddecrement64_test1
+miscellaneous/InterlockedDecrement64/test2/paltest_interlockeddecrement64_test2
+miscellaneous/InterlockedExchange/test1/paltest_interlockedexchange_test1
+miscellaneous/InterlockedExchange64/test1/paltest_interlockedexchange64_test1
+miscellaneous/InterLockedExchangeAdd/test1/paltest_interlockedexchangeadd_test1
+miscellaneous/InterlockedExchangePointer/test1/paltest_interlockedexchangepointer_test1
+miscellaneous/InterlockedIncrement/test1/paltest_interlockedincrement_test1
+miscellaneous/InterlockedIncrement/test2/paltest_interlockedincrement_test2
+miscellaneous/InterlockedIncrement64/test1/paltest_interlockedincrement64_test1
+miscellaneous/InterlockedIncrement64/test2/paltest_interlockedincrement64_test2
+miscellaneous/queryperformancecounter/test1/paltest_queryperformancecounter_test1
+miscellaneous/queryperformancefrequency/test1/paltest_queryperformancefrequency_test1
+miscellaneous/SetEnvironmentVariableA/test1/paltest_setenvironmentvariablea_test1
+miscellaneous/SetEnvironmentVariableA/test2/paltest_setenvironmentvariablea_test2
+miscellaneous/SetEnvironmentVariableA/test3/paltest_setenvironmentvariablea_test3
+miscellaneous/SetEnvironmentVariableA/test4/paltest_setenvironmentvariablea_test4
+miscellaneous/SetEnvironmentVariableW/test1/paltest_setenvironmentvariablew_test1
+miscellaneous/SetEnvironmentVariableW/test2/paltest_setenvironmentvariablew_test2
+miscellaneous/SetEnvironmentVariableW/test3/paltest_setenvironmentvariablew_test3
+miscellaneous/SetEnvironmentVariableW/test4/paltest_setenvironmentvariablew_test4
+miscellaneous/SetLastError/test1/paltest_setlasterror_test1
+miscellaneous/_i64tow/test1/paltest_i64tow_test1
+pal_specific/PAL_errno/test1/paltest_pal_errno_test1
+pal_specific/PAL_GetPALDirectoryW/test1/paltest_pal_getpaldirectoryw_test1
+pal_specific/PAL_GetUserTempDirectoryW/test1/paltest_pal_getusertempdirectoryw_test1
+pal_specific/PAL_Initialize_Terminate/test1/paltest_pal_initialize_terminate_test1
+pal_specific/PAL_Initialize_Terminate/test2/paltest_pal_initialize_terminate_test2
+pal_specific/PAL_RegisterLibraryW_UnregisterLibraryW/test1/paltest_pal_registerlibraryw_unregisterlibraryw_test1
+pal_specific/PAL_RegisterLibraryW_UnregisterLibraryW/test2_neg/paltest_reg_unreg_libraryw_neg
+samples/test1/paltest_samples_test1
+samples/test2/paltest_samples_test2
+threading/CreateEventW/test1/paltest_createeventw_test1
+threading/CreateEventW/test2/paltest_createeventw_test2
+threading/CreateEventW/test3/paltest_createeventw_test3
+threading/CreateMutexW_ReleaseMutex/test1/paltest_createmutexw_releasemutex_test1
+threading/CreateMutexW_ReleaseMutex/test2/paltest_createmutexw_releasemutex_test2
+threading/CreateProcessA/test1/paltest_createprocessa_test1
+threading/CreateProcessA/test2/paltest_createprocessa_test2
+threading/CreateProcessW/test1/paltest_createprocessw_test1
+threading/CreateProcessW/test2/paltest_createprocessw_test2
+threading/CreateSemaphoreW_ReleaseSemaphore/test1/paltest_createsemaphorew_releasesemaphore_test1
+threading/CreateSemaphoreW_ReleaseSemaphore/test2/paltest_createsemaphorew_releasesemaphore_test2
+threading/CreateSemaphoreW_ReleaseSemaphore/test3/paltest_createsemaphorew_releasesemaphore_test3
+threading/CreateThread/test1/paltest_createthread_test1
+threading/CreateThread/test2/paltest_createthread_test2
+threading/CreateThread/test3/paltest_createthread_test3
+threading/CriticalSectionFunctions/test1/paltest_criticalsectionfunctions_test1
+threading/CriticalSectionFunctions/test2/paltest_criticalsectionfunctions_test2
+threading/CriticalSectionFunctions/test3/paltest_criticalsectionfunctions_test3
+threading/CriticalSectionFunctions/test4/paltest_criticalsectionfunctions_test4
+threading/CriticalSectionFunctions/test5/paltest_criticalsectionfunctions_test5
+threading/CriticalSectionFunctions/test6/paltest_criticalsectionfunctions_test6
+threading/CriticalSectionFunctions/test7/paltest_criticalsectionfunctions_test7
+threading/CriticalSectionFunctions/test8/paltest_criticalsectionfunctions_test8
+threading/DuplicateHandle/test1/paltest_duplicatehandle_test1
+threading/DuplicateHandle/test10/paltest_duplicatehandle_test10
+threading/DuplicateHandle/test11/paltest_duplicatehandle_test11
+threading/DuplicateHandle/test12/paltest_duplicatehandle_test12
+threading/DuplicateHandle/test2/paltest_duplicatehandle_test2
+threading/DuplicateHandle/test3/paltest_duplicatehandle_test3
+threading/DuplicateHandle/test4/paltest_duplicatehandle_test4
+threading/DuplicateHandle/test5/paltest_duplicatehandle_test5
+threading/DuplicateHandle/test6/paltest_duplicatehandle_test6
+threading/DuplicateHandle/test7/paltest_duplicatehandle_test7
+threading/DuplicateHandle/test8/paltest_duplicatehandle_test8
+threading/DuplicateHandle/test9/paltest_duplicatehandle_test9
+threading/ExitProcess/test1/paltest_exitprocess_test1
+threading/ExitProcess/test2/paltest_exitprocess_test2
+threading/ExitProcess/test3/paltest_exitprocess_test3
+threading/ExitThread/test1/paltest_exitthread_test1
+threading/ExitThread/test2/paltest_exitthread_test2
+threading/GetCurrentProcess/test1/paltest_getcurrentprocess_test1
+threading/GetCurrentProcessId/test1/paltest_getcurrentprocessid_test1
+threading/GetCurrentThread/test1/paltest_getcurrentthread_test1
+threading/GetCurrentThread/test2/paltest_getcurrentthread_test2
+threading/GetCurrentThreadId/test1/paltest_getcurrentthreadid_test1
+threading/GetExitCodeProcess/test1/paltest_getexitcodeprocess_test1
+threading/GetProcessTimes/test2/paltest_getprocesstimes_test2
+threading/GetThreadTimes/test1/paltest_getthreadtimes_test1
+threading/NamedMutex/test1/paltest_namedmutex_test1
+threading/OpenEventW/test1/paltest_openeventw_test1
+threading/OpenEventW/test2/paltest_openeventw_test2
+threading/OpenEventW/test3/paltest_openeventw_test3
+threading/OpenEventW/test4/paltest_openeventw_test4
+threading/OpenEventW/test5/paltest_openeventw_test5
+threading/OpenProcess/test1/paltest_openprocess_test1
+threading/QueryThreadCycleTime/test1/paltest_querythreadcycletime_test1
+threading/QueueUserAPC/test1/paltest_queueuserapc_test1
+threading/QueueUserAPC/test2/paltest_queueuserapc_test2
+threading/QueueUserAPC/test3/paltest_queueuserapc_test3
+threading/QueueUserAPC/test4/paltest_queueuserapc_test4
+threading/QueueUserAPC/test5/paltest_queueuserapc_test5
+threading/QueueUserAPC/test6/paltest_queueuserapc_test6
+threading/QueueUserAPC/test7/paltest_queueuserapc_test7
+threading/ReleaseMutex/test3/paltest_releasemutex_test3
+threading/releasesemaphore/test1/paltest_releasesemaphore_test1
+threading/ResetEvent/test1/paltest_resetevent_test1
+threading/ResetEvent/test2/paltest_resetevent_test2
+threading/ResetEvent/test3/paltest_resetevent_test3
+threading/ResetEvent/test4/paltest_resetevent_test4
+threading/ResumeThread/test1/paltest_resumethread_test1
+threading/SetErrorMode/test1/paltest_seterrormode_test1
+threading/SetEvent/test1/paltest_setevent_test1
+threading/SetEvent/test2/paltest_setevent_test2
+threading/SetEvent/test3/paltest_setevent_test3
+threading/SetEvent/test4/paltest_setevent_test4
+threading/SignalObjectAndWait/paltest_signalobjectandwaittest
+threading/Sleep/test1/paltest_sleep_test1
+threading/Sleep/test2/paltest_sleep_test2
+threading/SleepEx/test1/paltest_sleepex_test1
+threading/SleepEx/test2/paltest_sleepex_test2
+threading/SwitchToThread/test1/paltest_switchtothread_test1
+threading/TerminateProcess/test1/paltest_terminateprocess_test1
+threading/ThreadPriority/test1/paltest_threadpriority_test1
+threading/WaitForMultipleObjects/test1/paltest_waitformultipleobjects_test1
+threading/WaitForMultipleObjectsEx/test1/paltest_waitformultipleobjectsex_test1
+threading/WaitForMultipleObjectsEx/test2/paltest_waitformultipleobjectsex_test2
+threading/WaitForMultipleObjectsEx/test3/paltest_waitformultipleobjectsex_test3
+threading/WaitForMultipleObjectsEx/test4/paltest_waitformultipleobjectsex_test4
+threading/WaitForMultipleObjectsEx/test5/paltest_waitformultipleobjectsex_test5
+threading/WaitForMultipleObjectsEx/test6/paltest_waitformultipleobjectsex_test6
+threading/WaitForSingleObject/test1/paltest_waitforsingleobject_test1
+threading/WaitForSingleObject/WFSOExMutexTest/paltest_waitforsingleobject_wfsoexmutextest
+threading/WaitForSingleObject/WFSOExSemaphoreTest/paltest_waitforsingleobject_wfsoexsemaphoretest
+threading/WaitForSingleObject/WFSOExThreadTest/paltest_waitforsingleobject_wfsoexthreadtest
+threading/WaitForSingleObject/WFSOMutexTest/paltest_waitforsingleobject_wfsomutextest
+threading/WaitForSingleObject/WFSOProcessTest/paltest_waitforsingleobject_wfsoprocesstest
+threading/WaitForSingleObject/WFSOSemaphoreTest/paltest_waitforsingleobject_wfsosemaphoretest
+threading/WaitForSingleObject/WFSOThreadTest/paltest_waitforsingleobject_wfsothreadtest
+threading/YieldProcessor/test1/paltest_yieldprocessor_test1
diff --git a/src/coreclr/src/pal/tests/palsuite/compileDisabledTests.txt b/src/coreclr/src/pal/tests/palsuite/compileDisabledTests.txt
new file mode 100644
index 00000000000000..1daa91173ee5e7
--- /dev/null
+++ b/src/coreclr/src/pal/tests/palsuite/compileDisabledTests.txt
@@ -0,0 +1,57 @@
+composite/object_management/event/nonshared/paltest_event_nonshared
+composite/object_management/event/shared/paltest_event_shared
+composite/object_management/mutex/nonshared/paltest_mutex_nonshared
+composite/object_management/mutex/shared/paltest_mutex_shared
+composite/object_management/semaphore/nonshared/paltest_semaphore_nonshared
+composite/object_management/semaphore/shared/paltest_semaphore_shared
+composite/synchronization/criticalsection/paltest_synchronization_criticalsection
+composite/synchronization/nativecriticalsection/paltest_synchronization_nativecriticalsection
+composite/synchronization/nativecs_interlocked/paltest_synchronization_nativecs_interlocked
+composite/threading/threadsuspension/paltest_threading_threadsuspension
+composite/threading/threadsuspension_switchthread/paltest_threading_threadsuspension_switchthread
+composite/wfmo/paltest_composite_wfmo
+c_runtime/iswprint/test1/paltest_iswprint_test1
+c_runtime/vprintf/test1/paltest_vprintf_test1
+c_runtime/_gcvt/test1/paltest_gcvt_test1
+c_runtime/_gcvt/test2/paltest_gcvt_test2
+debug_api/DebugBreak/test1/paltest_debugbreak_test1
+debug_api/WriteProcessMemory/test1/paltest_writeprocessmemory_test1
+debug_api/WriteProcessMemory/test3/paltest_writeprocessmemory_test3
+debug_api/WriteProcessMemory/test4/paltest_writeprocessmemory_test4
+exception_handling/pal_except/test1/paltest_pal_except_test1
+exception_handling/pal_except/test2/paltest_pal_except_test2
+exception_handling/pal_except/test3/paltest_pal_except_test3
+exception_handling/pal_except/test4/paltest_pal_except_test4
+exception_handling/pal_except/test5/paltest_pal_except_test5
+exception_handling/pal_except/test6/paltest_pal_except_test6
+exception_handling/pal_except/test7/paltest_pal_except_test7
+exception_handling/PAL_EXCEPT_FILTER/test1/paltest_pal_except_filter_test1
+exception_handling/PAL_EXCEPT_FILTER/test2/paltest_pal_except_filter_test2
+exception_handling/PAL_EXCEPT_FILTER/test3/paltest_pal_except_filter_test3
+exception_handling/PAL_EXCEPT_FILTER_EX/test1/paltest_pal_except_filter_ex_test1
+exception_handling/PAL_EXCEPT_FILTER_EX/test2/paltest_pal_except_filter_ex_test2
+exception_handling/PAL_EXCEPT_FILTER_EX/test3/paltest_pal_except_filter_ex_test3
+exception_handling/pal_finally/test1/paltest_pal_finally_test1
+exception_handling/PAL_TRY_EXCEPT/test1/paltest_pal_try_except_test1
+exception_handling/PAL_TRY_EXCEPT/test2/paltest_pal_try_except_test2
+exception_handling/PAL_TRY_EXCEPT_EX/test1/paltest_pal_try_except_ex_test1
+exception_handling/PAL_TRY_EXCEPT_EX/test2/paltest_pal_try_except_ex_test2
+exception_handling/PAL_TRY_EXCEPT_EX/test3/paltest_pal_try_except_ex_test3
+exception_handling/PAL_TRY_LEAVE_FINALLY/test1/paltest_pal_try_leave_finally_test1
+filemapping_memmgt/CreateFileMappingW/test2/paltest_createfilemappingw_test2
+loader/LoadLibraryA/test6/paltest_loadlibrarya_test6
+loader/LoadLibraryA/test8/paltest_loadlibrarya_test8
+locale_info/CompareStringA/test1/paltest_comparestringa_test1
+locale_info/CompareStringW/test1/paltest_comparestringw_test1
+locale_info/GetLocaleInfoW/test1/paltest_getlocaleinfow_test1
+locale_info/GetLocaleInfoW/test2/paltest_getlocaleinfow_test2
+miscellaneous/IsBadCodePtr/test1/paltest_isbadcodeptr_test1
+miscellaneous/IsBadReadPtr/test1/paltest_isbadreadptr_test1
+miscellaneous/IsBadWritePtr/test1/paltest_isbadwriteptr_test1
+miscellaneous/IsBadWritePtr/test2/paltest_isbadwriteptr_test2
+miscellaneous/IsBadWritePtr/test3/paltest_isbadwriteptr_test3
+miscellaneous/MessageBoxW/test1/paltest_messageboxw_test1
+miscellaneous/MessageBoxW/test2/paltest_messageboxw_test2
+pal_specific/PAL_get_stderr/test1/paltest_pal_get_stderr_test1
+pal_specific/PAL_get_stdin/test1/paltest_pal_get_stdin_test1
+pal_specific/PAL_get_stdout/test1/paltest_pal_get_stdout_test1
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/composite/CMakeLists.txt
deleted file mode 100644
index 17d0105eea536a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/CMakeLists.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-add_subdirectory(object_management)
-add_subdirectory(synchronization)
-add_subdirectory(threading)
-add_subdirectory(wfmo)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/composite/object_management/CMakeLists.txt
deleted file mode 100644
index 1786ba32c69c0e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/CMakeLists.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-add_subdirectory(event)
-add_subdirectory(mutex)
-add_subdirectory(semaphore)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/CMakeLists.txt
deleted file mode 100644
index 4eeff15aa73165..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(nonshared)
-add_subdirectory(shared)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/nonshared/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/nonshared/CMakeLists.txt
deleted file mode 100644
index 666e5e8a17c01a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/nonshared/CMakeLists.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-set(SOURCES
- event.cpp
- main.cpp
-)
-
-add_executable(paltest_event_nonshared
- ${SOURCES}
-)
-
-add_dependencies(paltest_event_nonshared coreclrpal)
-
-target_link_libraries(paltest_event_nonshared
- ${COMMON_TEST_LIBRARIES}
- rt
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/nonshared/event.cpp b/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/nonshared/event.cpp
index 337e0cf74f10d4..72c9fa811c676d 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/nonshared/event.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/nonshared/event.cpp
@@ -59,7 +59,7 @@ int testStatus;
const char sTmpEventName[MAX_PATH_FNAME] = "StartTestEvent";
-void PALAPI Run_Thread(LPVOID lpParam);
+void PALAPI Run_Thread_event_nonshared(LPVOID lpParam);
int GetParameters( int argc, char **argv)
{
@@ -110,7 +110,7 @@ int GetParameters( int argc, char **argv)
return 0;
}
- int __cdecl main(INT argc, CHAR **argv)
+PALTEST(composite_object_management_event_nonshared_paltest_event_nonshared, "composite/object_management/event/nonshared/paltest_event_nonshared")
{
unsigned int i = 0;
HANDLE hThread[MAXIMUM_WAIT_OBJECTS];
@@ -205,7 +205,7 @@ int GetParameters( int argc, char **argv)
hThread[i] = CreateThread(
NULL, /* no security attributes */
0, /* use default stack size */
- (LPTHREAD_START_ROUTINE)Run_Thread,/* thread function */
+ (LPTHREAD_START_ROUTINE)Run_Thread_event_nonshared,/* thread function */
(LPVOID)dwParam, /* argument to thread function */
0, /* use default creation flags */
&threadId[i] /* returns the thread identifier*/
@@ -283,12 +283,12 @@ int GetParameters( int argc, char **argv)
testStatus = FAIL;
}
- PAL_Terminate();
+ PAL_TerminateEx(testStatus);
return testStatus;
}
-void PALAPI Run_Thread (LPVOID lpParam)
+void PALAPI Run_Thread_event_nonshared (LPVOID lpParam)
{
unsigned int i = 0;
DWORD dwWaitResult;
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/nonshared/main.cpp b/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/nonshared/main.cpp
index 2d326c4b7246b9..115632a833f43b 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/nonshared/main.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/nonshared/main.cpp
@@ -83,7 +83,7 @@ int GetParameters( int argc, char **argv)
return 0;
}
- int __cdecl main(INT argc, CHAR **argv)
+PALTEST(composite_object_management_event_nonshared_paltest_event_nonshared, "composite/object_management/event/nonshared/paltest_event_nonshared")
{
unsigned int i = 0;
HANDLE hProcess[MAXIMUM_WAIT_OBJECTS];
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/shared/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/shared/CMakeLists.txt
deleted file mode 100644
index 008739c3b86f82..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/shared/CMakeLists.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-set(SOURCES
- event.cpp
- main.cpp
-)
-
-add_executable(paltest_event_shared
- ${SOURCES}
-)
-
-add_dependencies(paltest_event_shared coreclrpal)
-
-target_link_libraries(paltest_event_shared
- ${COMMON_TEST_LIBRARIES}
- rt
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/shared/event.cpp b/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/shared/event.cpp
index 8f136f3b5370ed..b09322d4b979ea 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/shared/event.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/shared/event.cpp
@@ -57,7 +57,7 @@ int testStatus;
const char sTmpEventName[MAX_PATH] = "StartTestEvent";
char objectSuffix[MAX_PATH];
-void PALAPI Run_Thread(LPVOID lpParam);
+void PALAPI Run_Thread_event_shared(LPVOID lpParam);
int GetParameters( int argc, char **argv)
{
@@ -113,7 +113,7 @@ int GetParameters( int argc, char **argv)
return 0;
}
- int __cdecl main(INT argc, CHAR **argv)
+PALTEST(composite_object_management_event_shared_paltest_event_shared, "composite/object_management/event/shared/paltest_event_shared")
{
unsigned int i = 0;
HANDLE hThread[MAXIMUM_WAIT_OBJECTS];
@@ -218,7 +218,7 @@ int GetParameters( int argc, char **argv)
hThread[i] = CreateThread(
NULL, /* no security attributes */
0, /* use default stack size */
- (LPTHREAD_START_ROUTINE)Run_Thread,/* thread function */
+ (LPTHREAD_START_ROUTINE)Run_Thread_event_shared,/* thread function */
(LPVOID)dwParam, /* argument to thread function */
0, /* use default creation flags */
&threadId[i] /* returns the thread identifier*/
@@ -301,7 +301,7 @@ int GetParameters( int argc, char **argv)
return testStatus;
}
-void PALAPI Run_Thread (LPVOID lpParam)
+void PALAPI Run_Thread_event_shared (LPVOID lpParam)
{
unsigned int i = 0;
DWORD dwWaitResult;
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/shared/main.cpp b/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/shared/main.cpp
index 6824d3c2507e2f..cce500d10cbf15 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/shared/main.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/object_management/event/shared/main.cpp
@@ -91,7 +91,7 @@ int GetParameters( int argc, char **argv)
return 0;
}
- int __cdecl main(INT argc, CHAR **argv)
+PALTEST(composite_object_management_event_shared_paltest_event_shared, "composite/object_management/event/shared/paltest_event_shared")
{
unsigned int i = 0;
HANDLE hProcess[MAXIMUM_WAIT_OBJECTS];
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/CMakeLists.txt
deleted file mode 100644
index 4eeff15aa73165..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(nonshared)
-add_subdirectory(shared)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/nonshared/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/nonshared/CMakeLists.txt
deleted file mode 100644
index 87932ffb640422..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/nonshared/CMakeLists.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-set(SOURCES
- main.cpp
- mutex.cpp
-)
-
-add_executable(paltest_mutex_nonshared
- ${SOURCES}
-)
-
-add_dependencies(paltest_mutex_nonshared coreclrpal)
-
-target_link_libraries(paltest_mutex_nonshared
- ${COMMON_TEST_LIBRARIES}
- rt
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/nonshared/main.cpp b/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/nonshared/main.cpp
index 0937a2a8967daa..4277e66e0821dc 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/nonshared/main.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/nonshared/main.cpp
@@ -83,7 +83,7 @@ int GetParameters( int argc, char **argv)
return 0;
}
- int __cdecl main(INT argc, CHAR **argv)
+PALTEST(composite_object_management_mutex_nonshared_paltest_mutex_nonshared, "composite/object_management/mutex/nonshared/paltest_mutex_nonshared")
{
unsigned int i = 0;
HANDLE hProcess[MAXIMUM_WAIT_OBJECTS];
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/nonshared/mutex.cpp b/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/nonshared/mutex.cpp
index 8dc808c99ab29d..c1dab2341c0d8b 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/nonshared/mutex.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/nonshared/mutex.cpp
@@ -51,7 +51,7 @@ ResultBuffer *resultBuffer = NULL;
int testStatus;
-void PALAPI Run_Thread(LPVOID lpParam);
+void PALAPI Run_Thread_mutex_nonshared(LPVOID lpParam);
int GetParameters( int argc, char **argv)
{
@@ -100,7 +100,7 @@ int GetParameters( int argc, char **argv)
return 0;
}
- int __cdecl main(INT argc, CHAR **argv)
+PALTEST(composite_object_management_mutex_nonshared_paltest_mutex_nonshared, "composite/object_management/mutex/nonshared/paltest_mutex_nonshared")
{
unsigned int i = 0;
HANDLE hThread[MAXIMUM_WAIT_OBJECTS];
@@ -195,7 +195,7 @@ int GetParameters( int argc, char **argv)
hThread[i] = CreateThread(
NULL, /* no security attributes */
0, /* use default stack size */
- (LPTHREAD_START_ROUTINE)Run_Thread,/* thread function */
+ (LPTHREAD_START_ROUTINE)Run_Thread_mutex_nonshared,/* thread function */
(LPVOID)dwParam, /* argument to thread function */
0, /* use default creation flags */
&threadId[i] /* returns the thread identifier*/
@@ -270,7 +270,7 @@ int GetParameters( int argc, char **argv)
return testStatus;
}
-void PALAPI Run_Thread (LPVOID lpParam)
+void PALAPI Run_Thread_mutex_nonshared (LPVOID lpParam)
{
unsigned int i = 0;
DWORD dwWaitResult;
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/shared/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/shared/CMakeLists.txt
deleted file mode 100644
index d058c448332279..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/shared/CMakeLists.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-set(SOURCES
- main.cpp
- mutex.cpp
-)
-
-add_executable(paltest_mutex_shared
- ${SOURCES}
-)
-
-add_dependencies(paltest_mutex_shared coreclrpal)
-
-target_link_libraries(paltest_mutex_shared
- ${COMMON_TEST_LIBRARIES}
- rt
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/shared/main.cpp b/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/shared/main.cpp
index a8481f60d1b18a..3790785d065126 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/shared/main.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/shared/main.cpp
@@ -93,7 +93,7 @@ int GetParameters( int argc, char **argv)
return 0;
}
- int __cdecl main(INT argc, CHAR **argv)
+PALTEST(composite_object_management_mutex_shared_paltest_mutex_shared, "composite/object_management/mutex/shared/paltest_mutex_shared")
{
unsigned int i = 0;
HANDLE hProcess[MAXIMUM_WAIT_OBJECTS];
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/shared/mutex.cpp b/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/shared/mutex.cpp
index 19fe3ad6f90a4c..1429c78fa077a2 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/shared/mutex.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/object_management/mutex/shared/mutex.cpp
@@ -59,7 +59,7 @@ int testStatus;
const char sTmpEventName[MAX_PATH] = "StartTestEvent";
char objectSuffix[MAX_PATH];
-void PALAPI Run_Thread(LPVOID lpParam);
+void PALAPI Run_Thread_mutex_shared(LPVOID lpParam);
int GetParameters( int argc, char **argv)
{
@@ -115,7 +115,7 @@ int GetParameters( int argc, char **argv)
return 0;
}
- int __cdecl main(INT argc, CHAR **argv)
+PALTEST(composite_object_management_mutex_shared_paltest_mutex_shared, "composite/object_management/mutex/shared/paltest_mutex_shared")
{
unsigned int i = 0;
HANDLE hThread[MAXIMUM_WAIT_OBJECTS];
@@ -212,7 +212,7 @@ int GetParameters( int argc, char **argv)
hThread[i] = CreateThread(
NULL, /* no security attributes */
0, /* use default stack size */
- (LPTHREAD_START_ROUTINE)Run_Thread,/* thread function */
+ (LPTHREAD_START_ROUTINE)Run_Thread_mutex_shared,/* thread function */
(LPVOID)dwParam, /* argument to thread function */
0, /* use default creation flags */
&threadId[i] /* returns the thread identifier*/
@@ -286,7 +286,7 @@ int GetParameters( int argc, char **argv)
return testStatus;
}
-void PALAPI Run_Thread (LPVOID lpParam)
+void PALAPI Run_Thread_mutex_shared (LPVOID lpParam)
{
unsigned int i = 0;
DWORD dwWaitResult;
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/CMakeLists.txt
deleted file mode 100644
index 4eeff15aa73165..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(nonshared)
-add_subdirectory(shared)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/nonshared/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/nonshared/CMakeLists.txt
deleted file mode 100644
index 4b35e86f613c2c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/nonshared/CMakeLists.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-set(SOURCES
- main.cpp
- semaphore.cpp
-)
-
-add_executable(paltest_semaphore_nonshared
- ${SOURCES}
-)
-
-add_dependencies(paltest_semaphore_nonshared coreclrpal)
-
-target_link_libraries(paltest_semaphore_nonshared
- ${COMMON_TEST_LIBRARIES}
- rt
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/nonshared/main.cpp b/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/nonshared/main.cpp
index effe5c3527f851..99b0b2b2a55377 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/nonshared/main.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/nonshared/main.cpp
@@ -83,7 +83,7 @@ int GetParameters( int argc, char **argv)
return 0;
}
- int __cdecl main(INT argc, CHAR **argv)
+PALTEST(composite_object_management_semaphore_nonshared_paltest_semaphore_nonshared, "composite/object_management/semaphore/nonshared/paltest_semaphore_nonshared")
{
unsigned int i = 0;
HANDLE hProcess[MAXIMUM_WAIT_OBJECTS];
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/nonshared/semaphore.cpp b/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/nonshared/semaphore.cpp
index 098119ccc28250..cfa21e95659252 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/nonshared/semaphore.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/nonshared/semaphore.cpp
@@ -59,7 +59,7 @@ int testStatus;
const char sTmpEventName[MAX_PATH] = "StartTestEvent";
-void PALAPI Run_Thread(LPVOID lpParam);
+void PALAPI Run_Thread_semaphore_nonshared(LPVOID lpParam);
int GetParameters( int argc, char **argv)
{
@@ -108,7 +108,7 @@ int GetParameters( int argc, char **argv)
return 0;
}
- int __cdecl main(INT argc, CHAR **argv)
+PALTEST(composite_object_management_semaphore_nonshared_paltest_semaphore_nonshared, "composite/object_management/semaphore/nonshared/paltest_semaphore_nonshared")
{
unsigned int i = 0;
HANDLE hThread[MAXIMUM_WAIT_OBJECTS];
@@ -204,7 +204,7 @@ int GetParameters( int argc, char **argv)
hThread[i] = CreateThread(
NULL, /* no security attributes */
0, /* use default stack size */
- (LPTHREAD_START_ROUTINE)Run_Thread,/* thread function */
+ (LPTHREAD_START_ROUTINE)Run_Thread_semaphore_nonshared,/* thread function */
(LPVOID)dwParam, /* argument to thread function */
0, /* use default creation flags */
&threadId[i] /* returns the thread identifier*/
@@ -275,7 +275,7 @@ int GetParameters( int argc, char **argv)
return PASS;
}
-void PALAPI Run_Thread (LPVOID lpParam)
+void PALAPI Run_Thread_semaphore_nonshared (LPVOID lpParam)
{
unsigned int i = 0;
DWORD dwWaitResult;
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/shared/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/shared/CMakeLists.txt
deleted file mode 100644
index 92fb32ab3d8d6a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/shared/CMakeLists.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-set(SOURCES
- main.cpp
- semaphore.cpp
-)
-
-add_executable(paltest_semaphore_shared
- ${SOURCES}
-)
-
-add_dependencies(paltest_semaphore_shared coreclrpal)
-
-target_link_libraries(paltest_semaphore_shared
- ${COMMON_TEST_LIBRARIES}
- rt
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/shared/main.cpp b/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/shared/main.cpp
index d24acdcc700a3e..df1ea1f7bea361 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/shared/main.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/shared/main.cpp
@@ -94,7 +94,7 @@ int GetParameters( int argc, char **argv)
return 0;
}
- int __cdecl main(INT argc, CHAR **argv)
+PALTEST(composite_object_management_semaphore_shared_paltest_semaphore_shared, "composite/object_management/semaphore/shared/paltest_semaphore_shared")
{
unsigned int i = 0;
HANDLE hProcess[MAXIMUM_WAIT_OBJECTS];
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/shared/semaphore.cpp b/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/shared/semaphore.cpp
index 55b87e29977f7a..7365dff49db19b 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/shared/semaphore.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/object_management/semaphore/shared/semaphore.cpp
@@ -59,7 +59,7 @@ int testStatus;
const char sTmpEventName[MAX_PATH] = "StartTestEvent";
char objectSuffix[MAX_PATH];
-void PALAPI Run_Thread(LPVOID lpParam);
+void PALAPI Run_Thread_semaphore_shared(LPVOID lpParam);
int GetParameters( int argc, char **argv)
{
@@ -112,7 +112,7 @@ int GetParameters( int argc, char **argv)
return 0;
}
- int __cdecl main(INT argc, CHAR **argv)
+PALTEST(composite_object_management_semaphore_shared_paltest_semaphore_shared, "composite/object_management/semaphore/shared/paltest_semaphore_shared")
{
unsigned int i = 0;
HANDLE hThread[MAXIMUM_WAIT_OBJECTS];
@@ -216,7 +216,7 @@ int GetParameters( int argc, char **argv)
hThread[i] = CreateThread(
NULL, /* no security attributes */
0, /* use default stack size */
- (LPTHREAD_START_ROUTINE)Run_Thread,/* thread function */
+ (LPTHREAD_START_ROUTINE)Run_Thread_semaphore_shared,/* thread function */
(LPVOID)dwParam, /* argument to thread function */
0, /* use default creation flags */
&threadId[i] /* returns the thread identifier*/
@@ -284,7 +284,7 @@ int GetParameters( int argc, char **argv)
return PASS;
}
-void PALAPI Run_Thread (LPVOID lpParam)
+void PALAPI Run_Thread_semaphore_shared (LPVOID lpParam)
{
unsigned int i = 0;
DWORD dwWaitResult;
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/synchronization/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/composite/synchronization/CMakeLists.txt
deleted file mode 100644
index e21f4d367d3d28..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/synchronization/CMakeLists.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-add_subdirectory(criticalsection)
-add_subdirectory(nativecriticalsection)
-add_subdirectory(nativecs_interlocked)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/synchronization/criticalsection/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/composite/synchronization/criticalsection/CMakeLists.txt
deleted file mode 100644
index 8b7b607baafc37..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/synchronization/criticalsection/CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-set(SOURCES
- criticalsection.cpp
- mainWrapper.cpp
-)
-
-add_executable(paltest_synchronization_criticalsection
- ${SOURCES}
-)
-
-add_dependencies(paltest_synchronization_criticalsection coreclrpal)
-
-target_link_libraries(paltest_synchronization_criticalsection
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/synchronization/criticalsection/criticalsection.cpp b/src/coreclr/src/pal/tests/palsuite/composite/synchronization/criticalsection/criticalsection.cpp
index 60a41283ee22e5..641c0fdcf355b4 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/synchronization/criticalsection/criticalsection.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/synchronization/criticalsection/criticalsection.cpp
@@ -210,7 +210,7 @@ enterandleavecs( LPVOID lpParam )
}
-int __cdecl main (int argc, char **argv)
+PALTEST(composite_synchronization_criticalsection_paltest_synchronization_criticalsection, "composite/synchronization/criticalsection/paltest_synchronization_criticalsection")
{
/*
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/synchronization/criticalsection/mainWrapper.cpp b/src/coreclr/src/pal/tests/palsuite/composite/synchronization/criticalsection/mainWrapper.cpp
index 7f9659dd997307..da99d5ef3588db 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/synchronization/criticalsection/mainWrapper.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/synchronization/criticalsection/mainWrapper.cpp
@@ -87,7 +87,7 @@ int GetParameters( int argc, char **argv)
}
//Main entry point for the application
- int __cdecl main(INT argc, CHAR **argv)
+PALTEST(composite_synchronization_criticalsection_paltest_synchronization_criticalsection, "composite/synchronization/criticalsection/paltest_synchronization_criticalsection")
{
unsigned int i = 0;
HANDLE hProcess[MAXIMUM_WAIT_OBJECTS]; //Array to hold Process handles
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/synchronization/nativecriticalsection/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/composite/synchronization/nativecriticalsection/CMakeLists.txt
deleted file mode 100644
index 6ba585256869b9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/synchronization/nativecriticalsection/CMakeLists.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-set(SOURCES
- mtx_critsect.cpp
- pal_composite_native_cs.cpp
- resultbuffer.cpp
-)
-
-add_executable(paltest_synchronization_nativecriticalsection
- ${SOURCES}
-)
-
-add_dependencies(paltest_synchronization_nativecriticalsection coreclrpal)
-
-target_link_libraries(paltest_synchronization_nativecriticalsection
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/synchronization/nativecriticalsection/pal_composite_native_cs.cpp b/src/coreclr/src/pal/tests/palsuite/composite/synchronization/nativecriticalsection/pal_composite_native_cs.cpp
index a36931205a5d8a..ba077cba615e2e 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/synchronization/nativecriticalsection/pal_composite_native_cs.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/synchronization/nativecriticalsection/pal_composite_native_cs.cpp
@@ -66,7 +66,7 @@ ULONGLONG getPerfCallibrationValue(void);
-extern int main(int argc, char **argv)
+PALTEST(composite_synchronization_nativecriticalsection_paltest_synchronization_nativecriticalsection, "composite/synchronization/nativecriticalsection/paltest_synchronization_nativecriticalsection")
{
//Variable Declaration
pthread_t pthreads[640];
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/synchronization/nativecs_interlocked/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/composite/synchronization/nativecs_interlocked/CMakeLists.txt
deleted file mode 100644
index 90f52dd46d3dc9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/synchronization/nativecs_interlocked/CMakeLists.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-set(SOURCES
- interlocked.cpp
- mtx_critsect.cpp
- pal_composite_native_cs.cpp
- resultbuffer.cpp
-)
-
-add_executable(paltest_synchronization_nativecs_interlocked
- ${SOURCES}
-)
-
-add_dependencies(paltest_synchronization_nativecs_interlocked coreclrpal)
-
-target_link_libraries(paltest_synchronization_nativecs_interlocked
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/synchronization/nativecs_interlocked/pal_composite_native_cs.cpp b/src/coreclr/src/pal/tests/palsuite/composite/synchronization/nativecs_interlocked/pal_composite_native_cs.cpp
index 18d967423771bf..3f1d31e5d1b04d 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/synchronization/nativecs_interlocked/pal_composite_native_cs.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/synchronization/nativecs_interlocked/pal_composite_native_cs.cpp
@@ -66,7 +66,7 @@ ULONGLONG getPerfCallibrationValue(void);
-extern int main(int argc, char **argv)
+PALTEST(composite_synchronization_nativecs_interlocked_paltest_synchronization_nativecs_interlocked, "composite/synchronization/nativecs_interlocked/paltest_synchronization_nativecs_interlocked")
{
//Variable Declaration
pthread_t pthreads[640];
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/threading/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/composite/threading/CMakeLists.txt
deleted file mode 100644
index 2b4f0ea8a63102..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/threading/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(threadsuspension)
-add_subdirectory(threadsuspension_switchthread)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension/CMakeLists.txt
deleted file mode 100644
index a931f974273dcf..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension/CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-set(SOURCES
- mainWrapper.cpp
- threadsuspension.cpp
-)
-
-add_executable(paltest_threading_threadsuspension
- ${SOURCES}
-)
-
-add_dependencies(paltest_threading_threadsuspension coreclrpal)
-
-target_link_libraries(paltest_threading_threadsuspension
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension/mainWrapper.cpp b/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension/mainWrapper.cpp
index 4366f26137eeed..72a1b3d9ce45c0 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension/mainWrapper.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension/mainWrapper.cpp
@@ -87,7 +87,7 @@ int GetParameters( int argc, char **argv)
return 0;
}
- int __cdecl main(INT argc, CHAR **argv)
+PALTEST(composite_threading_threadsuspension_paltest_threading_threadsuspension, "composite/threading/threadsuspension/paltest_threading_threadsuspension")
{
unsigned int i = 0;
HANDLE hProcess[MAXIMUM_WAIT_OBJECTS];
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension/samplefile.dat b/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension/samplefile.dat
deleted file mode 100644
index d6505f2549b949..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension/samplefile.dat
+++ /dev/null
@@ -1,5124 +0,0 @@
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense blackasdf dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension/threadsuspension.cpp b/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension/threadsuspension.cpp
index 2e2539445e37c2..ede0e4b7580ea0 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension/threadsuspension.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension/threadsuspension.cpp
@@ -138,7 +138,7 @@ int GetParameters(int, char * *);
//Main Entry for the Thread Suspension Test Case
-int __cdecl main (int argc, char **argv)
+PALTEST(composite_threading_threadsuspension_paltest_threading_threadsuspension, "composite/threading/threadsuspension/paltest_threading_threadsuspension")
{
/*
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension_switchthread/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension_switchthread/CMakeLists.txt
deleted file mode 100644
index 0d6a8fbdbfb26e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension_switchthread/CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-set(SOURCES
- mainWrapper.cpp
- threadsuspension.cpp
-)
-
-add_executable(paltest_threading_threadsuspension_switchthread
- ${SOURCES}
-)
-
-add_dependencies(paltest_threading_threadsuspension_switchthread coreclrpal)
-
-target_link_libraries(paltest_threading_threadsuspension_switchthread
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension_switchthread/mainWrapper.cpp b/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension_switchthread/mainWrapper.cpp
index 4366f26137eeed..1f95d7dced47e5 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension_switchthread/mainWrapper.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension_switchthread/mainWrapper.cpp
@@ -87,7 +87,7 @@ int GetParameters( int argc, char **argv)
return 0;
}
- int __cdecl main(INT argc, CHAR **argv)
+PALTEST(composite_threading_threadsuspension_switchthread_paltest_threading_threadsuspension_switchthread, "composite/threading/threadsuspension_switchthread/paltest_threading_threadsuspension_switchthread")
{
unsigned int i = 0;
HANDLE hProcess[MAXIMUM_WAIT_OBJECTS];
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension_switchthread/samplefile.dat b/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension_switchthread/samplefile.dat
deleted file mode 100644
index d6505f2549b949..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension_switchthread/samplefile.dat
+++ /dev/null
@@ -1,5124 +0,0 @@
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense blackasdf dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
-By Patricia Reaney
-LONDON (Reuters) - Europe, Africa and the Middle East are the best vantage points to see the first transit of Venus across the sun in more than a century on Tuesday, scientists said.
-
-Mostly clear skies are forecast in many parts of the three regions, but people were urged to be careful if they watch the rare event when it begins at 1:19 a.m. EDT because it could cause blindness. Views will be restricted from Asia and the Americas.
-
-Unlike a solar eclipse by the moon that is over in two or three minutes, Venus's transit -- which last occurred in 1882 -- will go on for six hours.
-
-The planet will appear as an intense black dot on the solar disc.
-
-Most of the sun will be visible as Venus crosses to the right from the bottom left side of the solar disc. Venus will be 26.7 million miles from earth.
-
-"Venus will be about 1/30 the size of the diameter of the sun, but it will be much darker and more intense than sunspots," said Dr Robert Walsh, of the University of Central Lancashire's Center for Astrophysics in northern England.
-
-Scientists recommend some form of indirect projection as the safest way to observe the phenomenon.
-
-"Never ever look directly at the sun with the naked eye or any sort of optical equipment -- telescope, binoculars or even digital camera," said Walsh.
-
-"Even if you glance at the sun for a short period of time you can damage your eye and lose some of your sight," he said.
-
-Internet sites will be covering the transit and observatories around the world have organized viewings.
-
-"Mainly Western Europe could see some high cloud that might prevent people from seeing it," said a spokesman for Britain's Meteorological Office. "The rest of Europe shouldn't be too bad. It should be fine."
-
-German astronomer Johannes Kepler first predicted a transit of Venus in 1627 but he died before he could witness one. English astronomer Jeremiah Horrocks first observed it in 1639.
-
-The transit occurs four times in every 243 years. There are two December transits, eight years apart, and then 121.5 years later there are two June transits, also eight years apart. After another 105.5 years the cycle begins again.
-
-The next transit will occur in 2012 when it will be visible from parts of Asia and the Pacific but not Europe.
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension_switchthread/threadsuspension.cpp b/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension_switchthread/threadsuspension.cpp
index da445a06570d49..8ccf29d01f8509 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension_switchthread/threadsuspension.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/threading/threadsuspension_switchthread/threadsuspension.cpp
@@ -138,7 +138,7 @@ int GetParameters(int, char * *);
//Main Entry for the Thread Suspension Test Case
-int __cdecl main (int argc, char **argv)
+PALTEST(composite_threading_threadsuspension_switchthread_paltest_threading_threadsuspension_switchthread, "composite/threading/threadsuspension_switchthread/paltest_threading_threadsuspension_switchthread")
{
/*
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/wfmo/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/composite/wfmo/CMakeLists.txt
deleted file mode 100644
index 11cc57108a9df1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/composite/wfmo/CMakeLists.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-set(SOURCES
- main.cpp
- mutex.cpp
-)
-
-add_executable(paltest_composite_wfmo
- ${SOURCES}
-)
-
-add_dependencies(paltest_composite_wfmo coreclrpal)
-
-target_link_libraries(paltest_composite_wfmo
- ${COMMON_TEST_LIBRARIES}
- rt
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/wfmo/main.cpp b/src/coreclr/src/pal/tests/palsuite/composite/wfmo/main.cpp
index 43c5b98c7b3b2d..599109fb142e9a 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/wfmo/main.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/wfmo/main.cpp
@@ -97,7 +97,7 @@ int GetParameters( int argc, char **argv)
return 0;
}
- int __cdecl main(INT argc, CHAR **argv)
+PALTEST(composite_wfmo_paltest_composite_wfmo, "composite/wfmo/paltest_composite_wfmo")
{
unsigned int i = 0;
HANDLE hProcess[MAXIMUM_WAIT_OBJECTS];
diff --git a/src/coreclr/src/pal/tests/palsuite/composite/wfmo/mutex.cpp b/src/coreclr/src/pal/tests/palsuite/composite/wfmo/mutex.cpp
index 5d2310fcfb190d..a95f93cc1fa328 100644
--- a/src/coreclr/src/pal/tests/palsuite/composite/wfmo/mutex.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/composite/wfmo/mutex.cpp
@@ -56,7 +56,7 @@ ResultBuffer *resultBuffer = NULL;
int testStatus;
-void PALAPI Run_Thread(LPVOID lpParam);
+void PALAPI Run_Thread_composite_wfmo(LPVOID lpParam);
int GetParameters( int argc, char **argv)
{
@@ -115,7 +115,7 @@ int GetParameters( int argc, char **argv)
return 0;
}
- int __cdecl main(INT argc, CHAR **argv)
+PALTEST(composite_wfmo_paltest_composite_wfmo, "composite/wfmo/paltest_composite_wfmo")
{
unsigned int i = 0;
HANDLE hThread[MAXIMUM_WAIT_OBJECTS];
@@ -205,7 +205,7 @@ int GetParameters( int argc, char **argv)
hThread[i] = CreateThread(
NULL, /* no security attributes */
0, /* use default stack size */
- (LPTHREAD_START_ROUTINE)Run_Thread,/* thread function */
+ (LPTHREAD_START_ROUTINE)Run_Thread_composite_wfmo,/* thread function */
(LPVOID)dwParam, /* argument to thread function */
0, /* use default creation flags */
&threadId[i] /* returns the thread identifier*/
@@ -287,7 +287,7 @@ int GetParameters( int argc, char **argv)
return testStatus;
}
-void PALAPI Run_Thread (LPVOID lpParam)
+void PALAPI Run_Thread_composite_wfmo (LPVOID lpParam)
{
unsigned int i = 0;
struct statistics stats;
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/debug_api/CMakeLists.txt
deleted file mode 100644
index 62493c1ee4f4cc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/CMakeLists.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-# TODO: make these tests compile
-# add_subdirectory(DebugBreak)
-# add_subdirectory(WriteProcessMemory)
-
-add_subdirectory(OutputDebugStringA)
-add_subdirectory(OutputDebugStringW)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/DebugBreak/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/debug_api/DebugBreak/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/DebugBreak/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/DebugBreak/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/debug_api/DebugBreak/test1/CMakeLists.txt
deleted file mode 100644
index 0614c48de9efa2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/DebugBreak/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_debugbreak_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_debugbreak_test1 coreclrpal)
-
-target_link_libraries(paltest_debugbreak_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/DebugBreak/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/debug_api/DebugBreak/test1/test1.cpp
index b0872c3f37d18f..6c0bf1d5a14098 100644
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/DebugBreak/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/debug_api/DebugBreak/test1/test1.cpp
@@ -12,7 +12,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(debug_api_DebugBreak_test1_paltest_debugbreak_test1, "debug_api/DebugBreak/test1/paltest_debugbreak_test1")
{
BOOL bTry = FALSE;
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/DebugBreak/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/debug_api/DebugBreak/test1/testinfo.dat
deleted file mode 100644
index 65215093cd0a8f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/DebugBreak/test1/testinfo.dat
+++ /dev/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 = Debug
-Function = DebugBreak
-Name = DebugBreak test #1
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests that DebugBreak "works". This will require case by case
-= manual interpretation.
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringA/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringA/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringA/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringA/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringA/test1/CMakeLists.txt
deleted file mode 100644
index 20b49a02a74345..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringA/test1/CMakeLists.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-set(TESTSOURCES
- test1.cpp
-)
-
-add_executable(paltest_outputdebugstringa_test1
- ${TESTSOURCES}
-)
-
-add_dependencies(paltest_outputdebugstringa_test1 coreclrpal)
-
-target_link_libraries(paltest_outputdebugstringa_test1
- ${COMMON_TEST_LIBRARIES}
-)
-
-
-set(HELPERSOURCES
- helper.cpp
-)
-
-add_executable(paltest_outputdebugstringa_test1_helper
- ${HELPERSOURCES}
-)
-
-add_dependencies(paltest_outputdebugstringa_test1_helper coreclrpal)
-
-target_link_libraries(paltest_outputdebugstringa_test1_helper
- ${COMMON_TEST_LIBRARIES}
-)
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringA/test1/helper.cpp b/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringA/test1/helper.cpp
index 85f9c64b8ba7fe..e47029fa7865c4 100644
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringA/test1/helper.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringA/test1/helper.cpp
@@ -14,7 +14,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(debug_api_OutputDebugStringA_test1_paltest_outputdebugstringa_test1_helper, "debug_api/OutputDebugStringA/test1/paltest_outputdebugstringa_test1_helper")
{
if(0 != (PAL_Initialize(argc, argv)))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringA/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringA/test1/test1.cpp
index a99651a1b8abf7..98f0a1b95b0a36 100644
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringA/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringA/test1/test1.cpp
@@ -23,7 +23,7 @@ struct OutputCheck
char *ExpectedStr;
};
-int __cdecl main(int argc, char *argv[])
+PALTEST(debug_api_OutputDebugStringA_test1_paltest_outputdebugstringa_test1, "debug_api/OutputDebugStringA/test1/paltest_outputdebugstringa_test1")
{
PROCESS_INFORMATION pi;
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringA/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringA/test1/testinfo.dat
deleted file mode 100644
index e4d37931ec9c47..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringA/test1/testinfo.dat
+++ /dev/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 = Debug
-Function = OutputDebugStringA
-Name = OutputDebugStringA test #1
-TYPE = DEFAULT
-EXE1 = test1
-EXE2 = helper
-Description
-=Tests that OutputDebugString generates the correct debugging event behaviour.
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringW/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringW/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringW/test1/CMakeLists.txt
deleted file mode 100644
index c23befae1cf769..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_outputdebugstringw_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_outputdebugstringw_test1 coreclrpal)
-
-target_link_libraries(paltest_outputdebugstringw_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringW/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringW/test1/test1.cpp
index c0fb3743ede244..3e12cd53a0014a 100644
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringW/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringW/test1/test1.cpp
@@ -15,7 +15,7 @@
#define UNICODE
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(debug_api_OutputDebugStringW_test1_paltest_outputdebugstringw_test1, "debug_api/OutputDebugStringW/test1/paltest_outputdebugstringw_test1")
{
WCHAR *str1;
WCHAR *str2;
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringW/test1/testinfo.dat
deleted file mode 100644
index eee22efa9247cd..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/OutputDebugStringW/test1/testinfo.dat
+++ /dev/null
@@ -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 = Debug
-Function = OutputDebugStringW
-Name = OutputDebugStringW test #1
-TYPE = DEFAULT
-EXE1 = test1
-Description
-=Tests that OutputDebugString generates the correct debugging event behaviour.
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/CMakeLists.txt
deleted file mode 100644
index dd5da444112375..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/CMakeLists.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test3)
-add_subdirectory(test4)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test1/CMakeLists.txt
deleted file mode 100644
index e2d976676f49eb..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test1/CMakeLists.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-set(TESTSOURCES
- test1.cpp
-)
-
-add_executable(paltest_writeprocessmemory_test1
- ${TESTSOURCES}
-)
-
-add_dependencies(paltest_writeprocessmemory_test1 coreclrpal)
-
-target_link_libraries(paltest_writeprocessmemory_test1
- ${COMMON_TEST_LIBRARIES}
-)
-
-
-set(HELPERSOURCES
- helper.cpp
-)
-
-add_executable(paltest_writeprocessmemory_test1_helper
- ${HELPERSOURCES}
-)
-
-add_dependencies(paltest_writeprocessmemory_test1_helper coreclrpal)
-
-target_link_libraries(paltest_writeprocessmemory_test1_helper
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test1/helper.cpp b/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test1/helper.cpp
index ba53f6e17be08b..edf8857b864b47 100644
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test1/helper.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test1/helper.cpp
@@ -124,7 +124,7 @@ int wpmDoIt(struct allhandles_t Comms,
return TRUE;
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(debug_api_WriteProcessMemory_test1_paltest_writeprocessmemory_test1_helper, "debug_api/WriteProcessMemory/test1/paltest_writeprocessmemory_test1_helper")
{
BOOL success = TRUE; /* assume success */
@@ -236,7 +236,7 @@ int __cdecl main(int argc, char *argv[])
Fail("");
}
- PAL_Terminate();
+ PAL_TerminateEx(success ? PASS : FAIL);
return success ? PASS : FAIL;
}
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test1/test1.cpp
index a3608bde245cea..41f4f825ca2508 100644
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test1/test1.cpp
@@ -19,7 +19,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(debug_api_WriteProcessMemory_test1_paltest_writeprocessmemory_test1, "debug_api/WriteProcessMemory/test1/paltest_writeprocessmemory_test1")
{
PROCESS_INFORMATION pi;
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test1/testinfo.dat
deleted file mode 100644
index 130bba97be9729..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test1/testinfo.dat
+++ /dev/null
@@ -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 = Debug
-Function = WriteProcessMemory
-Name = Check that writing text to process memory succeeds.
-TYPE = DEFAULT
-EXE1 = test1
-EXE2 = helper
-Description
-= Create a child process and attempt to write to its memory
-= at the places and lengths it specifies via a data file.
-= the child verifies that all the specified memory was altered
-= with no overruns.
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test3/CMakeLists.txt
deleted file mode 100644
index 4c8364dd093d35..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test3/CMakeLists.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-set(TESTSOURCES
- test3.cpp
-)
-
-add_executable(paltest_writeprocessmemory_test3
- ${TESTSOURCES}
-)
-
-add_dependencies(paltest_writeprocessmemory_test3 coreclrpal)
-
-target_link_libraries(paltest_writeprocessmemory_test3
- ${COMMON_TEST_LIBRARIES}
-)
-
-
-set(HELPERSOURCES
- helper.cpp
-)
-
-add_executable(paltest_writeprocessmemory_test3_helper
- ${HELPERSOURCES}
-)
-
-add_dependencies(paltest_writeprocessmemory_test3_helper coreclrpal)
-
-target_link_libraries(paltest_writeprocessmemory_test3_helper
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test3/helper.cpp b/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test3/helper.cpp
index a644774242638d..3479bc39f5323b 100644
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test3/helper.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test3/helper.cpp
@@ -121,7 +121,7 @@ int wpmVerifyCant(struct allhandles_t Comms,
return TRUE;
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(debug_api_WriteProcessMemory_test3_paltest_writeprocessmemory_test3_helper, "debug_api/WriteProcessMemory/test3/paltest_writeprocessmemory_test3_helper")
{
BOOL success = TRUE; /* assume success */
struct allhandles_t Comms = {0,0,0} ;
@@ -249,7 +249,7 @@ int __cdecl main(int argc, char *argv[])
Fail("");
}
- PAL_Terminate();
+ PAL_TerminateEx(success ? PASS : FAIL);
return success ? PASS : FAIL;
}
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test3/test3.cpp
index bef06d0843e7c2..196efb1b2abfe1 100644
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test3/test3.cpp
@@ -20,7 +20,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(debug_api_WriteProcessMemory_test3_paltest_writeprocessmemory_test3, "debug_api/WriteProcessMemory/test3/paltest_writeprocessmemory_test3")
{
PROCESS_INFORMATION pi;
@@ -199,6 +199,6 @@ int __cdecl main(int argc, char *argv[])
PEDANTIC(CloseHandle, (pi.hThread));
PEDANTIC(CloseHandle, (pi.hProcess));
- PAL_Terminate(dwExitCode);
+ PAL_TerminateEx(dwExitCode);
return dwExitCode;
}
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test3/testinfo.dat
deleted file mode 100644
index 92dd2c62320d95..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test3/testinfo.dat
+++ /dev/null
@@ -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 = Debug
-Function = WriteProcessMemory
-Name = Check that you can't write from writable to protected memory.
-TYPE = DEFAULT
-EXE1 = test3
-EXE2 = helper
-Description
-= Create a child process and debug it. When the child
-= raises an exception, it sends back a memory location. Call
-= WriteProcessMemory on the memory location, but attempt to write
-= more than the memory allows. This should cause an error and the
-= data should be unchanged.
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test4/CMakeLists.txt
deleted file mode 100644
index 21b2fda3b95364..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test4/CMakeLists.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-set(TESTSOURCES
- test4.cpp
-)
-
-add_executable(paltest_writeprocessmemory_test4
- ${TESTSOURCES}
-)
-
-add_dependencies(paltest_writeprocessmemory_test4 coreclrpal)
-
-target_link_libraries(paltest_writeprocessmemory_test4
- ${COMMON_TEST_LIBRARIES}
-)
-
-
-set(HELPERSOURCES
- helper.cpp
-)
-
-add_executable(paltest_writeprocessmemory_test4_helper
- ${HELPERSOURCES}
-)
-
-add_dependencies(paltest_writeprocessmemory_test4_helper coreclrpal)
-
-target_link_libraries(paltest_writeprocessmemory_test4_helper
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test4/helper.cpp b/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test4/helper.cpp
index aa9746f5632878..42ee9125bc79b2 100644
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test4/helper.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test4/helper.cpp
@@ -16,7 +16,7 @@
#include
const int MY_EXCEPTION=999;
-int __cdecl main(int argc, char *argv[])
+PALTEST(debug_api_WriteProcessMemory_test4_paltest_writeprocessmemory_test4_helper, "debug_api/WriteProcessMemory/test4/paltest_writeprocessmemory_test4_helper")
{
char* Memory;
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test4/test4.cpp
index 34f72ce1c02a9d..577869b78717ee 100644
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test4/test4.cpp
@@ -16,7 +16,7 @@
#include
const int MY_EXCEPTION=999;
-int __cdecl main(int argc, char *argv[])
+PALTEST(debug_api_WriteProcessMemory_test4_paltest_writeprocessmemory_test4, "debug_api/WriteProcessMemory/test4/paltest_writeprocessmemory_test4")
{
PROCESS_INFORMATION pi;
diff --git a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test4/testinfo.dat
deleted file mode 100644
index 4f69644dce2cc2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/debug_api/WriteProcessMemory/test4/testinfo.dat
+++ /dev/null
@@ -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 = Debug
-Function = WriteProcessMemory
-Name = Check that you can't write to protected memory.
-TYPE = DEFAULT
-EXE1 = test4
-EXE2 = helper
-Description
-= Create a child process and debug it. When the child
-= raises an exception, it sends back a memory location. Call
-= WriteProcessMemory on a restricted memory location and ensure that
-= it fails.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/eventprovider/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/eventprovider/CMakeLists.txt
index 845fae656be41a..87a2b12f08c141 100644
--- a/src/coreclr/src/pal/tests/palsuite/eventprovider/CMakeLists.txt
+++ b/src/coreclr/src/pal/tests/palsuite/eventprovider/CMakeLists.txt
@@ -1,4 +1,5 @@
set(SOURCES
+ EnableEventLogging.cpp
${CMAKE_CURRENT_BINARY_DIR}/clralltestevents.cpp
)
@@ -19,7 +20,7 @@ if(TARGET_UNIX)
include_directories(${COREPAL_SOURCE_DIR}/inc/rt)
endif(TARGET_UNIX)
-add_executable(eventprovidertest
+_add_executable(eventprovidertest
${SOURCES}
)
set(EVENT_PROVIDER_DEPENDENCIES "")
@@ -37,3 +38,5 @@ endif(FEATURE_EVENT_TRACE)
target_link_libraries(eventprovidertest ${EVENT_PROVIDER_DEPENDENCIES} coreclrpal)
add_dependencies(eventprovidertest eventing_headers)
+
+_install (TARGETS eventprovidertest DESTINATION paltests/eventprovider)
\ No newline at end of file
diff --git a/src/coreclr/src/pal/tests/palsuite/eventprovider/EnableEventLogging.cpp b/src/coreclr/src/pal/tests/palsuite/eventprovider/EnableEventLogging.cpp
new file mode 100644
index 00000000000000..fb6cf9d89775a3
--- /dev/null
+++ b/src/coreclr/src/pal/tests/palsuite/eventprovider/EnableEventLogging.cpp
@@ -0,0 +1,22 @@
+
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+/*=====================================================================
+**
+** Source: EnableEnventLogging.cpp
+**
+** Purpose: Fix linker issue on platforms where the PAL is built against
+** verion 2.4 of liblttng-ust-dev
+**
+**
+**===================================================================*/
+
+#if defined(HOST_UNIX)
+// This is a wrapper method for LTTng. See https://github.com/dotnet/coreclr/pull/27273 for details.
+extern "C" bool XplatEventLoggerIsEnabled()
+{
+ // As we are testing the lttng events here, enable them unconditionally.
+ return true;
+}
+#endif // HOST_UNIX
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/CMakeLists.txt
deleted file mode 100644
index c650506afd3ac2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/CMakeLists.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-add_subdirectory(pal_sxs)
-#add_subdirectory(pal_except)
-#add_subdirectory(PAL_EXCEPT_FILTER)
-#add_subdirectory(PAL_EXCEPT_FILTER_EX)
-#add_subdirectory(pal_finally)
-#add_subdirectory(PAL_TRY_EXCEPT)
-#add_subdirectory(PAL_TRY_EXCEPT_EX)
-#add_subdirectory(PAL_TRY_LEAVE_FINALLY)
-add_subdirectory(RaiseException)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/CMakeLists.txt
deleted file mode 100644
index d243b82668a350..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/CMakeLists.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test1/CMakeLists.txt
deleted file mode 100644
index e186c6e987e84d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- PAL_EXCEPT_FILTER.cpp
-)
-
-add_executable(paltest_pal_except_filter_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_pal_except_filter_test1 coreclrpal)
-
-target_link_libraries(paltest_pal_except_filter_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test1/PAL_EXCEPT_FILTER.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test1/PAL_EXCEPT_FILTER.cpp
index fa537b43d0b46a..3c44088bfb7ff0 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test1/PAL_EXCEPT_FILTER.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test1/PAL_EXCEPT_FILTER.cpp
@@ -46,7 +46,7 @@ LONG ExitFilter(EXCEPTION_POINTERS* ep, LPVOID pnTestInt)
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_PAL_EXCEPT_FILTER_test1_paltest_pal_except_filter_test1, "exception_handling/PAL_EXCEPT_FILTER/test1/paltest_pal_except_filter_test1")
{
int* p = 0x00000000; /* pointer to NULL */
BOOL bExcept = FALSE;
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test1/testinfo.dat
deleted file mode 100644
index 1d68e987f53fc9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test1/testinfo.dat
+++ /dev/null
@@ -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 = exception_handling
-Function = PAL_EXCEPT_FILTER
-Name = Test for PAL_EXCEPT_FILTER
-Type = DEFAULT
-EXE1 = pal_except_filter
-LANG = cpp
-Description
-= Tests the PAL implementation of the PAL_EXCEPT_FILTER. An
-= exception is forced and a known value is passed to the filter
-= fuction. The known value as well as booleans are tested to
-= ensure proper functioning.
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test2/CMakeLists.txt
deleted file mode 100644
index baaac69333a47f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- pal_except_filter.cpp
-)
-
-add_executable(paltest_pal_except_filter_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_pal_except_filter_test2 coreclrpal)
-
-target_link_libraries(paltest_pal_except_filter_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test2/pal_except_filter.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test2/pal_except_filter.cpp
index 0e960c24787524..c5abcc6b39c70f 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test2/pal_except_filter.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test2/pal_except_filter.cpp
@@ -70,7 +70,7 @@ LONG ExitFilter(EXCEPTION_POINTERS* ep, LPVOID pnTestInt)
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_PAL_EXCEPT_FILTER_test2_paltest_pal_except_filter_test2, "exception_handling/PAL_EXCEPT_FILTER/test2/paltest_pal_except_filter_test2")
{
BOOL bExcept = FALSE;
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test2/testinfo.dat
deleted file mode 100644
index 66789ab817d88c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test2/testinfo.dat
+++ /dev/null
@@ -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 = exception_handling
-Function = PAL_EXCEPT_FILTER
-Name = Test for PAL_EXCEPT_FILTER
-Type = DEFAULT
-EXE1 = pal_except_filter
-LANG = cpp
-Description
-= Tests the PAL implementation of the PAL_EXCEPT_FILTER. An
-= exception is forced and the filter returns
-= EXCEPTION_CONTINUE_EXECUTION to allow execution to continue.
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test3/CMakeLists.txt
deleted file mode 100644
index 54dd18aca98f2b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- pal_except_filter.cpp
-)
-
-add_executable(paltest_pal_except_filter_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_pal_except_filter_test3 coreclrpal)
-
-target_link_libraries(paltest_pal_except_filter_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test3/pal_except_filter.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test3/pal_except_filter.cpp
index 11f420ea809d10..afa2fb3320fbc0 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test3/pal_except_filter.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test3/pal_except_filter.cpp
@@ -104,7 +104,7 @@ void NestedFunc2 (void)
NestedFunc1();
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_PAL_EXCEPT_FILTER_test3_paltest_pal_except_filter_test3, "exception_handling/PAL_EXCEPT_FILTER/test3/paltest_pal_except_filter_test3")
{
if (0 != PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test3/testinfo.dat
deleted file mode 100644
index 795ba064b8c4ce..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test3/testinfo.dat
+++ /dev/null
@@ -1,18 +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 = exception_handling
-Function = PAL_EXCEPT_FILTER_EX
-Name = Test for nested PAL_EXCEPT_FILTER functions & EXCEPTION_CONTINUE_SEARCH
-Type = DEFAULT
-EXE1 = pal_except_filter
-LANG = cpp
-Description
-= Tests the PAL implementation of the PAL_EXCEPT_FILTER with nested
-= functions to build a call stack. An
-= exception is forced and passed to two nested exception filters for
-= consideration. The first filter returns EXCEPTION_CONTINUE_SEARCH
-= so the second can run and return EXCEPTION_EXECUTE_HANDLER. The
-= initial exception handler should be skipped, and the second
-= executed
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/CMakeLists.txt
deleted file mode 100644
index d243b82668a350..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/CMakeLists.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test1/CMakeLists.txt
deleted file mode 100644
index c6bc2efd75599c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- PAL_EXCEPT_FILTER_EX.cpp
-)
-
-add_executable(paltest_pal_except_filter_ex_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_pal_except_filter_ex_test1 coreclrpal)
-
-target_link_libraries(paltest_pal_except_filter_ex_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test1/PAL_EXCEPT_FILTER_EX.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test1/PAL_EXCEPT_FILTER_EX.cpp
index b987b14f59d8cd..1a2668716e6280 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test1/PAL_EXCEPT_FILTER_EX.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test1/PAL_EXCEPT_FILTER_EX.cpp
@@ -70,7 +70,7 @@ LONG Filter_02(EXCEPTION_POINTERS* ep, VOID *pnTestInt)
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_PAL_EXCEPT_FILTER_EX_test1_paltest_pal_except_filter_ex_test1, "exception_handling/PAL_EXCEPT_FILTER_EX/test1/paltest_pal_except_filter_ex_test1")
{
int* p = 0x00000000;
BOOL bExcept = FALSE;
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test1/testinfo.dat
deleted file mode 100644
index 3dae7bcad5db5e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test1/testinfo.dat
+++ /dev/null
@@ -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 = exception_handling
-Function = PAL_EXCEPT_FILTER_EX
-Name = Test for PAL_EXCEPT_FILTER_EX
-Type = DEFAULT
-EXE1 = pal_except_filter_ex
-LANG = cpp
-Description
-= Tests the PAL implementation of the PAL_EXCEPT_FILTER_EX.
-= There are two try blocks in this test. The first forces an
-= exception error to force hitting the first filter. The second
-= doesn't to make sure we don't hit the filter. A value is also
-= passed into the filter program and it is validated to make sure
-= it was passed correctly.
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test2/CMakeLists.txt
deleted file mode 100644
index ceb214a7dd2da9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- pal_except_filter_ex.cpp
-)
-
-add_executable(paltest_pal_except_filter_ex_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_pal_except_filter_ex_test2 coreclrpal)
-
-target_link_libraries(paltest_pal_except_filter_ex_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test2/pal_except_filter_ex.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test2/pal_except_filter_ex.cpp
index 314221178b4421..1b3a05654a83bd 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test2/pal_except_filter_ex.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test2/pal_except_filter_ex.cpp
@@ -54,7 +54,7 @@ LONG Filter_01(EXCEPTION_POINTERS* ep, VOID *pnTestInt)
return EXCEPTION_EXECUTE_HANDLER;
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_PAL_EXCEPT_FILTER_EX_test2_paltest_pal_except_filter_ex_test2, "exception_handling/PAL_EXCEPT_FILTER_EX/test2/paltest_pal_except_filter_ex_test2")
{
int* p = 0x00000000;
BOOL bExcept = FALSE;
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test2/testinfo.dat
deleted file mode 100644
index 4c5c5b2d606e0a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test2/testinfo.dat
+++ /dev/null
@@ -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 = exception_handling
-Function = PAL_EXCEPT_FILTER_EX
-Name = Test for PAL_EXCEPT_FILTER_EX
-Type = DEFAULT
-EXE1 = pal_except_filter_ex
-LANG = cpp
-Description
-= Tests the PAL implementation of the PAL_EXCEPT_FILTER_EX.
-= There is a nested try blocks in this test. The nested
-= PAL_TRY creates an exception and the FILTER creates another.
-= This test makes sure that this case does not end in a
-= infinite loop.
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test3/CMakeLists.txt
deleted file mode 100644
index 31107993f93cc8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- pal_except_filter.cpp
-)
-
-add_executable(paltest_pal_except_filter_ex_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_pal_except_filter_ex_test3 coreclrpal)
-
-target_link_libraries(paltest_pal_except_filter_ex_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test3/pal_except_filter.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test3/pal_except_filter.cpp
index bb0be8b3038e50..815b4d84d108a0 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test3/pal_except_filter.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test3/pal_except_filter.cpp
@@ -68,7 +68,7 @@ LONG ExecExeptionFilter(EXCEPTION_POINTERS* ep, LPVOID pnTestInt)
return EXCEPTION_EXECUTE_HANDLER;
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_PAL_EXCEPT_FILTER_EX_test3_paltest_pal_except_filter_ex_test3, "exception_handling/PAL_EXCEPT_FILTER_EX/test3/paltest_pal_except_filter_ex_test3")
{
int* p = 0x00000000; /* pointer to NULL */
BOOL bExcept1 = FALSE;
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test3/testinfo.dat
deleted file mode 100644
index ae6093b1dbea64..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test3/testinfo.dat
+++ /dev/null
@@ -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 = exception_handling
-Function = PAL_EXCEPT_FILTER_EX
-Name = Test for nested PAL_EXCEPT_FILTER_EX & EXCEPTION_CONTINUE_SEARCH
-Type = DEFAULT
-EXE1 = pal_except_filter
-LANG = cpp
-Description
-= Tests the PAL implementation of the PAL_EXCEPT_FILTER_EX. An
-= exception is forced and passed to two nested exception filters for
-= consideration. The first filter returns EXCEPTION_CONTINUE_SEARCH
-= so the second can run and return EXCEPTION_EXECUTE_HANDLER. The
-= initial exception handler should be skipped, and the second
-= executed
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test1/CMakeLists.txt
deleted file mode 100644
index 867b02876f4cb5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- PAL_TRY_EXCEPT.cpp
-)
-
-add_executable(paltest_pal_try_except_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_pal_try_except_test1 coreclrpal)
-
-target_link_libraries(paltest_pal_try_except_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test1/PAL_TRY_EXCEPT.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test1/PAL_TRY_EXCEPT.cpp
index eb2bbce1ee6e9a..a05fd5c8c98497 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test1/PAL_TRY_EXCEPT.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test1/PAL_TRY_EXCEPT.cpp
@@ -17,7 +17,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_PAL_TRY_EXCEPT_test1_paltest_pal_try_except_test1, "exception_handling/PAL_TRY_EXCEPT/test1/paltest_pal_try_except_test1")
{
int* p = 0x00000000; /* NULL pointer */
BOOL bTry = FALSE;
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test1/testinfo.dat
deleted file mode 100644
index 7108fe259f1b05..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test1/testinfo.dat
+++ /dev/null
@@ -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 = exception_handling
-Function = PAL_TRY and PAL_EXCEPT
-Name = Test for PAL_TRY and PAL_EXCEPT
-Type = DEFAULT
-EXE1 = pal_try_except
-LANG = cpp
-Description
-= Since these two are so closely connected, they are tested together.
-= In the PAL_TRY block, an access violation is forced to gain
-= access to the PAL_EXCEPT block. Booleans are used to ensure
-= each of the code blocks are hit.
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test2/CMakeLists.txt
deleted file mode 100644
index 81089fd479f4ff..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- PAL_TRY_EXCEPT.cpp
-)
-
-add_executable(paltest_pal_try_except_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_pal_try_except_test2 coreclrpal)
-
-target_link_libraries(paltest_pal_try_except_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test2/PAL_TRY_EXCEPT.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test2/PAL_TRY_EXCEPT.cpp
index baf4533bd8a046..b4bdd51bf53373 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test2/PAL_TRY_EXCEPT.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test2/PAL_TRY_EXCEPT.cpp
@@ -17,7 +17,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_PAL_TRY_EXCEPT_test2_paltest_pal_try_except_test2, "exception_handling/PAL_TRY_EXCEPT/test2/paltest_pal_try_except_test2")
{
BOOL bTry = FALSE;
BOOL bExcept = FALSE;
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test2/testinfo.dat
deleted file mode 100644
index 8ccdd101a194f8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test2/testinfo.dat
+++ /dev/null
@@ -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 = exception_handling
-Function = PAL_TRY and PAL_EXCEPT (test 2)
-Name = Test for PAL_TRY and PAL_EXCEPT
-Type = DEFAULT
-EXE1 = pal_try_except
-LANG = cpp
-Description
-= Since these two are so closely connected, they are tested together.
-= In this test, no exceptions are forced to ensure the EXCEPTION block
-= isn't hit. Booleans are used to ensure the proper code blocks are hit.
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/CMakeLists.txt
deleted file mode 100644
index d243b82668a350..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/CMakeLists.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test1/CMakeLists.txt
deleted file mode 100644
index 1969986fb7149f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- PAL_TRY_EXCEPT_EX.cpp
-)
-
-add_executable(paltest_pal_try_except_ex_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_pal_try_except_ex_test1 coreclrpal)
-
-target_link_libraries(paltest_pal_try_except_ex_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test1/PAL_TRY_EXCEPT_EX.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test1/PAL_TRY_EXCEPT_EX.cpp
index 2225f46aab6f5b..ed33957aea706e 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test1/PAL_TRY_EXCEPT_EX.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test1/PAL_TRY_EXCEPT_EX.cpp
@@ -17,7 +17,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_PAL_TRY_EXCEPT_EX_test1_paltest_pal_try_except_ex_test1, "exception_handling/PAL_TRY_EXCEPT_EX/test1/paltest_pal_try_except_ex_test1")
{
int* p = 0x00000000; /* NULL pointer */
BOOL bTry = FALSE;
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test1/testinfo.dat
deleted file mode 100644
index afb31350006fd2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test1/testinfo.dat
+++ /dev/null
@@ -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 = exception_handling
-Function = PAL_TRY and PAL_EXCEPT_EX
-Name = Test for PAL_TRY and PAL_EXCEPT_EX
-Type = DEFAULT
-EXE1 = pal_try_except_ex
-LANG = cpp
-Description
-= Since these two are so closely connected, they are tested together.
-= In the PAL_TRY block, an access violation is forced to gain
-= access to the PAL_EXCEPT block. Booleans are used to ensure
-= each of the code blocks are hit.
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test2/CMakeLists.txt
deleted file mode 100644
index 00a0985373aac3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- PAL_TRY_EXCEPT_EX.cpp
-)
-
-add_executable(paltest_pal_try_except_ex_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_pal_try_except_ex_test2 coreclrpal)
-
-target_link_libraries(paltest_pal_try_except_ex_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test2/PAL_TRY_EXCEPT_EX.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test2/PAL_TRY_EXCEPT_EX.cpp
index c56552d4b59c3d..4d06875f3371c9 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test2/PAL_TRY_EXCEPT_EX.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test2/PAL_TRY_EXCEPT_EX.cpp
@@ -17,7 +17,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_PAL_TRY_EXCEPT_EX_test2_paltest_pal_try_except_ex_test2, "exception_handling/PAL_TRY_EXCEPT_EX/test2/paltest_pal_try_except_ex_test2")
{
BOOL bTry = FALSE;
BOOL bExcept = FALSE;
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test2/testinfo.dat
deleted file mode 100644
index 79d5b8b2230478..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test2/testinfo.dat
+++ /dev/null
@@ -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 = exception_handling
-Function = PAL_TRY and PAL_EXCEPT_EX (test 2)
-Name = Test for PAL_TRY and PAL_EXCEPT_EX
-Type = DEFAULT
-EXE1 = pal_try_except_ex
-LANG = cpp
-Description
-= Since these two are so closely connected, they are tested together.
-= In this test, no exceptions are forced to ensure the EXCEPTION block
-= isn't hit. Booleans are used to ensure the proper code blocks are hit.
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test3/CMakeLists.txt
deleted file mode 100644
index d56169e8682f3b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- PAL_TRY_EXCEPT_EX.cpp
-)
-
-add_executable(paltest_pal_try_except_ex_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_pal_try_except_ex_test3 coreclrpal)
-
-target_link_libraries(paltest_pal_try_except_ex_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test3/PAL_TRY_EXCEPT_EX.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test3/PAL_TRY_EXCEPT_EX.cpp
index 7e4d97f11ec212..ccf5efabeb2e3b 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test3/PAL_TRY_EXCEPT_EX.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test3/PAL_TRY_EXCEPT_EX.cpp
@@ -17,7 +17,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_PAL_TRY_EXCEPT_EX_test3_paltest_pal_try_except_ex_test3, "exception_handling/PAL_TRY_EXCEPT_EX/test3/paltest_pal_try_except_ex_test3")
{
int* p = 0x00000000; /* NULL pointer */
BOOL bTry = FALSE;
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test3/testinfo.dat
deleted file mode 100644
index 99d74e1f43538e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test3/testinfo.dat
+++ /dev/null
@@ -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 = exception_handling
-Function = PAL_TRY and PAL_EXCEPT_EX (test3)
-Name = Test for PAL_TRY and PAL_EXCEPT_EX
-Type = DEFAULT
-EXE1 = pal_try_except_ex
-LANG = cpp
-Description
-= Since these two are so closely connected, they are tested together.
-= Only one of the PAL_TRY blocks will force and exception to ensure the
-= correct PAL_EXCEPT_EX block is hit. Booleans are used to ensure
-= the correct code blocks are hit.
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_LEAVE_FINALLY/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_LEAVE_FINALLY/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_LEAVE_FINALLY/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_LEAVE_FINALLY/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_LEAVE_FINALLY/test1/CMakeLists.txt
deleted file mode 100644
index 9a8175353d0c43..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_LEAVE_FINALLY/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- PAL_TRY_LEAVE_FINALLY.cpp
-)
-
-add_executable(paltest_pal_try_leave_finally_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_pal_try_leave_finally_test1 coreclrpal)
-
-target_link_libraries(paltest_pal_try_leave_finally_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_LEAVE_FINALLY/test1/PAL_TRY_LEAVE_FINALLY.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_LEAVE_FINALLY/test1/PAL_TRY_LEAVE_FINALLY.cpp
index b5de993e5b38e8..ed866aaa287254 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_LEAVE_FINALLY/test1/PAL_TRY_LEAVE_FINALLY.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_LEAVE_FINALLY/test1/PAL_TRY_LEAVE_FINALLY.cpp
@@ -16,7 +16,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_PAL_TRY_LEAVE_FINALLY_test1_paltest_pal_try_leave_finally_test1, "exception_handling/PAL_TRY_LEAVE_FINALLY/test1/paltest_pal_try_leave_finally_test1")
{
BOOL bTry = FALSE;
BOOL bFinally = FALSE;
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_LEAVE_FINALLY/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_LEAVE_FINALLY/test1/testinfo.dat
deleted file mode 100644
index 22e7f4fd50587e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/PAL_TRY_LEAVE_FINALLY/test1/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = PAL_TRY, PAL_LEAVE and PAL_FINALLY
-Name = Test for PAL_TRY, PAL_LEAVE and PAL_EXCEPT
-Type = DEFAULT
-EXE1 = pal_try_leave_finally
-LANG = cpp
-Description
-= Since these three are so closely connected, they are tested together.
-= The PAL_TRY block contains a PAL_LEAVE which kicks execution to
-= the PAL_FINALLY block. Booleans are used to ensure each of the
-= code blocks are properly hit.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/CMakeLists.txt
deleted file mode 100644
index d243b82668a350..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/CMakeLists.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test1/CMakeLists.txt
deleted file mode 100644
index f0c98f7e2b03a0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_raiseexception_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_raiseexception_test1 coreclrpal)
-
-target_link_libraries(paltest_raiseexception_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test1/test1.cpp
index 22ffbc0c030aad..81cfa59fb77379 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test1/test1.cpp
@@ -15,11 +15,11 @@
#include
-BOOL bExcept = FALSE;
-BOOL bTry = FALSE;
-BOOL bFinally = FALSE;
+BOOL bExcept_RaiseException_test1 = FALSE;
+BOOL bTry_RaiseException_test1 = FALSE;
+BOOL bFinally_RaiseException_test1 = FALSE;
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_RaiseException_test1_paltest_raiseexception_test1, "exception_handling/RaiseException/test1/paltest_raiseexception_test1")
{
if(0 != (PAL_Initialize(argc, argv)))
@@ -32,7 +32,7 @@ int __cdecl main(int argc, char *argv[])
*/
PAL_TRY(VOID*, unused, NULL)
{
- bTry = TRUE;
+ bTry_RaiseException_test1 = TRUE;
RaiseException(0,0,0,0);
Fail("RaiseException: ERROR -> code was executed after the "
@@ -40,42 +40,42 @@ int __cdecl main(int argc, char *argv[])
}
PAL_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
- bExcept = TRUE;
+ bExcept_RaiseException_test1 = TRUE;
}
PAL_ENDTRY;
- if (!bTry)
+ if (!bTry_RaiseException_test1)
{
Trace("RaiseException: ERROR -> It appears the code in the "
"PAL_TRY block was not executed.\n");
}
- if (!bExcept)
+ if (!bExcept_RaiseException_test1)
{
Trace("RaiseException: ERROR -> It appears the code in the "
"PAL_EXCEPT_FILTER_EX block was not executed.\n");
}
/* did we hit all the code blocks? */
- if(!bTry || !bExcept)
+ if(!bTry_RaiseException_test1 || !bExcept_RaiseException_test1)
{
Fail("");
}
/* Reinit flags */
- bTry = bExcept = FALSE;
+ bTry_RaiseException_test1 = bExcept_RaiseException_test1 = FALSE;
/*********************************************************
* Tests the behaviour of RaiseException with
* PAL_FINALLY
- * (bFinally should be set before bExcept)
+ * (bFinally_RaiseException_test1 should be set before bExcept_RaiseException_test1)
*/
PAL_TRY(VOID*, unused, NULL)
{
PAL_TRY(VOID*, unused, NULL)
{
- bTry = TRUE;
+ bTry_RaiseException_test1 = TRUE;
RaiseException(0,0,0,0);
Fail("RaiseException: ERROR -> code was executed after the "
@@ -83,43 +83,43 @@ int __cdecl main(int argc, char *argv[])
}
PAL_FINALLY
{
- bFinally = TRUE;
+ bFinally_RaiseException_test1 = TRUE;
}
PAL_ENDTRY;
}
PAL_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
- if( bFinally == FALSE )
+ if( bFinally_RaiseException_test1 == FALSE )
{
Fail("RaiseException: ERROR -> It appears the code in the "
"PAL_EXCEPT executed before the code in PAL_FINALLY.\n");
}
- bExcept = TRUE;
+ bExcept_RaiseException_test1 = TRUE;
}
PAL_ENDTRY;
- if (!bTry)
+ if (!bTry_RaiseException_test1)
{
Trace("RaiseException: ERROR -> It appears the code in the "
"PAL_TRY block was not executed.\n");
}
- if (!bExcept)
+ if (!bExcept_RaiseException_test1)
{
Trace("RaiseException: ERROR -> It appears the code in the "
"PAL_EXCEPT block was not executed.\n");
}
- if (!bFinally)
+ if (!bFinally_RaiseException_test1)
{
Trace("RaiseException: ERROR -> It appears the code in the "
"PAL_FINALLY block was not executed.\n");
}
/* did we hit all the code blocks? */
- if(!bTry || !bExcept || !bFinally)
+ if(!bTry_RaiseException_test1 || !bExcept_RaiseException_test1 || !bFinally_RaiseException_test1)
{
Fail("");
}
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test1/testinfo.dat
deleted file mode 100644
index 8dc343012a5934..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test1/testinfo.dat
+++ /dev/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 = exception_handling
-Function = RaiseException
-Name = RaiseException test #1
-TYPE = DEFAULT
-EXE1 = test1
-LANG = cpp
-Description
-=Tests that RaiseException throws a catchable exception
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test2/CMakeLists.txt
deleted file mode 100644
index 71968b965744b8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_raiseexception_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_raiseexception_test2 coreclrpal)
-
-target_link_libraries(paltest_raiseexception_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test2/test2.cpp
index e5a85fe6adc23c..e55a41bd596594 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test2/test2.cpp
@@ -17,15 +17,15 @@
#include
-BOOL bFilter;
-BOOL bTry;
-BOOL bExcept;
+BOOL bFilter_RaiseException_test2;
+BOOL bTry_RaiseException_test2;
+BOOL bExcept_RaiseException_test2;
-ULONG_PTR lpArguments_test1[EXCEPTION_MAXIMUM_PARAMETERS];
-DWORD nArguments_test1 = EXCEPTION_MAXIMUM_PARAMETERS;
+ULONG_PTR lpArguments_test1_RaiseException_test2[EXCEPTION_MAXIMUM_PARAMETERS];
+DWORD nArguments_test1_RaiseException_test2 = EXCEPTION_MAXIMUM_PARAMETERS;
-ULONG_PTR lpArguments_test2[EXCEPTION_MAXIMUM_PARAMETERS+1];
-DWORD nArguments_test2 = EXCEPTION_MAXIMUM_PARAMETERS+1;
+ULONG_PTR lpArguments_test2_RaiseException_test2[EXCEPTION_MAXIMUM_PARAMETERS+1];
+DWORD nArguments_test2_RaiseException_test2 = EXCEPTION_MAXIMUM_PARAMETERS+1;
/**
@@ -33,14 +33,14 @@ DWORD nArguments_test2 = EXCEPTION_MAXIMUM_PARAMETERS+1;
** Filter function that checks for the parameters
**
**/
-LONG Filter_test1(EXCEPTION_POINTERS* ep, VOID *unused)
+LONG Filter_test1_RaiseException_test2(EXCEPTION_POINTERS* ep, VOID *unused)
{
int i;
/* let the main know we've hit the filter function */
- bFilter = TRUE;
+ bFilter_RaiseException_test2 = TRUE;
- if (!bTry)
+ if (!bTry_RaiseException_test2)
{
Fail("PAL_EXCEPT_FILTER_EX: ERROR -> Something weird is going on."
" The filter was hit without PAL_TRY being hit.\n");
@@ -48,26 +48,26 @@ LONG Filter_test1(EXCEPTION_POINTERS* ep, VOID *unused)
/* was the correct number of arguments passed */
- if (ep->ExceptionRecord->NumberParameters != (DWORD) nArguments_test1)
+ if (ep->ExceptionRecord->NumberParameters != (DWORD) nArguments_test1_RaiseException_test2)
{
Fail("RaiseException: ERROR -> Number of arguments passed to filter"
" was %d when it should have been %d",
ep->ExceptionRecord->NumberParameters,
- nArguments_test1);
+ nArguments_test1_RaiseException_test2);
}
/* were the correct arguments passed */
- for( i=0; ((DWORD)i)ExceptionRecord->ExceptionInformation[i]
- != lpArguments_test1[i])
+ != lpArguments_test1_RaiseException_test2[i])
{
Fail("RaiseException: ERROR -> Argument %d passed to filter"
" was %d when it should have been %d",
i,
ep->ExceptionRecord->ExceptionInformation[i],
- lpArguments_test1[i]);
+ lpArguments_test1_RaiseException_test2[i]);
}
}
@@ -79,10 +79,10 @@ LONG Filter_test1(EXCEPTION_POINTERS* ep, VOID *unused)
** Filter function that checks for the maximum parameters
**
**/
-LONG Filter_test2(EXCEPTION_POINTERS* ep, VOID* unused)
+LONG Filter_test2_RaiseException_test2(EXCEPTION_POINTERS* ep, VOID* unused)
{
/* let the main know we've hit the filter function */
- bFilter = TRUE;
+ bFilter_RaiseException_test2 = TRUE;
if (ep->ExceptionRecord->NumberParameters > EXCEPTION_MAXIMUM_PARAMETERS)
{
@@ -95,9 +95,9 @@ LONG Filter_test2(EXCEPTION_POINTERS* ep, VOID* unused)
return EXCEPTION_EXECUTE_HANDLER;
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_RaiseException_test2_paltest_raiseexception_test2, "exception_handling/RaiseException/test2/paltest_raiseexception_test2")
{
- bExcept = FALSE;
+ bExcept_RaiseException_test2 = FALSE;
if (0 != PAL_Initialize(argc, argv))
{
@@ -110,57 +110,57 @@ int __cdecl main(int argc, char *argv[])
*/
PAL_TRY(VOID*, unused, NULL)
{
- bTry = TRUE; /* indicate we hit the PAL_TRY block */
+ bTry_RaiseException_test2 = TRUE; /* indicate we hit the PAL_TRY block */
/* Initialize arguments to pass to filter */
- for(int i = 0; ((DWORD)i) < nArguments_test1; i++ )
+ for(int i = 0; ((DWORD)i) < nArguments_test1_RaiseException_test2; i++ )
{
- lpArguments_test1[i] = i;
+ lpArguments_test1_RaiseException_test2[i] = i;
}
- RaiseException(0,0,nArguments_test1,lpArguments_test1);
+ RaiseException(0,0,nArguments_test1_RaiseException_test2,lpArguments_test1_RaiseException_test2);
Fail("RaiseException: ERROR -> code was executed after the "
"exception was raised.\n");
}
- PAL_EXCEPT_FILTER(Filter_test1)
+ PAL_EXCEPT_FILTER(Filter_test1_RaiseException_test2)
{
- if (!bTry)
+ if (!bTry_RaiseException_test2)
{
Fail("RaiseException: ERROR -> Something weird is going on."
" PAL_EXCEPT_FILTER was hit without PAL_TRY being hit.\n");
}
- bExcept = TRUE; /* indicate we hit the PAL_EXCEPT_FILTER_EX block */
+ bExcept_RaiseException_test2 = TRUE; /* indicate we hit the PAL_EXCEPT_FILTER_EX block */
}
PAL_ENDTRY;
- if (!bTry)
+ if (!bTry_RaiseException_test2)
{
Trace("RaiseException: ERROR -> It appears the code in the "
"PAL_TRY block was not executed.\n");
}
- if (!bExcept)
+ if (!bExcept_RaiseException_test2)
{
Trace("RaiseException: ERROR -> It appears the code in the "
"PAL_EXCEPT_FILTER_EX block was not executed.\n");
}
- if (!bFilter)
+ if (!bFilter_RaiseException_test2)
{
Trace("RaiseException: ERROR -> It appears the code in the"
" filter function was not executed.\n");
}
/* did we hit all the code blocks? */
- if(!bTry || !bExcept || !bFilter)
+ if(!bTry_RaiseException_test2 || !bExcept_RaiseException_test2 || !bFilter_RaiseException_test2)
{
Fail("");
}
/* Reinit flags */
- bTry = bExcept = bFilter = FALSE;
+ bTry_RaiseException_test2 = bExcept_RaiseException_test2 = bFilter_RaiseException_test2 = FALSE;
/********************************************************
* Test that the number of arguments never
@@ -169,50 +169,50 @@ int __cdecl main(int argc, char *argv[])
*/
PAL_TRY(VOID*, unused, NULL)
{
- bTry = TRUE; /* indicate we hit the PAL_TRY block */
+ bTry_RaiseException_test2 = TRUE; /* indicate we hit the PAL_TRY block */
/* Initialize arguments to pass to filter */
- for(int i = 0; ((DWORD)i) < nArguments_test2; i++ )
+ for(int i = 0; ((DWORD)i) < nArguments_test2_RaiseException_test2; i++ )
{
- lpArguments_test2[i] = i;
+ lpArguments_test2_RaiseException_test2[i] = i;
}
- RaiseException(0,0,nArguments_test2,lpArguments_test2);
+ RaiseException(0,0,nArguments_test2_RaiseException_test2,lpArguments_test2_RaiseException_test2);
Fail("RaiseException: ERROR -> code was executed after the "
"exception was raised.\n");
}
- PAL_EXCEPT_FILTER(Filter_test2)
+ PAL_EXCEPT_FILTER(Filter_test2_RaiseException_test2)
{
- if (!bTry)
+ if (!bTry_RaiseException_test2)
{
Fail("RaiseException: ERROR -> Something weird is going on."
" PAL_EXCEPT_FILTER was hit without PAL_TRY being hit.\n");
}
- bExcept = TRUE; /* indicate we hit the PAL_EXCEPT_FILTER_EX block */
+ bExcept_RaiseException_test2 = TRUE; /* indicate we hit the PAL_EXCEPT_FILTER_EX block */
}
PAL_ENDTRY;
- if (!bTry)
+ if (!bTry_RaiseException_test2)
{
Trace("RaiseException: ERROR -> It appears the code in the "
"PAL_TRY block was not executed.\n");
}
- if (!bExcept)
+ if (!bExcept_RaiseException_test2)
{
Trace("RaiseException: ERROR -> It appears the code in the "
"PAL_EXCEPT_FILTER_EX block was not executed.\n");
}
- if (!bFilter)
+ if (!bFilter_RaiseException_test2)
{
Trace("RaiseException: ERROR -> It appears the code in the"
" filter function was not executed.\n");
}
/* did we hit all the code blocks? */
- if(!bTry || !bExcept || !bFilter)
+ if(!bTry_RaiseException_test2 || !bExcept_RaiseException_test2 || !bFilter_RaiseException_test2)
{
Fail("");
}
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test2/testinfo.dat
deleted file mode 100644
index 8d59d41a2bae8f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test2/testinfo.dat
+++ /dev/null
@@ -1,27 +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 = exception_handling
-
-Function = RaiseException
-
-Name = RaiseException test #2
-
-TYPE = DEFAULT
-
-EXE1 = test2
-LANG = cpp
-
-Description
-
-=Tests that the correct arguments are passed
-
-=to the filter by RaiseException and tests that
-
-=the number of arguments never exceeds
-
-=EXCEPTION_MAXIMUM_PARAMETERS, even though we
-
-=pass a greater number of arguments
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test3/CMakeLists.txt
deleted file mode 100644
index 72b79365b03195..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test.cpp
-)
-
-add_executable(paltest_raiseexception_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_raiseexception_test3 coreclrpal)
-
-target_link_libraries(paltest_raiseexception_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test3/test.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test3/test.cpp
index 47199b55fa2f29..d0f98e3f5c3ad1 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test3/test.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test3/test.cpp
@@ -14,21 +14,21 @@
#include
-BOOL bFilter = FALSE;
-BOOL bTry = FALSE;
-BOOL bExcept = FALSE;
+BOOL bFilter_RaiseException_test3 = FALSE;
+BOOL bTry_RaiseException_test3 = FALSE;
+BOOL bExcept_RaiseException_test3 = FALSE;
/**
**
** Filter function that checks for the parameters
**
**/
-LONG Filter_test1(EXCEPTION_POINTERS* ep, VOID* unused)
+LONG Filter_test1_RaiseException_test3(EXCEPTION_POINTERS* ep, VOID* unused)
{
/* let the main know we've hit the filter function */
- bFilter = TRUE;
+ bFilter_RaiseException_test3 = TRUE;
- if (!bTry)
+ if (!bTry_RaiseException_test3)
{
Fail("PAL_EXCEPT_FILTER_EX: ERROR -> Something weird is going on."
" The filter was hit without PAL_TRY being hit.\n");
@@ -48,9 +48,9 @@ LONG Filter_test1(EXCEPTION_POINTERS* ep, VOID* unused)
return EXCEPTION_EXECUTE_HANDLER;
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_RaiseException_test3_paltest_raiseexception_test3, "exception_handling/RaiseException/test3/paltest_raiseexception_test3")
{
- bExcept = FALSE;
+ bExcept_RaiseException_test3 = FALSE;
if (0 != PAL_Initialize(argc, argv))
{
@@ -63,7 +63,7 @@ int __cdecl main(int argc, char *argv[])
*/
PAL_TRY(VOID*, unused, NULL)
{
- bTry = TRUE; /* indicate we hit the PAL_TRY block */
+ bTry_RaiseException_test3 = TRUE; /* indicate we hit the PAL_TRY block */
RaiseException(EXCEPTION_ARRAY_BOUNDS_EXCEEDED,
0,
@@ -72,37 +72,37 @@ int __cdecl main(int argc, char *argv[])
Fail("RaiseException: ERROR -> code was executed after the "
"exception was raised.\n");
}
- PAL_EXCEPT_FILTER(Filter_test1)
+ PAL_EXCEPT_FILTER(Filter_test1_RaiseException_test3)
{
- if (!bTry)
+ if (!bTry_RaiseException_test3)
{
Fail("RaiseException: ERROR -> Something weird is going on."
" PAL_EXCEPT_FILTER was hit without PAL_TRY being hit.\n");
}
- bExcept = TRUE; /* indicate we hit the PAL_EXCEPT_FILTER_EX block */
+ bExcept_RaiseException_test3 = TRUE; /* indicate we hit the PAL_EXCEPT_FILTER_EX block */
}
PAL_ENDTRY;
- if (!bTry)
+ if (!bTry_RaiseException_test3)
{
Trace("RaiseException: ERROR -> It appears the code in the "
"PAL_TRY block was not executed.\n");
}
- if (!bExcept)
+ if (!bExcept_RaiseException_test3)
{
Trace("RaiseException: ERROR -> It appears the code in the "
"PAL_EXCEPT_FILTER_EX block was not executed.\n");
}
- if (!bFilter)
+ if (!bFilter_RaiseException_test3)
{
Trace("RaiseException: ERROR -> It appears the code in the"
" filter function was not executed.\n");
}
/* did we hit all the code blocks? */
- if(!bTry || !bExcept || !bFilter)
+ if(!bTry_RaiseException_test3 || !bExcept_RaiseException_test3 || !bFilter_RaiseException_test3)
{
Fail("");
}
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test3/testinfo.dat
deleted file mode 100644
index fe650592402bef..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/RaiseException/test3/testinfo.dat
+++ /dev/null
@@ -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 = exception_handling
-Function = RaiseException
-Name = RaiseException test #3
-TYPE = DEFAULT
-EXE1 = test
-LANG = cpp
-Description
-= Tests that the exception code passed to
-= RaiseException makes it to the filter.
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/CMakeLists.txt
deleted file mode 100644
index 7cd88f8e86daf2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/CMakeLists.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-add_subdirectory(test4)
-add_subdirectory(test5)
-add_subdirectory(test6)
-add_subdirectory(test7)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test1/CMakeLists.txt
deleted file mode 100644
index d0d8476bc79d79..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_pal_except_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_pal_except_test1 coreclrpal)
-
-target_link_libraries(paltest_pal_except_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test1/test1.cpp
index 809c9bba5bdace..35632612d5040b 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test1/test1.cpp
@@ -13,10 +13,10 @@
#include
/* Execution flags */
-BOOL bTry = FALSE;
-BOOL bExcept = FALSE;
+BOOL bTry_pal_except_test1 = FALSE;
+BOOL bExcept_pal_except_test1 = FALSE;
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_pal_except_test1_paltest_pal_except_test1, "exception_handling/pal_except/test1/paltest_pal_except_test1")
{
if (0 != PAL_Initialize(argc, argv))
{
@@ -27,34 +27,34 @@ int __cdecl main(int argc, char *argv[])
{
int* p = 0x00000000; /* NULL pointer */
- bTry = TRUE; /* indicate we hit the PAL_TRY block */
+ bTry_pal_except_test1 = TRUE; /* indicate we hit the PAL_TRY block */
*p = 13; /* causes an access violation exception */
Fail("ERROR: code was executed after the access violation.\n");
}
PAL_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
- if (!bTry)
+ if (!bTry_pal_except_test1)
{
Fail("ERROR: PAL_EXCEPT was hit without PAL_TRY being hit.\n");
}
- bExcept = TRUE; /* indicate we hit the PAL_EXCEPT block */
+ bExcept_pal_except_test1 = TRUE; /* indicate we hit the PAL_EXCEPT block */
}
PAL_ENDTRY;
- if (!bTry)
+ if (!bTry_pal_except_test1)
{
Trace("ERROR: the code in the PAL_TRY block was not executed.\n");
}
- if (!bExcept)
+ if (!bExcept_pal_except_test1)
{
Trace("ERROR: the code in the PAL_EXCEPT block was not executed.\n");
}
/* did we hit all the code blocks? */
- if(!bTry || !bExcept)
+ if(!bTry_pal_except_test1 || !bExcept_pal_except_test1)
{
Fail("");
}
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test1/testinfo.dat
deleted file mode 100644
index 5c2a4849ebdb62..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test1/testinfo.dat
+++ /dev/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 = exception_handling
-
-Function = PAL_TRY and PAL_EXCEPT
-
-Name = Test for PAL_TRY and PAL_EXCEPT
-
-Type = DEFAULT
-
-EXE1 = test1
-
-LANG = cpp
-
-Description
-
-= Test to make sure the PAL_EXCEPT block is executed
-
-= after an exception occurs in the PAL_TRY block
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test2/CMakeLists.txt
deleted file mode 100644
index 908b485b2ec720..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_pal_except_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_pal_except_test2 coreclrpal)
-
-target_link_libraries(paltest_pal_except_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test2/test2.cpp
index 68238c4e1e9e0a..3724f8fecf9ce8 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test2/test2.cpp
@@ -14,12 +14,12 @@
#include
/* Execution flags */
-BOOL bTry = FALSE;
-BOOL bExcept = FALSE;
-BOOL bTry_nested = FALSE;
-BOOL bExcept_nested = FALSE;
+BOOL bTry_pal_except_test2 = FALSE;
+BOOL bExcept_pal_except_test2 = FALSE;
+BOOL bTry_nested_pal_except_test2 = FALSE;
+BOOL bExcept_nested_pal_except_test2 = FALSE;
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_pal_except_test2_paltest_pal_except_test2, "exception_handling/pal_except/test2/paltest_pal_except_test2")
{
if (0 != PAL_Initialize(argc, argv))
{
@@ -30,13 +30,13 @@ int __cdecl main(int argc, char *argv[])
{
int* p = 0x00000000; /* NULL pointer */
- bTry = TRUE; /* indicate we hit the PAL_TRY block */
+ bTry_pal_except_test2 = TRUE; /* indicate we hit the PAL_TRY block */
/* Nested PAL_TRY */
PAL_TRY
{
- bTry_nested = TRUE;
+ bTry_nested_pal_except_test2 = TRUE;
*p = 13; /* causes an access violation exception */
@@ -45,12 +45,12 @@ int __cdecl main(int argc, char *argv[])
}
PAL_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
- if (!bTry)
+ if (!bTry_pal_except_test2)
{
Fail("ERROR: Nested PAL_EXCEPT was hit without "
"nested PAL_TRY being hit.\n");
}
- bExcept_nested = TRUE;
+ bExcept_nested_pal_except_test2 = TRUE;
}
PAL_ENDTRY;
@@ -60,45 +60,45 @@ int __cdecl main(int argc, char *argv[])
}
PAL_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
- if (!bTry)
+ if (!bTry_pal_except_test2)
{
Fail("ERROR: PAL_EXCEPT was hit without PAL_TRY being hit.\n");
}
- if (!bExcept_nested)
+ if (!bExcept_nested_pal_except_test2)
{
Fail("ERROR: PAL_EXCEPT was hit without "
"nested PAL_EXCEPT being hit.\n");
}
- bExcept = TRUE; /* indicate we hit the PAL_EXCEPT block */
+ bExcept_pal_except_test2 = TRUE; /* indicate we hit the PAL_EXCEPT block */
}
PAL_ENDTRY;
- if (!bTry)
+ if (!bTry_pal_except_test2)
{
Trace("ERROR: the code in the PAL_TRY block was not executed.\n");
}
- if (!bExcept)
+ if (!bExcept_pal_except_test2)
{
Trace("ERROR: the code in the PAL_EXCEPT block was not executed.\n");
}
- if (!bTry_nested)
+ if (!bTry_nested_pal_except_test2)
{
Trace("ERROR: the code in the "
"nested PAL_TRY block was not executed.\n");
}
- if (!bExcept_nested)
+ if (!bExcept_nested_pal_except_test2)
{
Trace("ERROR: the code in the "
"nested PAL_EXCEPT block was not executed.\n");
}
/* did we hit all the code blocks? */
- if(!bTry || !bExcept ||
- !bTry_nested || !bExcept_nested)
+ if(!bTry_pal_except_test2 || !bExcept_pal_except_test2 ||
+ !bTry_nested_pal_except_test2 || !bExcept_nested_pal_except_test2)
{
Fail("");
}
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test2/testinfo.dat
deleted file mode 100644
index 6aa28db3527dad..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test2/testinfo.dat
+++ /dev/null
@@ -1,24 +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 = exception_handling
-
-Function = PAL_TRY and PAL_EXCEPT_EX
-
-Name = Test for PAL_TRY and PAL_EXCEPT_EX
-
-Type = DEFAULT
-
-EXE1 = test2
-
-LANG = cpp
-
-Description
-
-= Test to make sure the PAL_EXCEPT_EX block is executed
-
-= after an exception occurs in the PAL_TRY block
-
-= that contains another PAL_TRY-PAL_EXCEPT_EX block
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test3/CMakeLists.txt
deleted file mode 100644
index c3ab839764913f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_pal_except_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_pal_except_test3 coreclrpal)
-
-target_link_libraries(paltest_pal_except_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test3/test3.cpp
index 0e6b2641d14b82..926af9b92a7ae4 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test3/test3.cpp
@@ -15,10 +15,10 @@
#include
/* Execution flags */
-BOOL bTry = FALSE;
-BOOL bExcept = FALSE;
-BOOL bTry_function = FALSE;
-BOOL bExcept_function = FALSE;
+BOOL bTry_pal_except_test3 = FALSE;
+BOOL bExcept_pal_except_test3 = FALSE;
+BOOL bTry_function_pal_except_test3 = FALSE;
+BOOL bExcept_function_pal_except_test3 = FALSE;
/*
* Helper function that contains a PAL_TRY-PAL_EXCEPT block
@@ -30,7 +30,7 @@ void Helper()
{
int *lp = 0x00000000;
- bTry_function = TRUE;
+ bTry_function_pal_except_test3 = TRUE;
*lp = 13; /* causes an access violation exception */
@@ -39,17 +39,17 @@ void Helper()
}
PAL_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
- if (!bTry)
+ if (!bTry_pal_except_test3)
{
Fail("ERROR: Nested PAL_EXCEPT was hit without "
"the function's PAL_TRY being hit.\n");
}
- bExcept_function = TRUE;
+ bExcept_function_pal_except_test3 = TRUE;
}
PAL_ENDTRY;
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_pal_except_test3_paltest_pal_except_test3, "exception_handling/pal_except/test3/paltest_pal_except_test3")
{
if (0 != PAL_Initialize(argc, argv))
{
@@ -60,7 +60,7 @@ int __cdecl main(int argc, char *argv[])
{
int* p = 0x00000000; /* NULL pointer */
- bTry = TRUE; /* indicate we hit the PAL_TRY block */
+ bTry_pal_except_test3 = TRUE; /* indicate we hit the PAL_TRY block */
Helper();
@@ -70,45 +70,45 @@ int __cdecl main(int argc, char *argv[])
}
PAL_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
- if (!bTry)
+ if (!bTry_pal_except_test3)
{
Fail("ERROR: PAL_EXCEPT was hit without PAL_TRY being hit.\n");
}
- if (!bExcept_function)
+ if (!bExcept_function_pal_except_test3)
{
Fail("ERROR: PAL_EXCEPT was hit without "
"function's PAL_EXCEPT being hit.\n");
}
- bExcept = TRUE; /* indicate we hit the PAL_EXCEPT block */
+ bExcept_pal_except_test3 = TRUE; /* indicate we hit the PAL_EXCEPT block */
}
PAL_ENDTRY;
- if (!bTry)
+ if (!bTry_pal_except_test3)
{
Trace("ERROR: the code in the PAL_TRY block was not executed.\n");
}
- if (!bExcept)
+ if (!bExcept_pal_except_test3)
{
Trace("ERROR: the code in the PAL_EXCEPT block was not executed.\n");
}
- if (!bTry_function)
+ if (!bTry_function_pal_except_test3)
{
Trace("ERROR: the code in the "
"function's PAL_TRY block was not executed.\n");
}
- if (!bExcept_function)
+ if (!bExcept_function_pal_except_test3)
{
Trace("ERROR: the code in the "
"function's PAL_EXCEPT block was not executed.\n");
}
/* did we hit all the code blocks? */
- if(!bTry || !bExcept ||
- !bTry_function || !bExcept_function)
+ if(!bTry_pal_except_test3 || !bExcept_pal_except_test3 ||
+ !bTry_function_pal_except_test3 || !bExcept_function_pal_except_test3)
{
Fail("");
}
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test3/testinfo.dat
deleted file mode 100644
index 348940e6a27fdc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test3/testinfo.dat
+++ /dev/null
@@ -1,26 +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 = exception_handling
-
-Function = PAL_TRY and PAL_EXCEPT
-
-Name = Test for PAL_TRY and PAL_EXCEPT
-
-Type = DEFAULT
-
-EXE1 = test3
-
-LANG = cpp
-
-Description
-
-= Test to make sure the PAL_EXCEPT block is executed
-
-= after an exception occurs in the PAL_TRY block
-
-= that calls a function that contains
-
-= another PAL_TRY-PAL_EXCEPT block
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test4/CMakeLists.txt
deleted file mode 100644
index 493845cdbc8e4a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_pal_except_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_pal_except_test4 coreclrpal)
-
-target_link_libraries(paltest_pal_except_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test4/test4.cpp
index 386f50243898eb..ba2151a61cbba9 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test4/test4.cpp
@@ -15,12 +15,12 @@
#include
/* Execution flags */
-BOOL bTry = FALSE;
-BOOL bExcept = FALSE;
-BOOL bTry_nested = FALSE;
-BOOL bExcept_nested = FALSE;
+BOOL bTry_palexcept_test4 = FALSE;
+BOOL bExcept_palexcept_test4 = FALSE;
+BOOL bTry_nested_palexcept_test4 = FALSE;
+BOOL bExcept_nested_palexcept_test4 = FALSE;
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_pal_except_test4_paltest_pal_except_test4, "exception_handling/pal_except/test4/paltest_pal_except_test4")
{
if (0 != PAL_Initialize(argc, argv))
{
@@ -31,14 +31,14 @@ int __cdecl main(int argc, char *argv[])
{
int* p = 0x00000000; /* NULL pointer */
- bTry = TRUE; /* indicate we hit the PAL_TRY block */
+ bTry_palexcept_test4 = TRUE; /* indicate we hit the PAL_TRY block */
*p = 13; /* causes an access violation exception */
Fail("ERROR: code was executed after the access violation.\n");
}
PAL_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
- if (!bTry)
+ if (!bTry_palexcept_test4)
{
Fail("ERROR: PAL_EXCEPT was hit without PAL_TRY being hit.\n");
}
@@ -47,7 +47,7 @@ int __cdecl main(int argc, char *argv[])
{
int *lp = 0x00000000;
- bTry_nested = TRUE;
+ bTry_nested_palexcept_test4 = TRUE;
*lp = 13; /* causes an access violation exception */
Fail("ERROR: code was executed after the "
@@ -55,44 +55,44 @@ int __cdecl main(int argc, char *argv[])
}
PAL_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
- if (!bTry_nested)
+ if (!bTry_nested_palexcept_test4)
{
Fail("ERROR: PAL_EXCEPT was hit without PAL_TRY being hit "
"in the nested block.\n");
}
- bExcept_nested = TRUE;
+ bExcept_nested_palexcept_test4 = TRUE;
}
PAL_ENDTRY;
- bExcept = TRUE; /* indicate we hit the PAL_EXCEPT block */
+ bExcept_palexcept_test4 = TRUE; /* indicate we hit the PAL_EXCEPT block */
}
PAL_ENDTRY;
- if (!bTry)
+ if (!bTry_palexcept_test4)
{
Trace("ERROR: the code in the PAL_TRY block was not executed.\n");
}
- if (!bExcept)
+ if (!bExcept_palexcept_test4)
{
Trace("ERROR: the code in the PAL_EXCEPT block was not executed.\n");
}
- if (!bTry_nested)
+ if (!bTry_nested_palexcept_test4)
{
Trace("ERROR: the code in the nested "
"PAL_TRY block was not executed.\n");
}
- if (!bExcept_nested)
+ if (!bExcept_nested_palexcept_test4)
{
Trace("ERROR: the code in the nested "
"PAL_EXCEPT block was not executed.\n");
}
/* did we hit all the code blocks? */
- if(!bTry || !bExcept ||
- !bTry_nested || !bExcept_nested)
+ if(!bTry_palexcept_test4 || !bExcept_palexcept_test4 ||
+ !bTry_nested_palexcept_test4 || !bExcept_nested_palexcept_test4)
{
Fail("");
}
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test4/testinfo.dat
deleted file mode 100644
index 3f761bc2487ffa..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test4/testinfo.dat
+++ /dev/null
@@ -1,26 +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 = exception_handling
-
-Function = PAL_TRY and PAL_EXCEPT
-
-Name = Test for PAL_TRY and PAL_EXCEPT
-
-Type = DEFAULT
-
-EXE1 = test4
-
-LANG = cpp
-
-Description
-
-= Test to make sure the PAL_EXCEPT block is executed
-
-= after an exception occurs in the PAL_TRY block
-
-= if the PAL_EXCEPT block contains a nested
-
-= PAL_TRY-PAL_EXCEPT block
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test5/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test5/CMakeLists.txt
deleted file mode 100644
index 5b6b8dc3f4b333..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test5/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test5.cpp
-)
-
-add_executable(paltest_pal_except_test5
- ${SOURCES}
-)
-
-add_dependencies(paltest_pal_except_test5 coreclrpal)
-
-target_link_libraries(paltest_pal_except_test5
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test5/test5.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test5/test5.cpp
index 97ee1d8d2810e1..4872226f3ea7ad 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test5/test5.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test5/test5.cpp
@@ -20,7 +20,7 @@ BOOL bExcept = FALSE;
BOOL bTry_nested = FALSE;
BOOL bExcept_nested = FALSE;
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_pal_except_test5_paltest_pal_except_test5, "exception_handling/pal_except/test5/paltest_pal_except_test5")
{
if (0 != PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test5/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test5/testinfo.dat
deleted file mode 100644
index 9ff2fbfb8b02f2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test5/testinfo.dat
+++ /dev/null
@@ -1,26 +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 = exception_handling
-
-Function = PAL_TRY and PAL_EXCEPT
-
-Name = Test for PAL_TRY and PAL_EXCEPT
-
-Type = DEFAULT
-
-EXE1 = test5
-
-LANG = cpp
-
-Description
-
-= Test to make sure the PAL_EXCEPT block is executed
-
-= after an exception occurs in the PAL_TRY block
-
-= if the PAL_EXCEPT block calls a function that contains
-
-= another PAL_TRY-PAL_EXCEPT block
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test6/CMakeLists.txt
deleted file mode 100644
index e74367388c77ab..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test6.cpp
-)
-
-add_executable(paltest_pal_except_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_pal_except_test6 coreclrpal)
-
-target_link_libraries(paltest_pal_except_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test6/test6.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test6/test6.cpp
index c3fc8547690fba..89c360d7e858a4 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test6/test6.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test6/test6.cpp
@@ -22,7 +22,7 @@ BOOL bTry_nested2 = FALSE;
BOOL bExcept_nested2 = FALSE;
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_pal_except_test6_paltest_pal_except_test6, "exception_handling/pal_except/test6/paltest_pal_except_test6")
{
if (0 != PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test6/testinfo.dat
deleted file mode 100644
index 5d6006cef6d87f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test6/testinfo.dat
+++ /dev/null
@@ -1,24 +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 = exception_handling
-
-Function = PAL_TRY and PAL_EXCEPT_EX
-
-Name = Test for PAL_TRY and PAL_EXCEPT_EX
-
-Type = DEFAULT
-
-EXE1 = test6
-
-LANG = cpp
-
-Description
-
-= Test to make sure the PAL_EXCEPT_EX block is executed
-
-= after an exception occurs in the PAL_TRY block
-
-= that contains multiple PAL_TRY-PAL_EXCEPT_EX blocks
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test7/CMakeLists.txt
deleted file mode 100644
index 40ffaeafd6a7ae..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test7.cpp
-)
-
-add_executable(paltest_pal_except_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_pal_except_test7 coreclrpal)
-
-target_link_libraries(paltest_pal_except_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test7/test7.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test7/test7.cpp
index cc43f4ee2a0ae8..b1c90af044e478 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test7/test7.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test7/test7.cpp
@@ -17,7 +17,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_pal_except_test7_paltest_pal_except_test7, "exception_handling/pal_except/test7/paltest_pal_except_test7")
{
BOOL bTry = FALSE;
BOOL bExcept = FALSE;
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test7/testinfo.dat
deleted file mode 100644
index 97cdfa4ba75f73..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_except/test7/testinfo.dat
+++ /dev/null
@@ -1,23 +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 = exception_handling
-
-Function = PAL_TRY and PAL_EXCEPT
-
-Name = Test for PAL_TRY and PAL_EXCEPT
-
-Type = DEFAULT
-
-EXE1 = test7
-
-LANG = cpp
-
-Description
-
-= In this test, no exceptions are forced to ensure the EXCEPTION block
-
-= isn't hit.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_finally/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_finally/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_finally/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_finally/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_finally/test1/CMakeLists.txt
deleted file mode 100644
index db29fcab1854ba..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_finally/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- pal_finally.cpp
-)
-
-add_executable(paltest_pal_finally_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_pal_finally_test1 coreclrpal)
-
-target_link_libraries(paltest_pal_finally_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_finally/test1/pal_finally.cpp b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_finally/test1/pal_finally.cpp
index 423355b2d68db4..2a23e4ed3c30ae 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_finally/test1/pal_finally.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_finally/test1/pal_finally.cpp
@@ -152,7 +152,7 @@ void NestedFunc2 (void)
PAL_ENDTRY ;
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(exception_handling_pal_finally_test1_paltest_pal_finally_test1, "exception_handling/pal_finally/test1/paltest_pal_finally_test1")
{
if (0 != PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_finally/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_finally/test1/testinfo.dat
deleted file mode 100644
index 66626c2039eda9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_finally/test1/testinfo.dat
+++ /dev/null
@@ -1,18 +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 = exception_handling
-Function = PAL_FINALLY
-Name = Test for nested PAL_FINALLY
-Type = DEFAULT
-EXE1 = pal_finally
-LANG = cpp
-Description
-= Tests the PAL implementation of the PAL_FINALLY in the presence
-= of a call stack. An exception is forced and passed to two nested
-= exception filters for consideration. The first filter returns
-= EXCEPTION_CONTINUE_SEARCH so the second can run and return
-= EXCEPTION_EXECUTE_HANDLER. The initial exception handler should
-= be skipped, and the second executed, and all the PAL_FINALLY
-= blocks handled.
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_sxs/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_sxs/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_sxs/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_sxs/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_sxs/test1/CMakeLists.txt
index d0105b67973667..aec809d3fbc70e 100644
--- a/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_sxs/test1/CMakeLists.txt
+++ b/src/coreclr/src/pal/tests/palsuite/exception_handling/pal_sxs/test1/CMakeLists.txt
@@ -23,7 +23,7 @@ if(CLR_CMAKE_HOST_UNIX)
endif(CLR_CMAKE_HOST_UNIX)
set(DLL1SOURCES dlltest1.cpp)
-add_library(paltest_pal_sxs_test1_dll1 SHARED ${DLL1SOURCES})
+_add_library(paltest_pal_sxs_test1_dll1 SHARED ${DLL1SOURCES})
add_custom_target(dlltest1_exports DEPENDS ${EXPORTS_FILE1})
set_property(TARGET paltest_pal_sxs_test1_dll1 APPEND_STRING PROPERTY LINK_FLAGS ${EXPORTS_LINKER_OPTION1})
set_property(TARGET paltest_pal_sxs_test1_dll1 APPEND_STRING PROPERTY LINK_DEPENDS ${EXPORTS_FILE1})
@@ -55,7 +55,7 @@ if(CLR_CMAKE_TARGET_OSX)
endif(CLR_CMAKE_TARGET_OSX)
set(DLL2SOURCES dlltest2.cpp)
-add_library(paltest_pal_sxs_test1_dll2 SHARED ${DLL2SOURCES})
+_add_library(paltest_pal_sxs_test1_dll2 SHARED ${DLL2SOURCES})
add_custom_target(dlltest2_exports DEPENDS ${EXPORTS_FILE2})
set_property(TARGET paltest_pal_sxs_test1_dll2 APPEND_STRING PROPERTY LINK_FLAGS ${EXPORTS_LINKER_OPTION2})
set_property(TARGET paltest_pal_sxs_test1_dll2 APPEND_STRING PROPERTY LINK_DEPENDS ${EXPORTS_FILE2})
@@ -72,7 +72,7 @@ target_link_libraries(paltest_pal_sxs_test1_dll2
set(TESTSOURCES exceptionsxs.cpp)
-add_executable(paltest_pal_sxs_test1 ${TESTSOURCES})
+_add_executable(paltest_pal_sxs_test1 ${TESTSOURCES})
add_dependencies(paltest_pal_sxs_test1
paltest_pal_sxs_test1_dll1
@@ -83,3 +83,7 @@ target_link_libraries(paltest_pal_sxs_test1
paltest_pal_sxs_test1_dll1
paltest_pal_sxs_test1_dll2
)
+
+_install (TARGETS paltest_pal_sxs_test1 DESTINATION paltests/exception_handling/pal_sxs/test1)
+_install (TARGETS paltest_pal_sxs_test1_dll1 DESTINATION paltests/exception_handling/pal_sxs/test1)
+_install (TARGETS paltest_pal_sxs_test1_dll2 DESTINATION paltests/exception_handling/pal_sxs/test1)
\ No newline at end of file
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/CMakeLists.txt
deleted file mode 100644
index b9b0052cdc0f6b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CMakeLists.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-add_subdirectory(CopyFileA)
-add_subdirectory(CopyFileW)
-add_subdirectory(CreateFileA)
-add_subdirectory(CreateFileW)
-add_subdirectory(DeleteFileA)
-add_subdirectory(DeleteFileW)
-add_subdirectory(errorpathnotfound)
-add_subdirectory(FILECanonicalizePath)
-add_subdirectory(FindClose)
-add_subdirectory(FindFirstFileA)
-add_subdirectory(FindFirstFileW)
-add_subdirectory(FindNextFileA)
-add_subdirectory(FindNextFileW)
-add_subdirectory(FlushFileBuffers)
-add_subdirectory(GetConsoleOutputCP)
-add_subdirectory(GetCurrentDirectoryA)
-add_subdirectory(GetCurrentDirectoryW)
-add_subdirectory(GetFileAttributesA)
-add_subdirectory(GetFileAttributesExW)
-add_subdirectory(GetFileAttributesW)
-add_subdirectory(GetFileSize)
-add_subdirectory(GetFileSizeEx)
-add_subdirectory(GetFullPathNameA)
-add_subdirectory(GetFullPathNameW)
-add_subdirectory(GetStdHandle)
-add_subdirectory(GetSystemTime)
-add_subdirectory(GetSystemTimeAsFileTime)
-add_subdirectory(GetTempFileNameA)
-add_subdirectory(GetTempFileNameW)
-add_subdirectory(gettemppatha)
-add_subdirectory(GetTempPathW)
-add_subdirectory(MoveFileExA)
-add_subdirectory(MoveFileExW)
-add_subdirectory(ReadFile)
-add_subdirectory(SearchPathW)
-add_subdirectory(SetEndOfFile)
-add_subdirectory(SetFilePointer)
-add_subdirectory(WriteFile)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/CMakeLists.txt
deleted file mode 100644
index 070e421836829e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/CMakeLists.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-add_subdirectory(test4)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test1/CMakeLists.txt
deleted file mode 100644
index 7c06a0fc1d1da3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- CopyFileA.cpp
-)
-
-add_executable(paltest_copyfilea_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_copyfilea_test1 coreclrpal)
-
-target_link_libraries(paltest_copyfilea_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test1/CopyFileA.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test1/CopyFileA.cpp
index fcfb463a934990..5f11729312f81b 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test1/CopyFileA.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test1/CopyFileA.cpp
@@ -31,7 +31,7 @@ struct TESTS{
};
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_CopyFileA_test1_paltest_copyfilea_test1, "file_io/CopyFileA/test1/paltest_copyfilea_test1")
{
char szSrcExisting[] = {"src_existing.tmp"};
char szSrcNonExistant[] = {"src_non-existant.tmp"};
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test1/testinfo.dat
deleted file mode 100644
index 305e3486f2bd9e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test1/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = CopyFileA
-Name = Test for CopyFileA (test 1)
-Type = DEFAULT
-EXE1 = copyfilea
-Description
-= Test the CopyFileA function
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test2/CMakeLists.txt
deleted file mode 100644
index 12993509ac6883..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_copyfilea_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_copyfilea_test2 coreclrpal)
-
-target_link_libraries(paltest_copyfilea_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test2/test2.cpp
index 60e1ffa280b942..73604c03441dce 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test2/test2.cpp
@@ -14,7 +14,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_CopyFileA_test2_paltest_copyfilea_test2, "file_io/CopyFileA/test2/paltest_copyfilea_test2")
{
BOOL bRc = TRUE;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test2/testinfo.dat
deleted file mode 100644
index 17f97177121615..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test2/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = CopyFileA
-Name = CopyFileA - checking copying to itself (test2)
-Type = DEFAULT
-EXE1 = test2
-Description
-= Test the CopyFileA function's behaviour
-= for copying a file to itself.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test3/CMakeLists.txt
deleted file mode 100644
index 92316b40d29964..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_copyfilea_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_copyfilea_test3 coreclrpal)
-
-target_link_libraries(paltest_copyfilea_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test3/test3.cpp
index 48ebda2d5fc399..37f7601986e903 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test3/test3.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_CopyFileA_test3_paltest_copyfilea_test3, "file_io/CopyFileA/test3/paltest_copyfilea_test3")
{
BOOL bRc = TRUE;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test3/testinfo.dat
deleted file mode 100644
index fde68250de9df9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test3/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = CopyFileA
-Name = CopyFileA - checking file attributes maintained (test2)
-Type = DEFAULT
-EXE1 = test3
-Description
-= Test the CopyFileA function's behaviour
-= for copying a file and verifying that
-= the copied file has the same file attributes
-= as the original.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test4/CMakeLists.txt
deleted file mode 100644
index 71318e8698aaea..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_copyfilea_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_copyfilea_test4 coreclrpal)
-
-target_link_libraries(paltest_copyfilea_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test4/test4.cpp
index 05d07eed5d1734..bf3e3ec732b8b9 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test4/test4.cpp
@@ -24,7 +24,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_CopyFileA_test4_paltest_copyfilea_test4, "file_io/CopyFileA/test4/paltest_copyfilea_test4")
{
#if WIN32
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test4/testinfo.dat
deleted file mode 100644
index 662c16999128af..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileA/test4/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = CopyFileA
-Name = CopyFileA - checking file attributes maintained (test4)
-Type = DEFAULT
-EXE1 = test4
-Description
-= Copy a file from a different user, belonging to a different group to
-= the the current user, who is a member of the current group. Then check
-= to see that the current user has the basic access rights to the copied
-= file.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/CMakeLists.txt
deleted file mode 100644
index d243b82668a350..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/CMakeLists.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test1/CMakeLists.txt
deleted file mode 100644
index 182997da420a49..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- CopyFileW.cpp
-)
-
-add_executable(paltest_copyfilew_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_copyfilew_test1 coreclrpal)
-
-target_link_libraries(paltest_copyfilew_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test1/CopyFileW.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test1/CopyFileW.cpp
index 49e25f1ed94728..5a36b3d1126060 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test1/CopyFileW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test1/CopyFileW.cpp
@@ -23,7 +23,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_CopyFileW_test1_paltest_copyfilew_test1, "file_io/CopyFileW/test1/paltest_copyfilew_test1")
{
LPSTR lpSource[2] = {"src_existing.tmp", "src_non-existant.tmp"};
LPSTR lpDestination[2] = {"dst_existing.tmp", "dst_non-existant.tmp"};
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test1/testinfo.dat
deleted file mode 100644
index 80eaf917be67da..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = CopyFileW
-Name = Tests CopyFileW functionality.
-Type = DEFAULT
-EXE1 = copyfilew
-Description
-= Test the CopyFileW function
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test2/CMakeLists.txt
deleted file mode 100644
index dc88b3f42b1d15..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_copyfilew_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_copyfilew_test2 coreclrpal)
-
-target_link_libraries(paltest_copyfilew_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test2/test2.cpp
index 98fb244627e1d9..ce0eea540d2bab 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test2/test2.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_CopyFileW_test2_paltest_copyfilew_test2, "file_io/CopyFileW/test2/paltest_copyfilew_test2")
{
LPSTR szSrcExisting = "src_existing.tmp";
WCHAR* wcSource;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test2/testinfo.dat
deleted file mode 100644
index b81c63f7b23721..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test2/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = CopyFileW
-Name = Tests CopyFileW to check if file can be copied to itself. (test2)
-Type = DEFAULT
-EXE1 = test2
-Description
-= Test the CopyFileW function
-= to see the effect of copying a
-= file to itself.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test3/CMakeLists.txt
deleted file mode 100644
index f147367b7e9e6c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_copyfilew_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_copyfilew_test3 coreclrpal)
-
-target_link_libraries(paltest_copyfilew_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test3/test3.cpp
index 739abc9504f421..e142e72b3cecbe 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test3/test3.cpp
@@ -24,7 +24,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_CopyFileW_test3_paltest_copyfilew_test3, "file_io/CopyFileW/test3/paltest_copyfilew_test3")
{
#if WIN32
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test3/testinfo.dat
deleted file mode 100644
index ef91c318e52083..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CopyFileW/test3/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = CopyFileW
-Name = CopyFileW - checking file attributes maintained (test3)
-Type = DEFAULT
-EXE1 = test3
-Description
-= Copy a file from a different user, belonging to a different group to
-= the the current user, who is a member of the current group. Then check
-= to see that the current user has the basic access rights to the copied
-= file.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CreateDirectoryA/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/CreateDirectoryA/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CreateDirectoryA/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CreateDirectoryA/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/CreateDirectoryA/test2/CMakeLists.txt
deleted file mode 100644
index ee06026decfe2a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CreateDirectoryA/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- createdirectorya.cpp
-)
-
-add_executable(paltest_createdirectorya_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_createdirectorya_test2 coreclrpal)
-
-target_link_libraries(paltest_createdirectorya_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CreateDirectoryW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/CreateDirectoryW/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CreateDirectoryW/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CreateDirectoryW/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/CreateDirectoryW/test2/CMakeLists.txt
deleted file mode 100644
index bdc1dfe97441b2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CreateDirectoryW/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- createdirectoryw.cpp
-)
-
-add_executable(paltest_createdirectoryw_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_createdirectoryw_test2 coreclrpal)
-
-target_link_libraries(paltest_createdirectoryw_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileA/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileA/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileA/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileA/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileA/test1/CMakeLists.txt
deleted file mode 100644
index 737dfcfbc9b73c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileA/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- CreateFileA.cpp
-)
-
-add_executable(paltest_createfilea_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_createfilea_test1 coreclrpal)
-
-target_link_libraries(paltest_createfilea_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileA/test1/CreateFileA.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileA/test1/CreateFileA.cpp
index 21150a0614ca00..06af62f9f3a29d 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileA/test1/CreateFileA.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileA/test1/CreateFileA.cpp
@@ -12,7 +12,7 @@
#include
-BOOL Cleanup(void)
+BOOL Cleanup_CreateFileA_test1(void)
{
char FileName[20];
int i;
@@ -31,7 +31,7 @@ BOOL Cleanup(void)
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_CreateFileA_test1_paltest_createfilea_test1, "file_io/CreateFileA/test1/paltest_createfilea_test1")
{
BOOL bSuccess = TRUE;
int nCounter = 0;
@@ -70,7 +70,7 @@ int __cdecl main(int argc, char *argv[])
return FAIL;
}
- if (!Cleanup()) {
+ if (!Cleanup_CreateFileA_test1()) {
Trace("Pre-test Cleanup() failed. LastError=%d\n", GetLastError());
return FAIL;
}
@@ -132,7 +132,7 @@ int __cdecl main(int argc, char *argv[])
}
}
- if (!Cleanup())
+ if (!Cleanup_CreateFileA_test1())
{
Trace("Post-test Cleanup() failed. LastError=%d\n", GetLastError());
return FAIL;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileA/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileA/test1/testinfo.dat
deleted file mode 100644
index 3f3083a78c1af7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileA/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = CreateFileA
-Name = test for CreateFileA
-Type = DEFAULT
-EXE1 = createfilea
-Description
-= Attempts to create files based on all combinations of
-= options of CreateFileA
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileW/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileW/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileW/test1/CMakeLists.txt
deleted file mode 100644
index 44fa6507b574e4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- CreateFileW.cpp
-)
-
-add_executable(paltest_createfilew_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_createfilew_test1 coreclrpal)
-
-target_link_libraries(paltest_createfilew_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileW/test1/CreateFileW.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileW/test1/CreateFileW.cpp
index a861f3d88fa250..38d7f5fc9c5664 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileW/test1/CreateFileW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileW/test1/CreateFileW.cpp
@@ -12,7 +12,7 @@
#include
-BOOL Cleanup(void)
+BOOL Cleanup_CreateFileW_test1(void)
{
char FileName[20];
int i;
@@ -31,7 +31,7 @@ BOOL Cleanup(void)
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_CreateFileW_test1_paltest_createfilew_test1, "file_io/CreateFileW/test1/paltest_createfilew_test1")
{
BOOL bSuccess = TRUE;
int nCounter = 0;
@@ -72,7 +72,7 @@ int __cdecl main(int argc, char *argv[])
return FAIL;
}
- if (!Cleanup()) {
+ if (!Cleanup_CreateFileW_test1()) {
Trace("Pre-test Cleanup() failed. LastError=%d\n", GetLastError());
return FAIL;
}
@@ -139,7 +139,7 @@ int __cdecl main(int argc, char *argv[])
}
}
- if (!Cleanup())
+ if (!Cleanup_CreateFileW_test1())
{
Trace("Post-test Cleanup() failed. LastError=%d\n", GetLastError());
return FAIL;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileW/test1/testinfo.dat
deleted file mode 100644
index b4028e8a44ae3c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/CreateFileW/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = CreateFileW
-Name = test for CreateFileW
-Type = DEFAULT
-EXE1 = createfilew
-Description
-= Attempts to create files based on all combinations of
-= options of CreateFileW
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileA/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileA/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileA/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileA/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileA/test1/CMakeLists.txt
deleted file mode 100644
index 3d60e61477f758..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileA/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- DeleteFileA.cpp
-)
-
-add_executable(paltest_deletefilea_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_deletefilea_test1 coreclrpal)
-
-target_link_libraries(paltest_deletefilea_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileA/test1/DeleteFileA.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileA/test1/DeleteFileA.cpp
index badb3ba8525a02..606a0f57a59e19 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileA/test1/DeleteFileA.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileA/test1/DeleteFileA.cpp
@@ -26,7 +26,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_DeleteFileA_test1_paltest_deletefilea_test1, "file_io/DeleteFileA/test1/paltest_deletefilea_test1")
{
FILE *tempFile = NULL;
BOOL bRc = FALSE;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileA/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileA/test1/testinfo.dat
deleted file mode 100644
index 5522d285560839..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileA/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = DeleteFileA
-Name = Test for DeleteFileA (test 1)
-Type = DEFAULT
-EXE1 = deletefilea
-Description
-= Attempt to delete various files.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileW/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileW/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileW/test1/CMakeLists.txt
deleted file mode 100644
index c61b1ab0e9a476..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- DeleteFileW.cpp
-)
-
-add_executable(paltest_deletefilew_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_deletefilew_test1 coreclrpal)
-
-target_link_libraries(paltest_deletefilew_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileW/test1/DeleteFileW.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileW/test1/DeleteFileW.cpp
index ef9069670206f8..fa4652f8748b02 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileW/test1/DeleteFileW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileW/test1/DeleteFileW.cpp
@@ -22,7 +22,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_DeleteFileW_test1_paltest_deletefilew_test1, "file_io/DeleteFileW/test1/paltest_deletefilew_test1")
{
FILE *tempFile = NULL;
BOOL bRc = FALSE;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileW/test1/testinfo.dat
deleted file mode 100644
index 78f0fbc2bd9d97..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/DeleteFileW/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = DeleteFileW
-Name = Test for DeleteFileW (test 1)
-Type = DEFAULT
-EXE1 = deletefilew
-Description
-= Tests DeleteFileW on various file names
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FILECanonicalizePath/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/FILECanonicalizePath/CMakeLists.txt
deleted file mode 100644
index 9c4d62206c3472..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FILECanonicalizePath/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- FILECanonicalizePath.cpp
-)
-
-add_executable(paltest_filecanonicalizepath_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_filecanonicalizepath_test1 coreclrpal)
-
-target_link_libraries(paltest_filecanonicalizepath_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FILECanonicalizePath/FILECanonicalizePath.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/FILECanonicalizePath/FILECanonicalizePath.cpp
index 4661843d780339..74daffe3a5ad0a 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FILECanonicalizePath/FILECanonicalizePath.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/FILECanonicalizePath/FILECanonicalizePath.cpp
@@ -16,7 +16,7 @@ extern "C" void FILECanonicalizePath(LPSTR lpUnixPath);
void TestCase(LPSTR input, LPSTR expectedOutput);
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_FILECanonicalizePath_paltest_filecanonicalizepath_test1, "file_io/FILECanonicalizePath/paltest_filecanonicalizepath_test1")
{
if (PAL_Initialize(argc,argv) != 0)
{
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FILECanonicalizePath/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/FILECanonicalizePath/testinfo.dat
deleted file mode 100644
index c06c21c75883c7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FILECanonicalizePath/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = FILECanonicalizePath
-Name = Test for FILECanonicalizePath (test 1)
-Type = DEFAULT
-EXE1 = filecanonicalizepath
-Description
-= Canonicalizes paths and verifies the results
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindClose/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/FindClose/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindClose/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindClose/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/FindClose/test1/CMakeLists.txt
deleted file mode 100644
index e8b1b8336a8e98..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindClose/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- FindClose.cpp
-)
-
-add_executable(paltest_findclose_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_findclose_test1 coreclrpal)
-
-target_link_libraries(paltest_findclose_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindClose/test1/FindClose.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/FindClose/test1/FindClose.cpp
index f9df4b9c077a57..7226b1d7a0642b 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindClose/test1/FindClose.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/FindClose/test1/FindClose.cpp
@@ -15,18 +15,18 @@
-const WCHAR szFindName[] = {'t','e', 's', 't', '0', '1', '.', 't', 'x', 't', '\0'};
-const WCHAR szFindName_02[] = {'t','e', 's', 't', '0', '2', '.', 't', 'x', 't', '\0'};
-const WCHAR szFindName_03[] = {'t','e', 's', 't', '0', '3', '.', 't', 'x', 't', '\0'};
-const WCHAR szFindNameWldCard_01[] = {'t','e', 's', 't', '0', '?', '.', 't', 'x', 't', '\0'};
-const WCHAR szFindNameWldCard_02[] = {'*', '.', 't', 'x', 't', '\0'};
-const WCHAR szDirName[] = {'t','e', 's', 't', '_', 'd', 'i', 'r', '\0'};
-const WCHAR szDirName_02[] = {'t','e', 's', 't', '_', 'd', 'i', 'r', '0', '2', '\0'};
-const WCHAR szDirNameWldCard[] = {'t','e', 's', 't', '_', '*', '\0'};
+const WCHAR szFindName_FindClose_test1[] = {'t','e', 's', 't', '0', '1', '.', 't', 'x', 't', '\0'};
+const WCHAR szFindName_02_FindClose_test1[] = {'t','e', 's', 't', '0', '2', '.', 't', 'x', 't', '\0'};
+const WCHAR szFindName_03_FindClose_test1[] = {'t','e', 's', 't', '0', '3', '.', 't', 'x', 't', '\0'};
+const WCHAR szFindNameWldCard_01_FindClose_test1[] = {'t','e', 's', 't', '0', '?', '.', 't', 'x', 't', '\0'};
+const WCHAR szFindNameWldCard_02_FindClose_test1[] = {'*', '.', 't', 'x', 't', '\0'};
+const WCHAR szDirName_FindClose_test1[] = {'t','e', 's', 't', '_', 'd', 'i', 'r', '\0'};
+const WCHAR szDirName_02_FindClose_test1[] = {'t','e', 's', 't', '_', 'd', 'i', 'r', '0', '2', '\0'};
+const WCHAR szDirNameWldCard_FindClose_test1[] = {'t','e', 's', 't', '_', '*', '\0'};
-BOOL createTestFile(const WCHAR* szName)
+BOOL createTestFile_FindClose_test1(const WCHAR* szName)
{
FILE *pFile = NULL;
char* pTemp = NULL;
@@ -51,16 +51,16 @@ BOOL createTestFile(const WCHAR* szName)
void removeAll()
{
- RemoveDirectoryW(szDirName);
- RemoveDirectoryW(szDirName_02);
+ RemoveDirectoryW(szDirName_FindClose_test1);
+ RemoveDirectoryW(szDirName_02_FindClose_test1);
- DeleteFileW(szFindName);
- DeleteFileW(szFindName_02);
- DeleteFileW(szFindName_03);
+ DeleteFileW(szFindName_FindClose_test1);
+ DeleteFileW(szFindName_02_FindClose_test1);
+ DeleteFileW(szFindName_03_FindClose_test1);
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_FindClose_test1_paltest_findclose_test1, "file_io/FindClose/test1/paltest_findclose_test1")
{
WIN32_FIND_DATAW findFileData;
WIN32_FIND_DATAW findFileData_02;
@@ -84,19 +84,19 @@ int __cdecl main(int argc, char *argv[])
}
/* find a file that exists */
- if(createTestFile(szFindName) == FALSE)
+ if(createTestFile_FindClose_test1(szFindName_FindClose_test1) == FALSE)
{
removeAll();
PAL_TerminateEx(FAIL);
return FAIL;
}
- if(createTestFile(szFindName_02) == FALSE)
+ if(createTestFile_FindClose_test1(szFindName_02_FindClose_test1) == FALSE)
{
removeAll();
PAL_TerminateEx(FAIL);
return FAIL;
}
- if(createTestFile(szFindName_03) == FALSE)
+ if(createTestFile_FindClose_test1(szFindName_03_FindClose_test1) == FALSE)
{
removeAll();
PAL_TerminateEx(FAIL);
@@ -104,10 +104,10 @@ int __cdecl main(int argc, char *argv[])
}
// close a FindFirstFileW handle
- hFind = FindFirstFileW(szFindName, &findFileData);
+ hFind = FindFirstFileW(szFindName_FindClose_test1, &findFileData);
if (hFind == INVALID_HANDLE_VALUE)
{
- pTemp = convertC((WCHAR*)szFindName);
+ pTemp = convertC((WCHAR*)szFindName_FindClose_test1);
Trace("FindClose: ERROR -> Unable to find \"%s\"\n", pTemp);
free(pTemp);
removeAll();
@@ -124,10 +124,10 @@ int __cdecl main(int argc, char *argv[])
" FindFirstFileW handle.\n");
}
}
- hFind = FindFirstFileW(szFindName, &findFileData);
+ hFind = FindFirstFileW(szFindName_FindClose_test1, &findFileData);
if (hFind == INVALID_HANDLE_VALUE)
{
- pTemp = convertC((WCHAR*)szFindName);
+ pTemp = convertC((WCHAR*)szFindName_FindClose_test1);
Trace("FindClose: ERROR -> Unable to find \"%s\"\n", pTemp);
free(pTemp);
removeAll();
@@ -155,10 +155,10 @@ int __cdecl main(int argc, char *argv[])
}
/* find a directory that exists */
- bRc = CreateDirectoryW(szDirName, NULL);
+ bRc = CreateDirectoryW(szDirName_FindClose_test1, NULL);
if (bRc == FALSE)
{
- pTemp = convertC((WCHAR*)szDirName);
+ pTemp = convertC((WCHAR*)szDirName_FindClose_test1);
Trace("FindClose: ERROR -> Failed to create the directory \"%s\"\n",
pTemp);
free(pTemp);
@@ -167,10 +167,10 @@ int __cdecl main(int argc, char *argv[])
return FAIL;
}
- bRc = CreateDirectoryW(szDirName_02, NULL);
+ bRc = CreateDirectoryW(szDirName_02_FindClose_test1, NULL);
if (bRc == FALSE)
{
- pTemp = convertC((WCHAR*)szDirName_02);
+ pTemp = convertC((WCHAR*)szDirName_02_FindClose_test1);
Trace("FindClose: ERROR -> Failed to create the directory \"%s\"\n",
pTemp);
free(pTemp);
@@ -179,10 +179,10 @@ int __cdecl main(int argc, char *argv[])
return FAIL;
}
- hFind = FindFirstFileW(szDirName, &findFileData);
+ hFind = FindFirstFileW(szDirName_FindClose_test1, &findFileData);
if (hFind == INVALID_HANDLE_VALUE)
{
- pTemp = convertC((WCHAR*)szDirName);
+ pTemp = convertC((WCHAR*)szDirName_FindClose_test1);
Trace("FindClose: ERROR. FindFirstFileW was unable to find \"%s\"\n",
pTemp);
free(pTemp);
@@ -202,10 +202,10 @@ int __cdecl main(int argc, char *argv[])
}
/* find a file using wild cards */
- hFind = FindFirstFileW(szFindNameWldCard_01, &findFileData);
+ hFind = FindFirstFileW(szFindNameWldCard_01_FindClose_test1, &findFileData);
if (hFind == INVALID_HANDLE_VALUE)
{
- pTemp = convertC((WCHAR*)szFindNameWldCard_01);
+ pTemp = convertC((WCHAR*)szFindNameWldCard_01_FindClose_test1);
Trace("FindClose: ERROR -> FindFirstFileW was unable to find \"%s\"\n",
pTemp);
free(pTemp);
@@ -234,10 +234,10 @@ int __cdecl main(int argc, char *argv[])
}
/* find a directory using wild cards */
- hFind = FindFirstFileW(szDirNameWldCard, &findFileData);
+ hFind = FindFirstFileW(szDirNameWldCard_FindClose_test1, &findFileData);
if (hFind == INVALID_HANDLE_VALUE)
{
- pTemp = convertC((WCHAR*)szDirNameWldCard);
+ pTemp = convertC((WCHAR*)szDirNameWldCard_FindClose_test1);
Trace("FindClose: ERROR -> Unable to find \"%s\"\n",
pTemp);
free(pTemp);
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindClose/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/FindClose/test1/testinfo.dat
deleted file mode 100644
index a330c61b85855d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindClose/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = FindClose
-Name = Test for FindClose (test 1)
-Type = DEFAULT
-EXE1 = findclose
-Description
-= Test the FindClose on handles opened using the Find functions
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileA/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileA/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileA/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileA/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileA/test1/CMakeLists.txt
deleted file mode 100644
index c73e27ff0b79c5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileA/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- FindFirstFileA.cpp
-)
-
-add_executable(paltest_findfirstfilea_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_findfirstfilea_test1 coreclrpal)
-
-target_link_libraries(paltest_findfirstfilea_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileA/test1/FindFirstFileA.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileA/test1/FindFirstFileA.cpp
index da9934e1854c46..9a4d906162d3b3 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileA/test1/FindFirstFileA.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileA/test1/FindFirstFileA.cpp
@@ -14,18 +14,18 @@
#include
-const char* szNoFileName = "333asdf.x77t";
-const char* szFindName = "test01.txt";
-const char* szFindNameWldCard_01 = "test0?.txt";
-const char* szFindNameWldCard_02 = "*.txt";
-const char* szDirName = "test_dir";
-const char* szDirNameSlash = "test_dir\\";
-const char* szDirNameWldCard_01 = "?est_dir";
-const char* szDirNameWldCard_02 = "test_*";
+#define szNoFileName "333asdf.x77t"
+#define szFindName "test01.txt"
+#define szFindNameWldCard_01 "test0?.txt"
+#define szFindNameWldCard_02 "*.txt"
+#define szDirName "test_dir"
+#define szDirNameSlash "test_dir\\"
+#define szDirNameWldCard_01 "?est_dir"
+#define szDirNameWldCard_02 "test_*"
/* Longer than MAX_LONGPATH characters */
char szLongFindName[MAX_LONGPATH+1];
-BOOL CleanUp()
+BOOL CleanUp_FindFirstFileA_test1()
{
DWORD dwAtt;
BOOL result = TRUE;
@@ -60,7 +60,7 @@ BOOL CleanUp()
return result;
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_FindFirstFileA_test1_paltest_findfirstfilea_test1, "file_io/FindFirstFileA/test1/paltest_findfirstfilea_test1")
{
WIN32_FIND_DATA findFileData;
HANDLE hFind = NULL;
@@ -75,7 +75,7 @@ int __cdecl main(int argc, char *argv[])
}
- if(!CleanUp())
+ if(!CleanUp_FindFirstFileA_test1())
{
Fail("FindFirstFileW: ERROR : Initial Clean Up failed\n");
}
@@ -196,7 +196,7 @@ int __cdecl main(int argc, char *argv[])
Fail ("FindFirstFileA: ERROR -> Unable to find \"%s\"\n", szDirNameWldCard_02);
}
- if(!CleanUp())
+ if(!CleanUp_FindFirstFileA_test1())
{
Fail("FindFirstFileW: ERROR : Final Clean Up failed\n");
}
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileA/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileA/test1/testinfo.dat
deleted file mode 100644
index 7a2e05906dc8ce..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileA/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = FindFirstFileA
-Name = Test for FindFirstFileA (test 1)
-Type = DEFAULT
-EXE1 = findfirstfilea
-Description
-= Create a number of files and try to find them
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileW/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileW/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileW/test1/CMakeLists.txt
deleted file mode 100644
index e2380b194be2a0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- FindFirstFileW.cpp
-)
-
-add_executable(paltest_findfirstfilew_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_findfirstfilew_test1 coreclrpal)
-
-target_link_libraries(paltest_findfirstfilew_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileW/test1/FindFirstFileW.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileW/test1/FindFirstFileW.cpp
index 5b0d89db59b37b..362cea7f631aee 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileW/test1/FindFirstFileW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileW/test1/FindFirstFileW.cpp
@@ -14,17 +14,17 @@
#include
-const char* szNoFileName = "333asdf.x77t";
-const char* szFindName = "test01.txt";
-const char* szFindNameWldCard_01 = "test0?.txt";
-const char* szFindNameWldCard_02 = "*.txt";
-const char* szDirName = "test_dir";
-const char* szDirNameSlash = "test_dir\\";
-const char* szDirNameWldCard_01 = "?est_dir";
-const char* szDirNameWldCard_02 = "test_*";
+#define szNoFileName "333asdf.x77t"
+#define szFindName "test01.txt"
+#define szFindNameWldCard_01 "test0?.txt"
+#define szFindNameWldCard_02 "*.txt"
+#define szDirName "test_dir"
+#define szDirNameSlash "test_dir\\"
+#define szDirNameWldCard_01 "?est_dir"
+#define szDirNameWldCard_02 "test_*"
-BOOL CleanUp()
+BOOL CleanUp_FindFirstFileW_test1()
{
DWORD dwAtt;
BOOL result = TRUE;
@@ -59,7 +59,7 @@ BOOL CleanUp()
return result;
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_FindFirstFileW_test1_paltest_findfirstfilew_test1, "file_io/FindFirstFileW/test1/paltest_findfirstfilew_test1")
{
WIN32_FIND_DATAW findFileData;
HANDLE hFind = NULL;
@@ -73,7 +73,7 @@ int __cdecl main(int argc, char *argv[])
return FAIL;
}
- if(!CleanUp())
+ if(!CleanUp_FindFirstFileW_test1())
{
Fail("FindFirstFileW: ERROR : Initial Clean Up failed\n");
}
@@ -203,7 +203,7 @@ int __cdecl main(int argc, char *argv[])
szDirNameWldCard_02);
}
- if(!CleanUp())
+ if(!CleanUp_FindFirstFileW_test1())
{
Fail("FindFirstFileW: ERROR : Final Clean Up failed\n");
}
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileW/test1/testinfo.dat
deleted file mode 100644
index 0a89d3659dfc05..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindFirstFileW/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = FindFirstFileW
-Name = Test for FindFirstFileW (test 1)
-Type = DEFAULT
-EXE1 = findfirstfilew
-Description
-= Create a number of files and try to find them
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/test1/CMakeLists.txt
deleted file mode 100644
index 98329356ecea9d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- FindNextFileA.cpp
-)
-
-add_executable(paltest_findnextfilea_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_findnextfilea_test1 coreclrpal)
-
-target_link_libraries(paltest_findnextfilea_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/test1/FindNextFileA.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/test1/FindNextFileA.cpp
index a9192b464c9db7..dd7981efaabc3e 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/test1/FindNextFileA.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/test1/FindNextFileA.cpp
@@ -13,17 +13,17 @@
#include
-const char* szFindName = "test01.txt";
-const char* szFindName_02 = "test02.txt";
-const char* szFindNameWldCard_01 = "test0?.txt";
-const char* szFindNameWldCard_02 = "*.txt";
-const char* szDirName = "test_dir";
-const char* szDirName_02 = "test_dir_02";
-const char* szDirNameWldCard = "test_*";
+#define szFindName "test01.txt"
+#define szFindName_02 "test02.txt"
+#define szFindNameWldCard_01 "test0?.txt"
+#define szFindNameWldCard_02 "*.txt"
+#define szDirName "test_dir"
+#define szDirName_02 "test_dir_02"
+#define szDirNameWldCard "test_*"
-void removeAll()
+void removeAll_FindNextFileA_test1()
{
WCHAR* wTempPtr = NULL;
@@ -39,7 +39,7 @@ void removeAll()
-BOOL createTestFile(const char* szName)
+BOOL createTestFile_FindNextFileA_test1(const char* szName)
{
FILE *pFile = NULL;
@@ -48,7 +48,7 @@ BOOL createTestFile(const char* szName)
{
Trace("FindNextFile: ERROR -> Unable to create file \"%s\".\n",
szName);
- removeAll();
+ removeAll_FindNextFileA_test1();
return FALSE;
}
else
@@ -61,7 +61,7 @@ BOOL createTestFile(const char* szName)
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_FindNextFileA_test1_paltest_findnextfilea_test1, "file_io/FindNextFileA/test1/paltest_findnextfilea_test1")
{
WIN32_FIND_DATA findFileData;
WIN32_FIND_DATA findFileData_02;
@@ -75,7 +75,7 @@ int __cdecl main(int argc, char *argv[])
{
return FAIL;
}
- removeAll();
+ removeAll_FindNextFileA_test1();
//
@@ -97,12 +97,12 @@ int __cdecl main(int argc, char *argv[])
//
// find a file that exists
//
- if(createTestFile(szFindName) == FALSE)
+ if(createTestFile_FindNextFileA_test1(szFindName) == FALSE)
{
PAL_TerminateEx(FAIL);
return FAIL;
}
- if(createTestFile(szFindName_02) == FALSE)
+ if(createTestFile_FindNextFileA_test1(szFindName_02) == FALSE)
{
PAL_TerminateEx(FAIL);
return FAIL;
@@ -111,7 +111,7 @@ int __cdecl main(int argc, char *argv[])
hFind = FindFirstFileA(szFindName, &findFileData);
if (hFind == INVALID_HANDLE_VALUE)
{
- removeAll();
+ removeAll_FindNextFileA_test1();
Fail("FindNextFile: ERROR -> Unable to find \"%s\"\n", szFindName);
}
else
@@ -119,7 +119,7 @@ int __cdecl main(int argc, char *argv[])
bRc = FindNextFile(hFind, &findFileData);
if (bRc != FALSE)
{
- removeAll();
+ removeAll_FindNextFileA_test1();
Fail("FindNextFile: ERROR -> Found a file that doesn't exist.\n");
}
}
@@ -133,7 +133,7 @@ int __cdecl main(int argc, char *argv[])
free (wTempPtr);
if (bRc == FALSE)
{
- removeAll();
+ removeAll_FindNextFileA_test1();
Fail("FindNextFile: ERROR -> Failed to create the directory \"%s\"\n",
szDirName);
}
@@ -142,7 +142,7 @@ int __cdecl main(int argc, char *argv[])
free (wTempPtr);
if (bRc == FALSE)
{
- removeAll();
+ removeAll_FindNextFileA_test1();
Fail("FindNextFile: ERROR -> Failed to create the directory \"%s\"\n",
szDirName_02);
}
@@ -150,7 +150,7 @@ int __cdecl main(int argc, char *argv[])
hFind = FindFirstFileA(szDirName, &findFileData);
if (hFind == INVALID_HANDLE_VALUE)
{
- removeAll();
+ removeAll_FindNextFileA_test1();
Fail("FindNextFile: ERROR. FindFirstFileA was unable to find \"%s\"\n",
szDirName);
}
@@ -159,7 +159,7 @@ int __cdecl main(int argc, char *argv[])
bRc = FindNextFile(hFind, &findFileData);
if (bRc != FALSE)
{
- removeAll();
+ removeAll_FindNextFileA_test1();
Fail("FindNextFile: ERROR -> Found a directory that doesn't exist.\n");
}
}
@@ -171,7 +171,7 @@ int __cdecl main(int argc, char *argv[])
hFind = FindFirstFileA(szFindNameWldCard_01, &findFileData);
if (hFind == INVALID_HANDLE_VALUE)
{
- removeAll();
+ removeAll_FindNextFileA_test1();
Fail("FindNextFile: ERROR -> FindFirstFileA was unable to find \"%s\"\n",
szFindNameWldCard_01);
}
@@ -180,7 +180,7 @@ int __cdecl main(int argc, char *argv[])
bRc = FindNextFile(hFind, &findFileData_02);
if (bRc == FALSE)
{
- removeAll();
+ removeAll_FindNextFileA_test1();
Fail("FindNextFile: ERROR -> Unable to find another file.\n");
}
else
@@ -188,7 +188,7 @@ int __cdecl main(int argc, char *argv[])
// validate we found the correct file
if (strcmp(findFileData_02.cFileName, findFileData.cFileName) == 0)
{
- removeAll();
+ removeAll_FindNextFileA_test1();
Fail("FindNextFile: ERROR -> Found the same file \"%s\".\n",
findFileData.cFileName);
}
@@ -202,7 +202,7 @@ int __cdecl main(int argc, char *argv[])
hFind = FindFirstFileA(szDirNameWldCard, &findFileData);
if (hFind == INVALID_HANDLE_VALUE)
{
- removeAll();
+ removeAll_FindNextFileA_test1();
Fail("FindNextFile: ERROR -> Unable to find \"%s\"\n",
szDirNameWldCard);
}
@@ -211,7 +211,7 @@ int __cdecl main(int argc, char *argv[])
bRc = FindNextFile(hFind, &findFileData_02);
if (bRc == FALSE)
{
- removeAll();
+ removeAll_FindNextFileA_test1();
Fail("FindNextFile: ERROR -> Unable to find another directory.\n");
}
else
@@ -219,7 +219,7 @@ int __cdecl main(int argc, char *argv[])
// validate we found the correct directory
if (strcmp(findFileData_02.cFileName, findFileData.cFileName) == 0)
{
- removeAll();
+ removeAll_FindNextFileA_test1();
Fail("FindNextFile: ERROR -> Found the same directory \"%s\".\n",
findFileData.cFileName);
}
@@ -230,7 +230,7 @@ int __cdecl main(int argc, char *argv[])
// attempt to write to the hFind handle (which should fail)
//
bRc = WriteFile(hFind, "this is a test", 10, &dwBytesWritten, NULL);
- removeAll();
+ removeAll_FindNextFileA_test1();
if (bRc == TRUE)
{
Fail("FindNextFile: ERROR -> Able to write to a FindNextFile handle.\n");
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/test1/testinfo.dat
deleted file mode 100644
index dc0ad63f1a644f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = FindNextFileA
-Name = Test for FindNextFileA (test 1)
-Type = DEFAULT
-EXE1 = findnextfilea
-Description
-= Create test files and directories to verify FindNextFileA
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/test2/CMakeLists.txt
deleted file mode 100644
index 5e013cacd68dbe..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- findnextfilea.cpp
-)
-
-add_executable(paltest_findnextfilea_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_findnextfilea_test2 coreclrpal)
-
-target_link_libraries(paltest_findnextfilea_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/test2/findnextfilea.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/test2/findnextfilea.cpp
index 091d0c37bd5413..3ef068ac1af944 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/test2/findnextfilea.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/test2/findnextfilea.cpp
@@ -88,7 +88,7 @@ static void DoTest(const char* szDir,
}
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_FindNextFileA_test2_paltest_findnextfilea_test2, "file_io/FindNextFileA/test2/paltest_findnextfilea_test2")
{
if (0 != PAL_Initialize(argc,argv))
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/test2/testinfo.dat
deleted file mode 100644
index 23d17cb80c1260..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileA/test2/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = FindNextFileA
-Name = Test for FindNextFileA (test 2)
-Type = DEFAULT
-EXE1 = findnextfilea
-Description
-= Tests the PAL implementation of the FindNextFileA function.
-= Tests '*' and '*.*' to ensure that '.' and '..' are
-= returned in the expected order
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/test1/CMakeLists.txt
deleted file mode 100644
index 1ba07bd294e925..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- FindNextFileW.cpp
-)
-
-add_executable(paltest_findnextfilew_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_findnextfilew_test1 coreclrpal)
-
-target_link_libraries(paltest_findnextfilew_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/test1/FindNextFileW.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/test1/FindNextFileW.cpp
index df271f8b849d09..bdcc73f605f95a 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/test1/FindNextFileW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/test1/FindNextFileW.cpp
@@ -13,17 +13,15 @@
#include
-const char* szFindName = "test01.txt";
-const char* szFindName_02 = "test02.txt";
-const char* szFindNameWldCard_01 = "test0?.txt";
-const char* szFindNameWldCard_02 = "*.txt";
-const char* szDirName = "test_dir";
-const char* szDirName_02 = "test_dir_02";
-const char* szDirNameWldCard = "test_*";
-
-
-
-void removeAll()
+#define szFindName "test01.txt"
+#define szFindName_02 "test02.txt"
+#define szFindNameWldCard_01 "test0?.txt"
+#define szFindNameWldCard_02 "*.txt"
+#define szDirName "test_dir"
+#define szDirName_02 "test_dir_02"
+#define szDirNameWldCard "test_*"
+
+void removeAll_FindNextFileW_test1()
{
WCHAR* wTempPtr = NULL;
@@ -46,7 +44,7 @@ void removeAll()
-BOOL createTestFile(const char* szName)
+BOOL createTestFile_FindNextFileW_test1(const char* szName)
{
FILE *pFile = NULL;
@@ -54,7 +52,7 @@ BOOL createTestFile(const char* szName)
if (pFile == NULL)
{
Trace("FindNextFileW: ERROR -> Unable to create file \"%s\".\n", szName);
- removeAll();
+ removeAll_FindNextFileW_test1();
return FALSE;
}
else
@@ -68,7 +66,7 @@ BOOL createTestFile(const char* szName)
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_FindNextFileW_test1_paltest_findnextfilew_test1, "file_io/FindNextFileW/test1/paltest_findnextfilew_test1")
{
WIN32_FIND_DATAW findFileData;
WIN32_FIND_DATAW findFileData_02;
@@ -82,18 +80,18 @@ int __cdecl main(int argc, char *argv[])
{
return FAIL;
}
- removeAll();
+ removeAll_FindNextFileW_test1();
//
// find a file that exists
//
- if(createTestFile(szFindName) == FALSE)
+ if(createTestFile_FindNextFileW_test1(szFindName) == FALSE)
{
PAL_TerminateEx(FAIL);
return FAIL;
}
- if(createTestFile(szFindName_02) == FALSE)
+ if(createTestFile_FindNextFileW_test1(szFindName_02) == FALSE)
{
PAL_TerminateEx(FAIL);
return FAIL;
@@ -104,7 +102,7 @@ int __cdecl main(int argc, char *argv[])
free(wTempPtr);
if (hFind == INVALID_HANDLE_VALUE)
{
- removeAll();
+ removeAll_FindNextFileW_test1();
Fail("FindNextFileW: ERROR -> Unable to find \"%s\"\n", szFindName);
}
else
@@ -112,7 +110,7 @@ int __cdecl main(int argc, char *argv[])
bRc = FindNextFileW(hFind, &findFileData);
if (bRc != FALSE)
{
- removeAll();
+ removeAll_FindNextFileW_test1();
Fail("FindNextFileW: ERROR -> Found a file that doesn't exist.\n");
}
}
@@ -126,7 +124,7 @@ int __cdecl main(int argc, char *argv[])
free (wTempPtr);
if (bRc == FALSE)
{
- removeAll();
+ removeAll_FindNextFileW_test1();
Fail("FindNextFileW: ERROR -> Failed to create the directory \"%s\"\n",
szDirName);
}
@@ -135,7 +133,7 @@ int __cdecl main(int argc, char *argv[])
free (wTempPtr);
if (bRc == FALSE)
{
- removeAll();
+ removeAll_FindNextFileW_test1();
Fail("FindNextFileW: ERROR -> Failed to create the directory "
"\"%s\"\n",
szDirName_02);
@@ -146,7 +144,7 @@ int __cdecl main(int argc, char *argv[])
free (wTempPtr);
if (hFind == INVALID_HANDLE_VALUE)
{
- removeAll();
+ removeAll_FindNextFileW_test1();
Fail("FindNextFileW: ERROR. FindFirstFileW was unable "
"to find \"%s\"\n",
szDirName);
@@ -156,7 +154,7 @@ int __cdecl main(int argc, char *argv[])
bRc = FindNextFileW(hFind, &findFileData);
if (bRc != FALSE)
{
- removeAll();
+ removeAll_FindNextFileW_test1();
Fail("FindNextFileW: ERROR -> Found a directory that "
"doesn't exist.\n");
}
@@ -171,7 +169,7 @@ int __cdecl main(int argc, char *argv[])
free(wTempPtr);
if (hFind == INVALID_HANDLE_VALUE)
{
- removeAll();
+ removeAll_FindNextFileW_test1();
Fail("FindNextFileW: ERROR -> FindFirstFileW was unable to "
"find \"%s\"\n",
szFindNameWldCard_01);
@@ -181,7 +179,7 @@ int __cdecl main(int argc, char *argv[])
bRc = FindNextFileW(hFind, &findFileData_02);
if (bRc == FALSE)
{
- removeAll();
+ removeAll_FindNextFileW_test1();
Fail("FindNextFileW: ERROR -> Unable to find another file.\n");
}
else
@@ -189,7 +187,7 @@ int __cdecl main(int argc, char *argv[])
// validate we found the correct file
if (wcscmp(findFileData_02.cFileName, findFileData.cFileName) == 0)
{
- removeAll();
+ removeAll_FindNextFileW_test1();
Fail("FindNextFileW: ERROR -> Found the same file \"%S\".\n",
findFileData.cFileName);
}
@@ -205,7 +203,7 @@ int __cdecl main(int argc, char *argv[])
free(wTempPtr);
if (hFind == INVALID_HANDLE_VALUE)
{
- removeAll();
+ removeAll_FindNextFileW_test1();
Fail("FindNextFileW: ERROR -> Unable to find \"%s\"\n",
szDirNameWldCard);
}
@@ -214,7 +212,7 @@ int __cdecl main(int argc, char *argv[])
bRc = FindNextFileW(hFind, &findFileData_02);
if (bRc == FALSE)
{
- removeAll();
+ removeAll_FindNextFileW_test1();
Fail("FindNextFileW: ERROR -> Unable to find another directory.\n");
}
else
@@ -222,7 +220,7 @@ int __cdecl main(int argc, char *argv[])
// validate we found the correct directory
if (wcscmp(findFileData_02.cFileName, findFileData.cFileName) == 0)
{
- removeAll();
+ removeAll_FindNextFileW_test1();
Fail("FindNextFileW: ERROR -> Found the same directory "
"\"%S\".\n",
findFileData.cFileName);
@@ -236,12 +234,12 @@ int __cdecl main(int argc, char *argv[])
bRc = WriteFile(hFind, "this is a test", 10, &dwBytesWritten, NULL);
if (bRc == TRUE)
{
- removeAll();
+ removeAll_FindNextFileW_test1();
Fail("FindNextFileW: ERROR -> Able to write to a FindNextFileW "
"handle.\n");
}
- removeAll();
+ removeAll_FindNextFileW_test1();
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/test1/testinfo.dat
deleted file mode 100644
index 97ac53884a2436..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = FindNextFileW
-Name = Test for FindNextFileW (test 1)
-Type = DEFAULT
-EXE1 = findnextfilew
-Description
-= Create test files and directories to verify FindNextFileW
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/test2/CMakeLists.txt
deleted file mode 100644
index 5944a0943f0f58..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- findnextfilew.cpp
-)
-
-add_executable(paltest_findnextfilew_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_findnextfilew_test2 coreclrpal)
-
-target_link_libraries(paltest_findnextfilew_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/test2/findnextfilew.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/test2/findnextfilew.cpp
index b0e5f4857b8ab2..58d01da7e8f02b 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/test2/findnextfilew.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/test2/findnextfilew.cpp
@@ -88,7 +88,7 @@ static void DoTest(const WCHAR* szwDir,
}
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_FindNextFileW_test2_paltest_findnextfilew_test2, "file_io/FindNextFileW/test2/paltest_findnextfilew_test2")
{
if (0 != PAL_Initialize(argc,argv))
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/test2/testinfo.dat
deleted file mode 100644
index 664538d76a8613..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FindNextFileW/test2/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = FindNextFileW
-Name = Test for FindNextFileW (test 2)
-Type = DEFAULT
-EXE1 = findnextfilew
-Description
-= Tests the PAL implementation of the FindNextFileW function.
-= Tests '*' and '*.*' to ensure that '.' and '..' are
-= returned in the expected order
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FlushFileBuffers/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/FlushFileBuffers/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FlushFileBuffers/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FlushFileBuffers/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/FlushFileBuffers/test1/CMakeLists.txt
deleted file mode 100644
index bb8a0bbe584b01..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FlushFileBuffers/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- FlushFileBuffers.cpp
-)
-
-add_executable(paltest_flushfilebuffers_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_flushfilebuffers_test1 coreclrpal)
-
-target_link_libraries(paltest_flushfilebuffers_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FlushFileBuffers/test1/FlushFileBuffers.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/FlushFileBuffers/test1/FlushFileBuffers.cpp
index 8c7b7545fadb53..f1de32d7fc831c 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FlushFileBuffers/test1/FlushFileBuffers.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/FlushFileBuffers/test1/FlushFileBuffers.cpp
@@ -21,7 +21,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(file_io_FlushFileBuffers_test1_paltest_flushfilebuffers_test1, "file_io/FlushFileBuffers/test1/paltest_flushfilebuffers_test1")
{
int TheReturn;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/FlushFileBuffers/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/FlushFileBuffers/test1/testinfo.dat
deleted file mode 100644
index 54b3c24e30551f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/FlushFileBuffers/test1/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = FlushFileBuffers
-Name = Positive Test for FlushFileBuffers
-TYPE = DEFAULT
-EXE1 = flushfilebuffers
-Description
-= Test the FlushFileBuffers
-= Test the return values -- ensure that the correct values are
-= returned for success and failure.
-= This test does not prove that flush worked,
-= there is no way of stopping the OS from flushing
-= the file by itself.
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetConsoleOutputCP/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetConsoleOutputCP/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetConsoleOutputCP/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetConsoleOutputCP/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetConsoleOutputCP/test1/CMakeLists.txt
deleted file mode 100644
index 541e5fac565075..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetConsoleOutputCP/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- GetConsoleOutputCP.cpp
-)
-
-add_executable(paltest_getconsoleoutputcp_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_getconsoleoutputcp_test1 coreclrpal)
-
-target_link_libraries(paltest_getconsoleoutputcp_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetConsoleOutputCP/test1/GetConsoleOutputCP.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetConsoleOutputCP/test1/GetConsoleOutputCP.cpp
index 137839387cd5f5..7c391e3f17653d 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetConsoleOutputCP/test1/GetConsoleOutputCP.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetConsoleOutputCP/test1/GetConsoleOutputCP.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_GetConsoleOutputCP_test1_paltest_getconsoleoutputcp_test1, "file_io/GetConsoleOutputCP/test1/paltest_getconsoleoutputcp_test1")
{
UINT uiCP = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetConsoleOutputCP/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetConsoleOutputCP/test1/testinfo.dat
deleted file mode 100644
index 85fb02067be451..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetConsoleOutputCP/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = GetConsoleOutputCP
-Name = Positive Test for GetConsoleOutputCP (test 1)
-Type = DEFAULT
-EXE1 = getconsoleoutputcp
-Description
-= Test GetConsoleOutputCP. Apparently there are only two possible
-= return values: CP_ACP or 1252
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryA/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryA/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryA/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryA/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryA/test1/CMakeLists.txt
deleted file mode 100644
index b64c050432cf03..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryA/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- GetCurrentDirectoryA.cpp
-)
-
-add_executable(paltest_getcurrentdirectorya_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_getcurrentdirectorya_test1 coreclrpal)
-
-target_link_libraries(paltest_getcurrentdirectorya_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryA/test1/GetCurrentDirectoryA.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryA/test1/GetCurrentDirectoryA.cpp
index 2e28e530bfd4bb..e5411c0aad8fc6 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryA/test1/GetCurrentDirectoryA.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryA/test1/GetCurrentDirectoryA.cpp
@@ -12,11 +12,12 @@
#include
-const char* szFileName = "blah";
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_GetCurrentDirectoryA_test1_paltest_getcurrentdirectorya_test1, "file_io/GetCurrentDirectoryA/test1/paltest_getcurrentdirectorya_test1")
{
+ const char* szFileName = "blah";
+
DWORD dwRc = 0;
DWORD dwRc2 = 0;
char szReturnedPath[_MAX_PATH+1];
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryA/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryA/test1/testinfo.dat
deleted file mode 100644
index d5c59d99707320..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryA/test1/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = GetCurrentDirectoryA
-Name = Test for GetCurrentDirectoryA (test 1)
-Type = DEFAULT
-EXE1 = getcurrentdirectorya
-Description
-= Calculate the current directory name and compare to that
-= returned by GetCurrentDirectoryA
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryW/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryW/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryW/test1/CMakeLists.txt
deleted file mode 100644
index 92f6e4edc57447..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- GetCurrentDirectoryW.cpp
-)
-
-add_executable(paltest_getcurrentdirectoryw_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_getcurrentdirectoryw_test1 coreclrpal)
-
-target_link_libraries(paltest_getcurrentdirectoryw_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryW/test1/GetCurrentDirectoryW.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryW/test1/GetCurrentDirectoryW.cpp
index a183663387cf46..f25ff41d6cc9db 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryW/test1/GetCurrentDirectoryW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryW/test1/GetCurrentDirectoryW.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_GetCurrentDirectoryW_test1_paltest_getcurrentdirectoryw_test1, "file_io/GetCurrentDirectoryW/test1/paltest_getcurrentdirectoryw_test1")
{
DWORD dwRc = 0;
DWORD dwRc2 = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryW/test1/testinfo.dat
deleted file mode 100644
index d3ddb7ea4f1dc3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetCurrentDirectoryW/test1/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = GetCurrentDirectoryW
-Name = Test for GetCurrentDirectoryW (test 1)
-Type = DEFAULT
-EXE1 = getcurrentdirectoryw
-Description
-= Compute the current directory and compare with the results
-= from GetCurrentDirectoryW
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/.hidden_directory/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/.hidden_directory/CMakeLists.txt
deleted file mode 100644
index e69de29bb2d1d6..00000000000000
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/.hidden_ro_directory/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/.hidden_ro_directory/CMakeLists.txt
deleted file mode 100644
index e69de29bb2d1d6..00000000000000
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/CMakeLists.txt
deleted file mode 100644
index 347816e4eb9788..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/CMakeLists.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-set(SOURCES
- GetFileAttributesA.cpp
-)
-
-add_executable(paltest_getfileattributesa_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_getfileattributesa_test1 coreclrpal)
-
-target_link_libraries(paltest_getfileattributesa_test1
- ${COMMON_TEST_LIBRARIES}
-)
-add_subdirectory(.hidden_directory)
-add_subdirectory(.hidden_ro_directory)
-add_subdirectory(normal_test_directory)
-add_subdirectory(no_directory)
-add_subdirectory(ro_test_directory)
-add_subdirectory(rw_directory)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/GetFileAttributesA.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/GetFileAttributesA.cpp
index bf87e43c0506f9..309be929e1130b 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/GetFileAttributesA.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/GetFileAttributesA.cpp
@@ -38,41 +38,41 @@ typedef struct
int isFile; /* is file (1) or dir (0) */
}TestCaseDir;
-DWORD desiredAccessFile = GENERIC_READ | GENERIC_WRITE;
-DWORD shareModeFile = FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE;
-LPSECURITY_ATTRIBUTES lpAttrFile = NULL;
-DWORD dwCreationDispFile = CREATE_NEW;
-DWORD dwFlagsAttribFile = FILE_ATTRIBUTE_NORMAL;
-HANDLE hTemplateFile = NULL;
+DWORD desiredAccessFile_GetFileAttributesA_test1 = GENERIC_READ | GENERIC_WRITE;
+DWORD shareModeFile_GetFileAttributesA_test1 = FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE;
+LPSECURITY_ATTRIBUTES lpAttrFile_GetFileAttributesA_test1 = NULL;
+DWORD dwCreationDispFile_GetFileAttributesA_test1 = CREATE_NEW;
+DWORD dwFlagsAttribFile_GetFileAttributesA_test1 = FILE_ATTRIBUTE_NORMAL;
+HANDLE hTemplateFile_GetFileAttributesA_test1 = NULL;
-int numFileTests = 6;
-TestCaseFile gfaTestsFile[6]; /* GetFileAttributes tests list */
+int numFileTests_A = 6;
+TestCaseFile gfaTestsFile_A[6]; /* GetFileAttributes tests list */
-int numDirTests = 6;
-TestCaseDir gfaTestsDir[6]; /* GetFileAttributes tests list */
+int numDirTests_A = 6;
+TestCaseDir gfaTestsDir_A[6]; /* GetFileAttributes tests list */
-BOOL CleanUpFiles()
+BOOL CleanUpFiles_GetFileAttributesA_test1()
{
DWORD dwAtt;
int i;
BOOL result = TRUE;
- for (i = 0; i < numFileTests -1 ; i++ )
+ for (i = 0; i < numFileTests_A -1 ; i++ )
{
- dwAtt = GetFileAttributesA(gfaTestsFile[i].name);
+ dwAtt = GetFileAttributesA(gfaTestsFile_A[i].name);
if( dwAtt != INVALID_FILE_ATTRIBUTES )
{
//Trace("Files iteration %d\n", i);
- if(!SetFileAttributesA (gfaTestsFile[i].name, FILE_ATTRIBUTE_NORMAL))
+ if(!SetFileAttributesA (gfaTestsFile_A[i].name, FILE_ATTRIBUTE_NORMAL))
{
result = FALSE;
- Trace("ERROR:%d: Error setting attributes [%s][%d]\n", GetLastError(), gfaTestsFile[i].name, FILE_ATTRIBUTE_NORMAL);
+ Trace("ERROR:%d: Error setting attributes [%s][%d]\n", GetLastError(), gfaTestsFile_A[i].name, FILE_ATTRIBUTE_NORMAL);
}
- if(!DeleteFileA (gfaTestsFile[i].name))
+ if(!DeleteFileA (gfaTestsFile_A[i].name))
{
result = FALSE;
- Trace("ERROR:%d: Error deleting file [%s][%d]\n", GetLastError(), gfaTestsFile[i].name, dwAtt);
+ Trace("ERROR:%d: Error deleting file [%s][%d]\n", GetLastError(), gfaTestsFile_A[i].name, dwAtt);
}
}
@@ -80,58 +80,58 @@ BOOL CleanUpFiles()
// Trace("Value of result is %d\n", result);
return result;
}
-BOOL SetUpFiles()
+BOOL SetUpFiles_GetFileAttributesA_test1()
{
int i = 0;
BOOL result = TRUE;
- for (i = 0; i < numFileTests -1; i++ )
+ for (i = 0; i < numFileTests_A -1; i++ )
{
- gfaTestsFile[i].hFile = CreateFile(gfaTestsFile[i].name,
- desiredAccessFile,
- shareModeFile,
- lpAttrFile,
- dwCreationDispFile,
- dwFlagsAttribFile,
- hTemplateFile);
-
- if( gfaTestsFile[i].hFile == NULL )
+ gfaTestsFile_A[i].hFile = CreateFile(gfaTestsFile_A[i].name,
+ desiredAccessFile_GetFileAttributesA_test1,
+ shareModeFile_GetFileAttributesA_test1,
+ lpAttrFile_GetFileAttributesA_test1,
+ dwCreationDispFile_GetFileAttributesA_test1,
+ dwFlagsAttribFile_GetFileAttributesA_test1,
+ hTemplateFile_GetFileAttributesA_test1);
+
+ if( gfaTestsFile_A[i].hFile == NULL )
{
Fail("Error while creating files for iteration %d\n", i);
}
- if(!SetFileAttributesA (gfaTestsFile[i].name, gfaTestsFile[i].expectedAttribs))
+ if(!SetFileAttributesA (gfaTestsFile_A[i].name, gfaTestsFile_A[i].expectedAttribs))
{
result = FALSE;
- Trace("ERROR:%d: Error setting attributes [%s][%d]\n", GetLastError(), gfaTestsFile[i].name, gfaTestsFile[i].expectedAttribs);
+ Trace("ERROR:%d: Error setting attributes [%s][%d]\n", GetLastError(), gfaTestsFile_A[i].name, gfaTestsFile_A[i].expectedAttribs);
}
}
return result;
}
-BOOL CleanUpDirs()
+BOOL CleanUpDirs_GetFileAttributesA_test1()
{
DWORD dwAtt;
int i;
BOOL result = TRUE;
- for (i = 0; i < numDirTests -1 ; i++ )
+ for (i = 0; i < numDirTests_A -1 ; i++ )
{
- dwAtt = GetFileAttributesA(gfaTestsDir[i].name);
+ dwAtt = GetFileAttributesA(gfaTestsDir_A[i].name);
if( dwAtt != INVALID_FILE_ATTRIBUTES )
{
- if(!SetFileAttributesA (gfaTestsDir[i].name, FILE_ATTRIBUTE_DIRECTORY))
+ if(!SetFileAttributesA (gfaTestsDir_A[i].name, FILE_ATTRIBUTE_DIRECTORY))
{
result = FALSE;
- Trace("ERROR:%d: Error setting attributes [%s][%d]\n", GetLastError(), gfaTestsDir[i].name, (FILE_ATTRIBUTE_NORMAL | FILE_ATTRIBUTE_DIRECTORY));
+ Trace("ERROR:%d: Error setting attributes [%s][%d]\n", GetLastError(), gfaTestsDir_A[i].name, (FILE_ATTRIBUTE_NORMAL | FILE_ATTRIBUTE_DIRECTORY));
}
- LPWSTR nameW = convert(gfaTestsDir[i].name);
+ LPWSTR nameW = convert(gfaTestsDir_A[i].name);
if(!RemoveDirectoryW (nameW))
{
result = FALSE;
- Trace("ERROR:%d: Error deleting file [%s][%d]\n", GetLastError(), gfaTestsDir[i].name, dwAtt);
+ Trace("ERROR:%d: Error deleting file [%s][%d]\n", GetLastError(), gfaTestsDir_A[i].name, dwAtt);
}
free(nameW);
@@ -141,14 +141,14 @@ BOOL CleanUpDirs()
return result;
}
-BOOL SetUpDirs()
+BOOL SetUpDirs_GetFileAttributesA_test1()
{
int i = 0;
BOOL result = TRUE;
DWORD ret = 0;
- for (i = 0; i < numDirTests - 1 ; i++ )
+ for (i = 0; i < numDirTests_A - 1 ; i++ )
{
- result = CreateDirectoryA(gfaTestsDir[i].name,
+ result = CreateDirectoryA(gfaTestsDir_A[i].name,
NULL);
if(!result )
@@ -157,25 +157,25 @@ BOOL SetUpDirs()
Fail("Error while creating directory for iteration %d\n", i);
}
- if(!SetFileAttributesA (gfaTestsDir[i].name, gfaTestsDir[i].expectedAttribs))
+ if(!SetFileAttributesA (gfaTestsDir_A[i].name, gfaTestsDir_A[i].expectedAttribs))
{
result = FALSE;
- Trace("ERROR:%d: Error setting attributes [%s][%d]\n", GetLastError(), gfaTestsDir[i].name, gfaTestsDir[i].expectedAttribs);
+ Trace("ERROR:%d: Error setting attributes [%s][%d]\n", GetLastError(), gfaTestsDir_A[i].name, gfaTestsDir_A[i].expectedAttribs);
}
- ret = GetFileAttributesA (gfaTestsDir[i].name);
- if(ret != gfaTestsDir[i].expectedAttribs)
+ ret = GetFileAttributesA (gfaTestsDir_A[i].name);
+ if(ret != gfaTestsDir_A[i].expectedAttribs)
{
result = FALSE;
- Trace("ERROR: Error setting attributes [%s][%d]\n", gfaTestsDir[i].name, gfaTestsDir[i].expectedAttribs);
+ Trace("ERROR: Error setting attributes [%s][%d]\n", gfaTestsDir_A[i].name, gfaTestsDir_A[i].expectedAttribs);
}
- //Trace("Setup Dir setting attr [%d], returned [%d]\n", gfaTestsDir[i].expectedAttribs, ret);
+ //Trace("Setup Dir setting attr [%d], returned [%d]\n", gfaTestsDir_A[i].expectedAttribs, ret);
}
//Trace("Setup dirs returning %d\n", result);
return result;
}
-int __cdecl main(int argc, char **argv)
+PALTEST(file_io_GetFileAttributesA_test1_paltest_getfileattributesa_test1, "file_io/GetFileAttributesA/test1/paltest_getfileattributesa_test1")
{
int i;
BOOL bFailed = FALSE;
@@ -196,61 +196,61 @@ int __cdecl main(int argc, char **argv)
char * NotReallyAFileName = "not_really_a_file";
/* Tests on directory */
- gfaTestsDir[0].name = NormalDirectoryName;
- gfaTestsDir[0].expectedAttribs = FILE_ATTRIBUTE_DIRECTORY;
- gfaTestsDir[0].isFile = TYPE_DIR;
+ gfaTestsDir_A[0].name = NormalDirectoryName;
+ gfaTestsDir_A[0].expectedAttribs = FILE_ATTRIBUTE_DIRECTORY;
+ gfaTestsDir_A[0].isFile = TYPE_DIR;
- gfaTestsDir[1].name = ReadOnlyDirectoryName;
- gfaTestsDir[1].expectedAttribs = FILE_ATTRIBUTE_DIRECTORY |
+ gfaTestsDir_A[1].name = ReadOnlyDirectoryName;
+ gfaTestsDir_A[1].expectedAttribs = FILE_ATTRIBUTE_DIRECTORY |
FILE_ATTRIBUTE_READONLY;
- gfaTestsDir[1].isFile = TYPE_DIR;
+ gfaTestsDir_A[1].isFile = TYPE_DIR;
- gfaTestsDir[2].name = ReadWriteDirectoryName;
- gfaTestsDir[2].expectedAttribs = FILE_ATTRIBUTE_DIRECTORY;
- gfaTestsDir[2].isFile = TYPE_DIR;
+ gfaTestsDir_A[2].name = ReadWriteDirectoryName;
+ gfaTestsDir_A[2].expectedAttribs = FILE_ATTRIBUTE_DIRECTORY;
+ gfaTestsDir_A[2].isFile = TYPE_DIR;
- gfaTestsDir[3].name = HiddenDirectoryName;
- gfaTestsDir[3].expectedAttribs = FILE_ATTRIBUTE_DIRECTORY; //|
+ gfaTestsDir_A[3].name = HiddenDirectoryName;
+ gfaTestsDir_A[3].expectedAttribs = FILE_ATTRIBUTE_DIRECTORY; //|
//FILE_ATTRIBUTE_HIDDEN;
- gfaTestsDir[3].isFile = TYPE_DIR;
+ gfaTestsDir_A[3].isFile = TYPE_DIR;
- gfaTestsDir[4].name = HiddenReadOnlyDirectoryName;
- gfaTestsDir[4].expectedAttribs = FILE_ATTRIBUTE_DIRECTORY |
+ gfaTestsDir_A[4].name = HiddenReadOnlyDirectoryName;
+ gfaTestsDir_A[4].expectedAttribs = FILE_ATTRIBUTE_DIRECTORY |
FILE_ATTRIBUTE_READONLY; //|
//FILE_ATTRIBUTE_HIDDEN;
- gfaTestsDir[4].isFile = TYPE_DIR;
+ gfaTestsDir_A[4].isFile = TYPE_DIR;
- gfaTestsDir[5].name = NoDirectoryName;
- gfaTestsDir[5].expectedAttribs = INVALID_FILE_ATTRIBUTES;
- gfaTestsDir[5].isFile = TYPE_DIR;
+ gfaTestsDir_A[5].name = NoDirectoryName;
+ gfaTestsDir_A[5].expectedAttribs = INVALID_FILE_ATTRIBUTES;
+ gfaTestsDir_A[5].isFile = TYPE_DIR;
/* Tests on file */
- gfaTestsFile[0].name = NormalFileName;
- gfaTestsFile[0].expectedAttribs = FILE_ATTRIBUTE_NORMAL;
- gfaTestsFile[0].isFile = TYPE_FILE;
+ gfaTestsFile_A[0].name = NormalFileName;
+ gfaTestsFile_A[0].expectedAttribs = FILE_ATTRIBUTE_NORMAL;
+ gfaTestsFile_A[0].isFile = TYPE_FILE;
- gfaTestsFile[1].name = ReadOnlyFileName;
- gfaTestsFile[1].expectedAttribs = FILE_ATTRIBUTE_READONLY;
- gfaTestsFile[1].isFile = TYPE_FILE;
+ gfaTestsFile_A[1].name = ReadOnlyFileName;
+ gfaTestsFile_A[1].expectedAttribs = FILE_ATTRIBUTE_READONLY;
+ gfaTestsFile_A[1].isFile = TYPE_FILE;
- gfaTestsFile[2].name = ReadWriteFileName;
- gfaTestsFile[2].expectedAttribs = FILE_ATTRIBUTE_NORMAL;
- gfaTestsFile[2].isFile = TYPE_FILE;
+ gfaTestsFile_A[2].name = ReadWriteFileName;
+ gfaTestsFile_A[2].expectedAttribs = FILE_ATTRIBUTE_NORMAL;
+ gfaTestsFile_A[2].isFile = TYPE_FILE;
- gfaTestsFile[3].name = HiddenFileName;
- gfaTestsFile[3].expectedAttribs = FILE_ATTRIBUTE_NORMAL; //FILE_ATTRIBUTE_HIDDEN;
- gfaTestsFile[3].isFile = TYPE_FILE;
+ gfaTestsFile_A[3].name = HiddenFileName;
+ gfaTestsFile_A[3].expectedAttribs = FILE_ATTRIBUTE_NORMAL; //FILE_ATTRIBUTE_HIDDEN;
+ gfaTestsFile_A[3].isFile = TYPE_FILE;
- gfaTestsFile[4].name = HiddenReadOnlyFileName;
- gfaTestsFile[4].expectedAttribs = FILE_ATTRIBUTE_READONLY; //|
+ gfaTestsFile_A[4].name = HiddenReadOnlyFileName;
+ gfaTestsFile_A[4].expectedAttribs = FILE_ATTRIBUTE_READONLY; //|
//FILE_ATTRIBUTE_HIDDEN;
- gfaTestsFile[4].isFile = TYPE_FILE;
+ gfaTestsFile_A[4].isFile = TYPE_FILE;
- gfaTestsFile[5].name = NotReallyAFileName;
- gfaTestsFile[5].expectedAttribs = INVALID_FILE_ATTRIBUTES;
- gfaTestsFile[5].isFile = TYPE_FILE;
+ gfaTestsFile_A[5].name = NotReallyAFileName;
+ gfaTestsFile_A[5].expectedAttribs = INVALID_FILE_ATTRIBUTES;
+ gfaTestsFile_A[5].isFile = TYPE_FILE;
/* Initialize PAL environment */
if (0 != PAL_Initialize(argc,argv))
@@ -258,22 +258,22 @@ int __cdecl main(int argc, char **argv)
return FAIL;
}
- if(!CleanUpFiles())
+ if(!CleanUpFiles_GetFileAttributesA_test1())
{
Fail("GetFileAttributesA: Pre-Clean Up Files Failed\n");
}
- if(0 == SetUpFiles())
+ if(0 == SetUpFiles_GetFileAttributesA_test1())
{
Fail("GetFileAttributesA: SetUp Files Failed\n");
}
- if(!CleanUpDirs())
+ if(!CleanUpDirs_GetFileAttributesA_test1())
{
Fail("GetFileAttributesA: Pre-Clean Up Directories Failed\n");
}
- if(!SetUpDirs())
+ if(!SetUpDirs_GetFileAttributesA_test1())
{
Fail("GetFileAttributesA: SetUp Directories Failed\n");
}
@@ -283,49 +283,49 @@ int __cdecl main(int argc, char **argv)
* call GetFileAttributesA on the name and
* make sure the return value is the one expected
*/
- for( i = 0; i < numFileTests; i++ )
+ for( i = 0; i < numFileTests_A; i++ )
{
- result = GetFileAttributesA(gfaTestsFile[i].name);
+ result = GetFileAttributesA(gfaTestsFile_A[i].name);
- if( result != gfaTestsFile[i].expectedAttribs )
+ if( result != gfaTestsFile_A[i].expectedAttribs )
{
bFailed = TRUE;
Trace("ERROR: GetFileAttributesA Test#%u on %s "
"returned %u instead of %u. \n",
i,
- gfaTestsFile[i].name,
+ gfaTestsFile_A[i].name,
result,
- gfaTestsFile[i].expectedAttribs);
+ gfaTestsFile_A[i].expectedAttribs);
}
}
- for( i = 0; i < numDirTests; i++ )
+ for( i = 0; i < numDirTests_A; i++ )
{
- result = GetFileAttributesA(gfaTestsDir[i].name);
+ result = GetFileAttributesA(gfaTestsDir_A[i].name);
- if( result != gfaTestsDir[i].expectedAttribs )
+ if( result != gfaTestsDir_A[i].expectedAttribs )
{
bFailed = TRUE;
Trace("ERROR: GetFileAttributesA on Directories Test#%u on %s "
"returned %u instead of %u. \n",
i,
- gfaTestsDir[i].name,
+ gfaTestsDir_A[i].name,
result,
- gfaTestsDir[i].expectedAttribs);
+ gfaTestsDir_A[i].expectedAttribs);
}
}
- if(!CleanUpFiles())
+ if(!CleanUpFiles_GetFileAttributesA_test1())
{
Fail("GetFileAttributesA: Post-Clean Up Files Failed\n");
}
- if(!CleanUpDirs())
+ if(!CleanUpDirs_GetFileAttributesA_test1())
{
Fail("GetFileAttributesA: Post-Clean Up Directories Failed\n");
}
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/no_directory/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/no_directory/CMakeLists.txt
deleted file mode 100644
index e69de29bb2d1d6..00000000000000
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/normal_test_directory/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/normal_test_directory/CMakeLists.txt
deleted file mode 100644
index e69de29bb2d1d6..00000000000000
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/ro_test_directory/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/ro_test_directory/CMakeLists.txt
deleted file mode 100644
index e69de29bb2d1d6..00000000000000
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/rw_directory/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/rw_directory/CMakeLists.txt
deleted file mode 100644
index e69de29bb2d1d6..00000000000000
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/testinfo.dat
deleted file mode 100644
index eb49f3c4952097..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/testinfo.dat
+++ /dev/null
@@ -1,19 +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 = file_io
-
-Function = GetFileAttributesA
-
-Name = Positive Test for GetFileAttributesA
-
-TYPE = DEFAULT
-
-EXE1 = getfileattributesa
-
-Description
-
-= Test the GetFileAttributesA function
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test1/.hidden_directory/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test1/.hidden_directory/CMakeLists.txt
deleted file mode 100644
index e69de29bb2d1d6..00000000000000
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test1/CMakeLists.txt
deleted file mode 100644
index 8929fa8876f1c2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_getfileattributesexw_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_getfileattributesexw_test1 coreclrpal)
-
-target_link_libraries(paltest_getfileattributesexw_test1
- ${COMMON_TEST_LIBRARIES}
-)
-add_subdirectory(.hidden_directory)
-add_subdirectory(normal_test_directory)
-add_subdirectory(ro_test_directory)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test1/normal_test_directory/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test1/normal_test_directory/CMakeLists.txt
deleted file mode 100644
index e69de29bb2d1d6..00000000000000
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test1/ro_test_directory/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test1/ro_test_directory/CMakeLists.txt
deleted file mode 100644
index e69de29bb2d1d6..00000000000000
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test1/test1.cpp
index 037d276af803d6..8cc392fc891287 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test1/test1.cpp
@@ -93,7 +93,7 @@ void VerifyInfo(WIN32_FILE_ATTRIBUTE_DATA InfoStruct,
results are correct.
*/
-void RunTest(char* Name, DWORD Attribs, ItemType TheType )
+void RunTest_GetFileAttributesExW_test1(char* Name, DWORD Attribs, ItemType TheType )
{
WCHAR* TheName;
WIN32_FILE_ATTRIBUTE_DATA InfoStruct;
@@ -115,7 +115,7 @@ void RunTest(char* Name, DWORD Attribs, ItemType TheType )
}
-int __cdecl main(int argc, char **argv)
+PALTEST(file_io_GetFileAttributesExW_test1_paltest_getfileattributesexw_test1, "file_io/GetFileAttributesExW/test1/paltest_getfileattributesexw_test1")
{
DWORD TheResult;
WCHAR* FileName;
@@ -127,29 +127,29 @@ int __cdecl main(int argc, char **argv)
}
/* Test a Directroy */
- RunTest("normal_test_directory", FILE_ATTRIBUTE_DIRECTORY, IS_DIR);
+ RunTest_GetFileAttributesExW_test1("normal_test_directory", FILE_ATTRIBUTE_DIRECTORY, IS_DIR);
/* Test a Normal File */
- RunTest("normal_test_file", FILE_ATTRIBUTE_NORMAL, IS_FILE);
+ RunTest_GetFileAttributesExW_test1("normal_test_file", FILE_ATTRIBUTE_NORMAL, IS_FILE);
/* Test a Read-Only Directroy */
- RunTest("ro_test_directory",
+ RunTest_GetFileAttributesExW_test1("ro_test_directory",
FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_DIRECTORY, IS_DIR);
/* Test a Read-Only File */
- RunTest("ro_test_file", FILE_ATTRIBUTE_READONLY, IS_FILE);
+ RunTest_GetFileAttributesExW_test1("ro_test_file", FILE_ATTRIBUTE_READONLY, IS_FILE);
/* Test a Hidden File */
- RunTest(".hidden_file", FILE_ATTRIBUTE_HIDDEN, IS_FILE);
+ RunTest_GetFileAttributesExW_test1(".hidden_file", FILE_ATTRIBUTE_HIDDEN, IS_FILE);
/* Test a Hidden Directroy */
- RunTest(".hidden_directory",
+ RunTest_GetFileAttributesExW_test1(".hidden_directory",
FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_DIRECTORY, IS_DIR);
/* Test a Non-Existant File */
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test1/testinfo.dat
deleted file mode 100644
index 6135ede5bc7ae1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test1/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = GetFileAttributesExW
-Name = Test with normal file/dir and readonly file/dir and hidden file/dir
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the GetFileAttributesExW function.
-= Call the function on a normal directory and file and a read-only directory
-= and file and a hidden file and directory.
-= Ensure that the attributes returned are correct, and the
-= file times and file sizes.
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test2/CMakeLists.txt
deleted file mode 100644
index fb59139042fe39..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_getfileattributesexw_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_getfileattributesexw_test2 coreclrpal)
-
-target_link_libraries(paltest_getfileattributesexw_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test2/test2.cpp
index f5fea17222d645..31fe689214e032 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test2/test2.cpp
@@ -32,7 +32,7 @@ static int IsFileTimeOk(FILETIME FirstTime, FILETIME SecondTime)
return(TimeOne <= TimeTwo);
}
-int __cdecl main(int argc, char **argv)
+PALTEST(file_io_GetFileAttributesExW_test2_paltest_getfileattributesexw_test2, "file_io/GetFileAttributesExW/test2/paltest_getfileattributesexw_test2")
{
DWORD res;
char fileName[MAX_PATH] = "test_file";
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test2/testinfo.dat
deleted file mode 100644
index af5d031cd28c15..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test2/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = GetFileAttributesExW
-Name = Test for GetFileAttributesExW
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Tests the PAL implementation of the GetFileAttributesExW function.
-= First get a file's attributes, modify the file, re-get its attributes
-= and compare the two sets of attributes
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/.hidden_directory/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/.hidden_directory/CMakeLists.txt
deleted file mode 100644
index e69de29bb2d1d6..00000000000000
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/.hidden_ro_directory/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/.hidden_ro_directory/CMakeLists.txt
deleted file mode 100644
index e69de29bb2d1d6..00000000000000
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/CMakeLists.txt
deleted file mode 100644
index 039375e839f472..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-set(SOURCES
- GetFileAttributesW.cpp
-)
-
-add_executable(paltest_getfileattributesw_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_getfileattributesw_test1 coreclrpal)
-
-target_link_libraries(paltest_getfileattributesw_test1
- ${COMMON_TEST_LIBRARIES}
-)
-add_subdirectory(.hidden_directory)
-add_subdirectory(.hidden_ro_directory)
-add_subdirectory(normal_test_directory)
-add_subdirectory(no_directory)
-add_subdirectory(ro_test_directory)
-add_subdirectory(rw_test_directory)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/GetFileAttributesW.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/GetFileAttributesW.cpp
index 48e1013db3940c..7efc9f88053403 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/GetFileAttributesW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/GetFileAttributesW.cpp
@@ -38,41 +38,41 @@ typedef struct
int isFile; /* is file (1) or dir (0) */
}TestCaseDir;
-DWORD desiredAccessFile = GENERIC_READ | GENERIC_WRITE;
-DWORD shareModeFile = FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE;
-LPSECURITY_ATTRIBUTES lpAttrFile = NULL;
-DWORD dwCreationDispFile = CREATE_NEW;
-DWORD dwFlagsAttribFile = FILE_ATTRIBUTE_NORMAL;
-HANDLE hTemplateFile = NULL;
+DWORD desiredAccessFile_GetFileAttributesW_test1 = GENERIC_READ | GENERIC_WRITE;
+DWORD shareModeFile_GetFileAttributesW_test1 = FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE;
+LPSECURITY_ATTRIBUTES lpAttrFile_GetFileAttributesW_test1 = NULL;
+DWORD dwCreationDispFile_GetFileAttributesW_test1 = CREATE_NEW;
+DWORD dwFlagsAttribFile_GetFileAttributesW_test1 = FILE_ATTRIBUTE_NORMAL;
+HANDLE hTemplateFile_GetFileAttributesW_test1 = NULL;
-int numFileTests = 6;
-TestCaseFile gfaTestsFile[6]; /* GetFileAttributes tests list */
+int numFileTests_GetFileAttributesW_test1 = 6;
+TestCaseFile gfaTestsFile_GetFileAttributesW_test1[6]; /* GetFileAttributes tests list */
-int numDirTests = 6;
-TestCaseDir gfaTestsDir[6]; /* GetFileAttributes tests list */
+int numDirTests_GetFileAttributesW_test1 = 6;
+TestCaseDir gfaTestsDir_GetFileAttributesW_test1[6]; /* GetFileAttributes tests list */
-BOOL CleanUpFiles()
+BOOL CleanUpFiles_GetFileAttributesW_test1()
{
DWORD dwAtt;
int i;
BOOL result = TRUE;
- for (i = 0; i < numFileTests - 1 ; i++ )
+ for (i = 0; i < numFileTests_GetFileAttributesW_test1 - 1 ; i++ )
{
- dwAtt = GetFileAttributesA(gfaTestsFile[i].name);
+ dwAtt = GetFileAttributesA(gfaTestsFile_GetFileAttributesW_test1[i].name);
if( dwAtt != INVALID_FILE_ATTRIBUTES )
{
//Trace("Files iteration %d\n", i);
- if(!SetFileAttributesA (gfaTestsFile[i].name, FILE_ATTRIBUTE_NORMAL))
+ if(!SetFileAttributesA (gfaTestsFile_GetFileAttributesW_test1[i].name, FILE_ATTRIBUTE_NORMAL))
{
result = FALSE;
- Trace("ERROR:%d: Error setting attributes [%s][%d]\n", GetLastError(), gfaTestsFile[i].name, FILE_ATTRIBUTE_NORMAL);
+ Trace("ERROR:%d: Error setting attributes [%s][%d]\n", GetLastError(), gfaTestsFile_GetFileAttributesW_test1[i].name, FILE_ATTRIBUTE_NORMAL);
}
- if(!DeleteFileA (gfaTestsFile[i].name))
+ if(!DeleteFileA (gfaTestsFile_GetFileAttributesW_test1[i].name))
{
result = FALSE;
- Trace("ERROR:%d: Error deleting file [%s][%d]\n", GetLastError(), gfaTestsFile[i].name, dwAtt);
+ Trace("ERROR:%d: Error deleting file [%s][%d]\n", GetLastError(), gfaTestsFile_GetFileAttributesW_test1[i].name, dwAtt);
}
}
@@ -80,58 +80,58 @@ BOOL CleanUpFiles()
// Trace("Value of result is %d\n", result);
return result;
}
-BOOL SetUpFiles()
+BOOL SetUpFiles_GetFileAttributesW_test1()
{
int i = 0;
BOOL result = TRUE;
- for (i = 0; i < numFileTests - 1 ; i++ )
+ for (i = 0; i < numFileTests_GetFileAttributesW_test1 - 1 ; i++ )
{
- gfaTestsFile[i].hFile = CreateFile(gfaTestsFile[i].name,
- desiredAccessFile,
- shareModeFile,
- lpAttrFile,
- dwCreationDispFile,
- dwFlagsAttribFile,
- hTemplateFile);
-
- if( gfaTestsFile[i].hFile == NULL )
+ gfaTestsFile_GetFileAttributesW_test1[i].hFile = CreateFile(gfaTestsFile_GetFileAttributesW_test1[i].name,
+ desiredAccessFile_GetFileAttributesW_test1,
+ shareModeFile_GetFileAttributesW_test1,
+ lpAttrFile_GetFileAttributesW_test1,
+ dwCreationDispFile_GetFileAttributesW_test1,
+ dwFlagsAttribFile_GetFileAttributesW_test1,
+ hTemplateFile_GetFileAttributesW_test1);
+
+ if( gfaTestsFile_GetFileAttributesW_test1[i].hFile == NULL )
{
Fail("Error while creating files for iteration %d\n", i);
}
- if(!SetFileAttributesA (gfaTestsFile[i].name, gfaTestsFile[i].expectedAttribs))
+ if(!SetFileAttributesA (gfaTestsFile_GetFileAttributesW_test1[i].name, gfaTestsFile_GetFileAttributesW_test1[i].expectedAttribs))
{
result = FALSE;
- Trace("ERROR:%d: Error setting attributes [%s][%d]\n", GetLastError(), gfaTestsFile[i].name, gfaTestsFile[i].expectedAttribs);
+ Trace("ERROR:%d: Error setting attributes [%s][%d]\n", GetLastError(), gfaTestsFile_GetFileAttributesW_test1[i].name, gfaTestsFile_GetFileAttributesW_test1[i].expectedAttribs);
}
}
return result;
}
-BOOL CleanUpDirs()
+BOOL CleanUpDirs_GetFileAttributesW_test1()
{
DWORD dwAtt;
int i;
BOOL result = TRUE;
- for (i = 0; i < numDirTests - 1; i++ )
+ for (i = 0; i < numDirTests_GetFileAttributesW_test1 - 1; i++ )
{
- dwAtt = GetFileAttributesA(gfaTestsDir[i].name);
+ dwAtt = GetFileAttributesA(gfaTestsDir_GetFileAttributesW_test1[i].name);
if( dwAtt != INVALID_FILE_ATTRIBUTES )
{
- if(!SetFileAttributesA (gfaTestsDir[i].name, FILE_ATTRIBUTE_DIRECTORY))
+ if(!SetFileAttributesA (gfaTestsDir_GetFileAttributesW_test1[i].name, FILE_ATTRIBUTE_DIRECTORY))
{
result = FALSE;
- Trace("ERROR:%d: Error setting attributes [%s][%d]\n", GetLastError(), gfaTestsDir[i].name, (FILE_ATTRIBUTE_NORMAL | FILE_ATTRIBUTE_DIRECTORY));
+ Trace("ERROR:%d: Error setting attributes [%s][%d]\n", GetLastError(), gfaTestsDir_GetFileAttributesW_test1[i].name, (FILE_ATTRIBUTE_NORMAL | FILE_ATTRIBUTE_DIRECTORY));
}
- LPWSTR nameW = convert(gfaTestsDir[i].name);
+ LPWSTR nameW = convert(gfaTestsDir_GetFileAttributesW_test1[i].name);
if(!RemoveDirectoryW (nameW))
{
result = FALSE;
- Trace("ERROR:%d: Error deleting file [%s][%d]\n", GetLastError(), gfaTestsDir[i].name, dwAtt);
+ Trace("ERROR:%d: Error deleting file [%s][%d]\n", GetLastError(), gfaTestsDir_GetFileAttributesW_test1[i].name, dwAtt);
}
free(nameW);
@@ -141,14 +141,14 @@ BOOL CleanUpDirs()
return result;
}
-BOOL SetUpDirs()
+BOOL SetUpDirs_GetFileAttributesW_test1()
{
int i = 0;
BOOL result = TRUE;
DWORD ret = 0;
- for (i = 0; i < numDirTests - 1; i++ )
+ for (i = 0; i < numDirTests_GetFileAttributesW_test1 - 1; i++ )
{
- result = CreateDirectoryA(gfaTestsDir[i].name,
+ result = CreateDirectoryA(gfaTestsDir_GetFileAttributesW_test1[i].name,
NULL);
if(!result )
@@ -157,25 +157,25 @@ BOOL SetUpDirs()
Fail("Error while creating directory for iteration %d\n", i);
}
- if(!SetFileAttributesA (gfaTestsDir[i].name, gfaTestsDir[i].expectedAttribs))
+ if(!SetFileAttributesA (gfaTestsDir_GetFileAttributesW_test1[i].name, gfaTestsDir_GetFileAttributesW_test1[i].expectedAttribs))
{
result = FALSE;
- Trace("ERROR:%d: Error setting attributes [%s][%d]\n", GetLastError(), gfaTestsDir[i].name, gfaTestsDir[i].expectedAttribs);
+ Trace("ERROR:%d: Error setting attributes [%s][%d]\n", GetLastError(), gfaTestsDir_GetFileAttributesW_test1[i].name, gfaTestsDir_GetFileAttributesW_test1[i].expectedAttribs);
}
- ret = GetFileAttributesA (gfaTestsDir[i].name);
- if(ret != gfaTestsDir[i].expectedAttribs)
+ ret = GetFileAttributesA (gfaTestsDir_GetFileAttributesW_test1[i].name);
+ if(ret != gfaTestsDir_GetFileAttributesW_test1[i].expectedAttribs)
{
result = FALSE;
- Trace("ERROR: Error setting attributes [%s][%d]\n", gfaTestsDir[i].name, gfaTestsDir[i].expectedAttribs);
+ Trace("ERROR: Error setting attributes [%s][%d]\n", gfaTestsDir_GetFileAttributesW_test1[i].name, gfaTestsDir_GetFileAttributesW_test1[i].expectedAttribs);
}
- // Trace("Setup Dir setting attr [%d], returned [%d]\n", gfaTestsDir[i].expectedAttribs, ret);
+ // Trace("Setup Dir setting attr [%d], returned [%d]\n", gfaTestsDir_GetFileAttributesW_test1[i].expectedAttribs, ret);
}
// Trace("Setup dirs returning %d\n", result);
return result;
}
-int __cdecl main(int argc, char **argv)
+PALTEST(file_io_GetFileAttributesW_test1_paltest_getfileattributesw_test1, "file_io/GetFileAttributesW/test1/paltest_getfileattributesw_test1")
{
int i;
BOOL bFailed = FALSE;
@@ -197,61 +197,61 @@ int __cdecl main(int argc, char **argv)
WCHAR *WStr;
/* Tests on directory */
- gfaTestsDir[0].name = NormalDirectoryName;
- gfaTestsDir[0].expectedAttribs = FILE_ATTRIBUTE_DIRECTORY;
- gfaTestsDir[0].isFile = TYPE_DIR;
+ gfaTestsDir_GetFileAttributesW_test1[0].name = NormalDirectoryName;
+ gfaTestsDir_GetFileAttributesW_test1[0].expectedAttribs = FILE_ATTRIBUTE_DIRECTORY;
+ gfaTestsDir_GetFileAttributesW_test1[0].isFile = TYPE_DIR;
- gfaTestsDir[1].name = ReadOnlyDirectoryName;
- gfaTestsDir[1].expectedAttribs = FILE_ATTRIBUTE_DIRECTORY |
+ gfaTestsDir_GetFileAttributesW_test1[1].name = ReadOnlyDirectoryName;
+ gfaTestsDir_GetFileAttributesW_test1[1].expectedAttribs = FILE_ATTRIBUTE_DIRECTORY |
FILE_ATTRIBUTE_READONLY;
- gfaTestsDir[1].isFile = TYPE_DIR;
+ gfaTestsDir_GetFileAttributesW_test1[1].isFile = TYPE_DIR;
- gfaTestsDir[2].name = ReadWriteDirectoryName;
- gfaTestsDir[2].expectedAttribs = FILE_ATTRIBUTE_DIRECTORY;
- gfaTestsDir[2].isFile = TYPE_DIR;
+ gfaTestsDir_GetFileAttributesW_test1[2].name = ReadWriteDirectoryName;
+ gfaTestsDir_GetFileAttributesW_test1[2].expectedAttribs = FILE_ATTRIBUTE_DIRECTORY;
+ gfaTestsDir_GetFileAttributesW_test1[2].isFile = TYPE_DIR;
- gfaTestsDir[3].name = HiddenDirectoryName;
- gfaTestsDir[3].expectedAttribs = FILE_ATTRIBUTE_DIRECTORY; //|
+ gfaTestsDir_GetFileAttributesW_test1[3].name = HiddenDirectoryName;
+ gfaTestsDir_GetFileAttributesW_test1[3].expectedAttribs = FILE_ATTRIBUTE_DIRECTORY; //|
//FILE_ATTRIBUTE_HIDDEN;
- gfaTestsDir[3].isFile = TYPE_DIR;
+ gfaTestsDir_GetFileAttributesW_test1[3].isFile = TYPE_DIR;
- gfaTestsDir[4].name = HiddenReadOnlyDirectoryName;
- gfaTestsDir[4].expectedAttribs = FILE_ATTRIBUTE_DIRECTORY |
+ gfaTestsDir_GetFileAttributesW_test1[4].name = HiddenReadOnlyDirectoryName;
+ gfaTestsDir_GetFileAttributesW_test1[4].expectedAttribs = FILE_ATTRIBUTE_DIRECTORY |
FILE_ATTRIBUTE_READONLY; //|
//FILE_ATTRIBUTE_HIDDEN;
- gfaTestsDir[4].isFile = TYPE_DIR;
+ gfaTestsDir_GetFileAttributesW_test1[4].isFile = TYPE_DIR;
- gfaTestsDir[5].name = NoDirectoryName;
- gfaTestsDir[5].expectedAttribs = INVALID_FILE_ATTRIBUTES;
- gfaTestsDir[5].isFile = TYPE_DIR;
+ gfaTestsDir_GetFileAttributesW_test1[5].name = NoDirectoryName;
+ gfaTestsDir_GetFileAttributesW_test1[5].expectedAttribs = INVALID_FILE_ATTRIBUTES;
+ gfaTestsDir_GetFileAttributesW_test1[5].isFile = TYPE_DIR;
/* Tests on file */
- gfaTestsFile[0].name = NormalFileName;
- gfaTestsFile[0].expectedAttribs = FILE_ATTRIBUTE_NORMAL;
- gfaTestsFile[0].isFile = TYPE_FILE;
+ gfaTestsFile_GetFileAttributesW_test1[0].name = NormalFileName;
+ gfaTestsFile_GetFileAttributesW_test1[0].expectedAttribs = FILE_ATTRIBUTE_NORMAL;
+ gfaTestsFile_GetFileAttributesW_test1[0].isFile = TYPE_FILE;
- gfaTestsFile[1].name = ReadOnlyFileName;
- gfaTestsFile[1].expectedAttribs = FILE_ATTRIBUTE_READONLY;
- gfaTestsFile[1].isFile = TYPE_FILE;
+ gfaTestsFile_GetFileAttributesW_test1[1].name = ReadOnlyFileName;
+ gfaTestsFile_GetFileAttributesW_test1[1].expectedAttribs = FILE_ATTRIBUTE_READONLY;
+ gfaTestsFile_GetFileAttributesW_test1[1].isFile = TYPE_FILE;
- gfaTestsFile[2].name = ReadWriteFileName;
- gfaTestsFile[2].expectedAttribs = FILE_ATTRIBUTE_NORMAL;
- gfaTestsFile[2].isFile = TYPE_FILE;
+ gfaTestsFile_GetFileAttributesW_test1[2].name = ReadWriteFileName;
+ gfaTestsFile_GetFileAttributesW_test1[2].expectedAttribs = FILE_ATTRIBUTE_NORMAL;
+ gfaTestsFile_GetFileAttributesW_test1[2].isFile = TYPE_FILE;
- gfaTestsFile[3].name = HiddenFileName;
- gfaTestsFile[3].expectedAttribs = FILE_ATTRIBUTE_NORMAL; //FILE_ATTRIBUTE_HIDDEN;
- gfaTestsFile[3].isFile = TYPE_FILE;
+ gfaTestsFile_GetFileAttributesW_test1[3].name = HiddenFileName;
+ gfaTestsFile_GetFileAttributesW_test1[3].expectedAttribs = FILE_ATTRIBUTE_NORMAL; //FILE_ATTRIBUTE_HIDDEN;
+ gfaTestsFile_GetFileAttributesW_test1[3].isFile = TYPE_FILE;
- gfaTestsFile[4].name = HiddenReadOnlyFileName;
- gfaTestsFile[4].expectedAttribs = FILE_ATTRIBUTE_READONLY; //|
+ gfaTestsFile_GetFileAttributesW_test1[4].name = HiddenReadOnlyFileName;
+ gfaTestsFile_GetFileAttributesW_test1[4].expectedAttribs = FILE_ATTRIBUTE_READONLY; //|
//FILE_ATTRIBUTE_HIDDEN;
- gfaTestsFile[4].isFile = TYPE_FILE;
+ gfaTestsFile_GetFileAttributesW_test1[4].isFile = TYPE_FILE;
- gfaTestsFile[5].name = NotReallyAFileName;
- gfaTestsFile[5].expectedAttribs = INVALID_FILE_ATTRIBUTES;
- gfaTestsFile[5].isFile = TYPE_FILE;
+ gfaTestsFile_GetFileAttributesW_test1[5].name = NotReallyAFileName;
+ gfaTestsFile_GetFileAttributesW_test1[5].expectedAttribs = INVALID_FILE_ATTRIBUTES;
+ gfaTestsFile_GetFileAttributesW_test1[5].isFile = TYPE_FILE;
/* Initialize PAL environment */
if (0 != PAL_Initialize(argc,argv))
@@ -259,22 +259,22 @@ int __cdecl main(int argc, char **argv)
return FAIL;
}
- if(!CleanUpFiles())
+ if(!CleanUpFiles_GetFileAttributesW_test1())
{
Fail("GetFileAttributesW: Pre-Clean Up Files Failed\n");
}
- if(0 == SetUpFiles())
+ if(0 == SetUpFiles_GetFileAttributesW_test1())
{
Fail("GetFileAttributesW: SetUp Files Failed\n");
}
- if(!CleanUpDirs())
+ if(!CleanUpDirs_GetFileAttributesW_test1())
{
Fail("GetFileAttributesW: Pre-Clean Up Directories Failed\n");
}
- if(!SetUpDirs())
+ if(!SetUpDirs_GetFileAttributesW_test1())
{
Fail("GetFileAttributesW: SetUp Directories Failed\n");
}
@@ -284,53 +284,53 @@ int __cdecl main(int argc, char **argv)
* call GetFileAttributesW on the name and
* make sure the return value is the one expected
*/
- for( i = 0; i < numFileTests; i++ )
+ for( i = 0; i < numFileTests_GetFileAttributesW_test1; i++ )
{
- WStr = convert(gfaTestsFile[i].name);
+ WStr = convert(gfaTestsFile_GetFileAttributesW_test1[i].name);
result = GetFileAttributesW(WStr);
- if( result != gfaTestsFile[i].expectedAttribs )
+ if( result != gfaTestsFile_GetFileAttributesW_test1[i].expectedAttribs )
{
bFailed = TRUE;
Trace("ERROR: GetFileAttributesW Test#%u on %s "
"returned %u instead of %u. \n",
i,
- gfaTestsFile[i].name,
+ gfaTestsFile_GetFileAttributesW_test1[i].name,
result,
- gfaTestsFile[i].expectedAttribs);
+ gfaTestsFile_GetFileAttributesW_test1[i].expectedAttribs);
}
free(WStr);
}
- for( i = 0; i < numDirTests; i++ )
+ for( i = 0; i < numDirTests_GetFileAttributesW_test1; i++ )
{
- WStr = convert(gfaTestsDir[i].name);
+ WStr = convert(gfaTestsDir_GetFileAttributesW_test1[i].name);
result = GetFileAttributesW(WStr);
- if( result != gfaTestsDir[i].expectedAttribs )
+ if( result != gfaTestsDir_GetFileAttributesW_test1[i].expectedAttribs )
{
bFailed = TRUE;
Trace("ERROR: GetFileAttributesW on Directories Test#%u on %s "
"returned %u instead of %u. \n",
i,
- gfaTestsDir[i].name,
+ gfaTestsDir_GetFileAttributesW_test1[i].name,
result,
- gfaTestsDir[i].expectedAttribs);
+ gfaTestsDir_GetFileAttributesW_test1[i].expectedAttribs);
}
free(WStr);
}
- if(!CleanUpFiles())
+ if(!CleanUpFiles_GetFileAttributesW_test1())
{
Fail("GetFileAttributesW: Post-Clean Up Files Failed\n");
}
- if(!CleanUpDirs())
+ if(!CleanUpDirs_GetFileAttributesW_test1())
{
Fail("GetFileAttributesW: Post-Clean Up Directories Failed\n");
}
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/no_directory/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/no_directory/CMakeLists.txt
deleted file mode 100644
index e69de29bb2d1d6..00000000000000
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/normal_test_directory/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/normal_test_directory/CMakeLists.txt
deleted file mode 100644
index e69de29bb2d1d6..00000000000000
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/ro_test_directory/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/ro_test_directory/CMakeLists.txt
deleted file mode 100644
index e69de29bb2d1d6..00000000000000
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/rw_test_directory/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/rw_test_directory/CMakeLists.txt
deleted file mode 100644
index e69de29bb2d1d6..00000000000000
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/testinfo.dat
deleted file mode 100644
index e837aeae70aa9e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/testinfo.dat
+++ /dev/null
@@ -1,19 +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 = file_io
-
-Function = GetFileAttributesW
-
-Name = Positive Test for GetFileAttributesW
-
-TYPE = DEFAULT
-
-EXE1 = getfileattributesw
-
-Description
-
-= Test the GetFileAttributesW function
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSize/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSize/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSize/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSize/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSize/test1/CMakeLists.txt
deleted file mode 100644
index fa5a8b3470cc39..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSize/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- GetFileSize.cpp
-)
-
-add_executable(paltest_getfilesize_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_getfilesize_test1 coreclrpal)
-
-target_link_libraries(paltest_getfilesize_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSize/test1/GetFileSize.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSize/test1/GetFileSize.cpp
index f66d5b94054bb0..4a58e113a9315b 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSize/test1/GetFileSize.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSize/test1/GetFileSize.cpp
@@ -12,9 +12,9 @@
#include
-const char* szTextFile = "text.txt";
-void CleanUp(HANDLE hFile)
+
+void CleanUp_GetFileSize_test1(HANDLE hFile)
{
if (CloseHandle(hFile) != TRUE)
{
@@ -28,7 +28,7 @@ void CleanUp(HANDLE hFile)
}
}
-void CheckFileSize(HANDLE hFile, DWORD dwOffset, DWORD dwHighOrder)
+void CheckFileSize_GetFileSize_test1(HANDLE hFile, DWORD dwOffset, DWORD dwHighOrder)
{
DWORD dwRc = 0;
DWORD dwReturnedHighOrder = 0;
@@ -39,7 +39,7 @@ void CheckFileSize(HANDLE hFile, DWORD dwOffset, DWORD dwHighOrder)
{
Trace("GetFileSize: ERROR -> Call to SetFilePointer failed with %ld.\n",
GetLastError());
- CleanUp(hFile);
+ CleanUp_GetFileSize_test1(hFile);
Fail("");
}
else
@@ -48,21 +48,21 @@ void CheckFileSize(HANDLE hFile, DWORD dwOffset, DWORD dwHighOrder)
{
Trace("GetFileSize: ERROR -> Call to SetEndOfFile failed with %ld.\n",
GetLastError());
- CleanUp(hFile);
+ CleanUp_GetFileSize_test1(hFile);
Fail("");
}
dwReturnedOffset = GetFileSize(hFile, &dwReturnedHighOrder);
if ((dwReturnedOffset != dwOffset) ||
(dwReturnedHighOrder != dwHighOrder))
{
- CleanUp(hFile);
+ CleanUp_GetFileSize_test1(hFile);
Fail("GetFileSize: ERROR -> File sizes do not match up.\n");
}
}
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_GetFileSize_test1_paltest_getfilesize_test1, "file_io/GetFileSize/test1/paltest_getfilesize_test1")
{
HANDLE hFile = NULL;
DWORD dwRc = 0;
@@ -126,14 +126,14 @@ int __cdecl main(int argc, char *argv[])
}
/* give the file a size */
- CheckFileSize(hFile, 256, 0);
+ CheckFileSize_GetFileSize_test1(hFile, 256, 0);
/* make the file large using the high order option */
- CheckFileSize(hFile, 256, 1);
+ CheckFileSize_GetFileSize_test1(hFile, 256, 1);
/* set the file size to zero */
- CheckFileSize(hFile, 0, 0);
+ CheckFileSize_GetFileSize_test1(hFile, 0, 0);
/* test if file size changes by writing to it. */
/* get file size */
@@ -144,7 +144,7 @@ int __cdecl main(int argc, char *argv[])
{
Trace("GetFileSize: ERROR -> Call to WriteFile failed with %ld.\n",
GetLastError());
- CleanUp(hFile);
+ CleanUp_GetFileSize_test1(hFile);
Fail("");
}
@@ -153,7 +153,7 @@ int __cdecl main(int argc, char *argv[])
{
Trace("GetFileSize: ERROR -> Call to FlushFileBuffers failed with %ld.\n",
GetLastError());
- CleanUp(hFile);
+ CleanUp_GetFileSize_test1(hFile);
Fail("");
}
@@ -161,12 +161,12 @@ int __cdecl main(int argc, char *argv[])
dwRc2 = GetFileSize(hFile, NULL);
if((dwRc2-dwRc) !=strlen(data))
{
- CleanUp(hFile);
+ CleanUp_GetFileSize_test1(hFile);
Fail("GetFileSize: ERROR -> File size did not increase properly after.\n"
"writing %d chars\n", strlen(data));
}
- CleanUp(hFile);
+ CleanUp_GetFileSize_test1(hFile);
PAL_Terminate();
return PASS;
}
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSize/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSize/test1/testinfo.dat
deleted file mode 100644
index ea1c1021d5e9fc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSize/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = GetFileSize
-Name = Positive Test for GetFileSize (test 1)
-Type = DEFAULT
-EXE1 = getfilesize
-Description
-= Test GetFileSize on a NULL handle and valid file handles
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSizeEx/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSizeEx/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSizeEx/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSizeEx/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSizeEx/test1/CMakeLists.txt
deleted file mode 100644
index 6de183f9563fc6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSizeEx/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- GetFileSizeEx.cpp
-)
-
-add_executable(paltest_getfilesizeex_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_getfilesizeex_test1 coreclrpal)
-
-target_link_libraries(paltest_getfilesizeex_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSizeEx/test1/GetFileSizeEx.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSizeEx/test1/GetFileSizeEx.cpp
index 3361047c2713a2..1268fad42001e9 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSizeEx/test1/GetFileSizeEx.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSizeEx/test1/GetFileSizeEx.cpp
@@ -12,9 +12,9 @@
#include
-const char* szTextFile = "text.txt";
-void CleanUp(HANDLE hFile)
+
+void CleanUp_GetFileSizeEx_test1(HANDLE hFile)
{
if (CloseHandle(hFile) != TRUE)
{
@@ -30,7 +30,7 @@ void CleanUp(HANDLE hFile)
}
}
-void CheckFileSize(HANDLE hFile, DWORD dwOffset, DWORD dwHighOrder)
+void CheckFileSize_GetFileSizeEx_test1(HANDLE hFile, DWORD dwOffset, DWORD dwHighOrder)
{
DWORD dwRc = 0;
DWORD dwError = 0;
@@ -41,7 +41,7 @@ void CheckFileSize(HANDLE hFile, DWORD dwOffset, DWORD dwHighOrder)
{
Trace("GetFileSizeEx: ERROR -> Call to SetFilePointer failed with %ld.\n",
GetLastError());
- CleanUp(hFile);
+ CleanUp_GetFileSizeEx_test1(hFile);
Fail("");
}
else
@@ -49,7 +49,7 @@ void CheckFileSize(HANDLE hFile, DWORD dwOffset, DWORD dwHighOrder)
if (!SetEndOfFile(hFile))
{
dwError = GetLastError();
- CleanUp(hFile);
+ CleanUp_GetFileSizeEx_test1(hFile);
if (dwError == 112)
{
Fail("GetFileSizeEx: ERROR -> SetEndOfFile failed due to lack of "
@@ -67,14 +67,14 @@ void CheckFileSize(HANDLE hFile, DWORD dwOffset, DWORD dwHighOrder)
if ((qwFileSize.u.LowPart != dwOffset) ||
(qwFileSize.u.HighPart != dwHighOrder))
{
- CleanUp(hFile);
+ CleanUp_GetFileSizeEx_test1(hFile);
Fail("GetFileSizeEx: ERROR -> File sizes do not match up.\n");
}
}
}
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_GetFileSizeEx_test1_paltest_getfilesizeex_test1, "file_io/GetFileSizeEx/test1/paltest_getfilesizeex_test1")
{
HANDLE hFile = NULL;
BOOL bRc = FALSE;
@@ -126,14 +126,14 @@ int __cdecl main(int argc, char *argv[])
}
/* give the file a size */
- CheckFileSize(hFile, 256, 0);
+ CheckFileSize_GetFileSizeEx_test1(hFile, 256, 0);
/* make the file large using the high order option */
- CheckFileSize(hFile, 256, 1);
+ CheckFileSize_GetFileSizeEx_test1(hFile, 256, 1);
/* set the file size to zero */
- CheckFileSize(hFile, 0, 0);
+ CheckFileSize_GetFileSizeEx_test1(hFile, 0, 0);
/* test if file size changes by writing to it. */
/* get file size */
@@ -144,7 +144,7 @@ int __cdecl main(int argc, char *argv[])
{
Trace("GetFileSizeEx: ERROR -> Call to WriteFile failed with %ld.\n",
GetLastError());
- CleanUp(hFile);
+ CleanUp_GetFileSizeEx_test1(hFile);
Fail("");
}
@@ -153,7 +153,7 @@ int __cdecl main(int argc, char *argv[])
{
Trace("GetFileSizeEx: ERROR -> Call to FlushFileBuffers failed with %ld.\n",
GetLastError());
- CleanUp(hFile);
+ CleanUp_GetFileSizeEx_test1(hFile);
Fail("");
}
@@ -161,12 +161,12 @@ int __cdecl main(int argc, char *argv[])
GetFileSizeEx(hFile, &qwFileSize2);
if((qwFileSize2.QuadPart-qwFileSize.QuadPart) !=strlen(data))
{
- CleanUp(hFile);
+ CleanUp_GetFileSizeEx_test1(hFile);
Fail("GetFileSizeEx: ERROR -> File size did not increase properly after.\n"
"writing %d chars\n", strlen(data));
}
- CleanUp(hFile);
+ CleanUp_GetFileSizeEx_test1(hFile);
PAL_Terminate();
return PASS;
}
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSizeEx/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSizeEx/test1/testinfo.dat
deleted file mode 100644
index 587113c3556672..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFileSizeEx/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = GetFileSizeEx
-Name = Positive Test for GetFileSizeEx (test 1)
-Type = DEFAULT
-EXE1 = getfilesizeex
-Description
-= Test GetFileSizeEx on a NULL handle and valid file handles
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/CMakeLists.txt
deleted file mode 100644
index 070e421836829e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/CMakeLists.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-add_subdirectory(test4)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test1/CMakeLists.txt
deleted file mode 100644
index a531511937a8cf..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- GetFullPathNameA.cpp
-)
-
-add_executable(paltest_getfullpathnamea_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_getfullpathnamea_test1 coreclrpal)
-
-target_link_libraries(paltest_getfullpathnamea_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test1/GetFullPathNameA.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test1/GetFullPathNameA.cpp
index eda6f130c4f3a7..18aee4bba03818 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test1/GetFullPathNameA.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test1/GetFullPathNameA.cpp
@@ -12,10 +12,10 @@
#include
-const char* szFileName = "testing.tmp";
-
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_GetFullPathNameA_test1_paltest_getfullpathnamea_test1, "file_io/GetFullPathNameA/test1/paltest_getfullpathnamea_test1")
{
+ const char* szFileName = "testing.tmp";
+
DWORD dwRc = 0;
char szReturnedPath[_MAX_DIR+1];
char szShortBuff[2];
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test1/testinfo.dat
deleted file mode 100644
index f5191c648a6a1d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test1/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = GetFullPathNameA
-Name = Test for GetFullPathNameA (test 1)
-Type = DEFAULT
-EXE1 = getfullpathnamea
-Description
-= Get the full path for a file name and verify the results.
-= Also, attempt to call GetFullPathNameA with a buffer that is
-= too small for the returned path and verify the results.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test2/CMakeLists.txt
deleted file mode 100644
index fc400bd67a3874..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_getfullpathnamea_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_getfullpathnamea_test2 coreclrpal)
-
-target_link_libraries(paltest_getfullpathnamea_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test2/test2.cpp
index caec7d8be8d3c8..b63e61f33e60f0 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test2/test2.cpp
@@ -17,11 +17,11 @@
#include
-const char* szDotDot = "..\\";
-const char* szFileName = "testing.tmp";
-
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_GetFullPathNameA_test2_paltest_getfullpathnamea_test2, "file_io/GetFullPathNameA/test2/paltest_getfullpathnamea_test2")
{
+ const char* szDotDot = "..\\";
+ const char* szFileName = "testing.tmp";
+
DWORD dwRc = 0;
char szReturnedPath[_MAX_DIR+1];
char szFullFileName[_MAX_DIR+1];
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test2/testinfo.dat
deleted file mode 100644
index fd72c84010f647..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test2/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = GetFullPathNameA
-Name = Test for GetFullPathNameA
-Type = DEFAULT
-EXE1 = test2
-Description
-= Tests the PAL implementation of the GetFullPathNameA API.
-= GetFullPathA will be passed a directory that contains '..'.
-= To add to this test, we will also call SetCurrentDirectory to
-= ensure this is handled properly.
-= The test will create a file with in the parent directory
-= to verify that the returned directory is valid.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test3/CMakeLists.txt
deleted file mode 100644
index 0877aae13d7918..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_getfullpathnamea_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_getfullpathnamea_test3 coreclrpal)
-
-target_link_libraries(paltest_getfullpathnamea_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test3/test3.cpp
index 54c53955465df4..b098719bb1fd6b 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test3/test3.cpp
@@ -29,17 +29,18 @@
#include
+
+PALTEST(file_io_GetFullPathNameA_test3_paltest_getfullpathnamea_test3, "file_io/GetFullPathNameA/test3/paltest_getfullpathnamea_test3")
+{
#ifdef WIN32
const char* szSeperator = "\\";
#else
const char* szSeperator = "//";
#endif
-const char* szDotDot = "..\\";
-const char* szFileName = "testing.tmp";
+ const char* szDotDot = "..\\";
+ const char* szFileName = "testing.tmp";
-int __cdecl main(int argc, char *argv[])
-{
DWORD dwRc = 0;
char szReturnedPath[_MAX_DIR+1];
char szFullFileName[_MAX_DIR+1];
@@ -235,6 +236,6 @@ int __cdecl main(int argc, char *argv[])
free (szCreatedDirW);
/* Terminate the PAL.*/
- PAL_Terminate();
+ PAL_TerminateEx(bRetVal);
return bRetVal;
}
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test3/testinfo.dat
deleted file mode 100644
index 1a1de6d9555c62..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test3/testinfo.dat
+++ /dev/null
@@ -1,18 +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 = file_io
-Function = GetFullPathNameA
-Name = Test for GetFullPathNameA
-Type = DEFAULT
-EXE1 = test3
-Description
-= Tests the PAL implementation of the GetFullPathNameA API.
-= GetFullPathA will be passed a directory that contains '..'.
-= Example: test_directory\level1\..\testing.tmp.
-= To add to this test, we will also call SetCurrentDirectory to
-= ensure this is handled properly.
-= The test will create a file with in the parent directory
-= to verify that the returned directory is valid.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test4/CMakeLists.txt
deleted file mode 100644
index ec502f5d0e2d9f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_getfullpathnamea_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_getfullpathnamea_test4 coreclrpal)
-
-target_link_libraries(paltest_getfullpathnamea_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test4/test4.cpp
index fd9879b03c8d54..f463aec087f910 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test4/test4.cpp
@@ -29,17 +29,18 @@
#include
+
+PALTEST(file_io_GetFullPathNameA_test4_paltest_getfullpathnamea_test4, "file_io/GetFullPathNameA/test4/paltest_getfullpathnamea_test4")
+{
#ifdef WIN32
const char* szSeperator = "\\";
#else
const char* szSeperator = "//";
#endif
-const char* szDotDot = "..";
-const char* szFileName = "testing.tmp";
+ const char* szDotDot = "..";
+ const char* szFileName = "testing.tmp";
-int __cdecl main(int argc, char *argv[])
-{
DWORD dwRc = 0;
char szReturnedPath[_MAX_DIR+1];
char szFullFileName[_MAX_DIR+1];
@@ -197,6 +198,6 @@ int __cdecl main(int argc, char *argv[])
free (szCreatedDirW);
/* Terminate the PAL.*/
- PAL_Terminate();
+ PAL_TerminateEx(bRetVal);
return bRetVal;
}
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test4/testinfo.dat
deleted file mode 100644
index 9480549d73e511..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameA/test4/testinfo.dat
+++ /dev/null
@@ -1,18 +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 = file_io
-Function = GetFullPathNameA
-Name = Test for GetFullPathNameA
-Type = DEFAULT
-EXE1 = test4
-Description
-= Tests the PAL implementation of the GetFullPathNameA API.
-= GetFullPathA will be passed a directory that begins with '..'.
-= Example: ..\test_directory\level1\testing.tmp.
-= To add to this test, we will also call SetCurrentDirectory to
-= ensure this is handled properly.
-= The test will create a file with in the parent directory
-= to verify that the returned directory is valid.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/CMakeLists.txt
deleted file mode 100644
index 070e421836829e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/CMakeLists.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-add_subdirectory(test4)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test1/CMakeLists.txt
deleted file mode 100644
index edae18d61513a2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- GetFullPathNameW.cpp
-)
-
-add_executable(paltest_getfullpathnamew_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_getfullpathnamew_test1 coreclrpal)
-
-target_link_libraries(paltest_getfullpathnamew_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test1/GetFullPathNameW.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test1/GetFullPathNameW.cpp
index e4562132016b9b..281c2023016bb9 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test1/GetFullPathNameW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test1/GetFullPathNameW.cpp
@@ -12,10 +12,10 @@
#include
-const char* szFileName = "testing.tmp";
-
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_GetFullPathNameW_test1_paltest_getfullpathnamew_test1, "file_io/GetFullPathNameW/test1/paltest_getfullpathnamew_test1")
{
+ const char* szFileName = "testing.tmp";
+
DWORD dwRc = 0;
WCHAR szwReturnedPath[_MAX_DIR+1];
WCHAR szwShortBuff[2];
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test1/testinfo.dat
deleted file mode 100644
index 4b7448ddb44798..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test1/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = GetFullPathNameW
-Name = Test for GetFullPathNameW (test 1)
-Type = DEFAULT
-EXE1 = getfullpathnamew
-Description
-= Get the full path for a file name and verify the results.
-= Also, attempt to call GetFullPathNameW with a buffer that is
-= too small for the returned path and verify the results.
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test2/CMakeLists.txt
deleted file mode 100644
index 9d19bf001726d7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_getfullpathnamew_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_getfullpathnamew_test2 coreclrpal)
-
-target_link_libraries(paltest_getfullpathnamew_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test2/test2.cpp
index 3faaffa3f5c2a3..57fa29130c64cf 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test2/test2.cpp
@@ -16,11 +16,11 @@
#include
-WCHAR szwDotDot[] = {'.','.','\\','\0'};
-WCHAR szwFileName[] = {'t','e','s','t','i','n','g','.','t','m','p','\0'};
-
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_GetFullPathNameW_test2_paltest_getfullpathnamew_test2, "file_io/GetFullPathNameW/test2/paltest_getfullpathnamew_test2")
{
+ WCHAR szwDotDot[] = {'.','.','\\','\0'};
+ WCHAR szwFileName[] = {'t','e','s','t','i','n','g','.','t','m','p','\0'};
+
DWORD dwRc = 0;
WCHAR szwReturnedPath[_MAX_DIR+1];
WCHAR szwFullFileName[_MAX_DIR+1];
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test2/testinfo.dat
deleted file mode 100644
index facd0940b06056..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test2/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = GetFullPathNameW
-Name = Test for GetFullPathNameW (test 2)
-Type = DEFAULT
-EXE1 = test2
-Description
-= Get the full path for a file name and verify the results.
-= This test will use a relative path, containing '..\'. To
-= add to this test, we will also call SetCurrentDirectory to
-= ensure this is handled properly.
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test3/CMakeLists.txt
deleted file mode 100644
index c91e8bc1ec10c2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_getfullpathnamew_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_getfullpathnamew_test3 coreclrpal)
-
-target_link_libraries(paltest_getfullpathnamew_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test3/test3.cpp
index ca2b13bc515431..24fa5eff8faa69 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test3/test3.cpp
@@ -29,17 +29,17 @@
#define UNICODE
#include
+PALTEST(file_io_GetFullPathNameW_test3_paltest_getfullpathnamew_test3, "file_io/GetFullPathNameW/test3/paltest_getfullpathnamew_test3")
+{
#ifdef WIN32
-const WCHAR szSeperator[] = {'\\','\\','\0'};
+ const WCHAR szSeperator[] = {'\\','\\','\0'};
#else
-const WCHAR szSeperator[] = {'/','/','\0'};
+ const WCHAR szSeperator[] = {'/','/','\0'};
#endif
-const WCHAR szDotDot[] = {'.','.','\0'};
-const WCHAR szFileName[] = {'t','e','s','t','i','n','g','.','t','m','p','\0'};
+ const WCHAR szDotDot[] = {'.','.','\0'};
+ const WCHAR szFileName[] = {'t','e','s','t','i','n','g','.','t','m','p','\0'};
-int __cdecl main(int argc, char *argv[])
-{
DWORD dwRc = 0;
WCHAR szReturnedPath[_MAX_DIR+1];
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test3/testinfo.dat
deleted file mode 100644
index fe20866ad7f639..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test3/testinfo.dat
+++ /dev/null
@@ -1,18 +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 = file_io
-Function = GetFullPathNameW
-Name = Test for GetFullPathNameW
-Type = DEFAULT
-EXE1 = test3
-Description
-= Tests the PAL implementation of the GetFullPathNameW API.
-= GetFullPathW will be passed a directory that contains '..'.
-= Example: test_directory\level1\..\testing.tmp.
-= To add to this test, we will also call SetCurrentDirectory to
-= ensure this is handled properly.
-= The test will create a file with in the parent directory
-= to verify that the returned directory is valid.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test4/CMakeLists.txt
deleted file mode 100644
index a838b4639b806a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_getfullpathnamew_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_getfullpathnamew_test4 coreclrpal)
-
-target_link_libraries(paltest_getfullpathnamew_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test4/test4.cpp
index 6976dcd4079e59..752abfc0605b7a 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test4/test4.cpp
@@ -29,17 +29,17 @@
#define UNICODE
#include
+PALTEST(file_io_GetFullPathNameW_test4_paltest_getfullpathnamew_test4, "file_io/GetFullPathNameW/test4/paltest_getfullpathnamew_test4")
+{
#ifdef WIN32
const WCHAR szSeperator[] = {'\\','\\','\0'};
#else
const WCHAR szSeperator[] = {'/','/','\0'};
#endif
-const WCHAR szDotDot[] = {'.','.','\0'};
-const WCHAR szFileName[] = {'t','e','s','t','i','n','g','.','t','m','p','\0'};
+ const WCHAR szDotDot[] = {'.','.','\0'};
+ const WCHAR szFileName[] = {'t','e','s','t','i','n','g','.','t','m','p','\0'};
-int __cdecl main(int argc, char *argv[])
-{
DWORD dwRc = 0;
WCHAR szReturnedPath[_MAX_DIR+1];
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test4/testinfo.dat
deleted file mode 100644
index 9480549d73e511..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetFullPathNameW/test4/testinfo.dat
+++ /dev/null
@@ -1,18 +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 = file_io
-Function = GetFullPathNameA
-Name = Test for GetFullPathNameA
-Type = DEFAULT
-EXE1 = test4
-Description
-= Tests the PAL implementation of the GetFullPathNameA API.
-= GetFullPathA will be passed a directory that begins with '..'.
-= Example: ..\test_directory\level1\testing.tmp.
-= To add to this test, we will also call SetCurrentDirectory to
-= ensure this is handled properly.
-= The test will create a file with in the parent directory
-= to verify that the returned directory is valid.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/test1/CMakeLists.txt
deleted file mode 100644
index 4fe9d389649ad9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- GetStdHandle.cpp
-)
-
-add_executable(paltest_getstdhandle_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_getstdhandle_test1 coreclrpal)
-
-target_link_libraries(paltest_getstdhandle_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/test1/GetStdHandle.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/test1/GetStdHandle.cpp
index 3120d180f107c5..ac68e4938c0ba4 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/test1/GetStdHandle.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/test1/GetStdHandle.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_GetStdHandle_test1_paltest_getstdhandle_test1, "file_io/GetStdHandle/test1/paltest_getstdhandle_test1")
{
HANDLE hFile = NULL;
DWORD dwBytesWritten = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/test1/testinfo.dat
deleted file mode 100644
index be8b8fc3dbf3a5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = GetStdHandle
-Name = Positive Test for GetStdHandle (test 1)
-Type = DEFAULT
-EXE1 = getstdhandle
-Description
-= Test GetStdHandle on a valid/invalid std handles
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/test2/CMakeLists.txt
deleted file mode 100644
index 1855b4ae1a06b5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- GetStdHandle.cpp
-)
-
-add_executable(paltest_getstdhandle_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_getstdhandle_test2 coreclrpal)
-
-target_link_libraries(paltest_getstdhandle_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/test2/GetStdHandle.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/test2/GetStdHandle.cpp
index 91d175b58e3727..65879cd9153c6d 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/test2/GetStdHandle.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/test2/GetStdHandle.cpp
@@ -13,7 +13,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_GetStdHandle_test2_paltest_getstdhandle_test2, "file_io/GetStdHandle/test2/paltest_getstdhandle_test2")
{
HANDLE hFile = NULL;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/test2/testinfo.dat
deleted file mode 100644
index b4bcbaa71ee76b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetStdHandle/test2/testinfo.dat
+++ /dev/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 = file_io
-Function = GetStdHandle
-Name = Positive Test for GetStdHandle (test 2)
-Type = DEFAULT
-EXE1 = getstdhandle
-Description
-= Smoke Test GetStdHandle on a valid/invalid std handles
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTime/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTime/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTime/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTime/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTime/test1/CMakeLists.txt
deleted file mode 100644
index d738faed8ab025..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTime/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test.cpp
-)
-
-add_executable(paltest_getsystemtime_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_getsystemtime_test1 coreclrpal)
-
-target_link_libraries(paltest_getsystemtime_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTime/test1/test.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTime/test1/test.cpp
index fe5e01869a952a..a589cb97640dab 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTime/test1/test.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTime/test1/test.cpp
@@ -20,7 +20,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_GetSystemTime_test1_paltest_getsystemtime_test1, "file_io/GetSystemTime/test1/paltest_getsystemtime_test1")
{
SYSTEMTIME TheTime;
SYSTEMTIME firstTime;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTime/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTime/test1/testinfo.dat
deleted file mode 100644
index f96f4770ac13ae..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTime/test1/testinfo.dat
+++ /dev/null
@@ -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 = Miscellaneous
-Function = GetSystemTime
-Name = Positive test of GetSystemTime
-Type = DEFAULT
-EXE1 = test
-Description
-= Tests the PAL implementation of the GetSystemTime API
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTimeAsFileTime/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTimeAsFileTime/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTimeAsFileTime/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTimeAsFileTime/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTimeAsFileTime/test1/CMakeLists.txt
deleted file mode 100644
index 5515d8a19ca8ac..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTimeAsFileTime/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- GetSystemTimeAsFileTime.cpp
-)
-
-add_executable(paltest_getsystemtimeasfiletime_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_getsystemtimeasfiletime_test1 coreclrpal)
-
-target_link_libraries(paltest_getsystemtimeasfiletime_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTimeAsFileTime/test1/GetSystemTimeAsFileTime.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTimeAsFileTime/test1/GetSystemTimeAsFileTime.cpp
index c17cbccd69fbe9..71b65aa3cc4c4a 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTimeAsFileTime/test1/GetSystemTimeAsFileTime.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTimeAsFileTime/test1/GetSystemTimeAsFileTime.cpp
@@ -16,7 +16,7 @@
#include
-int __cdecl main(int argc, char **argv)
+PALTEST(file_io_GetSystemTimeAsFileTime_test1_paltest_getsystemtimeasfiletime_test1, "file_io/GetSystemTimeAsFileTime/test1/paltest_getsystemtimeasfiletime_test1")
{
FILETIME TheFirstTime, TheSecondTime;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTimeAsFileTime/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTimeAsFileTime/test1/testinfo.dat
deleted file mode 100644
index 3b0c0d99cb6241..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetSystemTimeAsFileTime/test1/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = GetSystemTimeAsFileTime
-Name = Positive Test for GetSystemTimeAsFileTime
-TYPE = DEFAULT
-EXE1 = getsystemtimeasfiletime
-Description
-= Test the GetSystemTimeAsFileTime function.
-= Take two times, three seconds apart, and ensure that the time is
-= increasing, and that it has increased at least 3 seconds.
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/CMakeLists.txt
deleted file mode 100644
index d243b82668a350..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/CMakeLists.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test1/CMakeLists.txt
deleted file mode 100644
index 204af67ba3e8b3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- GetTempFileNameA.cpp
-)
-
-add_executable(paltest_gettempfilenamea_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_gettempfilenamea_test1 coreclrpal)
-
-target_link_libraries(paltest_gettempfilenamea_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test1/GetTempFileNameA.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test1/GetTempFileNameA.cpp
index c5e26784fc0375..e93d2d9840cbd2 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test1/GetTempFileNameA.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test1/GetTempFileNameA.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_GetTempFileNameA_test1_paltest_gettempfilenamea_test1, "file_io/GetTempFileNameA/test1/paltest_gettempfilenamea_test1")
{
UINT uiError = 0;
const UINT uUnique = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test1/testinfo.dat
deleted file mode 100644
index 452858aa691556..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = GetTempFileNameA
-Name = Test for GetTempFileNameA (test 1)
-Type = DEFAULT
-EXE1 = gettempfilenamea
-Description
-= Tests the PAL implimentation of GetTempFileNameA by testing
-= various combinations of path and prefix names.
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test2/CMakeLists.txt
deleted file mode 100644
index 440f991a8f448e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- GetTempFileNameA.cpp
-)
-
-add_executable(paltest_gettempfilenamea_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_gettempfilenamea_test2 coreclrpal)
-
-target_link_libraries(paltest_gettempfilenamea_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test2/GetTempFileNameA.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test2/GetTempFileNameA.cpp
index c6412884497436..9edaf483985a50 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test2/GetTempFileNameA.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test2/GetTempFileNameA.cpp
@@ -18,7 +18,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_GetTempFileNameA_test2_paltest_gettempfilenamea_test2, "file_io/GetTempFileNameA/test2/paltest_gettempfilenamea_test2")
{
UINT uiError = 0;
DWORD dwError = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test2/testinfo.dat
deleted file mode 100644
index 61042b1695aae1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test2/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = GetTempFileNameA
-Name = Test for GetTempFileNameA (test 2)
-Type = DEFAULT
-EXE1 = gettempfilenamea
-Description
-= Test the number of files that can be created. Since
-= GetTempFileNameA only handles 8.3 file names, the test
-= attempts to create more than the maximum temp files possible
-= with a 3 character prefix. Since this test takes so long, it
-= is not to be included in the standard test harness.
-= This test will also need more than 4.07 GB free disk space.
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test3/CMakeLists.txt
deleted file mode 100644
index 942d92675b85e8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- gettempfilenamea.cpp
-)
-
-add_executable(paltest_gettempfilenamea_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_gettempfilenamea_test3 coreclrpal)
-
-target_link_libraries(paltest_gettempfilenamea_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test3/gettempfilenamea.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test3/gettempfilenamea.cpp
index 4cb3581d2b8896..fa9112c49f1ca8 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test3/gettempfilenamea.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test3/gettempfilenamea.cpp
@@ -24,7 +24,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_GetTempFileNameA_test3_paltest_gettempfilenamea_test3, "file_io/GetTempFileNameA/test3/paltest_gettempfilenamea_test3")
{
const UINT uUnique = 0;
UINT uiError;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test3/testinfo.dat
deleted file mode 100644
index 00ef5135af684a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameA/test3/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = GetTempFileNameA
-Name = Test for GetTempFileNameA (test 3)
-Type = DEFAULT
-EXE1 = gettempfilenamea
-Description
-= Tests the PAL implementation of the GetTempFileNameA function.
-= Checks the file attributes and ensures that getting a file name,
-= deleting the file and getting another doesn't produce the same
-= as the just deleted file. Also checks the file size is 0.
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/CMakeLists.txt
deleted file mode 100644
index d243b82668a350..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/CMakeLists.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test1/CMakeLists.txt
deleted file mode 100644
index 8db091232102f1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- GetTempFileNameW.cpp
-)
-
-add_executable(paltest_gettempfilenamew_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_gettempfilenamew_test1 coreclrpal)
-
-target_link_libraries(paltest_gettempfilenamew_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test1/GetTempFileNameW.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test1/GetTempFileNameW.cpp
index 126b3f63685ead..0d6371cd859740 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test1/GetTempFileNameW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test1/GetTempFileNameW.cpp
@@ -14,7 +14,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_GetTempFileNameW_test1_paltest_gettempfilenamew_test1, "file_io/GetTempFileNameW/test1/paltest_gettempfilenamew_test1")
{
UINT uiError = 0;
const UINT uUnique = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test1/testinfo.dat
deleted file mode 100644
index b315f7aef6b98e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = GetTempFileNameW
-Name = Test for GetTempFileNameW (test 1)
-Type = DEFAULT
-EXE1 = gettempfilenamew
-Description
-= Test all the different options of GetTempFileNameW
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test2/CMakeLists.txt
deleted file mode 100644
index 2181841f380b00..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- GetTempFileNameW.cpp
-)
-
-add_executable(paltest_gettempfilenamew_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_gettempfilenamew_test2 coreclrpal)
-
-target_link_libraries(paltest_gettempfilenamew_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test2/GetTempFileNameW.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test2/GetTempFileNameW.cpp
index d649bf811fc505..d79e4cad67fbc8 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test2/GetTempFileNameW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test2/GetTempFileNameW.cpp
@@ -14,7 +14,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_GetTempFileNameW_test2_paltest_gettempfilenamew_test2, "file_io/GetTempFileNameW/test2/paltest_gettempfilenamew_test2")
{
UINT uiError = 0;
DWORD dwError = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test2/testinfo.dat
deleted file mode 100644
index 74d871676d423b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test2/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = GetTempFileNameW
-Name = Test for GetTempFileNameW (test 2)
-Type = DEFAULT
-EXE1 = gettempfilenamew
-Description
-= This test attempts to create over 65000 files and will
-= have to be run manually because it will take longer than
-= the maximum 60 seconds allowed per test
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test3/CMakeLists.txt
deleted file mode 100644
index 469af9da4c2e77..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- gettempfilenamew.cpp
-)
-
-add_executable(paltest_gettempfilenamew_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_gettempfilenamew_test3 coreclrpal)
-
-target_link_libraries(paltest_gettempfilenamew_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test3/gettempfilenamew.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test3/gettempfilenamew.cpp
index 0e55cd0ce22bd6..312138b08e4983 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test3/gettempfilenamew.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test3/gettempfilenamew.cpp
@@ -24,7 +24,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_GetTempFileNameW_test3_paltest_gettempfilenamew_test3, "file_io/GetTempFileNameW/test3/paltest_gettempfilenamew_test3")
{
const UINT uUnique = 0;
UINT uiError;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test3/testinfo.dat
deleted file mode 100644
index 176994bab29432..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempFileNameW/test3/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = GetTempFileNameW
-Name = Test for GetTempFileNameW (test 3)
-Type = DEFAULT
-EXE1 = gettempfilenamew
-Description
-= Tests the PAL implementation of the GetTempFileNameW function.
-= Checks the file attributes and ensures that getting a file name,
-= deleting the file and getting another doesn't produce the same
-= as the just deleted file. Also checks the file size is 0.
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempPathW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempPathW/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempPathW/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempPathW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempPathW/test1/CMakeLists.txt
deleted file mode 100644
index 690eead144fbed..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempPathW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- GetTempPathW.cpp
-)
-
-add_executable(paltest_gettemppathw_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_gettemppathw_test1 coreclrpal)
-
-target_link_libraries(paltest_gettemppathw_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempPathW/test1/GetTempPathW.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempPathW/test1/GetTempPathW.cpp
index a33eee5008ab9c..6c54612344f0ff 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempPathW/test1/GetTempPathW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempPathW/test1/GetTempPathW.cpp
@@ -62,7 +62,7 @@ static void SetAndCheckLength(const WCHAR tmpDirPath [], int bufferLength, int e
}
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_GetTempPathW_test1_paltest_gettemppathw_test1, "file_io/GetTempPathW/test1/paltest_gettemppathw_test1")
{
if (0 != PAL_Initialize(argc, argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempPathW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/GetTempPathW/test1/testinfo.dat
deleted file mode 100644
index bcca83dc2c5021..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/GetTempPathW/test1/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = GetTempPathW
-Name = Test for GetTempPathW (test 1)
-Type = DEFAULT
-EXE1 = gettemppathw
-Description
-= Calls GetTempPathW and verifies by passing the returned
-= value to CreateDirectoryW. If the returned path exists,
-= CreateDirectoryW will fail.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExA/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExA/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExA/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExA/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExA/test1/CMakeLists.txt
deleted file mode 100644
index 3582b9520f57e2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExA/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- MoveFileExA.cpp
-)
-
-add_executable(paltest_movefileexa_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_movefileexa_test1 coreclrpal)
-
-target_link_libraries(paltest_movefileexa_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExA/test1/MoveFileExA.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExA/test1/MoveFileExA.cpp
index ca0b80035bcd95..26df141d997cae 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExA/test1/MoveFileExA.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExA/test1/MoveFileExA.cpp
@@ -13,20 +13,20 @@
#include
-LPSTR lpSource[4] = {
+LPSTR lpSource_MoveFileExA_test1[4] = {
"src_existing.tmp",
"src_non-existant.tmp",
"src_dir_existing",
"src_dir_non-existant"
};
-LPSTR lpDestination[4]={
+LPSTR lpDestination_MoveFileExA_test1[4]={
"dst_existing.tmp",
"dst_non-existant.tmp",
"dst_dir_existing",
"dst_dir_non-existant"
};
-LPSTR lpFiles[14] ={
+LPSTR lpFiles_MoveFileExA_test1[14] ={
"src_dir_existing\\test01.tmp",
"src_dir_existing\\test02.tmp",
"dst_dir_existing\\test01.tmp",
@@ -43,37 +43,37 @@ LPSTR lpFiles[14] ={
"dst_dir_non-existant\\test02.tmp"
};
-DWORD dwFlag[2] = {MOVEFILE_COPY_ALLOWED, MOVEFILE_REPLACE_EXISTING};
+DWORD dwFlag_MoveFileExA_test1[2] = {MOVEFILE_COPY_ALLOWED, MOVEFILE_REPLACE_EXISTING};
-int createExisting(void)
+int createExisting_MoveFileExA_test1(void)
{
HANDLE tempFile = NULL;
HANDLE tempFile2 = NULL;
/* create the src_existing file and dst_existing file */
- tempFile = CreateFileA(lpSource[0], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
+ tempFile = CreateFileA(lpSource_MoveFileExA_test1[0], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL, 0);
- tempFile2 = CreateFileA(lpDestination[0], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
+ tempFile2 = CreateFileA(lpDestination_MoveFileExA_test1[0], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL, 0);
CloseHandle(tempFile2);
CloseHandle(tempFile);
if ((tempFile == NULL) || (tempFile2 == NULL))
{
- Trace("ERROR[%ul]: couldn't create %S or %S\n", GetLastError(), lpSource[0],
- lpDestination[0]);
+ Trace("ERROR[%ul]: couldn't create %S or %S\n", GetLastError(), lpSource_MoveFileExA_test1[0],
+ lpDestination_MoveFileExA_test1[0]);
return FAIL;
}
/* create the src_dir_existing and dst_dir_existing directory and files */
- CreateDirectoryA(lpSource[2], NULL);
+ CreateDirectoryA(lpSource_MoveFileExA_test1[2], NULL);
- tempFile = CreateFileA(lpFiles[0], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
+ tempFile = CreateFileA(lpFiles_MoveFileExA_test1[0], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL, 0);
- tempFile2 = CreateFileA(lpFiles[1], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
+ tempFile2 = CreateFileA(lpFiles_MoveFileExA_test1[1], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL, 0);
CloseHandle(tempFile2);
CloseHandle(tempFile);
@@ -84,10 +84,10 @@ int createExisting(void)
return FAIL;
}
- CreateDirectoryA(lpDestination[2], NULL);
- tempFile = CreateFileA(lpFiles[2], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
+ CreateDirectoryA(lpDestination_MoveFileExA_test1[2], NULL);
+ tempFile = CreateFileA(lpFiles_MoveFileExA_test1[2], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL, 0);
- tempFile2 = CreateFileA(lpFiles[3], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
+ tempFile2 = CreateFileA(lpFiles_MoveFileExA_test1[3], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL, 0);
CloseHandle(tempFile2);
CloseHandle(tempFile);
@@ -101,7 +101,7 @@ int createExisting(void)
}
-void removeDirectoryHelper(LPSTR dir, int location)
+void removeDirectoryHelper_MoveFileExA_test1(LPSTR dir, int location)
{
DWORD dwAtt = GetFileAttributesA(dir);
@@ -119,7 +119,7 @@ void removeDirectoryHelper(LPSTR dir, int location)
}
}
-void removeFileHelper(LPSTR pfile, int location)
+void removeFileHelper_MoveFileExA_test1(LPSTR pfile, int location)
{
FILE *fp;
fp = fopen( pfile, "r");
@@ -139,72 +139,72 @@ void removeFileHelper(LPSTR pfile, int location)
}
-void removeAll(void)
+void removeAll_MoveFileExA_test1(void)
{
DWORD dwAtt;
/* get rid of destination dirs and files */
- removeFileHelper(lpSource[0], 11);
- removeFileHelper(lpSource[1], 12);
- removeFileHelper(lpFiles[0], 13);
- removeFileHelper(lpFiles[1], 14);
+ removeFileHelper_MoveFileExA_test1(lpSource_MoveFileExA_test1[0], 11);
+ removeFileHelper_MoveFileExA_test1(lpSource_MoveFileExA_test1[1], 12);
+ removeFileHelper_MoveFileExA_test1(lpFiles_MoveFileExA_test1[0], 13);
+ removeFileHelper_MoveFileExA_test1(lpFiles_MoveFileExA_test1[1], 14);
- removeDirectoryHelper(lpSource[2], 101);
- removeFileHelper(lpFiles[4], 15);
- removeFileHelper(lpFiles[5], 16);
- removeDirectoryHelper(lpSource[3], 102);
+ removeDirectoryHelper_MoveFileExA_test1(lpSource_MoveFileExA_test1[2], 101);
+ removeFileHelper_MoveFileExA_test1(lpFiles_MoveFileExA_test1[4], 15);
+ removeFileHelper_MoveFileExA_test1(lpFiles_MoveFileExA_test1[5], 16);
+ removeDirectoryHelper_MoveFileExA_test1(lpSource_MoveFileExA_test1[3], 102);
/* get rid of destination dirs and files */
- dwAtt = GetFileAttributesA(lpDestination[0]);
+ dwAtt = GetFileAttributesA(lpDestination_MoveFileExA_test1[0]);
if (( dwAtt != INVALID_FILE_ATTRIBUTES ) && ( dwAtt & FILE_ATTRIBUTE_DIRECTORY) )
{
- removeFileHelper(lpFiles[6], 18);
- removeFileHelper(lpFiles[7], 19);
- removeDirectoryHelper(lpDestination[0], 103);
+ removeFileHelper_MoveFileExA_test1(lpFiles_MoveFileExA_test1[6], 18);
+ removeFileHelper_MoveFileExA_test1(lpFiles_MoveFileExA_test1[7], 19);
+ removeDirectoryHelper_MoveFileExA_test1(lpDestination_MoveFileExA_test1[0], 103);
}
else
{
- removeFileHelper(lpDestination[0], 17);
+ removeFileHelper_MoveFileExA_test1(lpDestination_MoveFileExA_test1[0], 17);
}
- dwAtt = GetFileAttributesA(lpDestination[1]);
+ dwAtt = GetFileAttributesA(lpDestination_MoveFileExA_test1[1]);
if (( dwAtt != INVALID_FILE_ATTRIBUTES ) && ( dwAtt & FILE_ATTRIBUTE_DIRECTORY) )
{
- removeFileHelper(lpFiles[8], 21);
- removeFileHelper(lpFiles[9], 22);
- removeDirectoryHelper(lpDestination[1], 104);
+ removeFileHelper_MoveFileExA_test1(lpFiles_MoveFileExA_test1[8], 21);
+ removeFileHelper_MoveFileExA_test1(lpFiles_MoveFileExA_test1[9], 22);
+ removeDirectoryHelper_MoveFileExA_test1(lpDestination_MoveFileExA_test1[1], 104);
}
else
{
- removeFileHelper(lpDestination[1], 19);
+ removeFileHelper_MoveFileExA_test1(lpDestination_MoveFileExA_test1[1], 19);
}
- dwAtt = GetFileAttributesA(lpDestination[2]);
+ dwAtt = GetFileAttributesA(lpDestination_MoveFileExA_test1[2]);
if (( dwAtt != INVALID_FILE_ATTRIBUTES ) && ( dwAtt & FILE_ATTRIBUTE_DIRECTORY) )
{
- removeFileHelper(lpFiles[10], 24);
- removeFileHelper(lpFiles[11], 25);
- removeDirectoryHelper(lpDestination[2], 105);
+ removeFileHelper_MoveFileExA_test1(lpFiles_MoveFileExA_test1[10], 24);
+ removeFileHelper_MoveFileExA_test1(lpFiles_MoveFileExA_test1[11], 25);
+ removeDirectoryHelper_MoveFileExA_test1(lpDestination_MoveFileExA_test1[2], 105);
}
else
{
- removeFileHelper(lpDestination[2], 23);
+ removeFileHelper_MoveFileExA_test1(lpDestination_MoveFileExA_test1[2], 23);
}
- dwAtt = GetFileAttributesA(lpDestination[3]);
+ dwAtt = GetFileAttributesA(lpDestination_MoveFileExA_test1[3]);
if (( dwAtt != INVALID_FILE_ATTRIBUTES ) && ( dwAtt & FILE_ATTRIBUTE_DIRECTORY) )
{
- removeFileHelper(lpFiles[12], 26);
- removeFileHelper(lpFiles[13], 27);
- removeDirectoryHelper(lpDestination[3], 106);
+ removeFileHelper_MoveFileExA_test1(lpFiles_MoveFileExA_test1[12], 26);
+ removeFileHelper_MoveFileExA_test1(lpFiles_MoveFileExA_test1[13], 27);
+ removeDirectoryHelper_MoveFileExA_test1(lpDestination_MoveFileExA_test1[3], 106);
}
else
{
- removeFileHelper(lpDestination[3], 107);
+ removeFileHelper_MoveFileExA_test1(lpDestination_MoveFileExA_test1[3], 107);
}
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_MoveFileExA_test1_paltest_movefileexa_test1, "file_io/MoveFileExA/test1/paltest_movefileexa_test1")
{
BOOL bRc = TRUE;
char results[40];
@@ -237,24 +237,24 @@ int __cdecl main(int argc, char *argv[])
/* clean the slate */
- removeAll();
- if (createExisting() != PASS)
+ removeAll_MoveFileExA_test1();
+ if (createExisting_MoveFileExA_test1() != PASS)
{
goto EXIT;
}
- /* lpSource loop */
+ /* lpSource_MoveFileExA_test1 loop */
for (i = 0; i < 4; i++)
{
- /* lpDestination loop */
+ /* lpDestination_MoveFileExA_test1 loop */
for (j = 0; j < 4; j++)
{
- /* dwFlag loop */
+ /* dwFlag_MoveFileExA_test1 loop */
for (k = 0; k < 2; k++)
{
/* move the file to the new location */
- bRc = MoveFileExA(lpSource[i], lpDestination[j], dwFlag[k]);
+ bRc = MoveFileExA(lpSource_MoveFileExA_test1[i], lpDestination_MoveFileExA_test1[j], dwFlag_MoveFileExA_test1[k]);
if (!(
((bRc == TRUE) && (results[nCounter] == '1'))
@@ -263,15 +263,15 @@ int __cdecl main(int argc, char *argv[])
)
{
Trace("MoveFileExA(%s, %s, %s): Values of i[%d], j[%d], k [%d] and results[%d]=%c LastError[%d]Flag[%d]FAILED\n",
- lpSource[i], lpDestination[j],
+ lpSource_MoveFileExA_test1[i], lpDestination_MoveFileExA_test1[j],
k == 1 ?
"MOVEFILE_REPLACE_EXISTING":"MOVEFILE_COPY_ALLOWED", i, j, k, nCounter, results[nCounter], GetLastError(), bRc);
goto EXIT;
}
/* undo the last move */
- removeAll();
- if (createExisting() != PASS)
+ removeAll_MoveFileExA_test1();
+ if (createExisting_MoveFileExA_test1() != PASS)
{
goto EXIT;
}
@@ -356,7 +356,7 @@ int __cdecl main(int argc, char *argv[])
res = PASS;
EXIT:
- removeAll();
+ removeAll_MoveFileExA_test1();
PAL_TerminateEx(res);
return res;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExA/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExA/test1/testinfo.dat
deleted file mode 100644
index baf6a864055f21..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExA/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = MoveFileExA
-Name = Test for MoveFileExA (test 1)
-Type = DEFAULT
-EXE1 = movefileexa
-Description
-= Creates a number of files/directories and attempts to move them.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExW/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExW/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExW/test1/CMakeLists.txt
deleted file mode 100644
index 4e984e8b1a8ad1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- MoveFileExW.cpp
-)
-
-add_executable(paltest_movefileexw_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_movefileexw_test1 coreclrpal)
-
-target_link_libraries(paltest_movefileexw_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExW/test1/MoveFileExW.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExW/test1/MoveFileExW.cpp
index bb9cb5a2d76632..70a6e29f126558 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExW/test1/MoveFileExW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExW/test1/MoveFileExW.cpp
@@ -13,40 +13,40 @@
#include
-LPWSTR lpSource[4];
-LPWSTR lpDestination[4];
-LPWSTR lpFiles[14];
+LPWSTR lpSource_MoveFileExW_test1[4];
+LPWSTR lpDestination_MoveFileExW_test1[4];
+LPWSTR lpFiles_MoveFileExW_test1[14];
-DWORD dwFlag[2] = {MOVEFILE_COPY_ALLOWED, MOVEFILE_REPLACE_EXISTING};
+DWORD dwFlag_MoveFileExW_test1[2] = {MOVEFILE_COPY_ALLOWED, MOVEFILE_REPLACE_EXISTING};
-int createExisting(void)
+int createExisting_MoveFileExW_test1(void)
{
HANDLE tempFile = NULL;
HANDLE tempFile2 = NULL;
/* create the src_existing file and dst_existing file */
- tempFile = CreateFileW(lpSource[0], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
+ tempFile = CreateFileW(lpSource_MoveFileExW_test1[0], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL, 0);
- tempFile2 = CreateFileW(lpDestination[0], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
+ tempFile2 = CreateFileW(lpDestination_MoveFileExW_test1[0], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL, 0);
CloseHandle(tempFile2);
CloseHandle(tempFile);
if ((tempFile == NULL) || (tempFile2 == NULL))
{
- Trace("ERROR: couldn't create %S or %S\n", lpSource[0],
- lpDestination[0]);
+ Trace("ERROR: couldn't create %S or %S\n", lpSource_MoveFileExW_test1[0],
+ lpDestination_MoveFileExW_test1[0]);
return FAIL;
}
/* create the src_dir_existing and dst_dir_existing directory and files */
- CreateDirectoryW(lpSource[2], NULL);
+ CreateDirectoryW(lpSource_MoveFileExW_test1[2], NULL);
- tempFile = CreateFileW(lpFiles[0], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
+ tempFile = CreateFileW(lpFiles_MoveFileExW_test1[0], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL, 0);
- tempFile2 = CreateFileW(lpFiles[1], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
+ tempFile2 = CreateFileW(lpFiles_MoveFileExW_test1[1], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL, 0);
CloseHandle(tempFile2);
CloseHandle(tempFile);
@@ -57,10 +57,10 @@ int createExisting(void)
return FAIL;
}
- CreateDirectoryW(lpDestination[2], NULL);
- tempFile = CreateFileW(lpFiles[2], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
+ CreateDirectoryW(lpDestination_MoveFileExW_test1[2], NULL);
+ tempFile = CreateFileW(lpFiles_MoveFileExW_test1[2], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL, 0);
- tempFile2 = CreateFileW(lpFiles[3], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
+ tempFile2 = CreateFileW(lpFiles_MoveFileExW_test1[3], GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL, 0);
CloseHandle(tempFile2);
CloseHandle(tempFile);
@@ -73,7 +73,7 @@ int createExisting(void)
return PASS;
}
-void removeDirectoryHelper(LPWSTR dir, int location)
+void removeDirectoryHelper_MoveFileExW_test1(LPWSTR dir, int location)
{
DWORD dwAtt = GetFileAttributesW(dir);
// Trace(" Value of location[%d], and directorye [%S]\n", location, dir);
@@ -87,7 +87,7 @@ void removeDirectoryHelper(LPWSTR dir, int location)
}
}
-void removeFileHelper(LPWSTR wfile, int location)
+void removeFileHelper_MoveFileExW_test1(LPWSTR wfile, int location)
{
FILE *fp;
char * pfile = convertC(wfile);
@@ -115,108 +115,108 @@ void removeFileHelper(LPWSTR wfile, int location)
free(pfile);
}
-void removeAll(void)
+void removeAll_MoveFileExW_test1(void)
{
DWORD dwAtt;
/* get rid of destination dirs and files */
- removeFileHelper(lpSource[0], 11);
-// lpSource[0] = convert("src_existing.tmp");
+ removeFileHelper_MoveFileExW_test1(lpSource_MoveFileExW_test1[0], 11);
+// lpSource_MoveFileExW_test1[0] = convert("src_existing.tmp");
- removeFileHelper(lpSource[1], 12);
- //lpSource[1] = convert("src_non-existant.tmp");
+ removeFileHelper_MoveFileExW_test1(lpSource_MoveFileExW_test1[1], 12);
+ //lpSource_MoveFileExW_test1[1] = convert("src_non-existant.tmp");
- removeFileHelper(lpFiles[0], 13);
-// lpFiles[0] = convert("src_dir_existing\\test01.tmp");
+ removeFileHelper_MoveFileExW_test1(lpFiles_MoveFileExW_test1[0], 13);
+// lpFiles_MoveFileExW_test1[0] = convert("src_dir_existing\\test01.tmp");
- removeFileHelper(lpFiles[1], 14);
-// lpFiles[1] = convert("src_dir_existing\\test02.tmp");
+ removeFileHelper_MoveFileExW_test1(lpFiles_MoveFileExW_test1[1], 14);
+// lpFiles_MoveFileExW_test1[1] = convert("src_dir_existing\\test02.tmp");
- removeDirectoryHelper(lpSource[2], 101);
-// lpSource[2] = convert("src_dir_existing");
+ removeDirectoryHelper_MoveFileExW_test1(lpSource_MoveFileExW_test1[2], 101);
+// lpSource_MoveFileExW_test1[2] = convert("src_dir_existing");
- removeFileHelper(lpFiles[4], 15);
-// lpFiles[4] = convert("src_dir_non-existant\\test01.tmp");
+ removeFileHelper_MoveFileExW_test1(lpFiles_MoveFileExW_test1[4], 15);
+// lpFiles_MoveFileExW_test1[4] = convert("src_dir_non-existant\\test01.tmp");
- removeFileHelper(lpFiles[5], 16);
-// lpFiles[5] = convert("src_dir_non-existant\\test02.tmp");
+ removeFileHelper_MoveFileExW_test1(lpFiles_MoveFileExW_test1[5], 16);
+// lpFiles_MoveFileExW_test1[5] = convert("src_dir_non-existant\\test02.tmp");
- removeDirectoryHelper(lpSource[3], 102);
-// lpSource[3] = convert("src_dir_non-existant");
+ removeDirectoryHelper_MoveFileExW_test1(lpSource_MoveFileExW_test1[3], 102);
+// lpSource_MoveFileExW_test1[3] = convert("src_dir_non-existant");
/* get rid of destination dirs and files */
- dwAtt = GetFileAttributesW(lpDestination[0]);
+ dwAtt = GetFileAttributesW(lpDestination_MoveFileExW_test1[0]);
if (( dwAtt != INVALID_FILE_ATTRIBUTES ) && ( dwAtt & FILE_ATTRIBUTE_DIRECTORY) )
{
- removeFileHelper(lpFiles[6], 18);
- // lpFiles[6] = convert("dst_existing.tmp\\test01.tmp");
- removeFileHelper(lpFiles[7], 19);
- // lpFiles[7] = convert("dst_existing.tmp\\test02.tmp");
- removeDirectoryHelper(lpDestination[0], 103);
- // lpDestination[0] = convert("dst_existing.tmp");
+ removeFileHelper_MoveFileExW_test1(lpFiles_MoveFileExW_test1[6], 18);
+ // lpFiles_MoveFileExW_test1[6] = convert("dst_existing.tmp\\test01.tmp");
+ removeFileHelper_MoveFileExW_test1(lpFiles_MoveFileExW_test1[7], 19);
+ // lpFiles_MoveFileExW_test1[7] = convert("dst_existing.tmp\\test02.tmp");
+ removeDirectoryHelper_MoveFileExW_test1(lpDestination_MoveFileExW_test1[0], 103);
+ // lpDestination_MoveFileExW_test1[0] = convert("dst_existing.tmp");
}
else
{
- removeFileHelper(lpDestination[0], 17);
- // lpDestination[0] = convert("dst_existing.tmp");
+ removeFileHelper_MoveFileExW_test1(lpDestination_MoveFileExW_test1[0], 17);
+ // lpDestination_MoveFileExW_test1[0] = convert("dst_existing.tmp");
}
- dwAtt = GetFileAttributesW(lpDestination[1]);
+ dwAtt = GetFileAttributesW(lpDestination_MoveFileExW_test1[1]);
if (( dwAtt != INVALID_FILE_ATTRIBUTES ) && ( dwAtt & FILE_ATTRIBUTE_DIRECTORY) )
{
- removeFileHelper(lpFiles[8], 21);
- // lpFiles[8] = convert("dst_non-existant.tmp\\test01.tmp");
- removeFileHelper(lpFiles[9], 22);
- // lpFiles[9] = convert("dst_non-existant.tmp\\test02.tmp");
- removeDirectoryHelper(lpDestination[1], 104);
- // lpDestination[1] = convert("dst_non-existant.tmp");
+ removeFileHelper_MoveFileExW_test1(lpFiles_MoveFileExW_test1[8], 21);
+ // lpFiles_MoveFileExW_test1[8] = convert("dst_non-existant.tmp\\test01.tmp");
+ removeFileHelper_MoveFileExW_test1(lpFiles_MoveFileExW_test1[9], 22);
+ // lpFiles_MoveFileExW_test1[9] = convert("dst_non-existant.tmp\\test02.tmp");
+ removeDirectoryHelper_MoveFileExW_test1(lpDestination_MoveFileExW_test1[1], 104);
+ // lpDestination_MoveFileExW_test1[1] = convert("dst_non-existant.tmp");
}
else
{
- removeFileHelper(lpDestination[1], 19);
- //lpDestination[1] = convert("dst_non-existant.tmp");
+ removeFileHelper_MoveFileExW_test1(lpDestination_MoveFileExW_test1[1], 19);
+ //lpDestination_MoveFileExW_test1[1] = convert("dst_non-existant.tmp");
}
- dwAtt = GetFileAttributesW(lpDestination[2]);
+ dwAtt = GetFileAttributesW(lpDestination_MoveFileExW_test1[2]);
if (( dwAtt != INVALID_FILE_ATTRIBUTES ) && ( dwAtt & FILE_ATTRIBUTE_DIRECTORY) )
{
- removeFileHelper(lpFiles[10], 24);
- // lpFiles[10] = convert("dst_dir_existing\\test01.tmp");
- removeFileHelper(lpFiles[11], 25);
- // lpFiles[11] = convert("dst_dir_existing\\test02.tmp");
- removeDirectoryHelper(lpDestination[2], 105);
- // lpDestination[2] = convert("dst_dir_existing");
+ removeFileHelper_MoveFileExW_test1(lpFiles_MoveFileExW_test1[10], 24);
+ // lpFiles_MoveFileExW_test1[10] = convert("dst_dir_existing\\test01.tmp");
+ removeFileHelper_MoveFileExW_test1(lpFiles_MoveFileExW_test1[11], 25);
+ // lpFiles_MoveFileExW_test1[11] = convert("dst_dir_existing\\test02.tmp");
+ removeDirectoryHelper_MoveFileExW_test1(lpDestination_MoveFileExW_test1[2], 105);
+ // lpDestination_MoveFileExW_test1[2] = convert("dst_dir_existing");
}
else
{
- removeFileHelper(lpDestination[2], 23);
- // lpDestination[2] = convert("dst_dir_existing");
+ removeFileHelper_MoveFileExW_test1(lpDestination_MoveFileExW_test1[2], 23);
+ // lpDestination_MoveFileExW_test1[2] = convert("dst_dir_existing");
}
- dwAtt = GetFileAttributesW(lpDestination[3]);
+ dwAtt = GetFileAttributesW(lpDestination_MoveFileExW_test1[3]);
if (( dwAtt != INVALID_FILE_ATTRIBUTES ) && ( dwAtt & FILE_ATTRIBUTE_DIRECTORY) )
{
- removeFileHelper(lpFiles[12], 26);
- // lpFiles[12] = convert("dst_dir_non-existant\\test01.tmp");
- removeFileHelper(lpFiles[13], 27);
- // lpFiles[13] = convert("dst_dir_non-existant\\test02.tmp");
- removeDirectoryHelper(lpDestination[3], 106);
- // lpDestination[3] = convert("dst_dir_non-existant");
+ removeFileHelper_MoveFileExW_test1(lpFiles_MoveFileExW_test1[12], 26);
+ // lpFiles_MoveFileExW_test1[12] = convert("dst_dir_non-existant\\test01.tmp");
+ removeFileHelper_MoveFileExW_test1(lpFiles_MoveFileExW_test1[13], 27);
+ // lpFiles_MoveFileExW_test1[13] = convert("dst_dir_non-existant\\test02.tmp");
+ removeDirectoryHelper_MoveFileExW_test1(lpDestination_MoveFileExW_test1[3], 106);
+ // lpDestination_MoveFileExW_test1[3] = convert("dst_dir_non-existant");
}
else
{
- removeFileHelper(lpDestination[3], 107);
- // lpDestination[3] = convert("dst_dir_non-existant");
+ removeFileHelper_MoveFileExW_test1(lpDestination_MoveFileExW_test1[3], 107);
+ // lpDestination_MoveFileExW_test1[3] = convert("dst_dir_non-existant");
}
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_MoveFileExW_test1_paltest_movefileexw_test1, "file_io/MoveFileExW/test1/paltest_movefileexw_test1")
{
BOOL bRc = TRUE;
char results[40];
@@ -233,34 +233,34 @@ int __cdecl main(int argc, char *argv[])
return FAIL;
}
- lpSource[0] = convert("src_existing.tmp");
- lpSource[1] = convert("src_non-existant.tmp");
- lpSource[2] = convert("src_dir_existing");
- lpSource[3] = convert("src_dir_non-existant");
+ lpSource_MoveFileExW_test1[0] = convert("src_existing.tmp");
+ lpSource_MoveFileExW_test1[1] = convert("src_non-existant.tmp");
+ lpSource_MoveFileExW_test1[2] = convert("src_dir_existing");
+ lpSource_MoveFileExW_test1[3] = convert("src_dir_non-existant");
- lpDestination[0] = convert("dst_existing.tmp");
- lpDestination[1] = convert("dst_non-existant.tmp");
- lpDestination[2] = convert("dst_dir_existing");
- lpDestination[3] = convert("dst_dir_non-existant");
+ lpDestination_MoveFileExW_test1[0] = convert("dst_existing.tmp");
+ lpDestination_MoveFileExW_test1[1] = convert("dst_non-existant.tmp");
+ lpDestination_MoveFileExW_test1[2] = convert("dst_dir_existing");
+ lpDestination_MoveFileExW_test1[3] = convert("dst_dir_non-existant");
- lpFiles[0] = convert("src_dir_existing\\test01.tmp");
- lpFiles[1] = convert("src_dir_existing\\test02.tmp");
- lpFiles[2] = convert("dst_dir_existing\\test01.tmp");
- lpFiles[3] = convert("dst_dir_existing\\test02.tmp");
- lpFiles[4] = convert("src_dir_non-existant\\test01.tmp");
- lpFiles[5] = convert("src_dir_non-existant\\test02.tmp");
+ lpFiles_MoveFileExW_test1[0] = convert("src_dir_existing\\test01.tmp");
+ lpFiles_MoveFileExW_test1[1] = convert("src_dir_existing\\test02.tmp");
+ lpFiles_MoveFileExW_test1[2] = convert("dst_dir_existing\\test01.tmp");
+ lpFiles_MoveFileExW_test1[3] = convert("dst_dir_existing\\test02.tmp");
+ lpFiles_MoveFileExW_test1[4] = convert("src_dir_non-existant\\test01.tmp");
+ lpFiles_MoveFileExW_test1[5] = convert("src_dir_non-existant\\test02.tmp");
- lpFiles[6] = convert("dst_existing.tmp\\test01.tmp");
- lpFiles[7] = convert("dst_existing.tmp\\test02.tmp");
+ lpFiles_MoveFileExW_test1[6] = convert("dst_existing.tmp\\test01.tmp");
+ lpFiles_MoveFileExW_test1[7] = convert("dst_existing.tmp\\test02.tmp");
- lpFiles[8] = convert("dst_non-existant.tmp\\test01.tmp");
- lpFiles[9] = convert("dst_non-existant.tmp\\test02.tmp");
+ lpFiles_MoveFileExW_test1[8] = convert("dst_non-existant.tmp\\test01.tmp");
+ lpFiles_MoveFileExW_test1[9] = convert("dst_non-existant.tmp\\test02.tmp");
- lpFiles[10] = convert("dst_dir_existing\\test01.tmp");
- lpFiles[11] = convert("dst_dir_existing\\test02.tmp");
+ lpFiles_MoveFileExW_test1[10] = convert("dst_dir_existing\\test01.tmp");
+ lpFiles_MoveFileExW_test1[11] = convert("dst_dir_existing\\test02.tmp");
- lpFiles[12] = convert("dst_dir_non-existant\\test01.tmp");
- lpFiles[13] = convert("dst_dir_non-existant\\test02.tmp");
+ lpFiles_MoveFileExW_test1[12] = convert("dst_dir_non-existant\\test01.tmp");
+ lpFiles_MoveFileExW_test1[13] = convert("dst_dir_non-existant\\test02.tmp");
/* read in the expected results to compare with actual results */
memset (results, 0, 34);
@@ -283,19 +283,19 @@ int __cdecl main(int argc, char *argv[])
/* clean the slate */
- removeAll();
- if (createExisting() != PASS)
+ removeAll_MoveFileExW_test1();
+ if (createExisting_MoveFileExW_test1() != PASS)
{
goto EXIT;
}
- /* lpSource loop */
+ /* lpSource_MoveFileExW_test1 loop */
for (i = 0; i < 4; i++)
{
- /* lpDestination loop */
+ /* lpDestination_MoveFileExW_test1 loop */
for (j = 0; j < 4; j++)
{
- /* dwFlag loop */
+ /* dwFlag_MoveFileExW_test1 loop */
for (k = 0; k < 2; k++)
{
@@ -304,7 +304,7 @@ int __cdecl main(int argc, char *argv[])
//exit(1);
//}
/* move the file to the new location */
- bRc = MoveFileExW(lpSource[i], lpDestination[j], dwFlag[k]);
+ bRc = MoveFileExW(lpSource_MoveFileExW_test1[i], lpDestination_MoveFileExW_test1[j], dwFlag_MoveFileExW_test1[k]);
if (!(
((bRc == TRUE) && (results[nCounter] == '1'))
@@ -313,21 +313,21 @@ int __cdecl main(int argc, char *argv[])
)
{
Trace("MoveFileExW(%S, %S, %s): Values of i[%d], j[%d], k [%d] and results[%d]=%c LastError[%d]Flag[%d]FAILED\n",
- lpSource[i], lpDestination[j],
+ lpSource_MoveFileExW_test1[i], lpDestination_MoveFileExW_test1[j],
k == 1 ?
"MOVEFILE_REPLACE_EXISTING":"MOVEFILE_COPY_ALLOWED", i, j, k, nCounter, results[nCounter], GetLastError(), bRc);
goto EXIT;
}
//Trace("MoveFileExW(%S, %S, %s): Values of i[%d], j[%d], k [%d] and results[%d]=%c \n",
- // lpSource[i], lpDestination[j],
+ // lpSource_MoveFileExW_test1[i], lpDestination_MoveFileExW_test1[j],
// k == 1 ?
// "MOVEFILE_REPLACE_EXISTING":"MOVEFILE_COPY_ALLOWED", i, j, k, nCounter, results[nCounter]);
/* undo the last move */
- removeAll();
- if (createExisting() != PASS)
+ removeAll_MoveFileExW_test1();
+ if (createExisting_MoveFileExW_test1() != PASS)
{
goto EXIT;
}
@@ -413,15 +413,15 @@ int __cdecl main(int argc, char *argv[])
res = PASS;
EXIT:
- removeAll();
+ removeAll_MoveFileExW_test1();
for (i=0; i<4; i++)
{
- free(lpSource[i]);
- free(lpDestination[i]);
+ free(lpSource_MoveFileExW_test1[i]);
+ free(lpDestination_MoveFileExW_test1[i]);
}
for (i=0; i<14; i++)
{
- free(lpFiles[i]);
+ free(lpFiles_MoveFileExW_test1[i]);
}
PAL_TerminateEx(res);
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExW/test1/testinfo.dat
deleted file mode 100644
index 6b4a8b2cfbb4f4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/MoveFileExW/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = MoveFileExW
-Name = Test for MoveFileExW (test 1)
-Type = DEFAULT
-EXE1 = movefileexw
-Description
-= Creates a number of files/directories and attempts to move them.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/CMakeLists.txt
deleted file mode 100644
index 070e421836829e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/CMakeLists.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-add_subdirectory(test4)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test1/CMakeLists.txt
deleted file mode 100644
index 51a66debad4a27..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- ReadFile.cpp
-)
-
-add_executable(paltest_readfile_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_readfile_test1 coreclrpal)
-
-target_link_libraries(paltest_readfile_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test1/ReadFile.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test1/ReadFile.cpp
index 2c9698d7c6ac61..822531db4b8717 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test1/ReadFile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test1/ReadFile.cpp
@@ -15,7 +15,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_ReadFile_test1_paltest_readfile_test1, "file_io/ReadFile/test1/paltest_readfile_test1")
{
HANDLE hFile = NULL;
DWORD dwByteCount = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test1/testinfo.dat
deleted file mode 100644
index 7aa03cd48f501a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = ReadFile
-Name = Positive Test for ReadFile
-Type = DEFAULT
-EXE1 = readfile
-Description
-=Attempt to read from a NULL handle and a file without read permissions
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test2/CMakeLists.txt
deleted file mode 100644
index adf226e3149b74..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- ReadFile.cpp
-)
-
-add_executable(paltest_readfile_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_readfile_test2 coreclrpal)
-
-target_link_libraries(paltest_readfile_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test2/ReadFile.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test2/ReadFile.cpp
index 3f969eb4b6d49c..96962eda3983a7 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test2/ReadFile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test2/ReadFile.cpp
@@ -21,19 +21,18 @@
#include
-const char* szStringTest = "The quick fox jumped over the lazy dog's back.\0";
-const char* szEmptyString = "";
-const char* szReadableFile = "Readable.txt";
-const char* szResultsFile = "Results.txt";
+#define szStringTest "The quick fox jumped over the lazy dog's back.\0"
+#define szEmptyString ""
+#define szReadableFile "Readable.txt"
+#define szResultsFile "Results.txt"
//Previously number of tests was 6, now 4 refer VSW 312690
#define NOOFTESTS 4
const int PAGESIZE = 4096;
+char *readBuffer_ReadFile_test2;
-char *readBuffer;
-
-BOOL validateResults(const char* szString, // string read
+BOOL validateResults_ReadFile_test2(const char* szString, // string read
DWORD dwByteCount, // amount requested
DWORD dwBytesRead) // amount read
{
@@ -62,7 +61,7 @@ BOOL validateResults(const char* szString, // string read
return TRUE;
}
-BOOL readTest(DWORD dwByteCount, char cResult)
+BOOL readTest_ReadFile_test2(DWORD dwByteCount, char cResult)
{
HANDLE hFile = NULL;
DWORD dwBytesRead;
@@ -83,9 +82,9 @@ BOOL readTest(DWORD dwByteCount, char cResult)
return FALSE;
}
- memset(readBuffer, 0, PAGESIZE);
+ memset(readBuffer_ReadFile_test2, 0, PAGESIZE);
- bRc = ReadFile(hFile, readBuffer, dwByteCount, &dwBytesRead, NULL);
+ bRc = ReadFile(hFile, readBuffer_ReadFile_test2, dwByteCount, &dwBytesRead, NULL);
if (bRc == FALSE)
{
@@ -93,7 +92,7 @@ BOOL readTest(DWORD dwByteCount, char cResult)
if (cResult == '1')
{
Trace("\nbRc = %d\n", bRc);
- Trace("readBuffer = [%s] dwByteCount = %d dwBytesRead = %d\n", readBuffer, dwByteCount, dwBytesRead);
+ Trace("readBuffer = [%s] dwByteCount = %d dwBytesRead = %d\n", readBuffer_ReadFile_test2, dwByteCount, dwBytesRead);
Trace("cresult = 1\n");
Trace("getlasterror = %d\n", GetLastError());
CloseHandle(hFile);
@@ -111,7 +110,7 @@ BOOL readTest(DWORD dwByteCount, char cResult)
}
else
{
- return (validateResults(readBuffer, dwByteCount, dwBytesRead));
+ return (validateResults_ReadFile_test2(readBuffer_ReadFile_test2, dwByteCount, dwBytesRead));
}
}
@@ -119,7 +118,7 @@ BOOL readTest(DWORD dwByteCount, char cResult)
return TRUE;
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_ReadFile_test2_paltest_readfile_test2, "file_io/ReadFile/test2/paltest_readfile_test2")
{
HANDLE hFile = NULL;
const int BUFFER_SIZE = 2 * PAGESIZE;
@@ -145,14 +144,14 @@ int __cdecl main(int argc, char *argv[])
}
/* allocate read-write memery for readBuffer */
- if (!(readBuffer = (char*) VirtualAlloc(NULL, BUFFER_SIZE, MEM_COMMIT, PAGE_READWRITE)))
+ if (!(readBuffer_ReadFile_test2 = (char*) VirtualAlloc(NULL, BUFFER_SIZE, MEM_COMMIT, PAGE_READWRITE)))
{
Fail("VirtualAlloc failed: GetLastError returns %d\n", GetLastError());
return FAIL;
}
/* write protect the second page of readBuffer */
- if (!VirtualProtect(&readBuffer[PAGESIZE], PAGESIZE, PAGE_NOACCESS, &oldProt))
+ if (!VirtualProtect(&readBuffer_ReadFile_test2[PAGESIZE], PAGESIZE, PAGE_NOACCESS, &oldProt))
{
Fail("VirtualProtect failed: GetLastError returns %d\n", GetLastError());
return FAIL;
@@ -179,14 +178,14 @@ int __cdecl main(int argc, char *argv[])
for (i = 0; i< NOOFTESTS; i++)
{
- bRc = readTest(dwByteCount[i], szResults[i]);
+ bRc = readTest_ReadFile_test2(dwByteCount[i], szResults[i]);
if (bRc != TRUE)
{
Fail("ReadFile: ERROR -> Failed on test[%d]\n", i);
}
}
- VirtualFree(readBuffer, BUFFER_SIZE, MEM_RELEASE);
+ VirtualFree(readBuffer_ReadFile_test2, BUFFER_SIZE, MEM_RELEASE);
PAL_Terminate();
return PASS;
}
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test2/testinfo.dat
deleted file mode 100644
index 510f79fca6c730..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test2/testinfo.dat
+++ /dev/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 = file_io
-Function = ReadFile
-Name = Positive Test for ReadFile
-Type = DEFAULT
-EXE1 = readfile
-Description
-=Multiple tests of reads of varying sizes with verification
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test3/CMakeLists.txt
deleted file mode 100644
index 2ce27e0dac254e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- ReadFile.cpp
-)
-
-add_executable(paltest_readfile_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_readfile_test3 coreclrpal)
-
-target_link_libraries(paltest_readfile_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test3/ReadFile.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test3/ReadFile.cpp
index 937e581c11a111..e9762552d90e2b 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test3/ReadFile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test3/ReadFile.cpp
@@ -23,13 +23,13 @@
#include
-const char* szStringTest = "The quick fox jumped over the lazy dog's back.\0";
-const char* szEmptyString = "";
-const char* szReadableFile = "Readable.txt";
-const char* szResultsFile = "Results.txt";
+#define szStringTest "The quick fox jumped over the lazy dog's back.\0"
+#define szEmptyString ""
+#define szReadableFile "Readable.txt"
+#define szResultsFile "Results.txt"
-BOOL validateResults(const char* szString, // string read
+BOOL validateResults_ReadFile_test3(const char* szString, // string read
DWORD dwByteCount, // amount requested
DWORD dwBytesRead) // amount read
{
@@ -62,7 +62,7 @@ BOOL validateResults(const char* szString, // string read
-BOOL readTest(DWORD dwByteCount, char cResult)
+BOOL readTest_ReadFile_test3(DWORD dwByteCount, char cResult)
{
HANDLE hFile = NULL;
DWORD dwBytesRead = 0;
@@ -125,7 +125,7 @@ BOOL readTest(DWORD dwByteCount, char cResult)
}
else
{
- return (validateResults(szString, dwRequested, dwTotal));
+ return (validateResults_ReadFile_test3(szString, dwRequested, dwTotal));
}
}
@@ -135,7 +135,7 @@ BOOL readTest(DWORD dwByteCount, char cResult)
-int __cdecl main(int argc, char **argv)
+PALTEST(file_io_ReadFile_test3_paltest_readfile_test3, "file_io/ReadFile/test3/paltest_readfile_test3")
{
HANDLE hFile = NULL;
DWORD dwByteCount[4] = {0, 1, 2, 3};
@@ -171,7 +171,7 @@ int __cdecl main(int argc, char **argv)
for (i = 0; i < 4; i++)
{
- bRc = readTest(dwByteCount[i], szResults[i]);
+ bRc = readTest_ReadFile_test3(dwByteCount[i], szResults[i]);
if (bRc != TRUE)
{
Fail("ReadFile: ERROR -> Failed on test[%d]\n", i);
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test3/testinfo.dat
deleted file mode 100644
index 510f79fca6c730..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test3/testinfo.dat
+++ /dev/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 = file_io
-Function = ReadFile
-Name = Positive Test for ReadFile
-Type = DEFAULT
-EXE1 = readfile
-Description
-=Multiple tests of reads of varying sizes with verification
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test4/CMakeLists.txt
deleted file mode 100644
index b284c5b77d79f6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- readfile.cpp
-)
-
-add_executable(paltest_readfile_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_readfile_test4 coreclrpal)
-
-target_link_libraries(paltest_readfile_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test4/readfile.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test4/readfile.cpp
index 864695092a6a84..1704c4c2e9dd0f 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test4/readfile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test4/readfile.cpp
@@ -15,7 +15,7 @@
**===================================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_ReadFile_test4_paltest_readfile_test4, "file_io/ReadFile/test4/paltest_readfile_test4")
{
HANDLE hFile = NULL;
DWORD dwBytesWritten;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test4/testinfo.dat
deleted file mode 100644
index 664ce3362f6d3e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/ReadFile/test4/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = ReadFile
-Name = Positive Test for ReadFile
-Type = DEFAULT
-EXE1 = readfile
-Description
-= Tests the PAL implementation of the ReadFile function.
-= Creates a file and writes a small string to it, attempt
-= to read many more characters that exist. The returned
-= number of chars should be the amount written originally
-= not the number requested.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/RemoveDirectoryA/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/RemoveDirectoryA/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/RemoveDirectoryA/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/RemoveDirectoryW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/RemoveDirectoryW/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/RemoveDirectoryW/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SearchPathA/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/SearchPathA/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SearchPathA/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SearchPathW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/SearchPathW/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SearchPathW/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SearchPathW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/SearchPathW/test1/CMakeLists.txt
deleted file mode 100644
index 86201dd8d6600b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SearchPathW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- SearchPathW.cpp
-)
-
-add_executable(paltest_searchpathw_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_searchpathw_test1 coreclrpal)
-
-target_link_libraries(paltest_searchpathw_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SearchPathW/test1/SearchPathW.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/SearchPathW/test1/SearchPathW.cpp
index c6cc79f984c574..aa9e3bee6baa9a 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SearchPathW/test1/SearchPathW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/SearchPathW/test1/SearchPathW.cpp
@@ -57,19 +57,19 @@
#include
-const char* szDir = ".";
+#define szDir "."
-const char* szNoFileName = "333asdf";
-const char* szNoFileNameExt = ".x77t";
+#define szNoFileName "333asdf"
+#define szNoFileNameExt ".x77t"
-const char* szFileNameExists = "searchpathw";
-const char* szFileNameExtExists = ".c";
+#define szFileNameExists "searchpathw"
+#define szFileNameExtExists ".c"
-const char* szFileNameExistsWithExt = "searchpathw.c";
+#define szFileNameExistsWithExt "searchpathw.c"
-char fileloc[_MAX_PATH];
+char fileloc_SearchPathW_test1[_MAX_PATH];
-void removeFileHelper(LPSTR pfile, int location)
+void removeFileHelper_SearchPathW_test1(LPSTR pfile, int location)
{
FILE *fp;
fp = fopen( pfile, "r");
@@ -93,12 +93,13 @@ void removeFileHelper(LPSTR pfile, int location)
}
-void RemoveAll()
+void RemoveAll_SearchPathW_test1()
{
- removeFileHelper(fileloc, 1);
+ removeFileHelper_SearchPathW_test1(fileloc_SearchPathW_test1, 1);
}
-int __cdecl main(int argc, char *argv[]) {
+PALTEST(file_io_SearchPathW_test1_paltest_searchpathw_test1, "file_io/SearchPathW/test1/paltest_searchpathw_test1")
+{
WCHAR* lpPath = NULL;
WCHAR* lpFileName = NULL;
@@ -131,17 +132,17 @@ int __cdecl main(int argc, char *argv[]) {
Fail("ERROR: GetTempPathA failed to get a path\n");
}
- memset(fileloc, 0, _MAX_PATH);
- sprintf_s(fileloc, _countof(fileloc), "%s%s", fullPath, szFileNameExistsWithExt);
+ memset(fileloc_SearchPathW_test1, 0, _MAX_PATH);
+ sprintf_s(fileloc_SearchPathW_test1, _countof(fileloc_SearchPathW_test1), "%s%s", fullPath, szFileNameExistsWithExt);
- RemoveAll();
+ RemoveAll_SearchPathW_test1();
- hsearchfile = CreateFileA(fileloc, GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
+ hsearchfile = CreateFileA(fileloc_SearchPathW_test1, GENERIC_WRITE, 0, 0, CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL, 0);
if (hsearchfile == NULL)
{
- Trace("ERROR[%ul]: couldn't create %s\n", GetLastError(), fileloc);
+ Trace("ERROR[%ul]: couldn't create %s\n", GetLastError(), fileloc_SearchPathW_test1);
return FAIL;
}
@@ -185,7 +186,7 @@ int __cdecl main(int argc, char *argv[]) {
free(lpPath);
free(lpFileName);
- RemoveAll();
+ RemoveAll_SearchPathW_test1();
PAL_Terminate();
return PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SearchPathW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/SearchPathW/test1/testinfo.dat
deleted file mode 100644
index 1664a75d527c52..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SearchPathW/test1/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = SearchPathW
-Name = Test #1 for SearchPathW
-TYPE = DEFAULT
-EXE1 = test1
-Description
-=Tests the PAL implementation of the SearchFileW function
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/CMakeLists.txt
deleted file mode 100644
index dcf480bf226be1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/CMakeLists.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-add_subdirectory(test4)
-add_subdirectory(test5)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test1/CMakeLists.txt
deleted file mode 100644
index 675371750b4191..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- SetEndOfFile.cpp
-)
-
-add_executable(paltest_setendoffile_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_setendoffile_test1 coreclrpal)
-
-target_link_libraries(paltest_setendoffile_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test1/SetEndOfFile.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test1/SetEndOfFile.cpp
index b4ca15527e08f6..56bcbcfce69a75 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test1/SetEndOfFile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test1/SetEndOfFile.cpp
@@ -20,10 +20,10 @@
#include
-const char* szTextFile = "text.txt";
-int __cdecl main(int argc, char *argv[])
+
+PALTEST(file_io_SetEndOfFile_test1_paltest_setendoffile_test1, "file_io/SetEndOfFile/test1/paltest_setendoffile_test1")
{
HANDLE hFile = NULL;
BOOL bRc = FALSE;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test1/testinfo.dat
deleted file mode 100644
index d3e27707eeb33e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = SetEndOfFile
-Name = Positive Test for SetEndOfFile
-Type = DEFAULT
-EXE1 = setendoffile
-Description
-=Truncate a file
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test2/CMakeLists.txt
deleted file mode 100644
index 324e24eeba42c7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- SetEndOfFile.cpp
-)
-
-add_executable(paltest_setendoffile_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_setendoffile_test2 coreclrpal)
-
-target_link_libraries(paltest_setendoffile_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test2/SetEndOfFile.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test2/SetEndOfFile.cpp
index 031c7573b3ac9e..b3b5372ec640a6 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test2/SetEndOfFile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test2/SetEndOfFile.cpp
@@ -14,11 +14,9 @@
#include
-const char* szStringTest = "The quick fox jumped over the lazy dog's back.";
-const char* szTextFile = "text.txt";
+#define szStringTest "The quick fox jumped over the lazy dog's back."
-
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_SetEndOfFile_test2_paltest_setendoffile_test2, "file_io/SetEndOfFile/test2/paltest_setendoffile_test2")
{
HANDLE hFile = NULL;
DWORD dwByteCount = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test2/testinfo.dat
deleted file mode 100644
index 1debf06544cef7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test2/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = SetEndOfFile
-Name = Positive Test for SetEndOfFile
-Type = DEFAULT
-EXE1 = setendoffile
-Description
-=Truncate the test file using SetEndOfFile
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test3/CMakeLists.txt
deleted file mode 100644
index e9cb6036a8310e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- SetEndOfFile.cpp
-)
-
-add_executable(paltest_setendoffile_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_setendoffile_test3 coreclrpal)
-
-target_link_libraries(paltest_setendoffile_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test3/SetEndOfFile.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test3/SetEndOfFile.cpp
index c7598d32b7f2e7..3d30a6a39ac6ba 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test3/SetEndOfFile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test3/SetEndOfFile.cpp
@@ -15,10 +15,10 @@
#include
-const char* szTextFile = "text.txt";
-int __cdecl main(int argc, char *argv[])
+
+PALTEST(file_io_SetEndOfFile_test3_paltest_setendoffile_test3, "file_io/SetEndOfFile/test3/paltest_setendoffile_test3")
{
HANDLE hFile = NULL;
DWORD dwByteCount = 0;
@@ -59,7 +59,7 @@ int __cdecl main(int argc, char *argv[])
Trace("SetEndOfFile: ERROR -> Unable to close file \"%s\".\n",
szTextFile);
}
- PAL_Terminate();
+ PAL_TerminateEx(FAIL);
return FAIL;
}
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test3/testinfo.dat
deleted file mode 100644
index c6156af4ff9a02..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test3/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = SetEndOfFile
-Name = Positive Test for SetEndOfFile
-Type = DEFAULT
-EXE1 = setendoffile
-Description
-=Set the end of file past the actual end
-=of file thereby, extending it.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test4/CMakeLists.txt
deleted file mode 100644
index 439d184f97dcde..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- setendoffile.cpp
-)
-
-add_executable(paltest_setendoffile_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_setendoffile_test4 coreclrpal)
-
-target_link_libraries(paltest_setendoffile_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test4/setendoffile.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test4/setendoffile.cpp
index 66530513f9d4f9..f4da80135d243a 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test4/setendoffile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test4/setendoffile.cpp
@@ -16,8 +16,8 @@
#include
-const char* szStringTest = "The quick fox jumped over the lazy dog's back.";
-const char* szTextFile = "test.tmp";
+#define szStringTest "The quick fox jumped over the lazy dog's back."
+#define szTextFile "test.tmp"
static void Cleanup(HANDLE hFile)
{
@@ -89,7 +89,7 @@ static void DoTest(HANDLE hFile, DWORD dwOffset, DWORD dwMethod)
}
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_SetEndOfFile_test4_paltest_setendoffile_test4, "file_io/SetEndOfFile/test4/paltest_setendoffile_test4")
{
HANDLE hFile = NULL;
DWORD dwBytesWritten;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test4/testinfo.dat
deleted file mode 100644
index 74236b5df6a1b3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test4/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = SetEndOfFile
-Name = Positive Test for SetEndOfFile (test 4)
-Type = DEFAULT
-EXE1 = setendoffile
-Description
-= Tests the PAL implementation of the SetEndOfFile function.
-= Verify that the file pointer is the same before
-= and after a SetEndOfFile using SetFilePointer with
-= FILE_BEGIN, FILE_CURRENT and FILE_END
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test5/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test5/CMakeLists.txt
deleted file mode 100644
index d329a7f60fb01f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test5/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test5.cpp
-)
-
-add_executable(paltest_setendoffile_test5
- ${SOURCES}
-)
-
-add_dependencies(paltest_setendoffile_test5 coreclrpal)
-
-target_link_libraries(paltest_setendoffile_test5
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test5/test5.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test5/test5.cpp
index f7c6e3c1041050..8af9bccc7988b4 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test5/test5.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test5/test5.cpp
@@ -14,7 +14,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_SetEndOfFile_test5_paltest_setendoffile_test5, "file_io/SetEndOfFile/test5/paltest_setendoffile_test5")
{
HANDLE hFile = NULL;
DWORD dwBytesWritten;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test5/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test5/testinfo.dat
deleted file mode 100644
index 169561ae31e033..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetEndOfFile/test5/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = SetEndOfFile
-Name = Positive Test for SetEndOfFile
-Type = DEFAULT
-EXE1 = test5
-Description
-= Tests the PAL implementation of the SetEndOfFile function.
-= Test attempts to set the end of file pointer to a position
-= which has data before and after it. Then it attempts to
-= read text beyond the end of file pointer.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/CMakeLists.txt
deleted file mode 100644
index 7cd88f8e86daf2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/CMakeLists.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-add_subdirectory(test4)
-add_subdirectory(test5)
-add_subdirectory(test6)
-add_subdirectory(test7)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test1/CMakeLists.txt
deleted file mode 100644
index 698768d6ec2912..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- SetFilePointer.cpp
-)
-
-add_executable(paltest_setfilepointer_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_setfilepointer_test1 coreclrpal)
-
-target_link_libraries(paltest_setfilepointer_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test1/SetFilePointer.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test1/SetFilePointer.cpp
index 6c421bf7e932f3..b19f174d57d9be 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test1/SetFilePointer.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test1/SetFilePointer.cpp
@@ -15,10 +15,10 @@
#include
-const char* szTextFile = "text.txt";
-int __cdecl main(int argc, char *argv[])
+
+PALTEST(file_io_SetFilePointer_test1_paltest_setfilepointer_test1, "file_io/SetFilePointer/test1/paltest_setfilepointer_test1")
{
HANDLE hFile = NULL;
DWORD dwByteCount = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test1/testinfo.dat
deleted file mode 100644
index 769fe0173d09c1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = SetFilePointer
-Name = Test for SetFilePointer (test 1)
-Type = DEFAULT
-EXE1 = setfilepointer
-Description
-=Set the file pointer on a NULL file handle and other invalid options
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test2/CMakeLists.txt
deleted file mode 100644
index fa25357ec18d2b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- SetFilePointer.cpp
-)
-
-add_executable(paltest_setfilepointer_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_setfilepointer_test2 coreclrpal)
-
-target_link_libraries(paltest_setfilepointer_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test2/SetFilePointer.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test2/SetFilePointer.cpp
index 073703e644ebaf..1167f229c4c68d 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test2/SetFilePointer.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test2/SetFilePointer.cpp
@@ -24,10 +24,10 @@
const char * const szText =
"The quick brown fox jumped over the lazy dog's back.";
-const char* szTextFile = "text.txt";
-int __cdecl main(int argc, char *argv[])
+
+PALTEST(file_io_SetFilePointer_test2_paltest_setfilepointer_test2, "file_io/SetFilePointer/test2/paltest_setfilepointer_test2")
{
HANDLE hFile = NULL;
DWORD dwByteCount = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test2/testinfo.dat
deleted file mode 100644
index 5e328c6565c1c4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test2/testinfo.dat
+++ /dev/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 = file_io
-Function = SetFilePointer
-Name = Positive Test for SetFilePointer (test 2)
-Type = DEFAULT
-EXE1 = setfilepointer
-Description
-=Tests the FILE_BEGIN option
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test3/CMakeLists.txt
deleted file mode 100644
index cf0b9ddec64372..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- SetFilePointer.cpp
-)
-
-add_executable(paltest_setfilepointer_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_setfilepointer_test3 coreclrpal)
-
-target_link_libraries(paltest_setfilepointer_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test3/SetFilePointer.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test3/SetFilePointer.cpp
index 1ba13e525314c6..8c230996322a0a 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test3/SetFilePointer.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test3/SetFilePointer.cpp
@@ -24,10 +24,10 @@
const char* const szText =
"The quick brown fox jumped over the lazy dog's back.";
-const char* szTextFile = "text.txt";
-int __cdecl main(int argc, char *argv[])
+
+PALTEST(file_io_SetFilePointer_test3_paltest_setfilepointer_test3, "file_io/SetFilePointer/test3/paltest_setfilepointer_test3")
{
HANDLE hFile = NULL;
DWORD dwByteCount = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test3/testinfo.dat
deleted file mode 100644
index 934aad656f1d3f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test3/testinfo.dat
+++ /dev/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 = file_io
-Function = SetFilePointer
-Name = Positive Test for SetFilePointer (test 3)
-Type = DEFAULT
-EXE1 = setfilepointer
-Description
-=Tests the FILE_CURRENT option
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test4/CMakeLists.txt
deleted file mode 100644
index 35c0ee9f0e2129..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- SetFilePointer.cpp
-)
-
-add_executable(paltest_setfilepointer_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_setfilepointer_test4 coreclrpal)
-
-target_link_libraries(paltest_setfilepointer_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test4/SetFilePointer.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test4/SetFilePointer.cpp
index 12e13ca6208502..9294886be11da8 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test4/SetFilePointer.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test4/SetFilePointer.cpp
@@ -23,10 +23,10 @@
#include
const char* szText = "The quick brown fox jumped over the lazy dog's back.";
-const char* szTextFile = "text.txt";
-int __cdecl main(int argc, char *argv[])
+
+PALTEST(file_io_SetFilePointer_test4_paltest_setfilepointer_test4, "file_io/SetFilePointer/test4/paltest_setfilepointer_test4")
{
HANDLE hFile = NULL;
DWORD dwByteCount = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test4/testinfo.dat
deleted file mode 100644
index 0195673da772b2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test4/testinfo.dat
+++ /dev/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 = file_io
-Function = SetFilePointer
-Name = Positive Test for SetFilePointer (test 4)
-Type = DEFAULT
-EXE1 = setfilepointer
-Description
-=Tests the FILE_END option
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test5/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test5/CMakeLists.txt
deleted file mode 100644
index a384a1488c8acc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test5/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- SetFilePointer.cpp
-)
-
-add_executable(paltest_setfilepointer_test5
- ${SOURCES}
-)
-
-add_dependencies(paltest_setfilepointer_test5 coreclrpal)
-
-target_link_libraries(paltest_setfilepointer_test5
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test5/SetFilePointer.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test5/SetFilePointer.cpp
index c1c531d1971619..d2f8911b4b586e 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test5/SetFilePointer.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test5/SetFilePointer.cpp
@@ -22,9 +22,9 @@
#include
-const char* szTextFile = "text.txt";
-int __cdecl main(int argc, char *argv[])
+
+PALTEST(file_io_SetFilePointer_test5_paltest_setfilepointer_test5, "file_io/SetFilePointer/test5/paltest_setfilepointer_test5")
{
HANDLE hFile = NULL;
DWORD dwOffset = 1;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test5/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test5/testinfo.dat
deleted file mode 100644
index baed91d6b76337..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test5/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = SetFilePointer
-Name = Positive Test for SetFilePointer (test 5)
-Type = DEFAULT
-EXE1 = setfilepointer
-Description
-=Tests the FILE_BEGIN option with the high word parameter.
-=This test requires about 4 gig free disk space
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test6/CMakeLists.txt
deleted file mode 100644
index b7b8dbae2aad8f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- SetFilePointer.cpp
-)
-
-add_executable(paltest_setfilepointer_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_setfilepointer_test6 coreclrpal)
-
-target_link_libraries(paltest_setfilepointer_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test6/SetFilePointer.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test6/SetFilePointer.cpp
index 5b48da950b92b9..69fe23373fdafa 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test6/SetFilePointer.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test6/SetFilePointer.cpp
@@ -22,10 +22,10 @@
#include
-const char* szTextFile = "text.txt";
-int __cdecl main(int argc, char *argv[])
+
+PALTEST(file_io_SetFilePointer_test6_paltest_setfilepointer_test6, "file_io/SetFilePointer/test6/paltest_setfilepointer_test6")
{
HANDLE hFile = NULL;
DWORD dwOffset = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test6/testinfo.dat
deleted file mode 100644
index 1f292b886f11c3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test6/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = SetFilePointer
-Name = Positive Test for SetFilePointer (test 6)
-Type = DEFAULT
-EXE1 = setfilepointer
-Description
-=Tests the FILE_CURRENT option with the high word parameter.
-=This test requires about 4 GB free disk space.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test7/CMakeLists.txt
deleted file mode 100644
index 6596afadbf2d7f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- SetFilePointer.cpp
-)
-
-add_executable(paltest_setfilepointer_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_setfilepointer_test7 coreclrpal)
-
-target_link_libraries(paltest_setfilepointer_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test7/SetFilePointer.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test7/SetFilePointer.cpp
index d7d4d37b6214f0..3230a215f73dfa 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test7/SetFilePointer.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test7/SetFilePointer.cpp
@@ -22,10 +22,10 @@
#include
-const char* szTextFile = "text.txt";
-int __cdecl main(int argc, char *argv[])
+
+PALTEST(file_io_SetFilePointer_test7_paltest_setfilepointer_test7, "file_io/SetFilePointer/test7/paltest_setfilepointer_test7")
{
HANDLE hFile = NULL;
DWORD dwOffset = 0;
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test7/testinfo.dat
deleted file mode 100644
index 1a9b5fb2b67203..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/SetFilePointer/test7/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = SetFilePointer
-Name = Positive Test for SetFilePointer (test 7)
-Type = DEFAULT
-EXE1 = setfilepointer
-Description
-=Tests the FILE_END option with the high word parameter
-=This test requires about 4 GB of free disk space.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/CMakeLists.txt
deleted file mode 100644
index dcf480bf226be1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/CMakeLists.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-add_subdirectory(test4)
-add_subdirectory(test5)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test1/CMakeLists.txt
deleted file mode 100644
index 4a02596986ab15..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- WriteFile.cpp
-)
-
-add_executable(paltest_writefile_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_writefile_test1 coreclrpal)
-
-target_link_libraries(paltest_writefile_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test1/WriteFile.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test1/WriteFile.cpp
index cc805ccf9ff68b..8664c9e0c987e5 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test1/WriteFile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test1/WriteFile.cpp
@@ -15,9 +15,10 @@
#include
-const char* szStringTest = "The quick fox jumped over the lazy dog's back.";
-const char* szReadOnlyFile = "ReadOnly.txt";
-void do_cleanup()
+#define szStringTest "The quick fox jumped over the lazy dog's back."
+#define szReadOnlyFile "ReadOnly.txt"
+
+void do_cleanup_WriteFile_test1()
{
BOOL bRc = FALSE;
bRc = DeleteFileA(szReadOnlyFile);
@@ -29,7 +30,7 @@ void do_cleanup()
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_WriteFile_test1_paltest_writefile_test1, "file_io/WriteFile/test1/paltest_writefile_test1")
{
HANDLE hFile = NULL;
DWORD dwBytesWritten;
@@ -78,7 +79,7 @@ int __cdecl main(int argc, char *argv[])
{
last_error = GetLastError();
Trace("WriteFile: ERROR[%ld] -> Unable to make the file read-only.\n", last_error);
- do_cleanup();
+ do_cleanup_WriteFile_test1();
Fail("WriteFile: ERROR[%ld] -> Unable to make the file read-only.\n", last_error);
}
@@ -86,7 +87,7 @@ int __cdecl main(int argc, char *argv[])
if (bRc == TRUE)
{ last_error = GetLastError();
Trace("WriteFile: ERROR[%ld] -> Able to write to a read-only file.\n", last_error);
- do_cleanup();
+ do_cleanup_WriteFile_test1();
Fail("WriteFile: ERROR[%ld] -> Able to write to a read-only file.\n", last_error);
}
@@ -95,7 +96,7 @@ int __cdecl main(int argc, char *argv[])
if (bRc != TRUE)
{ last_error = GetLastError();
Trace("WriteFile: ERROR[%ld] -> Unable to close file \"%s\".\n", last_error, szReadOnlyFile);
- do_cleanup();
+ do_cleanup_WriteFile_test1();
Fail("WriteFile: ERROR -> Unable to close file \"%s\".\n",
szReadOnlyFile);
}
@@ -107,7 +108,7 @@ int __cdecl main(int argc, char *argv[])
Fail("WriteFile: ERROR[%ld] -> Unable to make the file attribute NORMAL.\n", last_error);
}
- do_cleanup();
+ do_cleanup_WriteFile_test1();
PAL_Terminate();
return PASS;
}
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test1/testinfo.dat
deleted file mode 100644
index 72ec21f55adedb..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test1/testinfo.dat
+++ /dev/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 = file_io
-Function = WriteFile
-Name = test for WriteFile
-Type = DEFAULT
-EXE1 = writefile
-Description
-=Attempt to write to a NULL handle and to a read-only file
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test2/CMakeLists.txt
deleted file mode 100644
index 844c0b19620c1a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- WriteFile.cpp
-)
-
-add_executable(paltest_writefile_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_writefile_test2 coreclrpal)
-
-target_link_libraries(paltest_writefile_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test2/WriteFile.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test2/WriteFile.cpp
index 593b1667fd5efc..463e6744b443a4 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test2/WriteFile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test2/WriteFile.cpp
@@ -16,12 +16,12 @@
#include
-char* writeBuffer;
-const char* szWritableFile = "Writeable.txt";
-const char* szResultsFile = "Results.txt";
+char* writeBuffer_WriteFile_test2;
+#define szWritableFile "Writeable.txt"
+#define szResultsFile "Results.txt"
const int PAGESIZE = 4096;
-BOOL writeTest(DWORD dwByteCount, DWORD dwBytesWrittenResult, BOOL bResult)
+BOOL writeTest_WriteFile_test2(DWORD dwByteCount, DWORD dwBytesWrittenResult, BOOL bResult)
{
HANDLE hFile = NULL;
DWORD dwBytesWritten;
@@ -39,7 +39,7 @@ BOOL writeTest(DWORD dwByteCount, DWORD dwBytesWrittenResult, BOOL bResult)
return FALSE;
}
- bRc = WriteFile(hFile, writeBuffer, dwByteCount, &dwBytesWritten, NULL);
+ bRc = WriteFile(hFile, writeBuffer_WriteFile_test2, dwByteCount, &dwBytesWritten, NULL);
CloseHandle(hFile);
if ((bRc != bResult) || (dwBytesWrittenResult != dwBytesWritten))
@@ -53,7 +53,7 @@ BOOL writeTest(DWORD dwByteCount, DWORD dwBytesWrittenResult, BOOL bResult)
return TRUE;
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_WriteFile_test2_paltest_writefile_test2, "file_io/WriteFile/test2/paltest_writefile_test2")
{
const char * testString = "The quick fox jumped over the lazy dog's back.";
const int testStringLen = strlen(testString);
@@ -72,19 +72,19 @@ int __cdecl main(int argc, char *argv[])
return FAIL;
}
- /* allocate read-write memery for writeBuffer */
- if (!(writeBuffer = (char*) VirtualAlloc(NULL, BUFFER_SIZE, MEM_COMMIT,
+ /* allocate read-write memery for writeBuffer_WriteFile_test2 */
+ if (!(writeBuffer_WriteFile_test2 = (char*) VirtualAlloc(NULL, BUFFER_SIZE, MEM_COMMIT,
PAGE_READWRITE)))
{
Fail("VirtualAlloc failed: GetLastError returns %d\n", GetLastError());
return FAIL;
}
- memset((void*) writeBuffer, '.', BUFFER_SIZE);
- strcpy(writeBuffer, testString);
+ memset((void*) writeBuffer_WriteFile_test2, '.', BUFFER_SIZE);
+ strcpy(writeBuffer_WriteFile_test2, testString);
- /* write protect the second page of writeBuffer */
- if (!VirtualProtect(&writeBuffer[PAGESIZE], PAGESIZE, PAGE_NOACCESS, &oldProt))
+ /* write protect the second page of writeBuffer_WriteFile_test2 */
+ if (!VirtualProtect(&writeBuffer_WriteFile_test2[PAGESIZE], PAGESIZE, PAGE_NOACCESS, &oldProt))
{
Fail("VirtualProtect failed: GetLastError returns %d\n", GetLastError());
return FAIL;
@@ -92,7 +92,7 @@ int __cdecl main(int argc, char *argv[])
for (j = 0; j< 4; j++)
{
- bRc = writeTest(dwByteCount[j], dwByteWritten[j], bResults[j]);
+ bRc = writeTest_WriteFile_test2(dwByteCount[j], dwByteWritten[j], bResults[j]);
if (bRc != TRUE)
{
Fail("WriteFile: ERROR -> Failed on test[%d]\n", j);
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test2/testinfo.dat
deleted file mode 100644
index 94d2db8b488bb7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test2/testinfo.dat
+++ /dev/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 = file_io
-Function = WriteFile
-Name = Positive Test for WriteFile
-Type = DEFAULT
-EXE1 = writefile
-Description
-=Multiple tests of writes of varying sizes with verification
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test3/CMakeLists.txt
deleted file mode 100644
index 128d52a67c9ea4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- WriteFile.cpp
-)
-
-add_executable(paltest_writefile_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_writefile_test3 coreclrpal)
-
-target_link_libraries(paltest_writefile_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test3/WriteFile.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test3/WriteFile.cpp
index 672a10e16ecaf4..ec51d5d5c88af5 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test3/WriteFile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test3/WriteFile.cpp
@@ -15,11 +15,11 @@
#include
-const char* szStringTest = "The quick fox jumped over the lazy dog's back.\0";
-const char* szWritableFile = "writeable.txt";
+#define szStringTest "The quick fox jumped over the lazy dog's back.\0"
+#define szWritableFile "writeable.txt"
-BOOL validateResults(const char* szString)
+BOOL validateResults_WriteFile_test3(const char* szString)
{
FILE *pFile = NULL;
char szReadString[100];
@@ -58,7 +58,7 @@ BOOL validateResults(const char* szString)
-BOOL writeTest(const char* szString)
+BOOL writeTest_WriteFile_test3(const char* szString)
{
HANDLE hFile = NULL;
DWORD dwBytesWritten;
@@ -104,7 +104,7 @@ BOOL writeTest(const char* szString)
}
else
{
- return (validateResults(szString));
+ return (validateResults_WriteFile_test3(szString));
}
return TRUE;
@@ -113,7 +113,7 @@ BOOL writeTest(const char* szString)
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_WriteFile_test3_paltest_writefile_test3, "file_io/WriteFile/test3/paltest_writefile_test3")
{
const char *pString = szStringTest;
BOOL bRc = FALSE;
@@ -124,7 +124,7 @@ int __cdecl main(int argc, char *argv[])
}
- bRc = writeTest(pString);
+ bRc = writeTest_WriteFile_test3(pString);
if (bRc != TRUE)
{
Fail("WriteFile: ERROR -> Failed\n");
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test3/testinfo.dat
deleted file mode 100644
index cba76f89a3903d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test3/testinfo.dat
+++ /dev/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 = file_io
-Function = WriteFile
-Name = Positive Test for WriteFile
-Type = DEFAULT
-EXE1 = writefile
-Description
-=Multiple consecutive writes to a file with verification
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test4/CMakeLists.txt
deleted file mode 100644
index 68327e29c8ce28..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- writefile.cpp
-)
-
-add_executable(paltest_writefile_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_writefile_test4 coreclrpal)
-
-target_link_libraries(paltest_writefile_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test4/testinfo.dat
deleted file mode 100644
index f3627273f758e2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test4/testinfo.dat
+++ /dev/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 = file_io
-Function = WriteFile
-Name = Positive Test for WriteFile
-Type = DEFAULT
-EXE1 = writefile
-Description
-= writes to a file at different locations with verification
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test4/writefile.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test4/writefile.cpp
index 4eb2b20ee0135c..34ab48103533ca 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test4/writefile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test4/writefile.cpp
@@ -24,7 +24,7 @@
#include
-BOOL CleanUp(HANDLE hFile, const char * fileName)
+BOOL CleanUp_WriteFile_test4(HANDLE hFile, const char * fileName)
{
BOOL bRc = TRUE;
if (CloseHandle(hFile) != TRUE)
@@ -42,7 +42,7 @@ BOOL CleanUp(HANDLE hFile, const char * fileName)
return bRc;
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_WriteFile_test4_paltest_writefile_test4, "file_io/WriteFile/test4/paltest_writefile_test4")
{
const char* szStringTest = "1234567890";
const char* szWritableFile = "writeable.txt";
@@ -80,14 +80,14 @@ int __cdecl main(int argc, char *argv[])
{
Trace("WriteFile: ERROR -> Unable to write to file error: %ld \n",
GetLastError());
- CleanUp(hFile,szWritableFile);
+ CleanUp_WriteFile_test4(hFile,szWritableFile);
Fail("");
}
if(!FlushFileBuffers(hFile))
{ Trace("WriteFile: ERROR -> Call to FlushFile Buffers failed "
"error %ld \n",GetLastError());
- CleanUp(hFile,szWritableFile);
+ CleanUp_WriteFile_test4(hFile,szWritableFile);
Fail("");
}
@@ -97,7 +97,7 @@ int __cdecl main(int argc, char *argv[])
Trace("WriteFile: ERROR -> writing %u chars to empty file "
"caused its size to become %u\n",strlen(szStringTest),
GetFileSize(hFile, NULL));
- CleanUp(hFile,szWritableFile);
+ CleanUp_WriteFile_test4(hFile,szWritableFile);
Fail("");
}
@@ -120,7 +120,7 @@ int __cdecl main(int argc, char *argv[])
Trace("WriteFile: ERROR -> Unable to write to file after "
" moiving the file poiner to 5 error: %ld \n",
GetLastError());
- CleanUp(hFile,szWritableFile);
+ CleanUp_WriteFile_test4(hFile,szWritableFile);
Fail("");
}
@@ -129,7 +129,7 @@ int __cdecl main(int argc, char *argv[])
{
Trace("WriteFile: ERROR -> Call to FlushFile Buffers failed "
"error %ld \n",GetLastError());
- CleanUp(hFile,szWritableFile);
+ CleanUp_WriteFile_test4(hFile,szWritableFile);
Fail("");
}
@@ -140,11 +140,11 @@ int __cdecl main(int argc, char *argv[])
"sitting the file pointer to 5 resulted in wrong file size; "
"Expected %u resulted %u.",strlen(szStringTest),
(strlen(szStringTest)+5),GetFileSize(hFile, NULL));
- CleanUp(hFile,szWritableFile);
+ CleanUp_WriteFile_test4(hFile,szWritableFile);
Fail("");
}
- if (!CleanUp(hFile,szWritableFile))
+ if (!CleanUp_WriteFile_test4(hFile,szWritableFile))
{
Fail("");
}
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test5/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test5/CMakeLists.txt
deleted file mode 100644
index dbb06ddf487443..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test5/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- writefile.cpp
-)
-
-add_executable(paltest_writefile_test5
- ${SOURCES}
-)
-
-add_dependencies(paltest_writefile_test5 coreclrpal)
-
-target_link_libraries(paltest_writefile_test5
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test5/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test5/testinfo.dat
deleted file mode 100644
index 5f723992768131..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test5/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = WriteFile
-Name = Positive Test for WriteFile
-Type = DEFAULT
-EXE1 = writefile
-Description
-= write lots of data to a file. then check with
-= GetFileSize
-= This test is disabled due to its time overhead.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test5/writefile.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test5/writefile.cpp
index e1ddf22ad4db74..a9f1af7baa8d36 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test5/writefile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/WriteFile/test5/writefile.cpp
@@ -21,7 +21,7 @@
#include
-BOOL CleanUp(HANDLE hFile, const char * fileName)
+BOOL CleanUp_WriteFile_test5(HANDLE hFile, const char * fileName)
{
BOOL bRc = TRUE;
if (CloseHandle(hFile) != TRUE)
@@ -40,7 +40,7 @@ BOOL CleanUp(HANDLE hFile, const char * fileName)
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_WriteFile_test5_paltest_writefile_test5, "file_io/WriteFile/test5/paltest_writefile_test5")
{
HANDLE hFile = NULL;
@@ -81,7 +81,7 @@ int __cdecl main(int argc, char *argv[])
{
Trace("WriteFile: ERROR -> Unable to write to file error: %ld \n",
GetLastError());
- CleanUp(hFile,szWritableFile);
+ CleanUp_WriteFile_test5(hFile,szWritableFile);
Fail("");
}
@@ -91,7 +91,7 @@ int __cdecl main(int argc, char *argv[])
{
Trace("WriteFile: ERROR -> Call to FlushFileBuffers failed"
"error %ld \n",GetLastError());
- CleanUp(hFile,szWritableFile);
+ CleanUp_WriteFile_test5(hFile,szWritableFile);
Fail("");
}
@@ -101,12 +101,12 @@ int __cdecl main(int argc, char *argv[])
Trace("WriteFile: ERROR -> file size did not change properly"
" after writing 4000 000 chars to it ( size= %u )\n",
GetFileSize(hFile,NULL));
- CleanUp(hFile,szWritableFile);
+ CleanUp_WriteFile_test5(hFile,szWritableFile);
Fail("");
}
- if (!CleanUp(hFile,szWritableFile))
+ if (!CleanUp_WriteFile_test5(hFile,szWritableFile))
{
Fail("");
}
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/test1/CMakeLists.txt
deleted file mode 100644
index f50f97a5851154..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_errorpathnotfound_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_errorpathnotfound_test1 coreclrpal)
-
-target_link_libraries(paltest_errorpathnotfound_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/test1/test1.cpp
index 8a2654b1193c99..fa624a352e7df7 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/test1/test1.cpp
@@ -36,7 +36,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_errorpathnotfound_test1_paltest_errorpathnotfound_test1, "file_io/errorpathnotfound/test1/paltest_errorpathnotfound_test1")
{
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/test1/testinfo.dat
deleted file mode 100644
index 761ca9aed2bc8d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/test1/testinfo.dat
+++ /dev/null
@@ -1,30 +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 = file_io
-
-Function = some File_io functions
-
-Name = errorpathnotfound - checking GetLastError.
-
-Type = DEFAULT
-
-EXE1 = test1
-
-Description
-
-= Test the return value of GetLastError() after calling
-
-= some file_io functions with an invalid path.
-
-= Functions covered by this test are:
-
-= CopyFile, CreateFile and DeleteFile.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/test2/CMakeLists.txt
deleted file mode 100644
index 277855a74b70d2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_errorpathnotfound_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_errorpathnotfound_test2 coreclrpal)
-
-target_link_libraries(paltest_errorpathnotfound_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/test2/test2.cpp
index b6a439a5786ca5..927f800c1e43f8 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/test2/test2.cpp
@@ -38,7 +38,7 @@
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_errorpathnotfound_test2_paltest_errorpathnotfound_test2, "file_io/errorpathnotfound/test2/paltest_errorpathnotfound_test2")
{
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/test2/testinfo.dat
deleted file mode 100644
index 1b04b9766f257e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/errorpathnotfound/test2/testinfo.dat
+++ /dev/null
@@ -1,31 +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 = file_io
-
-Function = some File_io functions
-
-Name = errorpathnotfound - checking GetLastError.
-
-Type = DEFAULT
-
-EXE1 = test2
-
-Description
-
-= Test the return value of GetLastError() after calling
-
-= some file_io functions with an invalid path.
-
-= Functions covered by this test are:
-
-= FindFirstFileA, FindFirstFileW,
-
-= GetFileAttributesA, GetFileAttributesW,
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/gettemppatha/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/gettemppatha/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/gettemppatha/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/gettemppatha/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/file_io/gettemppatha/test1/CMakeLists.txt
deleted file mode 100644
index 6b8473aa529455..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/gettemppatha/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- gettemppatha.cpp
-)
-
-add_executable(paltest_gettemppatha_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_gettemppatha_test1 coreclrpal)
-
-target_link_libraries(paltest_gettemppatha_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/gettemppatha/test1/gettemppatha.cpp b/src/coreclr/src/pal/tests/palsuite/file_io/gettemppatha/test1/gettemppatha.cpp
index 55ca7db7ca4ee6..30845d788a460d 100644
--- a/src/coreclr/src/pal/tests/palsuite/file_io/gettemppatha/test1/gettemppatha.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/file_io/gettemppatha/test1/gettemppatha.cpp
@@ -62,7 +62,7 @@ static void SetAndCheckLength(CHAR tmpDirPath[], int bufferLength, int expectedR
}
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(file_io_gettemppatha_test1_paltest_gettemppatha_test1, "file_io/gettemppatha/test1/paltest_gettemppatha_test1")
{
if (0 != PAL_Initialize(argc,argv))
{
diff --git a/src/coreclr/src/pal/tests/palsuite/file_io/gettemppatha/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/file_io/gettemppatha/test1/testinfo.dat
deleted file mode 100644
index 700a0c72c1e246..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/file_io/gettemppatha/test1/testinfo.dat
+++ /dev/null
@@ -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 = file_io
-Function = GetTempPathA
-Name = Test for GetTempPathA (test 1)
-Type = DEFAULT
-EXE1 = gettemppatha
-Description
-= Calls GetTempPathA and verifies by passing the returned
-= value to CreateDirectoryA. If the returned path exists,
-= CreateDirectoryA will fail.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CMakeLists.txt
deleted file mode 100644
index 742e29b85da16c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CMakeLists.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-add_subdirectory(CreateFileMappingW)
-add_subdirectory(FreeLibrary)
-add_subdirectory(FreeLibraryAndExitThread)
-add_subdirectory(GetModuleFileNameA)
-add_subdirectory(GetModuleFileNameW)
-add_subdirectory(GetProcAddress)
-add_subdirectory(LocalAlloc)
-add_subdirectory(LocalFree)
-add_subdirectory(MapViewOfFile)
-add_subdirectory(OpenFileMappingW)
-add_subdirectory(ProbeMemory)
-add_subdirectory(UnmapViewOfFile)
-add_subdirectory(VirtualAlloc)
-add_subdirectory(VirtualFree)
-add_subdirectory(VirtualProtect)
-add_subdirectory(VirtualQuery)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/CMakeLists.txt
deleted file mode 100644
index c9599098417c93..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-add_subdirectory(CreateFileMapping_neg1)
-add_subdirectory(test1)
-
-# TODO: make this test compile
-# add_subdirectory(test2)
-
-add_subdirectory(test3)
-add_subdirectory(test4)
-add_subdirectory(test5)
-add_subdirectory(test6)
-add_subdirectory(test7)
-add_subdirectory(test8)
-add_subdirectory(test9)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/CreateFileMapping_neg1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/CreateFileMapping_neg1/CMakeLists.txt
deleted file mode 100644
index 8e106a7deccb26..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/CreateFileMapping_neg1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- CreateFileMapping_neg.cpp
-)
-
-add_executable(paltest_createfilemappingw_createfilemapping_neg1
- ${SOURCES}
-)
-
-add_dependencies(paltest_createfilemappingw_createfilemapping_neg1 coreclrpal)
-
-target_link_libraries(paltest_createfilemappingw_createfilemapping_neg1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/CreateFileMapping_neg1/CreateFileMapping_neg.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/CreateFileMapping_neg1/CreateFileMapping_neg.cpp
index 3fd3d2086706c5..91400a3a5c7e78 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/CreateFileMapping_neg1/CreateFileMapping_neg.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/CreateFileMapping_neg1/CreateFileMapping_neg.cpp
@@ -16,7 +16,7 @@
#define UNICODE
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_CreateFileMappingW_CreateFileMapping_neg1_paltest_createfilemappingw_createfilemapping_neg1, "filemapping_memmgt/CreateFileMappingW/CreateFileMapping_neg1/paltest_createfilemappingw_createfilemapping_neg1")
{
HANDLE FileHandle;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/CreateFileMapping_neg1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/CreateFileMapping_neg1/testinfo.dat
deleted file mode 100644
index 7b8b1bbd463ab8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/CreateFileMapping_neg1/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = CreateFileMapping
-Name = Negative test for CreateFileMappingW - with a zero length file
-TYPE = DEFAULT
-EXE1 = createfilemapping_neg
-Description
-=Test the CreateFileMapping to try to map a zero length file
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test1/CMakeLists.txt
deleted file mode 100644
index decb9995f3209b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- CreateFileMappingW.cpp
-)
-
-add_executable(paltest_createfilemappingw_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_createfilemappingw_test1 coreclrpal)
-
-target_link_libraries(paltest_createfilemappingw_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test1/CreateFileMappingW.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test1/CreateFileMappingW.cpp
index b17ecfac0adc63..316320949a4cc5 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test1/CreateFileMappingW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test1/CreateFileMappingW.cpp
@@ -15,7 +15,7 @@
const int MAPPINGSIZE = 2048;
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_CreateFileMappingW_test1_paltest_createfilemappingw_test1, "filemapping_memmgt/CreateFileMappingW/test1/paltest_createfilemappingw_test1")
{
HANDLE hFile;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test1/testinfo.dat
deleted file mode 100644
index e132c6324c94c9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test1/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = CreateFileMappingW
-Name = CreateFileMappingW with PAGE_READONLY
-TYPE = DEFAULT
-EXE1 = createfilemappingw
-Description
-=Test the CreateFileMappingW to create a unnamed file-mapping object
-=and with PAGE_READONLY protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test2/CMakeLists.txt
deleted file mode 100644
index 618abe04d79e80..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- CreateFileMappingW.cpp
-)
-
-add_executable(paltest_createfilemappingw_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_createfilemappingw_test2 coreclrpal)
-
-target_link_libraries(paltest_createfilemappingw_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test2/CreateFileMappingW.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test2/CreateFileMappingW.cpp
index 9f13cd7ce7a223..bacdc92365cddb 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test2/CreateFileMappingW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test2/CreateFileMappingW.cpp
@@ -15,7 +15,7 @@
#define UNICODE
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_CreateFileMappingW_test2_paltest_createfilemappingw_test2, "filemapping_memmgt/CreateFileMappingW/test2/paltest_createfilemappingw_test2")
{
HANDLE FileHandle;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test3/CMakeLists.txt
deleted file mode 100644
index 46723a0d270eee..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- CreateFileMappingW.cpp
-)
-
-add_executable(paltest_createfilemappingw_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_createfilemappingw_test3 coreclrpal)
-
-target_link_libraries(paltest_createfilemappingw_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test3/CreateFileMappingW.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test3/CreateFileMappingW.cpp
index 867b51b1668a11..409e829718e9df 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test3/CreateFileMappingW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test3/CreateFileMappingW.cpp
@@ -15,7 +15,7 @@
const int MAPPINGSIZE = 2048;
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_CreateFileMappingW_test3_paltest_createfilemappingw_test3, "filemapping_memmgt/CreateFileMappingW/test3/paltest_createfilemappingw_test3")
{
HANDLE hFile;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test3/testinfo.dat
deleted file mode 100644
index 6cd0d3eef8b719..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test3/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = CreateFileMappingW
-Name = CreateFileMappingW with PAGE_READWRITE
-TYPE = DEFAULT
-EXE1 = createfilemappingw
-Description
-=Test the CreateFileMappingW to create a unnamed file-mapping object
-=and with PAGE_READWRITE protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test4/CMakeLists.txt
deleted file mode 100644
index b9ab86107734ab..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- CreateFileMappingW.cpp
-)
-
-add_executable(paltest_createfilemappingw_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_createfilemappingw_test4 coreclrpal)
-
-target_link_libraries(paltest_createfilemappingw_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test4/CreateFileMappingW.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test4/CreateFileMappingW.cpp
index e439ed0c939a16..1ac6815542a36e 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test4/CreateFileMappingW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test4/CreateFileMappingW.cpp
@@ -15,7 +15,7 @@
const int MAPPINGSIZE = 2048;
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_CreateFileMappingW_test4_paltest_createfilemappingw_test4, "filemapping_memmgt/CreateFileMappingW/test4/paltest_createfilemappingw_test4")
{
HANDLE hFile;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test4/testinfo.dat
deleted file mode 100644
index 2a1e78b640f5c8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test4/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = CreateFileMappingW
-Name = CreateFileMappingW with PAGE_WRITECOPY.
-TYPE = DEFAULT
-EXE1 = createfilemappingw
-Description
-=Test the CreateFileMapping to create a unnamed file-mapping object
-=and with PAGE_WRITE protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test5/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test5/CMakeLists.txt
deleted file mode 100644
index 933596a7c2f0f4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test5/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- CreateFileMappingW.cpp
-)
-
-add_executable(paltest_createfilemappingw_test5
- ${SOURCES}
-)
-
-add_dependencies(paltest_createfilemappingw_test5 coreclrpal)
-
-target_link_libraries(paltest_createfilemappingw_test5
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test5/CreateFileMappingW.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test5/CreateFileMappingW.cpp
index a45267d4d30c2e..098f7a09a0a71d 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test5/CreateFileMappingW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test5/CreateFileMappingW.cpp
@@ -15,10 +15,10 @@
#include
const int MAPPINGSIZE = 2048;
-HANDLE SWAP_HANDLE = ((VOID *)(-1));
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_CreateFileMappingW_test5_paltest_createfilemappingw_test5, "filemapping_memmgt/CreateFileMappingW/test5/paltest_createfilemappingw_test5")
{
+ HANDLE SWAP_HANDLE = ((VOID *)(-1));
char testString[] = "this is a test string";
WCHAR lpObjectName[] = {'m','y','O','b','j','e','c','t','\0'};
int RetVal = FAIL;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test5/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test5/testinfo.dat
deleted file mode 100644
index dfc444e6f605df..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test5/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = CreateFileMappingW
-Name = CreateFileMappingW - PAGE_READWRITE
-TYPE = DEFAULT
-EXE1 = createfilemappingw
-Description
-= Positive test the CreateFileMappingW API.
-= Test CreateFileMappingW to create a named
-= "swap" handle with access PAGE_READONLY.
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test6/CMakeLists.txt
deleted file mode 100644
index abd57dded2f23b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- CreateFileMappingW.cpp
-)
-
-add_executable(paltest_createfilemappingw_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_createfilemappingw_test6 coreclrpal)
-
-target_link_libraries(paltest_createfilemappingw_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test6/CreateFileMappingW.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test6/CreateFileMappingW.cpp
index 635999a6ab4cb3..615d261214966e 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test6/CreateFileMappingW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test6/CreateFileMappingW.cpp
@@ -15,10 +15,10 @@
#include
const int MAPPINGSIZE = 2048;
-HANDLE SWAP_HANDLE = ((VOID *)(-1));
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_CreateFileMappingW_test6_paltest_createfilemappingw_test6, "filemapping_memmgt/CreateFileMappingW/test6/paltest_createfilemappingw_test6")
{
+ HANDLE SWAP_HANDLE = ((VOID *)(-1));
char testString[] = "this is a test string";
WCHAR lpObjectName[] = {'m','y','O','b','j','e','c','t','\0'};
char results[2048];
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test6/testinfo.dat
deleted file mode 100644
index 07a09140cfff31..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test6/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = CreateFileMapping
-Name = CreateFileMappingW - with PAGE_READONLY
-TYPE = DEFAULT
-EXE1 = createfilemappingw
-Description
-= Positive test the CreateFileMappingW API.
-= Test CreateFileMappingW to create a named
-= "swap" handle with access PAGE_READWRITE.
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test7/CMakeLists.txt
deleted file mode 100644
index 011f6e1b4c6a03..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- createfilemapping.cpp
-)
-
-add_executable(paltest_createfilemappingw_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_createfilemappingw_test7 coreclrpal)
-
-target_link_libraries(paltest_createfilemappingw_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test7/createfilemapping.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test7/createfilemapping.cpp
index 3141f7ea2e2aab..48c2361faddb38 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test7/createfilemapping.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test7/createfilemapping.cpp
@@ -15,10 +15,10 @@
#include
const int MAPPINGSIZE = 2048;
-HANDLE SWAP_HANDLE = ((VOID *)(-1));
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_CreateFileMappingW_test7_paltest_createfilemappingw_test7, "filemapping_memmgt/CreateFileMappingW/test7/paltest_createfilemappingw_test7")
{
+ HANDLE SWAP_HANDLE = ((VOID *)(-1));
char testString[] = "this is a test string";
WCHAR lpObjectName[] = {'m','y','O','b','j','e','c','t','\0'};
char results[2048];
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test7/testinfo.dat
deleted file mode 100644
index 3c499001a474df..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test7/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = CreateFileMappingW
-Name = CreateFileMappingW - PAGE_COPYWRITE
-TYPE = DEFAULT
-EXE1 = createfilemapping
-Description
-= Positive test the CreateFileMappingW API.
-= Test CreateFileMappingW to create a named
-= "swap" handle with access PAGE_READWRITE
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test8/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test8/CMakeLists.txt
deleted file mode 100644
index 6e01ec7c789041..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test8/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- createfilemapping.cpp
-)
-
-add_executable(paltest_createfilemappingw_test8
- ${SOURCES}
-)
-
-add_dependencies(paltest_createfilemappingw_test8 coreclrpal)
-
-target_link_libraries(paltest_createfilemappingw_test8
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test8/createfilemapping.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test8/createfilemapping.cpp
index 54543d5f218ed6..8a264ea83e1735 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test8/createfilemapping.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test8/createfilemapping.cpp
@@ -14,10 +14,10 @@
#include
const int MAPPINGSIZE = 2048;
-HANDLE SWAP_HANDLE = ((VOID *)(-1));
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_CreateFileMappingW_test8_paltest_createfilemappingw_test8, "filemapping_memmgt/CreateFileMappingW/test8/paltest_createfilemappingw_test8")
{
+ HANDLE SWAP_HANDLE = ((VOID *)(-1));
WCHAR lpObjectName[] = {'m','y','O','b','j','e','c','t','\0'};
HANDLE hFileMap;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test8/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test8/testinfo.dat
deleted file mode 100644
index 3d8364d5abf541..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test8/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = CreateFileMappingW - Special cases
-Name = CreateFileMappingW
-TYPE = DEFAULT
-EXE1 = createfilemapping
-Description
-= Positive test the CreateFileMappingW API.
-= Test the un-verifiable parameter combinations.
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test9/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test9/CMakeLists.txt
deleted file mode 100644
index b069bc6ed767d8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test9/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- createfilemapping.cpp
-)
-
-add_executable(paltest_createfilemappingw_test9
- ${SOURCES}
-)
-
-add_dependencies(paltest_createfilemappingw_test9 coreclrpal)
-
-target_link_libraries(paltest_createfilemappingw_test9
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test9/createfilemapping.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test9/createfilemapping.cpp
index e062e4543d3303..70c52936011dda 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test9/createfilemapping.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test9/createfilemapping.cpp
@@ -14,7 +14,7 @@
const int MAPPINGSIZE = 2048;
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_CreateFileMappingW_test9_paltest_createfilemappingw_test9, "filemapping_memmgt/CreateFileMappingW/test9/paltest_createfilemappingw_test9")
{
HANDLE hFile;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test9/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test9/testinfo.dat
deleted file mode 100644
index b3baf015a1021b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingW/test9/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = CreateFileMappingW
-Name = CreateFileMappingW negative testing
-TYPE = DEFAULT
-EXE1 = createfilemapping
-Description
-= Negative test the CreateFileMapping API.
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/test1/CMakeLists.txt
deleted file mode 100644
index 66341ef4ecaaec..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/test1/CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-set(SOURCES
- dlltest.cpp
- FreeLibrary.cpp
-)
-
-add_executable(paltest_freelibrary_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_freelibrary_test1 coreclrpal)
-
-target_link_libraries(paltest_freelibrary_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/test1/FreeLibrary.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/test1/FreeLibrary.cpp
index 093242db635047..528a1cca29fc8d 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/test1/FreeLibrary.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/test1/FreeLibrary.cpp
@@ -25,7 +25,7 @@
BOOL PALAPI TestDll(HMODULE, int);
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_FreeLibrary_test1_paltest_freelibrary_test1, "filemapping_memmgt/FreeLibrary/test1/paltest_freelibrary_test1")
{
HANDLE hLib;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/test1/testinfo.dat
deleted file mode 100644
index 6e6e9f3f40107c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/test1/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = FreeLibrary
-Name = Positive test for FreeLibrary API
-TYPE = DEFAULT
-EXE1 = freelibrary
-LIB1 = dlltest
-Description
-=Test the FreeLibrary to decrement the reference
-=count of the loaded DLL
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/test2/CMakeLists.txt
deleted file mode 100644
index 126d16b2484e60..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_freelibrary_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_freelibrary_test2 coreclrpal)
-
-target_link_libraries(paltest_freelibrary_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/test2/test2.cpp
index 2cf10ee8ee1402..c360743c4452b0 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/test2/test2.cpp
@@ -14,7 +14,7 @@
#include
-int __cdecl main(int argc, char* argv[])
+PALTEST(filemapping_memmgt_FreeLibrary_test2_paltest_freelibrary_test2, "filemapping_memmgt/FreeLibrary/test2/paltest_freelibrary_test2")
{
HANDLE hLib;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/test2/testinfo.dat
deleted file mode 100644
index 44c99fb3ce3a27..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibrary/test2/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = FreeLibrary
-Name = Negative test for FreeLibrary
-TYPE = DEFAULT
-EXE1 = test2
-Description
-= Tests the PAL implementation of the FreeLibrary function.
-= This is a negative test that will pass an invalid and a
-= null handle to FreeLibrary.
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibraryAndExitThread/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibraryAndExitThread/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibraryAndExitThread/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibraryAndExitThread/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibraryAndExitThread/test1/CMakeLists.txt
deleted file mode 100644
index 5e268fbff5f216..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibraryAndExitThread/test1/CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-set(SOURCES
- dlltest.cpp
- test1.cpp
-)
-
-add_executable(paltest_freelibraryandexitthread_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_freelibraryandexitthread_test1 coreclrpal)
-
-target_link_libraries(paltest_freelibraryandexitthread_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibraryAndExitThread/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibraryAndExitThread/test1/test1.cpp
index 2306a190d0f316..97448fadaf9628 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibraryAndExitThread/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibraryAndExitThread/test1/test1.cpp
@@ -27,11 +27,11 @@
#define TIMEOUT 60000
-BOOL PALAPI StartThreadTest();
-DWORD PALAPI CreateTestThread(LPVOID);
-BOOL PALAPI TestDll(HMODULE, int);
+BOOL PALAPI StartThreadTest_FreeLibraryAndExitThread_test1();
+DWORD PALAPI CreateTestThread_FreeLibraryAndExitThread_test1(LPVOID);
+BOOL PALAPI TestDll_FreeLibraryAndExitThread_test1(HMODULE, int);
-int __cdecl main(int argc, char* argv[])
+PALTEST(filemapping_memmgt_FreeLibraryAndExitThread_test1_paltest_freelibraryandexitthread_test1, "filemapping_memmgt/FreeLibraryAndExitThread/test1/paltest_freelibraryandexitthread_test1")
{
/*Initialize the PAL*/
if ((PAL_Initialize(argc, argv)) != 0)
@@ -39,7 +39,7 @@ int __cdecl main(int argc, char* argv[])
return (FAIL);
}
- if (!StartThreadTest())
+ if (!StartThreadTest_FreeLibraryAndExitThread_test1())
{
Fail("ERROR: FreeLibraryAndExitThread test failed.\n");
}
@@ -51,12 +51,12 @@ int __cdecl main(int argc, char* argv[])
}
-BOOL PALAPI StartThreadTest()
+BOOL PALAPI StartThreadTest_FreeLibraryAndExitThread_test1()
{
HMODULE hLib;
HANDLE hThread;
DWORD dwThreadId;
- LPTHREAD_START_ROUTINE lpStartAddress = &CreateTestThread;
+ LPTHREAD_START_ROUTINE lpStartAddress = &CreateTestThread_FreeLibraryAndExitThread_test1;
LPVOID lpParameter = (LPVOID)lpStartAddress;
DWORD rc = -1;
/*Load library (DLL).*/
@@ -101,7 +101,7 @@ BOOL PALAPI StartThreadTest()
}
/*Test access to DLL.*/
- if(!TestDll(hLib, 0))
+ if(!TestDll_FreeLibraryAndExitThread_test1(hLib, 0))
{
Trace("ERROR: TestDll function returned FALSE "
"expected TRUE\n.");
@@ -117,7 +117,7 @@ BOOL PALAPI StartThreadTest()
return (TRUE);
}
-BOOL PALAPI TestDll(HMODULE hLib, int testResult)
+BOOL PALAPI TestDll_FreeLibraryAndExitThread_test1(HMODULE hLib, int testResult)
{
int RetVal;
char FunctName[] = "DllTest";
@@ -164,10 +164,10 @@ BOOL PALAPI TestDll(HMODULE hLib, int testResult)
return (TRUE);
}
-DWORD PALAPI CreateTestThread(LPVOID lpParam)
+DWORD PALAPI CreateTestThread_FreeLibraryAndExitThread_test1(LPVOID lpParam)
{
/* Test access to DLL.*/
- TestDll(lpParam, 1);
+ TestDll_FreeLibraryAndExitThread_test1(lpParam, 1);
/*Free library and exit thread.*/
FreeLibraryAndExitThread(lpParam, (DWORD)0);
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibraryAndExitThread/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibraryAndExitThread/test1/testinfo.dat
deleted file mode 100644
index cdadee335abb90..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/FreeLibraryAndExitThread/test1/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = FreeLibraryAndExitThread
-Name = Positive test for FreeLibraryAndExitThread
-TYPE = DEFAULT
-EXE1 = test1
-LIB1 = dlltest
-Description
-= Tests the PAL implementation of the FreeLibraryAndExitThread
-= function. When run, FreeLibraryAndExitThread will exit the
-= process that it is called within, therefore we create a
-= thread to run the API. Then we test for the existance of the
-= thread and access to the library.
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/test1/CMakeLists.txt
deleted file mode 100644
index fd7fa6bdfcac7b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- GetModuleFileNameA.cpp
-)
-
-add_executable(paltest_getmodulefilenamea_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_getmodulefilenamea_test1 coreclrpal)
-
-target_link_libraries(paltest_getmodulefilenamea_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/test1/GetModuleFileNameA.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/test1/GetModuleFileNameA.cpp
index 78550913b59a31..c5fc79f7ad96e5 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/test1/GetModuleFileNameA.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/test1/GetModuleFileNameA.cpp
@@ -26,7 +26,7 @@
#define Delimiter "\\"
#endif
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_GetModuleFileNameA_test1_paltest_getmodulefilenamea_test1, "filemapping_memmgt/GetModuleFileNameA/test1/paltest_getmodulefilenamea_test1")
{
HMODULE ModuleHandle;
int err;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/test1/testinfo.dat
deleted file mode 100644
index 72196a4cc642f9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/test1/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = GetModuleFileNameA
-Name = Positive test for GetModuleFileNameA API
-TYPE = DEFAULT
-EXE1 = getmodulefilenamea
-Description
-=Test the GetModuleFileNameA to retrieve the specified module
-=full path and file name
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/test2/CMakeLists.txt
deleted file mode 100644
index 5dd6e857a317e3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- GetModuleFileNameA.cpp
-)
-
-add_executable(paltest_getmodulefilenamea_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_getmodulefilenamea_test2 coreclrpal)
-
-target_link_libraries(paltest_getmodulefilenamea_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/test2/GetModuleFileNameA.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/test2/GetModuleFileNameA.cpp
index 99cfeb7c1cf1d3..b888ce3e93aab1 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/test2/GetModuleFileNameA.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/test2/GetModuleFileNameA.cpp
@@ -16,7 +16,7 @@
#define MODULENAMEBUFFERSIZE 1024
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_GetModuleFileNameA_test2_paltest_getmodulefilenamea_test2, "filemapping_memmgt/GetModuleFileNameA/test2/paltest_getmodulefilenamea_test2")
{
DWORD ModuleNameLength;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/test2/testinfo.dat
deleted file mode 100644
index 9f6c7d8b4f41bc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameA/test2/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = GetModuleFileNameA
-Name = Positive test for GetModuleFileNameA API
-TYPE = DEFAULT
-EXE1 = getmodulefilenamea
-Description
-=Test the GetModuleFileNameA to retrieve current process full
-=full path and file name by passing a NULL module handle
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/test1/CMakeLists.txt
deleted file mode 100644
index 0488cc9a3ef862..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- GetModuleFileNameW.cpp
-)
-
-add_executable(paltest_getmodulefilenamew_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_getmodulefilenamew_test1 coreclrpal)
-
-target_link_libraries(paltest_getmodulefilenamew_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/test1/GetModuleFileNameW.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/test1/GetModuleFileNameW.cpp
index d38ea321857010..db9daafd9b16a9 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/test1/GetModuleFileNameW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/test1/GetModuleFileNameW.cpp
@@ -25,7 +25,7 @@
#define Delimiter "\\"
#endif
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_GetModuleFileNameW_test1_paltest_getmodulefilenamew_test1, "filemapping_memmgt/GetModuleFileNameW/test1/paltest_getmodulefilenamew_test1")
{
HMODULE ModuleHandle;
int err;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/test1/testinfo.dat
deleted file mode 100644
index e6e090035fc428..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/test1/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = GetModuleFileNameW
-Name = Positive test for GetModuleFileNameW API
-TYPE = DEFAULT
-EXE1 = getmodulefilenamew
-Description
-=Test the GetModuleFileNameW to retrieve the specified module
-=full path and file name in UNICODE
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/test2/CMakeLists.txt
deleted file mode 100644
index f3a51c31d6122d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- GetModuleFileNameW.cpp
-)
-
-add_executable(paltest_getmodulefilenamew_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_getmodulefilenamew_test2 coreclrpal)
-
-target_link_libraries(paltest_getmodulefilenamew_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/test2/GetModuleFileNameW.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/test2/GetModuleFileNameW.cpp
index b9f52970eb3269..cf93a94db982f9 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/test2/GetModuleFileNameW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/test2/GetModuleFileNameW.cpp
@@ -18,7 +18,7 @@
#define MODULENAMEBUFFERSIZE 1024
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_GetModuleFileNameW_test2_paltest_getmodulefilenamew_test2, "filemapping_memmgt/GetModuleFileNameW/test2/paltest_getmodulefilenamew_test2")
{
DWORD ModuleNameLength;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/test2/testinfo.dat
deleted file mode 100644
index 47a5defb23b7e5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetModuleFileNameW/test2/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = GetModuleFileNameW
-Name = Positive test for GetModuleFileNameW API
-TYPE = DEFAULT
-EXE1 = getmodulefilenamew
-Description
-=Test the GetModuleFileNameW to retrieve current process full
-=full path and file name by passing a NULL module handle in UNICODE
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/test1/CMakeLists.txt
deleted file mode 100644
index 6398b4eb2386af..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/test1/CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-set(SOURCES
- test1.cpp
- testlib.cpp
-)
-
-add_executable(paltest_getprocaddress_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_getprocaddress_test1 coreclrpal)
-
-target_link_libraries(paltest_getprocaddress_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/test1/test1.cpp
index 78d6a565f6420f..183177fb3841c7 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/test1/test1.cpp
@@ -23,7 +23,7 @@ typedef int (PALAPI_NOEXPORT *SIMPLEFUNCTION)(int);
#define lpModuleName "testlib.dll"
#endif
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_GetProcAddress_test1_paltest_getprocaddress_test1, "filemapping_memmgt/GetProcAddress/test1/paltest_getprocaddress_test1")
{
int err;
HMODULE hModule;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/test1/testinfo.dat
deleted file mode 100644
index 8bc3b446977efd..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/test1/testinfo.dat
+++ /dev/null
@@ -1,18 +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 = filemapping_memmgt
-Function = getprocaddress
-Name = Positive test for GetProcAddress API
-TYPE = DEFAULT
-EXE1 = test1
-LIB1 = testlib
-Description
-=Positive test the GetProcAddress API.
-=The first test calls GetProcAddress to retrieve the
-=address of strcpy by its name, then calls the function and
-=checks that it worked. The second part of the test
-=calls GetProcAddress to retrieve the address of
-=strcpy by its ordinal, then calls the function and
-=checks that it worked.
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/test2/CMakeLists.txt
deleted file mode 100644
index d328f4c8159898..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/test2/CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-set(SOURCES
- test2.cpp
- testlib.cpp
-)
-
-add_executable(paltest_getprocaddress_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_getprocaddress_test2 coreclrpal)
-
-target_link_libraries(paltest_getprocaddress_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/test2/test2.cpp
index fdd5d85676668b..8556a67086e57b 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/test2/test2.cpp
@@ -26,7 +26,7 @@
/**
* main
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_GetProcAddress_test2_paltest_getprocaddress_test2, "filemapping_memmgt/GetProcAddress/test2/paltest_getprocaddress_test2")
{
int err;
HMODULE hModule;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/test2/testinfo.dat
deleted file mode 100644
index 4e64e8ccf92a07..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/GetProcAddress/test2/testinfo.dat
+++ /dev/null
@@ -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 = filemapping_memmgt
-Function = getprocaddress
-Name = Negative test for GetProcAddress API
-TYPE = DEFAULT
-EXE1 = test2
-LIB1 = testlib
-Description
-=This test tries to call GetProcAddress with
-=a NULL handle, with a NULL function name, with an empty
-=function name, with an invalid name and with an
-=nvalid ordinal value.
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalAlloc/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalAlloc/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalAlloc/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalAlloc/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalAlloc/test1/CMakeLists.txt
deleted file mode 100644
index 910d3b19152509..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalAlloc/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- LocalAlloc.cpp
-)
-
-add_executable(paltest_localalloc_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_localalloc_test1 coreclrpal)
-
-target_link_libraries(paltest_localalloc_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalAlloc/test1/LocalAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalAlloc/test1/LocalAlloc.cpp
index 1b349069f04a00..5879ed598071a7 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalAlloc/test1/LocalAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalAlloc/test1/LocalAlloc.cpp
@@ -12,7 +12,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_LocalAlloc_test1_paltest_localalloc_test1, "filemapping_memmgt/LocalAlloc/test1/paltest_localalloc_test1")
{
HLOCAL LocalHeap;
HLOCAL FreeHeap;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalAlloc/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalAlloc/test1/testinfo.dat
deleted file mode 100644
index b1626eff32c7fc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalAlloc/test1/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = LocalAlloc
-Name = Positive test LocalAlloc API to Allocate the specified number of bytes from the heap
-TYPE = DEFAULT
-EXE1 = localalloc
-Description
-=Test the LocalAlloc with zero ad allocation attribute
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/test1/CMakeLists.txt
deleted file mode 100644
index cc406ce212b207..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- LocalFree.cpp
-)
-
-add_executable(paltest_localfree_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_localfree_test1 coreclrpal)
-
-target_link_libraries(paltest_localfree_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/test1/LocalFree.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/test1/LocalFree.cpp
index 86d27b45586cc0..0fcb32d6fc96fb 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/test1/LocalFree.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/test1/LocalFree.cpp
@@ -12,7 +12,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_LocalFree_test1_paltest_localfree_test1, "filemapping_memmgt/LocalFree/test1/paltest_localfree_test1")
{
HLOCAL LocalHeap;
HLOCAL FreeHeap;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/test1/testinfo.dat
deleted file mode 100644
index 2fb5007769f0b9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/test1/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = LocalFree
-Name = Positive test LocalFree API to free a specified local memory object
-TYPE = DEFAULT
-EXE1 = localfree
-Description
-=Test the LocalFree to free a specified local memory object
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/test2/CMakeLists.txt
deleted file mode 100644
index b069f7e87e6659..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- LocalFree.cpp
-)
-
-add_executable(paltest_localfree_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_localfree_test2 coreclrpal)
-
-target_link_libraries(paltest_localfree_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/test2/LocalFree.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/test2/LocalFree.cpp
index 587036041c17c8..5d66077a2cfd72 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/test2/LocalFree.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/test2/LocalFree.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_LocalFree_test2_paltest_localfree_test2, "filemapping_memmgt/LocalFree/test2/paltest_localfree_test2")
{
HLOCAL FreeHeap;
int err;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/test2/testinfo.dat
deleted file mode 100644
index aab6b36a74e164..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/LocalFree/test2/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = LocalFree
-Name = Positive test LocalFree API by passing NULL as local memory object handle
-TYPE = DEFAULT
-EXE1 = localfree
-Description
-=Test the LocalFree by passing NULL
-=as a local memory object handle
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/CMakeLists.txt
deleted file mode 100644
index 828a2878bf127a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/CMakeLists.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-add_subdirectory(test4)
-add_subdirectory(test5)
-add_subdirectory(test6)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test1/CMakeLists.txt
deleted file mode 100644
index 384729f48b0c8a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- MapViewOfFile.cpp
-)
-
-add_executable(paltest_mapviewoffile_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_mapviewoffile_test1 coreclrpal)
-
-target_link_libraries(paltest_mapviewoffile_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test1/MapViewOfFile.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test1/MapViewOfFile.cpp
index 9f0f6b8fa90c65..0c25bdbc46d9e9 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test1/MapViewOfFile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test1/MapViewOfFile.cpp
@@ -26,7 +26,7 @@
#define TEMP_DIRECTORY_PATH "/data/local/tmp/"
#endif
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_MapViewOfFile_test1_paltest_mapviewoffile_test1, "filemapping_memmgt/MapViewOfFile/test1/paltest_mapviewoffile_test1")
{
HANDLE hFile = INVALID_HANDLE_VALUE;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test1/testinfo.dat
deleted file mode 100644
index 84e3addeeb3cf2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test1/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = MapViewOfFile
-Name = Positive test MapViewOfFile API with access FILE_MAP_READ
-TYPE = DEFAULT
-EXE1 = mapviewoffile
-Description
-=Test the MapViewOfFile with access FILE_MAP_READ
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test2/CMakeLists.txt
deleted file mode 100644
index 0d4f42525b0bb4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- MapViewOfFile.cpp
-)
-
-add_executable(paltest_mapviewoffile_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_mapviewoffile_test2 coreclrpal)
-
-target_link_libraries(paltest_mapviewoffile_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test2/MapViewOfFile.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test2/MapViewOfFile.cpp
index e34960158a4f05..8de37a15619f69 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test2/MapViewOfFile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test2/MapViewOfFile.cpp
@@ -22,7 +22,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_MapViewOfFile_test2_paltest_mapviewoffile_test2, "filemapping_memmgt/MapViewOfFile/test2/paltest_mapviewoffile_test2")
{
HANDLE hFile;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test2/testinfo.dat
deleted file mode 100644
index b8ed53e8f385a3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test2/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = MapViewOfFile
-Name = Positive test for MapViewOfFile API with access FILE_MAP_WRITE
-TYPE = DEFAULT
-EXE1 = mapviewoffile
-Description
-=Test the MapViewOfFile with access FILE_MAP_WRITE
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test3/CMakeLists.txt
deleted file mode 100644
index 8da6c06890e168..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- MapViewOfFile.cpp
-)
-
-add_executable(paltest_mapviewoffile_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_mapviewoffile_test3 coreclrpal)
-
-target_link_libraries(paltest_mapviewoffile_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test3/MapViewOfFile.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test3/MapViewOfFile.cpp
index 3a8990e3aceb6a..b5d4ef346232d2 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test3/MapViewOfFile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test3/MapViewOfFile.cpp
@@ -22,7 +22,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_MapViewOfFile_test3_paltest_mapviewoffile_test3, "filemapping_memmgt/MapViewOfFile/test3/paltest_mapviewoffile_test3")
{
HANDLE hFile;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test3/testinfo.dat
deleted file mode 100644
index 34f83cad17a259..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test3/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = MapViewOfFile
-Name = Positive test MapViewOfFile API with access FILE_MAP_ALL_ACCESS
-TYPE = DEFAULT
-EXE1 = mapviewoffile
-Description
-=Test the MapViewOfFile with access FILE_MAP_ALL_ACCESS
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test4/CMakeLists.txt
deleted file mode 100644
index 3b43a5e2e7ff9a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- mapviewoffile.cpp
-)
-
-add_executable(paltest_mapviewoffile_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_mapviewoffile_test4 coreclrpal)
-
-target_link_libraries(paltest_mapviewoffile_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test4/mapviewoffile.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test4/mapviewoffile.cpp
index 66a72896eeba20..00139eda9da6d6 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test4/mapviewoffile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test4/mapviewoffile.cpp
@@ -19,7 +19,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_MapViewOfFile_test4_paltest_mapviewoffile_test4, "filemapping_memmgt/MapViewOfFile/test4/paltest_mapviewoffile_test4")
{
HANDLE hFile;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test4/testinfo.dat
deleted file mode 100644
index 84e96b38bcd7e1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test4/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = MapViewOfFile
-Name = Negative test MapViewOfFile API
-TYPE = DEFAULT
-EXE1 = mapviewoffile
-Description
-= Negative test the MapViewOfFile API.
-= Call MapViewOfFile with all access modes,
-= except read-only, on a read only map.
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test5/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test5/CMakeLists.txt
deleted file mode 100644
index ace9e601f38b61..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test5/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- mapviewoffile.cpp
-)
-
-add_executable(paltest_mapviewoffile_test5
- ${SOURCES}
-)
-
-add_dependencies(paltest_mapviewoffile_test5 coreclrpal)
-
-target_link_libraries(paltest_mapviewoffile_test5
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test5/mapviewoffile.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test5/mapviewoffile.cpp
index ee920301fc36a9..a2c221f159e156 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test5/mapviewoffile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test5/mapviewoffile.cpp
@@ -18,7 +18,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_MapViewOfFile_test5_paltest_mapviewoffile_test5, "filemapping_memmgt/MapViewOfFile/test5/paltest_mapviewoffile_test5")
{
const int MAPPINGSIZE = 2048;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test5/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test5/testinfo.dat
deleted file mode 100644
index 2427779c0a19b2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test5/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = MapViewOfFile
-Name = Negative test for MapViewOfFile API.
-TYPE = DEFAULT
-EXE1 = mapviewoffile
-Description
-= Negative test the MapViewOfFile API.
-= Passing invalid values for the hFileMappingObject.
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test6/CMakeLists.txt
deleted file mode 100644
index 1855c6ea347e51..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- mapviewoffile.cpp
-)
-
-add_executable(paltest_mapviewoffile_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_mapviewoffile_test6 coreclrpal)
-
-target_link_libraries(paltest_mapviewoffile_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test6/mapviewoffile.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test6/mapviewoffile.cpp
index 0e719ad733846e..c118fa1f6692df 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test6/mapviewoffile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test6/mapviewoffile.cpp
@@ -17,7 +17,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_MapViewOfFile_test6_paltest_mapviewoffile_test6, "filemapping_memmgt/MapViewOfFile/test6/paltest_mapviewoffile_test6")
{
const int MAPPINGSIZE = 2048;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test6/testinfo.dat
deleted file mode 100644
index 6112c648cfe43b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/MapViewOfFile/test6/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = MapViewOfFile
-Name = Positive test for MapViewOfFile API.
-TYPE = DEFAULT
-EXE1 = mapviewoffile
-Description
-= Positive test the MapViewOfFile API.
-= Mapping in a section of anonymous pagefile
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/CMakeLists.txt
deleted file mode 100644
index d243b82668a350..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/CMakeLists.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test1/CMakeLists.txt
deleted file mode 100644
index 20b340f819fff9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- OpenFileMappingW.cpp
-)
-
-add_executable(paltest_openfilemappingw_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_openfilemappingw_test1 coreclrpal)
-
-target_link_libraries(paltest_openfilemappingw_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test1/OpenFileMappingW.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test1/OpenFileMappingW.cpp
index f5680f070b3b88..a7ba76aa7b1c4e 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test1/OpenFileMappingW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test1/OpenFileMappingW.cpp
@@ -15,7 +15,7 @@
#define UNICODE
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_OpenFileMappingW_test1_paltest_openfilemappingw_test1, "filemapping_memmgt/OpenFileMappingW/test1/paltest_openfilemappingw_test1")
{
HANDLE lpMapViewAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test1/testinfo.dat
deleted file mode 100644
index 78401088492c08..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test1/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = OpenFileMappingW
-Name = Positive test for OpenFileMappingW API
-TYPE = DEFAULT
-EXE1 = openfilemappingw
-Description
-=Test the OpenFileMappingW with FILE_MAP_ALL_ACCESS access
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test2/CMakeLists.txt
deleted file mode 100644
index 4f50f1e6300542..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- OpenFileMappingW.cpp
-)
-
-add_executable(paltest_openfilemappingw_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_openfilemappingw_test2 coreclrpal)
-
-target_link_libraries(paltest_openfilemappingw_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test2/OpenFileMappingW.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test2/OpenFileMappingW.cpp
index 8b9f08955f48f7..c1d43ab16f99f2 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test2/OpenFileMappingW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test2/OpenFileMappingW.cpp
@@ -14,7 +14,7 @@
#define UNICODE
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_OpenFileMappingW_test2_paltest_openfilemappingw_test2, "filemapping_memmgt/OpenFileMappingW/test2/paltest_openfilemappingw_test2")
{
HANDLE FileMappingHandle;
HANDLE OpenFileMappingHandle;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test2/testinfo.dat
deleted file mode 100644
index fc258fed1f9d79..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test2/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = OpenFileMappingW
-Name = Positive test for OpenFileMappingW API
-TYPE = DEFAULT
-EXE1 = openfilemappingw
-Description
-=Test the OpenFileMappingW with FILE_MAP_WRITE access
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test3/CMakeLists.txt
deleted file mode 100644
index 3fc9328cab381c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- OpenFileMappingW.cpp
-)
-
-add_executable(paltest_openfilemappingw_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_openfilemappingw_test3 coreclrpal)
-
-target_link_libraries(paltest_openfilemappingw_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test3/OpenFileMappingW.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test3/OpenFileMappingW.cpp
index 7b55dfc428b84d..ebffd6f2baf342 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test3/OpenFileMappingW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test3/OpenFileMappingW.cpp
@@ -14,7 +14,7 @@
#define UNICODE
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_OpenFileMappingW_test3_paltest_openfilemappingw_test3, "filemapping_memmgt/OpenFileMappingW/test3/paltest_openfilemappingw_test3")
{
char buf[] = "this is a test";
char ch[1024];
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test3/testinfo.dat
deleted file mode 100644
index 5ec67637095265..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/OpenFileMappingW/test3/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = OpenFileMappingW
-Name = Positive test for OpenFileMappingW API with FILE_MAP_READ access
-TYPE = DEFAULT
-EXE1 = openfilemappingw
-Description
-=Test the OpenFileMappingW with FILE_MAP_READ access
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/CMakeLists.txt
deleted file mode 100644
index 680635f23fe5cc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(ProbeMemory_neg1)
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/ProbeMemory_neg1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/ProbeMemory_neg1/CMakeLists.txt
deleted file mode 100644
index 50eaf4abf5efad..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/ProbeMemory_neg1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- ProbeMemory_neg.cpp
-)
-
-add_executable(paltest_probememory_probememory_neg1
- ${SOURCES}
-)
-
-add_dependencies(paltest_probememory_probememory_neg1 coreclrpal)
-
-target_link_libraries(paltest_probememory_probememory_neg1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/ProbeMemory_neg1/ProbeMemory_neg.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/ProbeMemory_neg1/ProbeMemory_neg.cpp
index 1bca5c662ab941..8c052afae852b6 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/ProbeMemory_neg1/ProbeMemory_neg.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/ProbeMemory_neg1/ProbeMemory_neg.cpp
@@ -14,7 +14,7 @@
#define REGIONSIZE 1024
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_ProbeMemory_ProbeMemory_neg1_paltest_probememory_probememory_neg1, "filemapping_memmgt/ProbeMemory/ProbeMemory_neg1/paltest_probememory_probememory_neg1")
{
int err;
BOOL bResult;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/ProbeMemory_neg1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/ProbeMemory_neg1/testinfo.dat
deleted file mode 100644
index 3f4fad67335677..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/ProbeMemory_neg1/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = PAL_ProbeMemory
-Name = Negative test PAL_ProbeMemory API to read unreadable memory area
-TYPE = DEFAULT
-EXE1 = probememory_neg
-Description
-=Test the PAL_ProbeMemory to read unreadable memory area
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/test1/CMakeLists.txt
deleted file mode 100644
index 08308e0e053b33..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- ProbeMemory.cpp
-)
-
-add_executable(paltest_probememory_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_probememory_test1 coreclrpal)
-
-target_link_libraries(paltest_probememory_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/test1/ProbeMemory.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/test1/ProbeMemory.cpp
index 58dbcd67eb4030..ffd00f1d4393d6 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/test1/ProbeMemory.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/test1/ProbeMemory.cpp
@@ -15,7 +15,7 @@
#define REGIONSIZE 1024
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_ProbeMemory_test1_paltest_probememory_test1, "filemapping_memmgt/ProbeMemory/test1/paltest_probememory_test1")
{
int err;
BOOL bResult;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/test1/testinfo.dat
deleted file mode 100644
index 9fd6b566c59e4d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/ProbeMemory/test1/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = PAL_ProbeMemory
-Name = Positive test for PAL_ProbeMemory API to probe for read/write
-TYPE = DEFAULT
-EXE1 = probememory
-Description
-=Test the PAL_ProbeMemory to probe for read and write
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/test1/CMakeLists.txt
deleted file mode 100644
index 8ada94f50a670f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- UnmapViewOfFile.cpp
-)
-
-add_executable(paltest_unmapviewoffile_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_unmapviewoffile_test1 coreclrpal)
-
-target_link_libraries(paltest_unmapviewoffile_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/test1/UnmapViewOfFile.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/test1/UnmapViewOfFile.cpp
index 3b78ce617ec0b1..8c1fa48d48e215 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/test1/UnmapViewOfFile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/test1/UnmapViewOfFile.cpp
@@ -22,7 +22,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_UnmapViewOfFile_test1_paltest_unmapviewoffile_test1, "filemapping_memmgt/UnmapViewOfFile/test1/paltest_unmapviewoffile_test1")
{
const int MappingSize = 2048;
HANDLE hFile;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/test1/testinfo.dat
deleted file mode 100644
index e5c136b60d5da9..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/test1/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = UnmapViewOfFile
-Name = Positive test UnmapViewOfFile API to unmap a view of file
-TYPE = DEFAULT
-EXE1 = unmapviewoffile
-LANG = cpp
-Description
-= Test the UnmapViewOfFile to unmap a view of file.
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/test2/CMakeLists.txt
deleted file mode 100644
index 958e36b74e8537..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- unmapviewoffile.cpp
-)
-
-add_executable(paltest_unmapviewoffile_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_unmapviewoffile_test2 coreclrpal)
-
-target_link_libraries(paltest_unmapviewoffile_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/test2/testinfo.dat
deleted file mode 100644
index 5229c85d3628ed..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/test2/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = UnmapViewOfFile
-Name = Negative test UnmapViewOfFile API to unmap a view of file
-TYPE = DEFAULT
-EXE1 = unmapviewoffile
-Description
-= Test the UnmapViewOfFile to unmap a view of file
-= negative test by passing a NULL mapping address.
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/test2/unmapviewoffile.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/test2/unmapviewoffile.cpp
index 43ab2b50cd11cf..b887891c46c9df 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/test2/unmapviewoffile.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/UnmapViewOfFile/test2/unmapviewoffile.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_UnmapViewOfFile_test2_paltest_unmapviewoffile_test2, "filemapping_memmgt/UnmapViewOfFile/test2/paltest_unmapviewoffile_test2")
{
int err;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/CMakeLists.txt
deleted file mode 100644
index 0960bf91ff59c5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/CMakeLists.txt
+++ /dev/null
@@ -1,23 +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(test20)
-add_subdirectory(test21)
-add_subdirectory(test22)
-add_subdirectory(test3)
-add_subdirectory(test4)
-add_subdirectory(test5)
-add_subdirectory(test6)
-add_subdirectory(test7)
-add_subdirectory(test8)
-add_subdirectory(test9)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test1/CMakeLists.txt
deleted file mode 100644
index 9f5f71e72ab173..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualAlloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test1 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test1/VirtualAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test1/VirtualAlloc.cpp
index f71175cbe4aabf..c71373e5b61540 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test1/VirtualAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test1/VirtualAlloc.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test1_paltest_virtualalloc_test1, "filemapping_memmgt/VirtualAlloc/test1/paltest_virtualalloc_test1")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test1/testinfo.dat
deleted file mode 100644
index f5f5755574988c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test1/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test the VirtualAlloc with MEM_COMMIT allocation type
-=and PAGE_READONLY access protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test10/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test10/CMakeLists.txt
deleted file mode 100644
index 0d04c27dc671f5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test10/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualAlloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test10
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test10 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test10
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test10/VirtualAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test10/VirtualAlloc.cpp
index f24d64b262136c..d17b699d5b6eef 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test10/VirtualAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test10/VirtualAlloc.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test10_paltest_virtualalloc_test10, "filemapping_memmgt/VirtualAlloc/test10/paltest_virtualalloc_test10")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test10/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test10/testinfo.dat
deleted file mode 100644
index 2c2db5db106e8b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test10/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test the VirtualAlloc with MEM_RESERVE allocation type
-=and PAGE_EXECUTE_READ access protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test11/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test11/CMakeLists.txt
deleted file mode 100644
index f9b2425986af2f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test11/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualAlloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test11
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test11 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test11
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test11/VirtualAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test11/VirtualAlloc.cpp
index 5f5440cf0bcb98..af7549511e6908 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test11/VirtualAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test11/VirtualAlloc.cpp
@@ -14,7 +14,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test11_paltest_virtualalloc_test11, "filemapping_memmgt/VirtualAlloc/test11/paltest_virtualalloc_test11")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test11/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test11/testinfo.dat
deleted file mode 100644
index 09830266b74ad4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test11/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test the VirtualAlloc with MEM_RESERVE allocation type
-=and PAGE_EXECUTE_READWRITE access protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test12/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test12/CMakeLists.txt
deleted file mode 100644
index 34b271ffa60217..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test12/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualAlloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test12
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test12 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test12
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test12/VirtualAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test12/VirtualAlloc.cpp
index a2d8bb5adfb0d8..b6ef0fefcb589c 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test12/VirtualAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test12/VirtualAlloc.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test12_paltest_virtualalloc_test12, "filemapping_memmgt/VirtualAlloc/test12/paltest_virtualalloc_test12")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test12/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test12/testinfo.dat
deleted file mode 100644
index 3b014114d1611d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test12/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test the VirtualAlloc with MEM_COMMIT allocation type
-=and PAGE_NOACCESS access protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test13/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test13/CMakeLists.txt
deleted file mode 100644
index bb1c11f7b1b263..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test13/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualAlloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test13
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test13 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test13
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test13/VirtualAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test13/VirtualAlloc.cpp
index 0859c49d9144ab..8b6eee22f9435c 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test13/VirtualAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test13/VirtualAlloc.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test13_paltest_virtualalloc_test13, "filemapping_memmgt/VirtualAlloc/test13/paltest_virtualalloc_test13")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test13/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test13/testinfo.dat
deleted file mode 100644
index ee11d926b93167..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test13/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test the VirtualAlloc with MEM_COMMIT|MEM_TOP_DOWN allocation type
-=and PAGE_READONLY access protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test14/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test14/CMakeLists.txt
deleted file mode 100644
index 8f994b1683fc93..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test14/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualAlloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test14
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test14 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test14
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test14/VirtualAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test14/VirtualAlloc.cpp
index e76d12311f7727..dd3b1d0d2ac814 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test14/VirtualAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test14/VirtualAlloc.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test14_paltest_virtualalloc_test14, "filemapping_memmgt/VirtualAlloc/test14/paltest_virtualalloc_test14")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test14/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test14/testinfo.dat
deleted file mode 100644
index 5e38441a9fc60f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test14/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test the VirtualAlloc with MEM_COMMIT|MEM_TOP_DOWN allocation type
-=and PAGE_READWRITE access protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test15/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test15/CMakeLists.txt
deleted file mode 100644
index cd00816b66af90..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test15/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualAlloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test15
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test15 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test15
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test15/VirtualAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test15/VirtualAlloc.cpp
index 10922602b1ff47..58dfa9fcf8b1c1 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test15/VirtualAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test15/VirtualAlloc.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test15_paltest_virtualalloc_test15, "filemapping_memmgt/VirtualAlloc/test15/paltest_virtualalloc_test15")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test15/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test15/testinfo.dat
deleted file mode 100644
index 76b6ed401cdfab..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test15/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test the VirtualAlloc with MEM_COMMIT|MEM_TOP_DOWN allocation type
-=and PAGE_EXECUTE access protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test16/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test16/CMakeLists.txt
deleted file mode 100644
index 7743531176398b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test16/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualAlloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test16
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test16 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test16
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test16/VirtualAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test16/VirtualAlloc.cpp
index 9cbe6ce8525998..dae54ec2826b13 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test16/VirtualAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test16/VirtualAlloc.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test16_paltest_virtualalloc_test16, "filemapping_memmgt/VirtualAlloc/test16/paltest_virtualalloc_test16")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test16/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test16/testinfo.dat
deleted file mode 100644
index 6bbb9069a4d338..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test16/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test the VirtualAlloc with MEM_COMMIT|MEM_TOP_DOWN allocation type
-=and PAGE_EXECUTE_READ access protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test17/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test17/CMakeLists.txt
deleted file mode 100644
index 166eb99be9776b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test17/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualAlloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test17
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test17 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test17
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test17/VirtualAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test17/VirtualAlloc.cpp
index d4efeb154086ea..64e15b5ecd9dd7 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test17/VirtualAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test17/VirtualAlloc.cpp
@@ -14,7 +14,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test17_paltest_virtualalloc_test17, "filemapping_memmgt/VirtualAlloc/test17/paltest_virtualalloc_test17")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test17/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test17/testinfo.dat
deleted file mode 100644
index 59155900f02cac..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test17/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test the VirtualAlloc with MEM_COMMIT|MEM_TOP_DOWN allocation type
-=and PAGE_EXECUTE_READWRITE access protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test18/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test18/CMakeLists.txt
deleted file mode 100644
index eef8a48f933c91..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test18/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualAlloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test18
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test18 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test18
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test18/VirtualAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test18/VirtualAlloc.cpp
index 189298625ca76a..420e72eb65eea6 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test18/VirtualAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test18/VirtualAlloc.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test18_paltest_virtualalloc_test18, "filemapping_memmgt/VirtualAlloc/test18/paltest_virtualalloc_test18")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test18/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test18/testinfo.dat
deleted file mode 100644
index a3f0f31a0af6a6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test18/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test the VirtualAlloc with MEM_COMMIT|MEM_TOP_DOWN allocation type
-=and PAGE_NOACCESS access protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test19/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test19/CMakeLists.txt
deleted file mode 100644
index b2c5b8a0049805..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test19/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualAlloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test19
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test19 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test19
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test19/VirtualAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test19/VirtualAlloc.cpp
index d575daa39c761e..28ca74f96eb21f 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test19/VirtualAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test19/VirtualAlloc.cpp
@@ -15,7 +15,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test19_paltest_virtualalloc_test19, "filemapping_memmgt/VirtualAlloc/test19/paltest_virtualalloc_test19")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test19/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test19/testinfo.dat
deleted file mode 100644
index 0249bfc187ca36..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test19/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test the VirtualAlloc to reserve and commit
-=simultaneously by using MEM_COMMIT|MEM_RESERVE|MEM_TOP_DOWN
-=allocation type and PAGE_READONLY access protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test2/CMakeLists.txt
deleted file mode 100644
index 520cadcc7ef380..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualAlloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test2 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test2/VirtualAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test2/VirtualAlloc.cpp
index dab649d718f3f8..28b117b6084f39 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test2/VirtualAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test2/VirtualAlloc.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test2_paltest_virtualalloc_test2, "filemapping_memmgt/VirtualAlloc/test2/paltest_virtualalloc_test2")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test2/testinfo.dat
deleted file mode 100644
index 9ca9f0f5fd35b6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test2/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test the VirtualAlloc with MEM_COMMIT allocation type
-=and PAGE_READWRITE access protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test20/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test20/CMakeLists.txt
deleted file mode 100644
index 354b3e641af6b3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test20/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- virtualalloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test20
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test20 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test20
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test20/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test20/testinfo.dat
deleted file mode 100644
index a58268126fe8d8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test20/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test VirtualAlloc to ensure that re-committed memory is not changed.
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test20/virtualalloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test20/virtualalloc.cpp
index 3ed2b40364a1a3..b0fabd5480047b 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test20/virtualalloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test20/virtualalloc.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test20_paltest_virtualalloc_test20, "filemapping_memmgt/VirtualAlloc/test20/paltest_virtualalloc_test20")
{
int err;
int *ptr;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test21/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test21/CMakeLists.txt
deleted file mode 100644
index bb4cd0ab27ae0d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test21/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- virtualalloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test21
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test21 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test21
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test21/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test21/testinfo.dat
deleted file mode 100644
index 8fcc04474a9b93..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test21/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test VirtualAlloc to ensure that freed memory that is committed again is zeroed.
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test21/virtualalloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test21/virtualalloc.cpp
index 1663bf6c195460..c45a898b5db65c 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test21/virtualalloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test21/virtualalloc.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test21_paltest_virtualalloc_test21, "filemapping_memmgt/VirtualAlloc/test21/paltest_virtualalloc_test21")
{
int err;
int *ptr;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test22/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test22/CMakeLists.txt
deleted file mode 100644
index 8d132cc68da144..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test22/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualAlloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test22
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test22 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test22
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test22/VirtualAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test22/VirtualAlloc.cpp
index 74fea7da17739d..d256c1220ff241 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test22/VirtualAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test22/VirtualAlloc.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test22_paltest_virtualalloc_test22, "filemapping_memmgt/VirtualAlloc/test22/paltest_virtualalloc_test22")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test22/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test22/testinfo.dat
deleted file mode 100644
index 17da3b1e48ee2a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test22/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Negative test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test the VirtualAlloc with MEM_COMMIT allocation type
-=and PAGE_READWRITEaccess protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test3/CMakeLists.txt
deleted file mode 100644
index 1baefef90e0d9c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualAlloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test3 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test3/VirtualAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test3/VirtualAlloc.cpp
index e004a00a47a3e6..cfa22a11ae1e84 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test3/VirtualAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test3/VirtualAlloc.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test3_paltest_virtualalloc_test3, "filemapping_memmgt/VirtualAlloc/test3/paltest_virtualalloc_test3")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test3/testinfo.dat
deleted file mode 100644
index 08181b199c2674..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test3/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test the VirtualAlloc with MEM_COMMIT allocation type
-=and PAGE_EXECUTE access protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test4/CMakeLists.txt
deleted file mode 100644
index d9ef27468ae9e4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualAlloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test4 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test4/VirtualAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test4/VirtualAlloc.cpp
index e4250f685dc0ae..f745ec68817339 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test4/VirtualAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test4/VirtualAlloc.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test4_paltest_virtualalloc_test4, "filemapping_memmgt/VirtualAlloc/test4/paltest_virtualalloc_test4")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test4/testinfo.dat
deleted file mode 100644
index e30903b480fbb7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test4/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test the VirtualAlloc with MEM_COMMIT allocation type
-=and PAGE_EXECUTE_READ access protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test5/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test5/CMakeLists.txt
deleted file mode 100644
index eb87fe1e66261f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test5/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualAlloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test5
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test5 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test5
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test5/VirtualAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test5/VirtualAlloc.cpp
index 4ff672bce34966..c6014a98ca8b6e 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test5/VirtualAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test5/VirtualAlloc.cpp
@@ -14,7 +14,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test5_paltest_virtualalloc_test5, "filemapping_memmgt/VirtualAlloc/test5/paltest_virtualalloc_test5")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test5/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test5/testinfo.dat
deleted file mode 100644
index 929605dec72179..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test5/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test the VirtualAlloc with MEM_COMMIT allocation type
-=and PAGE_EXECUTE_READWRITE access protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test6/CMakeLists.txt
deleted file mode 100644
index de6f2d25463e21..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualAlloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test6 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test6/VirtualAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test6/VirtualAlloc.cpp
index a9a08734f1fc20..c8d775a96fc8c1 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test6/VirtualAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test6/VirtualAlloc.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test6_paltest_virtualalloc_test6, "filemapping_memmgt/VirtualAlloc/test6/paltest_virtualalloc_test6")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test6/testinfo.dat
deleted file mode 100644
index 3b014114d1611d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test6/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test the VirtualAlloc with MEM_COMMIT allocation type
-=and PAGE_NOACCESS access protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test7/CMakeLists.txt
deleted file mode 100644
index d7fcd5a40ad364..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualAlloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test7 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test7/VirtualAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test7/VirtualAlloc.cpp
index 27285252f28db6..3b9440078410a5 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test7/VirtualAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test7/VirtualAlloc.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test7_paltest_virtualalloc_test7, "filemapping_memmgt/VirtualAlloc/test7/paltest_virtualalloc_test7")
{
int err;
LPVOID lpVirtualAddress;
@@ -33,7 +33,7 @@ int __cdecl main(int argc, char *argv[])
if(NULL == lpVirtualAddress)
{
Fail("\nFailed to call VirtualAlloc API!\n");
- PAL_Terminate();
+ PAL_TerminateEx(1);
return 1;
}
@@ -42,7 +42,7 @@ int __cdecl main(int argc, char *argv[])
if(0 == err)
{
Fail("\nFailed to call VirtualFree API!\n");
- PAL_Terminate();
+ PAL_TerminateEx(1);
return 1;
}
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test7/testinfo.dat
deleted file mode 100644
index 7096b5462ba2e0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test7/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test the VirtualAlloc with MEM_RESERVE allocation type
-=and PAGE_READONLY access protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test8/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test8/CMakeLists.txt
deleted file mode 100644
index 75295b1f64b003..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test8/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualAlloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test8
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test8 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test8
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test8/VirtualAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test8/VirtualAlloc.cpp
index 9802e7b3a8d26b..df778dc145a370 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test8/VirtualAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test8/VirtualAlloc.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test8_paltest_virtualalloc_test8, "filemapping_memmgt/VirtualAlloc/test8/paltest_virtualalloc_test8")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test8/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test8/testinfo.dat
deleted file mode 100644
index fe712f77c17ad0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test8/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test the VirtualAlloc with MEM_RESERVE allocation type
-=and PAGE_READWRITE access protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test9/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test9/CMakeLists.txt
deleted file mode 100644
index e819321f398053..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test9/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualAlloc.cpp
-)
-
-add_executable(paltest_virtualalloc_test9
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualalloc_test9 coreclrpal)
-
-target_link_libraries(paltest_virtualalloc_test9
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test9/VirtualAlloc.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test9/VirtualAlloc.cpp
index 36d3cf786ab83f..e6e434c68474e7 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test9/VirtualAlloc.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test9/VirtualAlloc.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualAlloc_test9_paltest_virtualalloc_test9, "filemapping_memmgt/VirtualAlloc/test9/paltest_virtualalloc_test9")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test9/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test9/testinfo.dat
deleted file mode 100644
index 6ee923e448ffae..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualAlloc/test9/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualAlloc
-Name = Positive test for VirtualAlloc API
-TYPE = DEFAULT
-EXE1 = virtualalloc
-Description
-=Test the VirtualAlloc with MEM_RESERVE allocation type
-=and PAGE_EXECUTE access protection
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/CMakeLists.txt
deleted file mode 100644
index d243b82668a350..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/CMakeLists.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test1/CMakeLists.txt
deleted file mode 100644
index 72832ce5186fe7..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualFree.cpp
-)
-
-add_executable(paltest_virtualfree_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualfree_test1 coreclrpal)
-
-target_link_libraries(paltest_virtualfree_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test1/VirtualFree.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test1/VirtualFree.cpp
index 921457e6d3a9c3..35868de3638012 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test1/VirtualFree.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test1/VirtualFree.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualFree_test1_paltest_virtualfree_test1, "filemapping_memmgt/VirtualFree/test1/paltest_virtualfree_test1")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test1/testinfo.dat
deleted file mode 100644
index 462b8ffab1c4cb..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test1/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualFree
-Name = Positive test for VirtualFree API
-TYPE = DEFAULT
-EXE1 = virtualfree
-Description
-=Test the VirtualFree with MEM_DECOMMIT free
-=operation type
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test2/CMakeLists.txt
deleted file mode 100644
index a647cf5d303359..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualFree.cpp
-)
-
-add_executable(paltest_virtualfree_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualfree_test2 coreclrpal)
-
-target_link_libraries(paltest_virtualfree_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test2/VirtualFree.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test2/VirtualFree.cpp
index fe70d7d0873218..d22f7058714b78 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test2/VirtualFree.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test2/VirtualFree.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualFree_test2_paltest_virtualfree_test2, "filemapping_memmgt/VirtualFree/test2/paltest_virtualfree_test2")
{
int err;
LPVOID lpVirtualAddress;
@@ -33,7 +33,7 @@ int __cdecl main(int argc, char *argv[])
if(NULL == lpVirtualAddress)
{
Fail("\nFailed to call VirtualAlloc API!\n");
- PAL_Terminate();
+ PAL_TerminateEx(1);
return 1;
}
@@ -44,7 +44,7 @@ int __cdecl main(int argc, char *argv[])
if(0 == err)
{
Fail("\nFailed to call VirtualFree API!\n");
- PAL_Terminate();
+ PAL_TerminateEx(1);
return 1;
}
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test2/testinfo.dat
deleted file mode 100644
index 8942d13572a672..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test2/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualFree
-Name = Positive test for VirtualFree API
-TYPE = DEFAULT
-EXE1 = virtualfree
-Description
-=Test the VirtualFree with MEM_RELEASE free
-=operation type
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test3/CMakeLists.txt
deleted file mode 100644
index f77894ea022dfa..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualFree.cpp
-)
-
-add_executable(paltest_virtualfree_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualfree_test3 coreclrpal)
-
-target_link_libraries(paltest_virtualfree_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test3/VirtualFree.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test3/VirtualFree.cpp
index 214f96c1d5eeda..133f82c9f866a9 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test3/VirtualFree.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test3/VirtualFree.cpp
@@ -16,7 +16,7 @@
#define VIRTUALSIZE 1024
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualFree_test3_paltest_virtualfree_test3, "filemapping_memmgt/VirtualFree/test3/paltest_virtualfree_test3")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test3/testinfo.dat
deleted file mode 100644
index 371b964b5a5dec..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualFree/test3/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualFree
-Name = Positive test for VirtualFree API
-TYPE = DEFAULT
-EXE1 = virtualfree
-Description
-=Test the VirtualFree with MEM_DECOMMIT|MEM_RELEASE free
-=operation type
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/CMakeLists.txt
deleted file mode 100644
index ca5ce73dc03044..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/CMakeLists.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-add_subdirectory(test4)
-add_subdirectory(test6)
-add_subdirectory(test7)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test1/CMakeLists.txt
deleted file mode 100644
index 522a4cdd498f9e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualProtect.cpp
-)
-
-add_executable(paltest_virtualprotect_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualprotect_test1 coreclrpal)
-
-target_link_libraries(paltest_virtualprotect_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test1/VirtualProtect.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test1/VirtualProtect.cpp
index 36e107593c8a58..be99cc4dd60ae6 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test1/VirtualProtect.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test1/VirtualProtect.cpp
@@ -15,7 +15,7 @@
#define REGIONSIZE 1024
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualProtect_test1_paltest_virtualprotect_test1, "filemapping_memmgt/VirtualProtect/test1/paltest_virtualprotect_test1")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test1/testinfo.dat
deleted file mode 100644
index 51cbd6577f25d2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test1/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualProtect
-Name = Positive test for VirtualProtect - with PAGE_READWRITE
-TYPE = DEFAULT
-EXE1 = virtualprotect
-Description
-=Test the VirtualProtect to set new access protection
-=as PAGE_READWRITE
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test2/CMakeLists.txt
deleted file mode 100644
index e5e049c3e67a08..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualProtect.cpp
-)
-
-add_executable(paltest_virtualprotect_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualprotect_test2 coreclrpal)
-
-target_link_libraries(paltest_virtualprotect_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test2/VirtualProtect.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test2/VirtualProtect.cpp
index 0c95533f554f94..84978365ab0a92 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test2/VirtualProtect.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test2/VirtualProtect.cpp
@@ -15,7 +15,7 @@
#define REGIONSIZE 1024
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualProtect_test2_paltest_virtualprotect_test2, "filemapping_memmgt/VirtualProtect/test2/paltest_virtualprotect_test2")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test2/testinfo.dat
deleted file mode 100644
index 12db123a8b6be5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test2/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualProtect
-Name = Positive test for VirtualProtect - with PAGE_EXECUTE
-TYPE = DEFAULT
-EXE1 = virtualprotect
-Description
-=Test the VirtualProtect to set new access protection
-=as PAGE_EXECUTE
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test3/CMakeLists.txt
deleted file mode 100644
index 537e4627d7304f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualProtect.cpp
-)
-
-add_executable(paltest_virtualprotect_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualprotect_test3 coreclrpal)
-
-target_link_libraries(paltest_virtualprotect_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test3/VirtualProtect.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test3/VirtualProtect.cpp
index 86e35ebd07489c..10f9b13d21e6b9 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test3/VirtualProtect.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test3/VirtualProtect.cpp
@@ -15,7 +15,7 @@
#define REGIONSIZE 1024
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualProtect_test3_paltest_virtualprotect_test3, "filemapping_memmgt/VirtualProtect/test3/paltest_virtualprotect_test3")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test3/testinfo.dat
deleted file mode 100644
index 7817613f95e6ed..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test3/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualProtect
-Name = Positive test for VirtualProtect - with PAGE_EXECUTE_READ
-TYPE = DEFAULT
-EXE1 = virtualprotect
-Description
-=Test the VirtualProtect to set new access protection
-=as PAGE_EXECUTE_READ
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test4/CMakeLists.txt
deleted file mode 100644
index 4b5eb6e17f2b9e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualProtect.cpp
-)
-
-add_executable(paltest_virtualprotect_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualprotect_test4 coreclrpal)
-
-target_link_libraries(paltest_virtualprotect_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test4/VirtualProtect.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test4/VirtualProtect.cpp
index 61275e822b476b..0dbc9accbc3425 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test4/VirtualProtect.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test4/VirtualProtect.cpp
@@ -15,7 +15,7 @@
#define REGIONSIZE 1024
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualProtect_test4_paltest_virtualprotect_test4, "filemapping_memmgt/VirtualProtect/test4/paltest_virtualprotect_test4")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test4/testinfo.dat
deleted file mode 100644
index 19d6b9eb3b2328..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test4/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualProtect
-Name = Positive test for VirtualProtect - with PAGE_EXECUTE_READWRITE
-TYPE = DEFAULT
-EXE1 = virtualprotect
-Description
-=Test the VirtualProtect to set new access protection
-=as PAGE_EXECUTE_READWRITE
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test6/CMakeLists.txt
deleted file mode 100644
index 5f08af8aca2940..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test6/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualProtect.cpp
-)
-
-add_executable(paltest_virtualprotect_test6
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualprotect_test6 coreclrpal)
-
-target_link_libraries(paltest_virtualprotect_test6
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test6/VirtualProtect.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test6/VirtualProtect.cpp
index 6fa46642901e0c..96c1b65eea2ce5 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test6/VirtualProtect.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test6/VirtualProtect.cpp
@@ -15,7 +15,7 @@
#define REGIONSIZE 1024
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualProtect_test6_paltest_virtualprotect_test6, "filemapping_memmgt/VirtualProtect/test6/paltest_virtualprotect_test6")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test6/testinfo.dat
deleted file mode 100644
index 7df0c9dc9e83a4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test6/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualProtect
-Name = Positive test for VirtualProtect - with PAGE_NOACCESS
-TYPE = DEFAULT
-EXE1 = virtualprotect
-Description
-=Test the VirtualProtect to set new access protection
-=as PAGE_NOACCESS
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test7/CMakeLists.txt
deleted file mode 100644
index 03ba8a379e1ca4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualProtect.cpp
-)
-
-add_executable(paltest_virtualprotect_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualprotect_test7 coreclrpal)
-
-target_link_libraries(paltest_virtualprotect_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test7/VirtualProtect.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test7/VirtualProtect.cpp
index fb60354c672ad1..5a65cb8dd138bc 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test7/VirtualProtect.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test7/VirtualProtect.cpp
@@ -15,7 +15,7 @@
#define REGIONSIZE 1024
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualProtect_test7_paltest_virtualprotect_test7, "filemapping_memmgt/VirtualProtect/test7/paltest_virtualprotect_test7")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test7/testinfo.dat
deleted file mode 100644
index 1ba6e796f209e0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualProtect/test7/testinfo.dat
+++ /dev/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 = Filemapping_memmgt
-Function = VirtualProtect
-Name = Positive test for VirtualProtect - with PAGE_READONLY
-TYPE = DEFAULT
-EXE1 = virtualprotect
-Description
-=Test the VirtualProtect to set new access protection
-=as PAGE_READONLY
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualQuery/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualQuery/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualQuery/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualQuery/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualQuery/test1/CMakeLists.txt
deleted file mode 100644
index 2fef93910940d3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualQuery/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- VirtualQuery.cpp
-)
-
-add_executable(paltest_virtualquery_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_virtualquery_test1 coreclrpal)
-
-target_link_libraries(paltest_virtualquery_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualQuery/test1/VirtualQuery.cpp b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualQuery/test1/VirtualQuery.cpp
index 3a414b36cbfa5a..b11e046d925216 100644
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualQuery/test1/VirtualQuery.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualQuery/test1/VirtualQuery.cpp
@@ -15,7 +15,7 @@
#define VIRTUALMEMORYSIZE 1024
-int __cdecl main(int argc, char *argv[])
+PALTEST(filemapping_memmgt_VirtualQuery_test1_paltest_virtualquery_test1, "filemapping_memmgt/VirtualQuery/test1/paltest_virtualquery_test1")
{
int err;
LPVOID lpVirtualAddress;
diff --git a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualQuery/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualQuery/test1/testinfo.dat
deleted file mode 100644
index 3d9d01e2e9a1be..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/filemapping_memmgt/VirtualQuery/test1/testinfo.dat
+++ /dev/null
@@ -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 = Filemapping_memmgt
-Function = VirtualQuery
-Name = Positive test for VirtualQuery API
-TYPE = DEFAULT
-EXE1 = virtualquery
-Description
-=Test the VirtualQuery to get the virtual page info
diff --git a/src/coreclr/src/pal/tests/palsuite/issues.targets b/src/coreclr/src/pal/tests/palsuite/issues.targets
new file mode 100644
index 00000000000000..fd8a2c082519f1
--- /dev/null
+++ b/src/coreclr/src/pal/tests/palsuite/issues.targets
@@ -0,0 +1,35 @@
+
+
+
+
+
+ https://github.com/dotnet/runtime/issues/42289
+
+
+
+
+
+
+ https://github.com/dotnet/runtime/issues/42291
+
+
+
+
+ https://github.com/dotnet/runtime/issues/42291
+
+
+
+
+ https://github.com/dotnet/runtime/issues/42291
+
+
+
+
+
+ https://github.com/dotnet/runtime/issues/7639
+
+
+ https://github.com/dotnet/runtime/issues/42292
+
+
+
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/loader/CMakeLists.txt
deleted file mode 100644
index ffee9ae53b6cb1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(LoadLibraryA)
-add_subdirectory(LoadLibraryW)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/CMakeLists.txt
deleted file mode 100644
index b8673b44b0d911..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/CMakeLists.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-add_subdirectory(test5)
-add_subdirectory(test7)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test1/CMakeLists.txt
deleted file mode 100644
index d8d84b2e595639..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- LoadLibraryA.cpp
-)
-
-add_executable(paltest_loadlibrarya_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_loadlibrarya_test1 coreclrpal)
-
-target_link_libraries(paltest_loadlibrarya_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test1/LoadLibraryA.cpp b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test1/LoadLibraryA.cpp
index 942b540d41697f..2ab9fe39860639 100644
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test1/LoadLibraryA.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test1/LoadLibraryA.cpp
@@ -21,7 +21,7 @@
#define ModuleName "rotor_pal.dll"
#endif
-int __cdecl main(int argc, char *argv[])
+PALTEST(loader_LoadLibraryA_test1_paltest_loadlibrarya_test1, "loader/LoadLibraryA/test1/paltest_loadlibrarya_test1")
{
HMODULE ModuleHandle;
int err;
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test1/testinfo.dat
deleted file mode 100644
index 946efd2a164109..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test1/testinfo.dat
+++ /dev/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 = Loader
-Function = LoadLibraryA
-Name = Positive test for LoadLibraryA API to load Dynamic library module
-TYPE = DEFAULT
-EXE1 = loadlibrarya
-Description
-=Test the LoadLibraryA to map module into calling process address space
-
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test2/CMakeLists.txt
deleted file mode 100644
index f8b83c47f0a1ee..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- LoadLibraryA.cpp
-)
-
-add_executable(paltest_loadlibrarya_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_loadlibrarya_test2 coreclrpal)
-
-target_link_libraries(paltest_loadlibrarya_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test2/LoadLibraryA.cpp b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test2/LoadLibraryA.cpp
index e8dc76d945913b..7b26fec41db9fb 100644
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test2/LoadLibraryA.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test2/LoadLibraryA.cpp
@@ -12,7 +12,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(loader_LoadLibraryA_test2_paltest_loadlibrarya_test2, "loader/LoadLibraryA/test2/paltest_loadlibrarya_test2")
{
HMODULE ModuleHandle;
int err;
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test2/testinfo.dat
deleted file mode 100644
index b0f3b00d49cd58..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test2/testinfo.dat
+++ /dev/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 = Loader
-Function = LoadLibraryA
-Name = Negative test LoadLibraryA API to load a not exist module
-TYPE = DEFAULT
-EXE1 = loadlibrarya
-Description
-=Test the LoadLibraryA to load a not exist module
-
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test3/CMakeLists.txt
deleted file mode 100644
index b22469ab4362e4..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- loadlibrarya.cpp
-)
-
-add_executable(paltest_loadlibrarya_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_loadlibrarya_test3 coreclrpal)
-
-target_link_libraries(paltest_loadlibrarya_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test3/loadlibrarya.cpp b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test3/loadlibrarya.cpp
index a0732f66f2e3e1..af8782a2801657 100644
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test3/loadlibrarya.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test3/loadlibrarya.cpp
@@ -12,7 +12,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(loader_LoadLibraryA_test3_paltest_loadlibrarya_test3, "loader/LoadLibraryA/test3/paltest_loadlibrarya_test3")
{
HMODULE ModuleHandle;
int err;
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test3/testinfo.dat
deleted file mode 100644
index 47a426e0322c4f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test3/testinfo.dat
+++ /dev/null
@@ -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 = Loader
-Function = LoadLibraryA
-Name = Negative test LoadLibraryA API with a NULL module name
-TYPE = DEFAULT
-EXE1 = loadlibrarya
-Description
-=Test the LoadLibraryA to map NULL module into calling
-=process address space
-
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test5/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test5/CMakeLists.txt
deleted file mode 100644
index 1957f44fb88fd0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test5/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- loadlibrarya.cpp
-)
-
-add_executable(paltest_loadlibrarya_test5
- ${SOURCES}
-)
-
-add_dependencies(paltest_loadlibrarya_test5 coreclrpal)
-
-target_link_libraries(paltest_loadlibrarya_test5
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test5/loadlibrarya.cpp b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test5/loadlibrarya.cpp
index b8216f724f150f..690f1ba071c9ac 100644
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test5/loadlibrarya.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test5/loadlibrarya.cpp
@@ -13,7 +13,7 @@
**============================================================*/
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(loader_LoadLibraryA_test5_paltest_loadlibrarya_test5, "loader/LoadLibraryA/test5/paltest_loadlibrarya_test5")
{
HMODULE ModuleHandle;
char ModuleName[_MAX_FNAME];
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test5/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test5/testinfo.dat
deleted file mode 100644
index 975519b5805a27..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test5/testinfo.dat
+++ /dev/null
@@ -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 = Loader
-Function = LoadLibraryA
-Name = Negative test for LoadLibraryA API by passing a module name without extension but with a trailing dot.
-TYPE = DEFAULT
-EXE1 = loadlibrarya
-Description
-=Test the LoadLibraryA by passing a module name without extension
-=but with a trailing dot.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test6/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test6/CMakeLists.txt
deleted file mode 100644
index 29f8152b55c7d1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test6/CMakeLists.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-set(TESTSOURCES
- loadlibrarya.cpp
-)
-
-add_executable(paltest_loadlibrarya_test6
- ${TESTSOURCES}
-)
-
-add_dependencies(paltest_loadlibrarya_test6 coreclrpal)
-
-target_link_libraries(paltest_loadlibrarya_test6
- ${COMMON_TEST_LIBRARIES}
-)
-
-
-set(HELPERSOURCES
- dlltest.cpp
-)
-
-add_executable(paltest_loadlibrarya_test6_dlltest
- ${HELPERSOURCES}
-)
-
-add_dependencies(paltest_loadlibrarya_test6_dlltest coreclrpal)
-
-target_link_libraries(paltest_loadlibrarya_test6_dlltest
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test6/loadlibrarya.cpp b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test6/loadlibrarya.cpp
index eb2a5e9d40e231..d71e0ea85c333e 100644
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test6/loadlibrarya.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test6/loadlibrarya.cpp
@@ -59,7 +59,7 @@ BOOL PALAPI TestDll(HMODULE hLib)
return (TRUE);
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(loader_LoadLibraryA_test6_paltest_loadlibrarya_test6, "loader/LoadLibraryA/test6/paltest_loadlibrarya_test6")
{
HANDLE hFullLib;
HANDLE hShortLib;
@@ -165,7 +165,7 @@ int __cdecl main(int argc, char *argv[])
/* Terminate the PAL.
*/
- PAL_Terminate();
+ PAL_TerminateEx(iRetVal);
return iRetVal;
}
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test6/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test6/testinfo.dat
deleted file mode 100644
index a5252b6e389f59..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test6/testinfo.dat
+++ /dev/null
@@ -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 = Loader
-Function = LoadLibraryA
-Name = Positive test for LoadLibrary API
-TYPE = DEFAULT
-EXE1 = loadlibrarya
-LIB1 = dlltest
-Description
-= Positive test the LoadLibrary API. Test will verify
-= that it is unable to load the library twice. Once by
-= using the full path name and secondly by using the
-= short name.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test7/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test7/CMakeLists.txt
deleted file mode 100644
index ae287cc4cc5e41..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test7/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- LoadLibraryA.cpp
-)
-
-add_executable(paltest_loadlibrarya_test7
- ${SOURCES}
-)
-
-add_dependencies(paltest_loadlibrarya_test7 coreclrpal)
-
-target_link_libraries(paltest_loadlibrarya_test7
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test7/LoadLibraryA.cpp b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test7/LoadLibraryA.cpp
index 99aef0a5173eb1..78948e61698dab 100644
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test7/LoadLibraryA.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test7/LoadLibraryA.cpp
@@ -21,7 +21,7 @@
#define ModuleName "rotor_pal.dll"
#endif
-int __cdecl main(int argc, char *argv[])
+PALTEST(loader_LoadLibraryA_test7_paltest_loadlibrarya_test7, "loader/LoadLibraryA/test7/paltest_loadlibrarya_test7")
{
HMODULE ModuleHandle;
HMODULE ReturnHandle;
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test7/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test7/testinfo.dat
deleted file mode 100644
index c16a7d95a2df18..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test7/testinfo.dat
+++ /dev/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 = Loader
-Function = LoadLibraryA
-Name = Positive and Negative test for LoadLibraryA API to load Dynamic library module
-TYPE = DEFAULT
-EXE1 = loadlibrarya
-Description
-=Test the LoadLibraryA to load multiple times and call unload more times than load
-
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test8/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test8/CMakeLists.txt
deleted file mode 100644
index dd36aa94a8f50d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test8/CMakeLists.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-set(TESTSOURCES
- loadlibrarya.cpp
-)
-
-add_executable(paltest_loadlibrarya_test8
- ${TESTSOURCES}
-)
-
-add_dependencies(paltest_loadlibrarya_test8 coreclrpal)
-
-target_link_libraries(paltest_loadlibrarya_test8
- ${COMMON_TEST_LIBRARIES}
-)
-
-
-set(HELPERSOURCES
- dlltest.cpp
-)
-
-add_executable(paltest_loadlibrarya_test8_dlltest
- ${HELPERSOURCES}
-)
-
-add_dependencies(paltest_loadlibrarya_test8_dlltest coreclrpal)
-
-target_link_libraries(paltest_loadlibrarya_test8_dlltest
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test8/loadlibrarya.cpp b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test8/loadlibrarya.cpp
index 62197cfedcaabf..b489ef27f965e7 100644
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test8/loadlibrarya.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test8/loadlibrarya.cpp
@@ -59,7 +59,7 @@ BOOL PALAPI TestDll(HMODULE hLib)
return (TRUE);
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(loader_LoadLibraryA_test8_paltest_loadlibrarya_test8, "loader/LoadLibraryA/test8/paltest_loadlibrarya_test8")
{
HANDLE hFullLib;
HANDLE hShortLib;
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test8/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test8/testinfo.dat
deleted file mode 100644
index 2d4bf04ec75b28..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryA/test8/testinfo.dat
+++ /dev/null
@@ -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 = Loader
-Function = LoadLibraryA
-Name = Positive test for LoadLibrary API
-TYPE = DEFAULT
-EXE1 = loadlibrarya
-LIB1 = dlltest
-Description
-= Positive test the LoadLibrary API. Test will verify
-= that it is able to load the library thrice. Once by
-= using the full path name, second by using the
-= short name and third by using relative paths
-
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/CMakeLists.txt
deleted file mode 100644
index 2ad6ca8b274d08..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/CMakeLists.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-add_subdirectory(test5)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test1/CMakeLists.txt
deleted file mode 100644
index 8adb8a16e09abd..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- LoadLibraryW.cpp
-)
-
-add_executable(paltest_loadlibraryw_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_loadlibraryw_test1 coreclrpal)
-
-target_link_libraries(paltest_loadlibraryw_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test1/LoadLibraryW.cpp b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test1/LoadLibraryW.cpp
index bd680cc5d25c15..26d6f2adefeb7a 100644
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test1/LoadLibraryW.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test1/LoadLibraryW.cpp
@@ -21,7 +21,7 @@
#define ModuleName "rotor_pal.dll"
#endif
-int __cdecl main(int argc, char *argv[])
+PALTEST(loader_LoadLibraryW_test1_paltest_loadlibraryw_test1, "loader/LoadLibraryW/test1/paltest_loadlibraryw_test1")
{
HMODULE ModuleHandle;
int err;
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test1/testinfo.dat
deleted file mode 100644
index f014e6c6833f75..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test1/testinfo.dat
+++ /dev/null
@@ -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 = Loader
-Function = LoadLibraryW
-Name = Positive test for LoadLibraryW API to load a dynamic library module
-TYPE = DEFAULT
-EXE1 = loadlibraryw
-Description
-=Test the LoadLibraryW to map module into calling process address space
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test2/CMakeLists.txt
deleted file mode 100644
index e9a933e6e8f0fe..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- loadlibraryw.cpp
-)
-
-add_executable(paltest_loadlibraryw_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_loadlibraryw_test2 coreclrpal)
-
-target_link_libraries(paltest_loadlibraryw_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test2/loadlibraryw.cpp b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test2/loadlibraryw.cpp
index 097b275906ca3d..f563bb0243f505 100644
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test2/loadlibraryw.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test2/loadlibraryw.cpp
@@ -13,7 +13,7 @@
#define UNICODE
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(loader_LoadLibraryW_test2_paltest_loadlibraryw_test2, "loader/LoadLibraryW/test2/paltest_loadlibraryw_test2")
{
HMODULE ModuleHandle;
int err;
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test2/testinfo.dat
deleted file mode 100644
index 5f0e262a8990d5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test2/testinfo.dat
+++ /dev/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 = Loader
-Function = LoadLibraryW
-Name = Negative test LoadLibraryW API to load a not exist module
-TYPE = DEFAULT
-EXE1 = loadlibraryw
-Description
-=Test the LoadLibraryW to load a not exist module
-
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test3/CMakeLists.txt
deleted file mode 100644
index ac6cf05d7b6a44..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- loadlibraryw.cpp
-)
-
-add_executable(paltest_loadlibraryw_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_loadlibraryw_test3 coreclrpal)
-
-target_link_libraries(paltest_loadlibraryw_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test3/loadlibraryw.cpp b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test3/loadlibraryw.cpp
index 9f405138c910d0..4c943597e42861 100644
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test3/loadlibraryw.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test3/loadlibraryw.cpp
@@ -13,7 +13,7 @@
#define UNICODE
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(loader_LoadLibraryW_test3_paltest_loadlibraryw_test3, "loader/LoadLibraryW/test3/paltest_loadlibraryw_test3")
{
HMODULE ModuleHandle;
int err;
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test3/testinfo.dat
deleted file mode 100644
index cfd9c01c3adc62..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test3/testinfo.dat
+++ /dev/null
@@ -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 = Loader
-Function = LoadLibraryW
-Name = Negative test loadlibraryw API with a NULL module name
-TYPE = DEFAULT
-EXE1 = loadlibraryw
-Description
-=Test the LoadLibraryW with a NULL module name
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test5/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test5/CMakeLists.txt
deleted file mode 100644
index 384da59a79a1e0..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test5/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- loadlibraryw.cpp
-)
-
-add_executable(paltest_loadlibraryw_test5
- ${SOURCES}
-)
-
-add_dependencies(paltest_loadlibraryw_test5 coreclrpal)
-
-target_link_libraries(paltest_loadlibraryw_test5
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test5/loadlibraryw.cpp b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test5/loadlibraryw.cpp
index 505b6205316337..33b46fb0a4064c 100644
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test5/loadlibraryw.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test5/loadlibraryw.cpp
@@ -14,7 +14,7 @@
#define UNICODE
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(loader_LoadLibraryW_test5_paltest_loadlibraryw_test5, "loader/LoadLibraryW/test5/paltest_loadlibraryw_test5")
{
HMODULE ModuleHandle;
int err;
diff --git a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test5/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test5/testinfo.dat
deleted file mode 100644
index 055c9753f54015..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/loader/LoadLibraryW/test5/testinfo.dat
+++ /dev/null
@@ -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 = Loader
-Function = LoadLibraryw
-Name = Negative test for LoadLibraryW API by passing a module name without extension but with a trailing dot.
-TYPE = DEFAULT
-EXE1 = loadlibraryw
-Description
-=Test the LoadLibraryW by passing a module name without extension
-=but with a trailing dot.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/CMakeLists.txt
deleted file mode 100644
index 1faf1db6cec2dc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-# TODO: make the following tests compile if they are needed
-# add_subdirectory(CompareStringA)
-# add_subdirectory(CompareStringW)
-# add_subdirectory(GetLocaleInfoW)
-
-add_subdirectory(GetACP)
-add_subdirectory(MultiByteToWideChar)
-add_subdirectory(WideCharToMultiByte)
-
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringA/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringA/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringA/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringA/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringA/test1/CMakeLists.txt
deleted file mode 100644
index 0d13e9830318da..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringA/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_comparestringa_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_comparestringa_test1 coreclrpal)
-
-target_link_libraries(paltest_comparestringa_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringA/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringA/test1/test1.cpp
index 37beece4dfae2d..91d4ae9da3ca74 100644
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringA/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringA/test1/test1.cpp
@@ -17,7 +17,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(locale_info_CompareStringA_test1_paltest_comparestringa_test1, "locale_info/CompareStringA/test1/paltest_comparestringa_test1")
{
char str1[] = {'f','o','o',0};
char str2[] = {'f','o','o','x',0};
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringA/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringA/test1/testinfo.dat
deleted file mode 100644
index 6bea1c67f24bd8..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringA/test1/testinfo.dat
+++ /dev/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 = Locale Information
-Function = CompareStringA
-Name = Test #1 for CompareStringA
-TYPE = DEFAULT
-EXE1 = test1
-Description
-=Tests that CompareStringA returns the correct value and can handle
-=invalid parameters.
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringW/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringW/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringW/test1/CMakeLists.txt
deleted file mode 100644
index 24e0a187b0248d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_comparestringw_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_comparestringw_test1 coreclrpal)
-
-target_link_libraries(paltest_comparestringw_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringW/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringW/test1/test1.cpp
index 5c3f8b0e42bd52..d15094609a9959 100644
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringW/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringW/test1/test1.cpp
@@ -17,7 +17,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(locale_info_CompareStringW_test1_paltest_comparestringw_test1, "locale_info/CompareStringW/test1/paltest_comparestringw_test1")
{
WCHAR str1[] = {'f','o','o',0};
WCHAR str2[] = {'f','o','o','x',0};
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringW/test1/testinfo.dat
deleted file mode 100644
index 95894f2dfcc78e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/CompareStringW/test1/testinfo.dat
+++ /dev/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 = Locale Information
-Function = CompareStringW
-Name = Test #1 for CompareStringW
-TYPE = DEFAULT
-EXE1 = test1
-Description
-=Tests that CompareStringW returns the correct value and can handle
-=invalid parameters.
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/GetACP/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/GetACP/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/GetACP/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/GetACP/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/GetACP/test1/CMakeLists.txt
deleted file mode 100644
index e994d15c0d518e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/GetACP/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_getacp_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_getacp_test1 coreclrpal)
-
-target_link_libraries(paltest_getacp_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/GetACP/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/locale_info/GetACP/test1/test1.cpp
index f0f1284d3c7a48..0f315f2ffe6121 100644
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/GetACP/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/locale_info/GetACP/test1/test1.cpp
@@ -19,7 +19,7 @@
#define EXPECTED_CP 65001
-int __cdecl main(int argc, char *argv[])
+PALTEST(locale_info_GetACP_test1_paltest_getacp_test1, "locale_info/GetACP/test1/paltest_getacp_test1")
{
int ret;
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/GetACP/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/locale_info/GetACP/test1/testinfo.dat
deleted file mode 100644
index 48c2a36859ccb6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/GetACP/test1/testinfo.dat
+++ /dev/null
@@ -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 = Locale Information
-Function = GetACP
-Name = Test #1 for GetACP
-TYPE = DEFAULT
-EXE1 = test1
-Description
-=Tests that GetACP returns code-page 1252.
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/test1/CMakeLists.txt
deleted file mode 100644
index cca2aa5585c687..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_getlocaleinfow_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_getlocaleinfow_test1 coreclrpal)
-
-target_link_libraries(paltest_getlocaleinfow_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/test1/test1.cpp
index 932ddc0313e948..13f8176f3e6469 100644
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/test1/test1.cpp
@@ -39,7 +39,7 @@ LocalInfoType Locales[] =
int NumLocales = sizeof(Locales) / sizeof(Locales[0]);
-int __cdecl main(int argc, char *argv[])
+PALTEST(locale_info_GetLocaleInfoW_test1_paltest_getlocaleinfow_test1, "locale_info/GetLocaleInfoW/test1/paltest_getlocaleinfow_test1")
{
WCHAR buffer[256] = { 0 };
int ret;
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/test1/testinfo.dat
deleted file mode 100644
index be1629203570cc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/test1/testinfo.dat
+++ /dev/null
@@ -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 = Locale Information
-Function = GetLocaleInfoW
-Name = Test #1 for GetLocaleInfoW
-TYPE = DEFAULT
-EXE1 = test1
-Description
-=Tests that GetLocaleInfoW gives the correction information for LOCALE_NEUTRAL
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/test2/CMakeLists.txt
deleted file mode 100644
index 20ccbc36318774..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_getlocaleinfow_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_getlocaleinfow_test2 coreclrpal)
-
-target_link_libraries(paltest_getlocaleinfow_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/test2/test2.cpp
index 215ee3e2c7f7c7..5a5a3aa21b3d28 100644
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/test2/test2.cpp
@@ -14,7 +14,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(locale_info_GetLocaleInfoW_test2_paltest_getlocaleinfow_test2, "locale_info/GetLocaleInfoW/test2/paltest_getlocaleinfow_test2")
{
WCHAR buffer[256] = { 0 };
int ret;
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/test2/testinfo.dat
deleted file mode 100644
index 4f8b045fc026ee..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/GetLocaleInfoW/test2/testinfo.dat
+++ /dev/null
@@ -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 = Locale Information
-Function = GetLocaleInfoW
-Name = Test #2 for GetLocaleInfoW
-TYPE = DEFAULT
-EXE1 = test2
-Description
-=Tests that GetLocaleInfoW will correctly return the amount of
-=buffer space required. Also tests that it correctly handles a
-=buffer of insufficient space.
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/CMakeLists.txt
deleted file mode 100644
index 03456f5e29307a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/CMakeLists.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-add_subdirectory(test4)
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test1/CMakeLists.txt
deleted file mode 100644
index 24c812e6727564..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_multibytetowidechar_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_multibytetowidechar_test1 coreclrpal)
-
-target_link_libraries(paltest_multibytetowidechar_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test1/test1.cpp
index a10c00d3ef2f77..bbd8ab11c00f69 100644
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test1/test1.cpp
@@ -19,7 +19,7 @@
* with CP_ACP, and that dwFlags will be 0.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(locale_info_MultiByteToWideChar_test1_paltest_multibytetowidechar_test1, "locale_info/MultiByteToWideChar/test1/paltest_multibytetowidechar_test1")
{
char mbStr[128];
WCHAR wideStr[128];
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test1/testinfo.dat
deleted file mode 100644
index 0548926e846977..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test1/testinfo.dat
+++ /dev/null
@@ -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 = Locale Information
-Function = MultiByteToWideChar
-Name = Test #1 for MultiByteToWideChar
-TYPE = DEFAULT
-EXE1 = test1
-Description
-=Tests MultiByteToWideChar with all the ASCII characters (0-127).
-=Also tests that WideCharToMultiByte handles different buffer
-=lengths correctly (0, -1, and a valid length)
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test2/CMakeLists.txt
deleted file mode 100644
index e60ae207c94444..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_multibytetowidechar_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_multibytetowidechar_test2 coreclrpal)
-
-target_link_libraries(paltest_multibytetowidechar_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test2/test2.cpp
index e4649b116daf94..e98b03db070fea 100644
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test2/test2.cpp
@@ -18,7 +18,7 @@
* with CP_ACP, and that dwFlags will be 0.
*/
-int __cdecl main(int argc, char *argv[])
+PALTEST(locale_info_MultiByteToWideChar_test2_paltest_multibytetowidechar_test2, "locale_info/MultiByteToWideChar/test2/paltest_multibytetowidechar_test2")
{
char mbStr[128];
WCHAR wideStr[128];
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test2/testinfo.dat
deleted file mode 100644
index 84d190a8fab9d2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test2/testinfo.dat
+++ /dev/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 = Locale Information
-Function = MultiByteToWideChar
-Name = Test #2 for MultiByteToWideChar
-TYPE = DEFAULT
-EXE1 = test2
-Description
-=Tests that MultiByteToWideChar respects the length of the wide
-=character string.
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test3/CMakeLists.txt
deleted file mode 100644
index e6397e5a4a51ca..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_multibytetowidechar_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_multibytetowidechar_test3 coreclrpal)
-
-target_link_libraries(paltest_multibytetowidechar_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test3/test3.cpp
index 5553e73cdaf9dc..2e36b3e3a145b2 100644
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test3/test3.cpp
@@ -15,7 +15,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(locale_info_MultiByteToWideChar_test3_paltest_multibytetowidechar_test3, "locale_info/MultiByteToWideChar/test3/paltest_multibytetowidechar_test3")
{
char mbStr[128];
WCHAR wideStr[128];
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test3/testinfo.dat
deleted file mode 100644
index 603565d64a182f..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test3/testinfo.dat
+++ /dev/null
@@ -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 = Locale Information
-Function = MultiByteToWideChar
-Name = Test #3 for MultiByteToWideChar
-TYPE = DEFAULT
-EXE1 = test3
-Description
-=Tests that MultiByteToWideChar correctly handles the following
-=error conditions: insufficient buffer space, invalid code pages,
-=and invalid flags.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test4/CMakeLists.txt
deleted file mode 100644
index feb8d69756db94..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_multibytetowidechar_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_multibytetowidechar_test4 coreclrpal)
-
-target_link_libraries(paltest_multibytetowidechar_test4
- ${COMMON_TEST_LIBRARIES}
-)
\ No newline at end of file
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test4/test4.cpp
index 758d3c875cbc40..cab71f15e7098e 100644
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test4/test4.cpp
@@ -12,7 +12,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(locale_info_MultiByteToWideChar_test4_paltest_multibytetowidechar_test4, "locale_info/MultiByteToWideChar/test4/paltest_multibytetowidechar_test4")
{
int ret;
int ret2;
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test4/testinfo.dat
deleted file mode 100644
index e95f4139046d0d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/MultiByteToWideChar/test4/testinfo.dat
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-# Copyright (c) Microsoft Corporation. All rights reserved.
-#
-
-Version = 1.0
-Section = Locale Information
-Function = MultiByteToWideChar
-Name = Test #4 for MultiByteToWideChar
-TYPE = DEFAULT
-EXE1 = test4
-Description
-=Tests MultiByteToWideChar with UTF-8 encoded strings
-=containing various corner cases
\ No newline at end of file
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/CMakeLists.txt
deleted file mode 100644
index 7db3404bbe5370..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/CMakeLists.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-add_subdirectory(test4)
-add_subdirectory(test5)
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test1/CMakeLists.txt
deleted file mode 100644
index a55f4e82fdd365..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_widechartomultibyte_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_widechartomultibyte_test1 coreclrpal)
-
-target_link_libraries(paltest_widechartomultibyte_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test1/test1.cpp
index 3bdc124e9f9deb..e8197b8c11b4c3 100644
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test1/test1.cpp
@@ -14,7 +14,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(locale_info_WideCharToMultiByte_test1_paltest_widechartomultibyte_test1, "locale_info/WideCharToMultiByte/test1/paltest_widechartomultibyte_test1")
{
char mbStr[128];
WCHAR wideStr[128];
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test1/testinfo.dat
deleted file mode 100644
index 518a52988beeb6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test1/testinfo.dat
+++ /dev/null
@@ -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 = Locale Information
-Function = WideCharToMultiByte
-Name = Test #1 for WideCharToMultiByte
-TYPE = DEFAULT
-EXE1 = test1
-Description
-=Tests WideCharToMultiByte with all the ASCII characters (0-127).
-=Also tests that WideCharToMultiByte handles different buffer
-=lengths correctly (0, -1, and a valid length)
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test2/CMakeLists.txt
deleted file mode 100644
index 941f0f50e22b2b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test2.cpp
-)
-
-add_executable(paltest_widechartomultibyte_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_widechartomultibyte_test2 coreclrpal)
-
-target_link_libraries(paltest_widechartomultibyte_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test2/test2.cpp b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test2/test2.cpp
index f4cee255adc468..611b1b92b1b1fa 100644
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test2/test2.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test2/test2.cpp
@@ -14,7 +14,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(locale_info_WideCharToMultiByte_test2_paltest_widechartomultibyte_test2, "locale_info/WideCharToMultiByte/test2/paltest_widechartomultibyte_test2")
{
char mbStr[128];
WCHAR wideStr[128];
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test2/testinfo.dat
deleted file mode 100644
index 3b29e9514ac1a3..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test2/testinfo.dat
+++ /dev/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 = Locale Information
-Function = WideCharToMultiByte
-Name = Test #2 for WideCharToMultiByte
-TYPE = DEFAULT
-EXE1 = test2
-Description
-=Tests that WideCharToMultiByte respects the length of the wide
-=character string.
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test3/CMakeLists.txt
deleted file mode 100644
index d2719ad75d3295..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test3.cpp
-)
-
-add_executable(paltest_widechartomultibyte_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_widechartomultibyte_test3 coreclrpal)
-
-target_link_libraries(paltest_widechartomultibyte_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test3/test3.cpp b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test3/test3.cpp
index 46c7f47fa9a7ff..3bb816dcb88332 100644
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test3/test3.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test3/test3.cpp
@@ -16,7 +16,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(locale_info_WideCharToMultiByte_test3_paltest_widechartomultibyte_test3, "locale_info/WideCharToMultiByte/test3/paltest_widechartomultibyte_test3")
{
char mbStr[128];
WCHAR wideStr[128];
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test3/testinfo.dat
deleted file mode 100644
index 9ecf1f29309a08..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test3/testinfo.dat
+++ /dev/null
@@ -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 = Locale Information
-Function = WideCharToMultiByte
-Name = Test #3 for WideCharToMultiByte
-TYPE = DEFAULT
-EXE1 = test3
-Description
-=Tests that WideCharToMultiByte correctly handles the following
-=error conditions: insufficient buffer space and invalid code pages.
-
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test4/CMakeLists.txt
deleted file mode 100644
index 43bfbd062e2154..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test4.cpp
-)
-
-add_executable(paltest_widechartomultibyte_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_widechartomultibyte_test4 coreclrpal)
-
-target_link_libraries(paltest_widechartomultibyte_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test4/test4.cpp b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test4/test4.cpp
index 7c81884d73dc48..19b5796bf1f593 100644
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test4/test4.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test4/test4.cpp
@@ -59,7 +59,7 @@ TestWideCharToMultiByte(
return testStatus;
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(locale_info_WideCharToMultiByte_test4_paltest_widechartomultibyte_test4, "locale_info/WideCharToMultiByte/test4/paltest_widechartomultibyte_test4")
{
int testStatus = PASS;
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test4/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test4/testinfo.dat
deleted file mode 100644
index fd7575e8f62428..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test4/testinfo.dat
+++ /dev/null
@@ -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 = Locale Information
-Function = WideCharToMultiByte
-Name = Test #4 for WideCharToMultiByte
-TYPE = DEFAULT
-EXE1 = test4
-Description
-=Tests that WideCharToMultiByte correctly handles WC_NO_BEST_FIT_CHARS
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test5/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test5/CMakeLists.txt
deleted file mode 100644
index 5906634768ce8d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test5/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test5.cpp
-)
-
-add_executable(paltest_widechartomultibyte_test5
- ${SOURCES}
-)
-
-add_dependencies(paltest_widechartomultibyte_test5 coreclrpal)
-
-target_link_libraries(paltest_widechartomultibyte_test5
- ${COMMON_TEST_LIBRARIES}
-)
\ No newline at end of file
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test5/test5.cpp b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test5/test5.cpp
index c01bbe0756cf2b..bf2dabedefa880 100644
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test5/test5.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test5/test5.cpp
@@ -12,7 +12,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(locale_info_WideCharToMultiByte_test5_paltest_widechartomultibyte_test5, "locale_info/WideCharToMultiByte/test5/paltest_widechartomultibyte_test5")
{
int ret;
int ret2;
diff --git a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test5/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test5/testinfo.dat
deleted file mode 100644
index 485d9401e5ebce..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/locale_info/WideCharToMultiByte/test5/testinfo.dat
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-# Copyright (c) Microsoft Corporation. All rights reserved.
-#
-
-Version = 1.0
-Section = Locale Information
-Function = WideCharToMultiByte
-Name = Test #5 for WideCharToMultiByte
-TYPE = DEFAULT
-EXE1 = test5
-Description
-=Tests WideCharToMultiByte conversion to UTF-8
-=containing various corner cases
\ No newline at end of file
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CGroup/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CGroup/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CGroup/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CGroup/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CGroup/test1/CMakeLists.txt
deleted file mode 100644
index 2ff735b23223e5..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CGroup/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test.cpp
-)
-
-add_executable(paltest_cgroup_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_cgroup_test1 coreclrpal)
-
-target_link_libraries(paltest_cgroup_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CGroup/test1/test.cpp b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CGroup/test1/test.cpp
index d44c7a753a20e5..8b1ee94ba315fd 100644
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CGroup/test1/test.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CGroup/test1/test.cpp
@@ -22,7 +22,7 @@
#include
-int __cdecl main(int argc,char *argv[])
+PALTEST(miscellaneous_CGroup_test1_paltest_cgroup_test1, "miscellaneous/CGroup/test1/paltest_cgroup_test1")
{
/*
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CGroup/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CGroup/test1/testinfo.dat
deleted file mode 100644
index 672a583a78ed06..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CGroup/test1/testinfo.dat
+++ /dev/null
@@ -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 = Miscellaneous
-Function = CGroup
-Name = Positive Test for CGroup
-TYPE = DEFAULT
-EXE1 = test
-Description
-= Test to see if Cgroup memory limit works properly
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CMakeLists.txt
deleted file mode 100644
index a0518e239b1471..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CMakeLists.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-add_subdirectory(CGroup)
-add_subdirectory(CloseHandle)
-add_subdirectory(CreatePipe)
-add_subdirectory(FlushInstructionCache)
-add_subdirectory(FormatMessageW)
-add_subdirectory(FreeEnvironmentStringsW)
-add_subdirectory(GetCommandLineW)
-add_subdirectory(GetEnvironmentStringsW)
-add_subdirectory(GetEnvironmentVariableA)
-add_subdirectory(GetEnvironmentVariableW)
-add_subdirectory(GetLastError)
-add_subdirectory(GetSystemInfo)
-add_subdirectory(GlobalMemoryStatusEx)
-add_subdirectory(GetTickCount)
-add_subdirectory(InterlockedBit)
-add_subdirectory(InterlockedCompareExchange)
-add_subdirectory(InterlockedCompareExchange64)
-add_subdirectory(InterlockedCompareExchangePointer)
-add_subdirectory(InterlockedDecrement)
-add_subdirectory(InterlockedDecrement64)
-add_subdirectory(InterlockedExchange)
-add_subdirectory(InterlockedExchange64)
-add_subdirectory(InterLockedExchangeAdd)
-add_subdirectory(InterlockedExchangePointer)
-add_subdirectory(InterlockedIncrement)
-add_subdirectory(InterlockedIncrement64)
-add_subdirectory(queryperformancecounter)
-add_subdirectory(queryperformancefrequency)
-add_subdirectory(SetEnvironmentVariableA)
-add_subdirectory(SetEnvironmentVariableW)
-add_subdirectory(SetLastError)
-add_subdirectory(_i64tow)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CharNextA/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CharNextA/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CharNextA/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CharNextA/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CharNextA/test1/CMakeLists.txt
deleted file mode 100644
index 34fbb1200e2417..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CharNextA/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test.cpp
-)
-
-add_executable(paltest_charnexta_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_charnexta_test1 coreclrpal)
-
-target_link_libraries(paltest_charnexta_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CharNextA/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CharNextA/test2/CMakeLists.txt
deleted file mode 100644
index 1203e12752c3c6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CharNextA/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test.cpp
-)
-
-add_executable(paltest_charnexta_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_charnexta_test2 coreclrpal)
-
-target_link_libraries(paltest_charnexta_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CharNextExA/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CharNextExA/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CharNextExA/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CharNextExA/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CharNextExA/test1/CMakeLists.txt
deleted file mode 100644
index 886d89da1e3158..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CharNextExA/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test.cpp
-)
-
-add_executable(paltest_charnextexa_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_charnextexa_test1 coreclrpal)
-
-target_link_libraries(paltest_charnextexa_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CharNextExA/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CharNextExA/test2/CMakeLists.txt
deleted file mode 100644
index 15278efdc350dc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CharNextExA/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test.cpp
-)
-
-add_executable(paltest_charnextexa_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_charnextexa_test2 coreclrpal)
-
-target_link_libraries(paltest_charnextexa_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/CMakeLists.txt
deleted file mode 100644
index 65453539668f89..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/test1/CMakeLists.txt
deleted file mode 100644
index 0715ea025b8eac..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test.cpp
-)
-
-add_executable(paltest_closehandle_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_closehandle_test1 coreclrpal)
-
-target_link_libraries(paltest_closehandle_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/test1/test.cpp b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/test1/test.cpp
index ad1bed2ab6f7f6..a45322ad2ef45e 100644
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/test1/test.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/test1/test.cpp
@@ -14,7 +14,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(miscellaneous_CloseHandle_test1_paltest_closehandle_test1, "miscellaneous/CloseHandle/test1/paltest_closehandle_test1")
{
HANDLE FileHandle = NULL;
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/test1/testinfo.dat
deleted file mode 100644
index 3ac8f45d7962d6..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/test1/testinfo.dat
+++ /dev/null
@@ -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 = Miscellaneous
-Function = CloseHandle
-Name = Positive Test for CloseHandle
-TYPE = DEFAULT
-EXE1 = test
-Description
-= Open a file to get a handle, and then close the file using CloseHandle
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/test2/CMakeLists.txt
deleted file mode 100644
index ae5b509ed53687..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test.cpp
-)
-
-add_executable(paltest_closehandle_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_closehandle_test2 coreclrpal)
-
-target_link_libraries(paltest_closehandle_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/test2/test.cpp b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/test2/test.cpp
index 70aa9c4bcef9db..48188be27a0950 100644
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/test2/test.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/test2/test.cpp
@@ -12,7 +12,7 @@
#include
-int __cdecl main(int argc, char *argv[])
+PALTEST(miscellaneous_CloseHandle_test2_paltest_closehandle_test2, "miscellaneous/CloseHandle/test2/paltest_closehandle_test2")
{
HANDLE SomeHandle = NULL;
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/test2/testinfo.dat
deleted file mode 100644
index a69f5d5b05188c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CloseHandle/test2/testinfo.dat
+++ /dev/null
@@ -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 = Miscellaneous
-Function = CloseHandle
-Name = Positive Test for CloseHandle
-TYPE = DEFAULT
-EXE1 = test
-Description
-= Attempt to close an unintialized HANDLE, should be unable to do this.
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CreatePipe/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CreatePipe/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CreatePipe/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CreatePipe/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CreatePipe/test1/CMakeLists.txt
deleted file mode 100644
index 8242bbd1247402..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CreatePipe/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_createpipe_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_createpipe_test1 coreclrpal)
-
-target_link_libraries(paltest_createpipe_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CreatePipe/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CreatePipe/test1/test1.cpp
index df2b8f6671731d..f0f686924cba1a 100644
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CreatePipe/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CreatePipe/test1/test1.cpp
@@ -20,9 +20,9 @@
#include
-const char* cTestString = "one fish, two fish, red fish, blue fish.";
+#define cTestString "one fish, two fish, read fish, blue fish."
-int __cdecl main(int argc, char **argv)
+PALTEST(miscellaneous_CreatePipe_test1_paltest_createpipe_test1, "miscellaneous/CreatePipe/test1/paltest_createpipe_test1")
{
HANDLE hReadPipe = NULL;
HANDLE hWritePipe = NULL;
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CreatePipe/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/miscellaneous/CreatePipe/test1/testinfo.dat
deleted file mode 100644
index d36f44faf47afc..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/CreatePipe/test1/testinfo.dat
+++ /dev/null
@@ -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 = Miscellaneous
-Function = CreatePipe
-Name = Test for CreatePipe
-TYPE = DEFAULT
-EXE1 = test1
-Description
-= Tests the PAL implementation of the CreatePipe function.
-= This test will create two pipes, a read and a write. Once
-= the pipes have been created, they will be tested by writing
-= and then reading, then comparing the results.
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FlushInstructionCache/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FlushInstructionCache/CMakeLists.txt
deleted file mode 100644
index 91794df7d0fbc1..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FlushInstructionCache/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(test1)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FlushInstructionCache/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FlushInstructionCache/test1/CMakeLists.txt
deleted file mode 100644
index c3e8011077f726..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FlushInstructionCache/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test1.cpp
-)
-
-add_executable(paltest_flushinstructioncache_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_flushinstructioncache_test1 coreclrpal)
-
-target_link_libraries(paltest_flushinstructioncache_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FlushInstructionCache/test1/test1.cpp b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FlushInstructionCache/test1/test1.cpp
index 1ff3d9e898ae93..c14915d76d5437 100644
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FlushInstructionCache/test1/test1.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FlushInstructionCache/test1/test1.cpp
@@ -47,7 +47,7 @@ void DoTest(void *Buffer, int Size, int Expected)
}
-int __cdecl main(int argc,char *argv[])
+PALTEST(miscellaneous_FlushInstructionCache_test1_paltest_flushinstructioncache_test1, "miscellaneous/FlushInstructionCache/test1/paltest_flushinstructioncache_test1")
{
char ValidPtr[256];
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FlushInstructionCache/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FlushInstructionCache/test1/testinfo.dat
deleted file mode 100644
index bb2d259cdf027e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FlushInstructionCache/test1/testinfo.dat
+++ /dev/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 = Miscellaneous
-Function = FlushInstructionCache
-Name = Positive Test #1 for FlushInstructionCache
-TYPE = DEFAULT
-EXE1 = test1
-Description
-=Tests that FlushInstructionCache returns the correct value for a
-=number of different inputs.
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/CMakeLists.txt
deleted file mode 100644
index 828a2878bf127a..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/CMakeLists.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-add_subdirectory(test1)
-add_subdirectory(test2)
-add_subdirectory(test3)
-add_subdirectory(test4)
-add_subdirectory(test5)
-add_subdirectory(test6)
-
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test1/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test1/CMakeLists.txt
deleted file mode 100644
index 191da48fff972c..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test1/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test.cpp
-)
-
-add_executable(paltest_formatmessagew_test1
- ${SOURCES}
-)
-
-add_dependencies(paltest_formatmessagew_test1 coreclrpal)
-
-target_link_libraries(paltest_formatmessagew_test1
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test1/test.cpp b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test1/test.cpp
index 05b4bca36d32a7..9c1955355008e7 100644
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test1/test.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test1/test.cpp
@@ -14,7 +14,8 @@
#include
-int __cdecl main(int argc, char *argv[]) {
+PALTEST(miscellaneous_FormatMessageW_test1_paltest_formatmessagew_test1, "miscellaneous/FormatMessageW/test1/paltest_formatmessagew_test1")
+{
WCHAR TheString[] = {'P','a','l',' ','T','e','s','t','\0'};
WCHAR OutBuffer[128];
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test1/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test1/testinfo.dat
deleted file mode 100644
index c057584ef9837b..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test1/testinfo.dat
+++ /dev/null
@@ -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 = Miscellaneous
-Function = FormatMessageW
-Name = Positive test of FormatMessageW
-TYPE = DEFAULT
-EXE1 = test
-Description
-= Test a very simple case -- basically just copy a string into a buffer,
-= no formatting.
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test2/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test2/CMakeLists.txt
deleted file mode 100644
index 5f0f6cefe5324e..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test2/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test.cpp
-)
-
-add_executable(paltest_formatmessagew_test2
- ${SOURCES}
-)
-
-add_dependencies(paltest_formatmessagew_test2 coreclrpal)
-
-target_link_libraries(paltest_formatmessagew_test2
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test2/test.cpp b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test2/test.cpp
index a4a9a4d00b0f79..67981857963856 100644
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test2/test.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test2/test.cpp
@@ -13,7 +13,7 @@
#define UNICODE
#include
-WCHAR OutBuffer[1024];
+WCHAR OutBuffer_FormatMessageW_test2[1024];
/* Pass this test the string "INSERT" and it will succeed */
@@ -24,14 +24,14 @@ int test1(int num, ...)
int ReturnResult;
va_list TheList;
va_start(TheList,num);
- memset( OutBuffer, 0, 1024 * sizeof(OutBuffer[0]) );
+ memset( OutBuffer_FormatMessageW_test2, 0, 1024 * sizeof(OutBuffer_FormatMessageW_test2[0]) );
ReturnResult = FormatMessage(
FORMAT_MESSAGE_FROM_STRING, /* source and processing options */
TheString, /* message source */
0, /* message identifier */
0, /* language identifier */
- OutBuffer, /* message buffer */
+ OutBuffer_FormatMessageW_test2, /* message buffer */
1024, /* maximum size of message buffer */
&TheList /* array of message inserts */
);
@@ -46,12 +46,12 @@ int test1(int num, ...)
}
- if(memcmp(OutBuffer, convert("Pal INSERT Testing"),
- wcslen(OutBuffer)*2+2) != 0)
+ if(memcmp(OutBuffer_FormatMessageW_test2, convert("Pal INSERT Testing"),
+ wcslen(OutBuffer_FormatMessageW_test2)*2+2) != 0)
{
Fail("ERROR: The formated string should have been 'Pal INSERT "
"Testing' but '%s' was returned.",
- convertC(OutBuffer));
+ convertC(OutBuffer_FormatMessageW_test2));
}
@@ -68,14 +68,14 @@ int test2(int num, ...)
va_list TheList;
va_start(TheList,num);
- memset( OutBuffer, 0, 1024 * sizeof(OutBuffer[0]) );
+ memset( OutBuffer_FormatMessageW_test2, 0, 1024 * sizeof(OutBuffer_FormatMessageW_test2[0]) );
ReturnResult = FormatMessage(
FORMAT_MESSAGE_FROM_STRING, /* source and processing options */
TheString, /* message source */
0, /* message identifier */
0, /* language identifier */
- OutBuffer, /* message buffer */
+ OutBuffer_FormatMessageW_test2, /* message buffer */
1024, /* maximum size of message buffer */
&TheList /* array of message inserts */
);
@@ -89,10 +89,10 @@ int test2(int num, ...)
" with the 'i' formatter.");
}
- if(memcmp(OutBuffer, convert("Pal 40 Testing"),wcslen(OutBuffer)*2+2) != 0)
+ if(memcmp(OutBuffer_FormatMessageW_test2, convert("Pal 40 Testing"),wcslen(OutBuffer_FormatMessageW_test2)*2+2) != 0)
{
Fail("ERROR: The formated string should have been 'Pal 40 Testing' "
- "but '%s' was returned.", convertC(OutBuffer));
+ "but '%s' was returned.", convertC(OutBuffer_FormatMessageW_test2));
}
return PASS;
}
@@ -105,13 +105,13 @@ int test3(int num, ...) {
int ReturnResult;
va_list TheList;
va_start(TheList,num);
- memset( OutBuffer, 0, 1024 * sizeof(OutBuffer[0]) );
+ memset( OutBuffer_FormatMessageW_test2, 0, 1024 * sizeof(OutBuffer_FormatMessageW_test2[0]) );
ReturnResult = FormatMessage(
FORMAT_MESSAGE_FROM_STRING, /* source and processing options */
TheString, /* message source */
0, /* message identifier */
0, /* language identifier */
- OutBuffer, /* message buffer */
+ OutBuffer_FormatMessageW_test2, /* message buffer */
1024, /* maximum size of message buffer */
&TheList /* array of message inserts */
);
@@ -125,10 +125,10 @@ int test3(int num, ...) {
" with the 'c' formatter.");
}
- if(memcmp(OutBuffer, convert("Pal a Testing"),wcslen(OutBuffer)*2+2) != 0)
+ if(memcmp(OutBuffer_FormatMessageW_test2, convert("Pal a Testing"),wcslen(OutBuffer_FormatMessageW_test2)*2+2) != 0)
{
Fail("ERROR: The formated string should have been 'Pal a Testing' "
- "but '%s' was returned.", convertC(OutBuffer));
+ "but '%s' was returned.", convertC(OutBuffer_FormatMessageW_test2));
}
@@ -143,13 +143,13 @@ int test4(int num, ...) {
int ReturnResult;
va_list TheList;
va_start(TheList,num);
- memset( OutBuffer, 0, 1024 * sizeof(OutBuffer[0]) );
+ memset( OutBuffer_FormatMessageW_test2, 0, 1024 * sizeof(OutBuffer_FormatMessageW_test2[0]) );
ReturnResult = FormatMessage(
FORMAT_MESSAGE_FROM_STRING, /* source and processing options */
TheString, /* message source */
0, /* message identifier */
0, /* language identifier */
- OutBuffer, /* message buffer */
+ OutBuffer_FormatMessageW_test2, /* message buffer */
1024, /* maximum size of message buffer */
&TheList /* array of message inserts */
);
@@ -163,10 +163,10 @@ int test4(int num, ...) {
" with the 'C' formatter.");
}
- if(memcmp(OutBuffer, convert("Pal a Testing"),wcslen(OutBuffer)*2+2) != 0)
+ if(memcmp(OutBuffer_FormatMessageW_test2, convert("Pal a Testing"),wcslen(OutBuffer_FormatMessageW_test2)*2+2) != 0)
{
Fail("ERROR: The formated string should have been 'Pal a Testing' "
- "but '%s' was returned.",convertC(OutBuffer));
+ "but '%s' was returned.",convertC(OutBuffer_FormatMessageW_test2));
}
return PASS;
@@ -181,14 +181,14 @@ int test5(int num, ...)
int ReturnResult;
va_list TheList;
va_start(TheList,num);
- memset( OutBuffer, 0, 1024 * sizeof(OutBuffer[0]) );
+ memset( OutBuffer_FormatMessageW_test2, 0, 1024 * sizeof(OutBuffer_FormatMessageW_test2[0]) );
ReturnResult = FormatMessage(
FORMAT_MESSAGE_FROM_STRING, /* source and processing options */
TheString, /* message source */
0, /* message identifier */
0, /* language identifier */
- OutBuffer, /* message buffer */
+ OutBuffer_FormatMessageW_test2, /* message buffer */
1024, /* maximum size of message buffer */
&TheList /* array of message inserts */
);
@@ -203,10 +203,10 @@ int test5(int num, ...)
}
- if(memcmp(OutBuffer, convert("Pal 57 Testing"),wcslen(OutBuffer)*2+2) != 0)
+ if(memcmp(OutBuffer_FormatMessageW_test2, convert("Pal 57 Testing"),wcslen(OutBuffer_FormatMessageW_test2)*2+2) != 0)
{
Fail("ERROR: The formated string should have been 'Pal 57 Testing' "
- "but '%s' was returned.",convertC(OutBuffer));
+ "but '%s' was returned.",convertC(OutBuffer_FormatMessageW_test2));
}
@@ -221,14 +221,14 @@ int test6(int num, ...) {
int ReturnResult;
va_list TheList;
va_start(TheList,num);
- memset( OutBuffer, 0, 1024 * sizeof(OutBuffer[0]) );
+ memset( OutBuffer_FormatMessageW_test2, 0, 1024 * sizeof(OutBuffer_FormatMessageW_test2[0]) );
ReturnResult = FormatMessage(
FORMAT_MESSAGE_FROM_STRING, /* source and processing options */
TheString, /* message source */
0, /* message identifier */
0, /* language identifier */
- OutBuffer, /* message buffer */
+ OutBuffer_FormatMessageW_test2, /* message buffer */
1024, /* maximum size of message buffer */
&TheList /* array of message inserts */
);
@@ -243,11 +243,11 @@ int test6(int num, ...) {
}
- if(memcmp(OutBuffer, convert("Pal a and b Testing"),
- wcslen(OutBuffer)*2+2) != 0)
+ if(memcmp(OutBuffer_FormatMessageW_test2, convert("Pal a and b Testing"),
+ wcslen(OutBuffer_FormatMessageW_test2)*2+2) != 0)
{
Fail("ERROR: The formated string should have been 'Pal a and b "
- "Testing' but '%s' was returned.", convertC(OutBuffer));
+ "Testing' but '%s' was returned.", convertC(OutBuffer_FormatMessageW_test2));
}
@@ -263,14 +263,14 @@ int test7(int num, ...)
int ReturnResult;
va_list TheList;
va_start(TheList,num);
- memset( OutBuffer, 0, 1024 * sizeof(OutBuffer[0]) );
+ memset( OutBuffer_FormatMessageW_test2, 0, 1024 * sizeof(OutBuffer_FormatMessageW_test2[0]) );
ReturnResult = FormatMessage(
FORMAT_MESSAGE_FROM_STRING, /* source and processing options */
TheString, /* message source */
0, /* message identifier */
0, /* language identifier */
- OutBuffer, /* message buffer */
+ OutBuffer_FormatMessageW_test2, /* message buffer */
1024, /* maximum size of message buffer */
&TheList /* array of message inserts */
);
@@ -285,12 +285,12 @@ int test7(int num, ...)
}
- if(memcmp(OutBuffer,
+ if(memcmp(OutBuffer_FormatMessageW_test2,
convert("Pal 90 and foo and bar Testing"),
- wcslen(OutBuffer)*2+2) != 0)
+ wcslen(OutBuffer_FormatMessageW_test2)*2+2) != 0)
{
Fail("ERROR: The formated string should have been 'Pal 90 and foo "
- "and bar Testing' but '%s' was returned.",convertC(OutBuffer));
+ "and bar Testing' but '%s' was returned.",convertC(OutBuffer_FormatMessageW_test2));
}
return PASS;
@@ -306,14 +306,14 @@ int test8(int num, ...)
int ReturnResult;
va_list TheList;
va_start(TheList,num);
- memset( OutBuffer, 0, 1024 * sizeof(OutBuffer[0]) );
+ memset( OutBuffer_FormatMessageW_test2, 0, 1024 * sizeof(OutBuffer_FormatMessageW_test2[0]) );
ReturnResult = FormatMessage(
FORMAT_MESSAGE_FROM_STRING, /* source and processing options */
TheString, /* message source */
0, /* message identifier */
0, /* language identifier */
- OutBuffer, /* message buffer */
+ OutBuffer_FormatMessageW_test2, /* message buffer */
1024, /* maximum size of message buffer */
&TheList /* array of message inserts */
);
@@ -328,12 +328,12 @@ int test8(int num, ...)
}
- if(memcmp(OutBuffer,
+ if(memcmp(OutBuffer_FormatMessageW_test2,
convert("Pal a and b and 50 and 100 Testing"),
- wcslen(OutBuffer)*2+2) != 0)
+ wcslen(OutBuffer_FormatMessageW_test2)*2+2) != 0)
{
Fail("ERROR: The formated string should have been 'Pal a and b and 50"
- " and 100 Testing' but '%s' was returned.",convertC(OutBuffer));
+ " and 100 Testing' but '%s' was returned.",convertC(OutBuffer_FormatMessageW_test2));
}
@@ -350,13 +350,13 @@ int test9(int num, ...) {
int ReturnResult;
va_list TheList;
va_start(TheList,num);
- memset( OutBuffer, 0, 1024 * sizeof(OutBuffer[0]) );
+ memset( OutBuffer_FormatMessageW_test2, 0, 1024 * sizeof(OutBuffer_FormatMessageW_test2[0]) );
ReturnResult = FormatMessage(
FORMAT_MESSAGE_FROM_STRING, /* source and processing options */
TheString, /* message source */
0, /* message identifier */
0, /* language identifier */
- OutBuffer, /* message buffer */
+ OutBuffer_FormatMessageW_test2, /* message buffer */
1024, /* maximum size of message buffer */
&TheList /* array of message inserts */
);
@@ -371,12 +371,12 @@ int test9(int num, ...) {
}
- if(memcmp(OutBuffer,
+ if(memcmp(OutBuffer_FormatMessageW_test2,
convert("Pal foo and bar and 56 Testing"),
- wcslen(OutBuffer)*2+2) != 0)
+ wcslen(OutBuffer_FormatMessageW_test2)*2+2) != 0)
{
Fail("ERROR: The formated string should have been 'Pal foo and bar "
- "and 56 Testing' but '%s' was returned.",convertC(OutBuffer));
+ "and 56 Testing' but '%s' was returned.",convertC(OutBuffer_FormatMessageW_test2));
}
@@ -392,13 +392,13 @@ int test10(int num, ...)
int ReturnResult;
va_list TheList;
va_start(TheList,num);
- memset( OutBuffer, 0, 1024 * sizeof(OutBuffer[0]) );
+ memset( OutBuffer_FormatMessageW_test2, 0, 1024 * sizeof(OutBuffer_FormatMessageW_test2[0]) );
ReturnResult = FormatMessage(
FORMAT_MESSAGE_FROM_STRING, /* source and processing options */
TheString, /* message source */
0, /* message identifier */
0, /* language identifier */
- OutBuffer, /* message buffer */
+ OutBuffer_FormatMessageW_test2, /* message buffer */
1024, /* maximum size of message buffer */
&TheList /* array of message inserts */
);
@@ -413,12 +413,12 @@ int test10(int num, ...)
}
- if(memcmp(OutBuffer,
+ if(memcmp(OutBuffer_FormatMessageW_test2,
convert("Pal 123ab and 123CD Testing"),
- wcslen(OutBuffer)*2+2) != 0)
+ wcslen(OutBuffer_FormatMessageW_test2)*2+2) != 0)
{
Fail("ERROR: The formated string should have been 'Pal 123ab and "
- "123CD Testing' but '%s' was returned.", convertC(OutBuffer));
+ "123CD Testing' but '%s' was returned.", convertC(OutBuffer_FormatMessageW_test2));
}
@@ -434,14 +434,14 @@ int test11(int num, ...)
int ReturnResult;
va_list TheList;
va_start(TheList,num);
- memset( OutBuffer, 0, 1024 * sizeof(OutBuffer[0]) );
+ memset( OutBuffer_FormatMessageW_test2, 0, 1024 * sizeof(OutBuffer_FormatMessageW_test2[0]) );
ReturnResult = FormatMessage(
FORMAT_MESSAGE_FROM_STRING, /* source and processing options */
TheString, /* message source */
0, /* message identifier */
0, /* language identifier */
- OutBuffer, /* message buffer */
+ OutBuffer_FormatMessageW_test2, /* message buffer */
1024, /* maximum size of message buffer */
&TheList /* array of message inserts */
);
@@ -461,31 +461,31 @@ int test11(int num, ...)
*/
#if defined(HOST_64BIT)
Trace("Testing for 64 Bit Platforms \n");
- if(memcmp(OutBuffer,
+ if(memcmp(OutBuffer_FormatMessageW_test2,
convert("Pal 00000000000123AB and foo Testing"),
- wcslen(OutBuffer)*2+2) != 0 &&
+ wcslen(OutBuffer_FormatMessageW_test2)*2+2) != 0 &&
/* BSD style */
- memcmp( OutBuffer,
+ memcmp( OutBuffer_FormatMessageW_test2,
convert( "Pal 0x123ab and foo Testing" ),
- wcslen(OutBuffer)*2+2 ) != 0 )
+ wcslen(OutBuffer_FormatMessageW_test2)*2+2 ) != 0 )
{
Fail("ERROR: The formated string should have been 'Pal 000123AB and "
- "foo Testing' but '%s' was returned.",convertC(OutBuffer));
+ "foo Testing' but '%s' was returned.",convertC(OutBuffer_FormatMessageW_test2));
}
#else
Trace("Testing for Non 64 Bit Platforms \n");
- if(memcmp(OutBuffer,
+ if(memcmp(OutBuffer_FormatMessageW_test2,
convert("Pal 000123AB and foo Testing"),
- wcslen(OutBuffer)*2+2) != 0 &&
+ wcslen(OutBuffer_FormatMessageW_test2)*2+2) != 0 &&
/* BSD style */
- memcmp( OutBuffer,
+ memcmp( OutBuffer_FormatMessageW_test2,
convert( "Pal 0x123ab and foo Testing" ),
- wcslen(OutBuffer)*2+2 ) != 0 )
+ wcslen(OutBuffer_FormatMessageW_test2)*2+2 ) != 0 )
{
Fail("ERROR: The formated string should have been 'Pal 000123AB and "
- "foo Testing' but '%s' was returned.",convertC(OutBuffer));
+ "foo Testing' but '%s' was returned.",convertC(OutBuffer_FormatMessageW_test2));
}
@@ -504,14 +504,14 @@ int test12(int num, ...)
int ReturnResult;
va_list TheList;
va_start(TheList,num);
- memset( OutBuffer, 0, 1024 * sizeof(OutBuffer[0]) );
+ memset( OutBuffer_FormatMessageW_test2, 0, 1024 * sizeof(OutBuffer_FormatMessageW_test2[0]) );
ReturnResult = FormatMessage(
FORMAT_MESSAGE_FROM_STRING, /* source and processing options */
TheString, /* message source */
0, /* message identifier */
0, /* language identifier */
- OutBuffer, /* message buffer */
+ OutBuffer_FormatMessageW_test2, /* message buffer */
1024, /* maximum size of message buffer */
&TheList /* array of message inserts */
);
@@ -526,20 +526,20 @@ int test12(int num, ...)
}
- if(memcmp(OutBuffer,
+ if(memcmp(OutBuffer_FormatMessageW_test2,
convert("Pal 100 and 123ab and 123CD Testing"),
- wcslen(OutBuffer)*2+2) != 0)
+ wcslen(OutBuffer_FormatMessageW_test2)*2+2) != 0)
{
Fail("ERROR: The formated string should have been 'Pal 100 and "
"123ab and 123CD Testing' but '%s' was returned.",
- convertC(OutBuffer));
+ convertC(OutBuffer_FormatMessageW_test2));
}
return PASS;
}
-int __cdecl main(int argc, char *argv[])
+PALTEST(miscellaneous_FormatMessageW_test2_paltest_formatmessagew_test2, "miscellaneous/FormatMessageW/test2/paltest_formatmessagew_test2")
{
WCHAR szwInsert[] = {'I','N','S','E','R','T','\0'};
WCHAR szwFoo[] = {'f','o','o','\0'};
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test2/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test2/testinfo.dat
deleted file mode 100644
index dc5713728288b2..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test2/testinfo.dat
+++ /dev/null
@@ -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 = Miscellaneous
-Function = FormatMessageW
-Name = Positive test of FormatMessageW
-TYPE = DEFAULT
-EXE1 = test
-Description
-= A collection of tests to check and make sure all the standard formatters work.
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test3/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test3/CMakeLists.txt
deleted file mode 100644
index 98532f3ddb1308..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test3/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test.cpp
-)
-
-add_executable(paltest_formatmessagew_test3
- ${SOURCES}
-)
-
-add_dependencies(paltest_formatmessagew_test3 coreclrpal)
-
-target_link_libraries(paltest_formatmessagew_test3
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test3/test.cpp b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test3/test.cpp
index e46214f8415137..47474477c87ee1 100644
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test3/test.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test3/test.cpp
@@ -13,10 +13,10 @@
#define UNICODE
#include
-WCHAR OutBuffer[1024];
-int __cdecl main(int argc, char *argv[])
+PALTEST(miscellaneous_FormatMessageW_test3_paltest_formatmessagew_test3, "miscellaneous/FormatMessageW/test3/paltest_formatmessagew_test3")
{
+ WCHAR OutBuffer[1024];
WCHAR * TheString;
WCHAR * CorrectString;
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test3/testinfo.dat b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test3/testinfo.dat
deleted file mode 100644
index 704b4c29c49944..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test3/testinfo.dat
+++ /dev/null
@@ -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 = Miscellaneous
-Function = FormatMessageW
-Name = Positive test of FormatMessageW
-TYPE = DEFAULT
-EXE1 = test
-Description
-= Test to ensure the IGNORE_INSERTS flag works properly.
-
-
-
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test4/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test4/CMakeLists.txt
deleted file mode 100644
index 1a0dcad8ee2f1d..00000000000000
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test4/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-set(SOURCES
- test.cpp
-)
-
-add_executable(paltest_formatmessagew_test4
- ${SOURCES}
-)
-
-add_dependencies(paltest_formatmessagew_test4 coreclrpal)
-
-target_link_libraries(paltest_formatmessagew_test4
- ${COMMON_TEST_LIBRARIES}
-)
diff --git a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test4/test.cpp b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test4/test.cpp
index 7ebe91de5ef17a..0760a849550711 100644
--- a/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test4/test.cpp
+++ b/src/coreclr/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test4/test.cpp
@@ -13,10 +13,10 @@
#define UNICODE
#include