Add native vararg test (#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)
commit269deff2221f3c2acbc6b67f5e51a744a8f2f581
treed21fec0e909f14bb88c280a2b8621feb05c84894
parent1d885d32db50e8ee931d0d9fbd1081bfbb7ce271
Add native vararg test (#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
tests/issues.targets
tests/src/JIT/Directed/arglist/CMakeLists.txt [new file with mode: 0644]
tests/src/JIT/Directed/arglist/vararg.cs [new file with mode: 0644]
tests/src/JIT/Directed/arglist/vararg.csproj [new file with mode: 0644]
tests/src/JIT/Directed/arglist/varargmanaged.cs [new file with mode: 0644]
tests/src/JIT/Directed/arglist/varargnative.c [new file with mode: 0644]
tests/src/JIT/Directed/arglist/varargtypes.cs [new file with mode: 0644]
tests/testsUnsupportedOutsideWindows.txt