Add native vararg test (dotnet/coreclr#17707)
authorJarret Shook <jashoo@microsoft.com>
Thu, 6 Sep 2018 22:55:52 +0000 (15:55 -0700)
committerGitHub <noreply@github.com>
Thu, 6 Sep 2018 22:55:52 +0000 (15:55 -0700)
commit5eafcfc9c3be908a8716465201ccbe112cdb6ee9
treef68f344d15297c843ff261bc27858931263151af
parent3d977cf60320ad1e994635e9cbc12753104d40dd
Add native vararg test (dotnet/coreclr#17707)

* Add native vararg testing

This is a desktop test. It will be excluded for coreclr; however, decided it is worth adding
to the test tree in case we ever need the coverage.

* Fix several errors, and address feedback

* Split long lines

* Update vararg test

* Fix excludes

* Refernce private_corelib

* Correctly build vararg test

* Fix incorrect addition

* Fix build break unix

* Fix native build on unix

* Fix entry point

* Correctly pass doubles instead of floats

* Correct vararg test, pass double to pinvoke methods

* Remove printf tests

* Fix cmake for varargnative.c

* Fix cdel calling convention

* Correctly pass success back to the main method

* Explicitely undef cdecl

* Fix some excludes and exclude the new test on x86

* Add unix exclude

* Disable echo_short and correct header

Commit migrated from https://github.com/dotnet/coreclr/commit/269deff2221f3c2acbc6b67f5e51a744a8f2f581
src/coreclr/tests/issues.targets
src/coreclr/tests/src/JIT/Directed/arglist/CMakeLists.txt [new file with mode: 0644]
src/coreclr/tests/src/JIT/Directed/arglist/vararg.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/Directed/arglist/vararg.csproj [new file with mode: 0644]
src/coreclr/tests/src/JIT/Directed/arglist/varargmanaged.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/Directed/arglist/varargnative.c [new file with mode: 0644]
src/coreclr/tests/src/JIT/Directed/arglist/varargtypes.cs [new file with mode: 0644]
src/coreclr/tests/testsUnsupportedOutsideWindows.txt