summaryrefslogtreecommitdiff
path: root/tests/src/Common
AgeCommit message (Collapse)AuthorFilesLines
2019-07-15Add EventPipe/DiagnosticsIpc tests (#25457)John Salem1-0/+3
* Add Microsoft.Diagnostics.Tools.RuntimeClient to dependencies.props * add EventPipe tests for provider coherence, buffer size resilience, and rundown event presence
2019-06-25Expand corefx testing in coreclr repoBruce Forstall1-156/+108
Currently, corefx testing is done on Windows/x64. Expand testing to include: 1. Linux/x64, Linux/arm, Linux/arm64, Windows/x86 platforms. Windows/arm should be added after corefx official builds publish tests and test manifest. Windows/arm64 should be added after corefx tests are published, and we have sufficient hardware. 2. All JIT stress modes that are used in normal coreclr testing. Testing is split into 4 Azure DevOps Pipelines: coreclr-corefx, coreclr-corefx-jitstress, coreclr-corefx-jitstressregs, and coreclr-corefx-jitstress2-jitstressregs. In addition, we now use the corefx meta-package Microsoft.Private.CoreFx.OOB instead of a list of individual assemblies when constructing the testhost.
2019-06-04[master] Update dependencies from dotnet/corefx (#24883)dotnet-maestro[bot]1-0/+7
* Update dependencies from https://github.com/dotnet/corefx build 20190603.11 - Microsoft.Bcl.AsyncInterfaces - 1.0.0-preview7.19303.11 - Microsoft.NETCore.Platforms - 3.0.0-preview7.19303.11 - Microsoft.Private.CoreFx.NETCoreApp - 4.6.0-preview7.19303.11 * Add Microsoft.Diagnostics.Runtime to CoreFx.depproj * Remove removed commands from RunTests.cmd/sh
2019-05-24Enable LCID marshalling and clean up our LCID marshalling tests. (#24642)Jeremy Koritzinsky1-1/+2
* Enable LCID marshalling and clean up our LCID marshalling tests. * Fix return type. * Enable LCID IDispatch reverse marshalling * Add more tests for LCID marshalling. * Add testing for reverse-IDispatch. Fix bug in Thread::GetCulture when culture has not been initialized on the managed side. * PR Feedback. * Fix install command.
2019-05-24Move to 3.0 SDK (#24756)Elinor Fung1-2/+0
2019-05-22Remove filter for Exception type during registry inquiry. (#24725)Aaron Robinson1-3/+4
Update Console output with more details.
2019-05-21Delete infrastructure files that are no longer used (#24684)Jan Kotas6-840/+0
* Delete Jenkins scripts * Delete support files for the old CoreFX test infrastructure * Delete CoreFX test file setup utility
2019-05-20Disable Interop/WinRT/NETClients/Primitives test on Nano Server. (#24665)Jeremy Koritzinsky1-1/+1
* Disable Interop/WinRT/NETClients/Primitives test on Nano Server. * Fold !IsWindowsNanoServer into IsWinRTSupported
2019-05-16Add Managed->Native tests for our WinRT primitives (#23529)Jeremy Koritzinsky2-0/+85
* First pass generating the contracts for the WinRT tests. Managed ones are manually written, Native are generated via C++/WinRT. * Don't overwrite the public implementation files when we run cppwinrt * Don't output a MIDL-processed header. * Add default constructor for BindingViewModel. * Partial implementation of most of the native winrt component. * Finish implementation of native winrt component. * Get native component building correctly (cppwinrt doesn't include wrappers for the "Windows::UI::Xaml::Interop::IBindable*" collection types. * Add WinRT primitive marshalling tests. * Add testing for projected types used for binding. * Add license headers to native files. * Disable WinRT tests on non-WinRT platforms (detection copied from CoreFX). * Use WINDOWS_SDK_VERSION variable in all locations. * Use Windows SDK version determined by CMake in WinRT build. * Resolve WinMDs via globs so the build can roll between different Windows SDK versions that have required APIs seamlessly. * Add logging of cppwinrt version. * Try to construct path to cppwinrt when finding it * Just directly construct the cppwinrt path. * Remove -prefix flag from cppwinrt invocation * PR feedback. * Fix syntax in BindableVectorWrapper. * Disable winrt binding test on Nano Server. * Add enum testing. Clean up WinRT tests to hopefully build on CI (or at least fail at a later point). * Add some more logging to try to determine why an older SDK version is being picked. * Try to define CMAKE_SYSTEM_VERSION and see if that selects the correct SDK version (it seems to work on the build.cmd script) * Clean up WinRT CMake now that it builds on AzDO CI. * Disable WinRT binding test on pre-Win10V1809 systems.
2019-05-15[master] Update dependencies from dotnet/core-setup (#24149)dotnet-maestro[bot]1-0/+2
* Update dependencies from https://github.com/dotnet/core-setup build 20190429.07 - Microsoft.NETCore.App - 3.0.0-preview6-27629-07 * Workaround for https://github.com/dotnet/core-setup/pull/5893 * Update dependencies from https://github.com/dotnet/core-setup build 20190502.01 - Microsoft.NETCore.App - 3.0.0-preview6-27702-01 * Update dependencies from https://github.com/dotnet/core-setup build 20190503.02 - Microsoft.NETCore.App - 3.0.0-preview6-27703-02 * Update dependencies from https://github.com/dotnet/core-setup build 20190503.17 - Microsoft.NETCore.App - 3.0.0-preview6-27703-17 * Update dependencies from https://github.com/dotnet/core-setup build 20190505.02 - Microsoft.NETCore.App - 3.0.0-preview6-27705-02 * Update dependencies from https://github.com/dotnet/core-setup build 20190506.03 - Microsoft.NETCore.App - 3.0.0-preview6-27706-03 * Update dependencies from https://github.com/dotnet/core-setup build 20190506.21 - Microsoft.NETCore.App - 3.0.0-preview6-27706-21 * Update dependencies from https://github.com/dotnet/core-setup build 20190507.10 - Microsoft.NETCore.App - 3.0.0-preview6-27707-10 * Workaround for Microsoft.NetCore.App version in Coreclr.TestWrapper.csproj to unblock #24149 * Update dependencies from https://github.com/dotnet/core-setup build 20190508.04 - Microsoft.NETCore.App - 3.0.0-preview6-27708-04 * Add comment attaching specific pull request to workaround * Update dependencies from https://github.com/dotnet/core-setup build 20190509.05 - Microsoft.NETCore.App - 3.0.0-preview6-27709-05 * Add comments in versions.props to prevent merge conflicts in future blocked maestro PRs * Update dependencies from https://github.com/dotnet/core-setup build 20190514.15 - Microsoft.NETCore.App - 3.0.0-preview6-27714-15
2019-05-09[master] Update dependencies from dotnet/corefx (#24314)dotnet-maestro[bot]1-2/+3
* Update dependencies from https://github.com/dotnet/corefx build 20190506.1 - Microsoft.NETCore.Platforms - 3.0.0-preview6.19256.1 - Microsoft.Private.CoreFx.NETCoreApp - 4.6.0-preview6.19256.1 * Use last stable version of System.Numerics.Vectors package * Add Microsoft.Bcl.AsyncInterfaces package * Disable Microsoft.Bcl.AsyncInterfaces
2019-05-03Enable CoreFX test filtering for CoreCLR PRs (#24259)David Mason1-33/+20
This change enables CoreFX tests for CoreCLR.
2019-05-03Change our DateTime marshalling tests to be culture-independent. (#24362)Jeremy Koritzinsky1-0/+1
Fixes #24089
2019-04-06[master] Update dependencies from dotnet/corefx (#23785)dotnet-maestro[bot]1-3/+0
* Update dependencies from https://github.com/dotnet/corefx build 20190405.9 - Microsoft.NETCore.Platforms - 3.0.0-preview5.19205.9 - Microsoft.Private.CoreFx.NETCoreApp - 4.6.0-preview5.19205.9 * System.Data.DataSetExtensions is not a package anymore
2019-04-04Fix SystemV AMD64 Explicit structure classification (#22041)Jeremy Koritzinsky1-0/+1
* Don't bail out on enregistering explicit structs if there are no overlapping fields. * Don't enregister if any unaligned fields. * Enable passing explicit structs by-value by enregistering on systemv. Some edge cases are likely still broken, but just removing our blanket opt-out makes the current tests pass. * Enable MarshalstructAsLayoutExp off-Windows. * Start adding additional tests for explicit layout to try to catch edge cases in SystemV classification. * Added a test that spans across multiple eightbytes and has an overlap in the second eightbyte. * Change repro to use an array of floats and an int field in managed and use a float array for padding in native to force an SSE classification on the first byte. * New algorithm to calculate eightbyte classification by going throw the structure byte-by-byte instead of field-by-field. * Fix updating eightbyte classifications in the loop to actually used the iterated-upon variable. * Consider each element of a fixed array as a separate field (to match native implementations). * Implement correct SystemV classification for fixed buffers in non-blittable structures. Fixed buffers in blittable structures have the managed layout assign classifications, which still is buggy. * Add tests. * Correctly classify blittable fixed buffers. Move "is this field a fixed buffer" tracking into one of the unused bits in FieldDesc as code that isn't in marshalers needs to know about it. * Handle the case where we have a struct that has no fields in an eightbyte that contains (i.e. no fields in the first eight bytes of the structure). * PR feedback. * Only look up FixedBufferAttribute when the type is a value class and the type of the field is a value type. * Use heuristic to determine if a type is a fixed buffer for SystemV classification. * Revert tracking if a field is a fixed buffer in the FieldDesc. * Update comments. * Classify aligned, nonoverlapping, float/double only structures as HFAs even if explicitly laid out * Enable overlapping fields in HFAs. Update NativeType HFA to check for alignment. I checked Godbolt to verify that HFAs for overlapping fields are allowed. * Add HFA tests. * Fix compile errors from HFA alignment check. * Non-valuetypes will never have their managed layout used to classify SystemV eightbytes. * Don't classify a struct with no zero-offset field as an HFA. * Remove duplicate semicolon. * PR feedback. * Add test with 2-field double HFA. * Clean up and add static asserts for struct size. * Add define for static_assert_no_msg to the native test headers * Fix build breaks. * Remove unneeded "size = X bytes" comments. They were holdovers from the .NET Framework test tree. * Use GetNumInstanceFieldBytes instead of GetLayoutInfo()->GetManagedSize() * Fix build break. * Centralize FieldMarshaler offsettting in ClassifyEightBytesWithNativeLayout. * Fix signed/unsigned mismatch * Fix condition to also detect arm64. * Change ifdef to if defined. * Remove duplicate declaration (broken in rebase) * Add some logging in one of the unreproable OSX test failures. * Mark System.Numerics.Vector as intrinsic and don't use the eightbyte classifier to enregister it. * Also explicitly opt-out of HFAs for System.Numerics.Vector`1 for consistency. * Update R2R required version to 3.0. * Remove debugging prints.
2019-04-02Change tests to not modify Core_Root (#23470)Jeremy Koritzinsky1-27/+0
Redesign tests that needed to modify Core_Root to no longer do so. - Loader.FromNativePaths: Use `CORE_LIBRARIES` instead of `COREROOT` - Loader.AssemblyDependencyResolver: Split out the invalid hosting test that needs hostpolicy to not be preloaded. Have `CoreRun` and `CoreShim` preload hostpolicy when a path to a hostpolicy is specified in the `MOCK_HOSTPOLICY` environment variable. - Add a `CLRTest.MockHosting.targets` file that is imported when a test requires hostpolicy. It adds the reference to the mock hostpolicy and ensures that the `MOCK_HOSTPOLICY` environment variable is correctly set in the test scripts. Fixes #23429.
2019-04-01[master] Update dependencies from dotnet/corefx (#23593)dotnet-maestro[bot]1-0/+3
- Microsoft.NETCore.Platforms - 3.0.0-preview4.19181.2 - Microsoft.Private.CoreFx.NETCoreApp - 4.6.0-preview4.19181.2
2019-03-14Fix Ubuntu arm build break. (#23270)Jeremy Koritzinsky2-0/+3
* Add platformdefines.h include to fix build break.
2019-03-14 Fix the calling convention for P/Invokes and delegates to hostpolicy (#23249)Aaron Robinson2-25/+15
* Fix the calling convention for P/Invokes and delegates * Update mock library to match official hostpolicy calling conventions
2019-02-22Disable IJW tests on Windows 7. (#22779)Jeremy Koritzinsky1-0/+1
Windows 7 loads desktop mscoree.dll when loading System.Private.CoreLib, before we can load our fake mscoree. So, when IJW modules are loaded, they load the real mscoree.dll, which breaks coreclr's IJW loading. Once we have true .NET Core IJW support in the MSVC++ compiler and .NET Core, then we'll be able to reenable these tests on Win7. Fixes #21796. cc: @RussKeldorph @echesakovMSFT
2019-02-22More GNUC Fixes (#22687)Sinan Kaya1-0/+7
* Replace __sync_swap with __atomic_exchange_n __sync_swap() is a clang specific function. * Remove multiline comment * Add paranthesis around sum src/md/hotdata/../inc/streamutil.h:73:34: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] UINT32 aligned = *totalBytes + 3 & ~3; * Define __int64 * Define windows types for tests * Remove undefined has_builtin defines and define alloca and inline for GNUC * Remove __clang__ where possible * Add implicit casting to help compiler find WCHAR* variant src/binder/assembly.cpp:294:73: error: no matching function for call to ‘SString::SString(SString)’ return (pAsmName == nullptr ? nullptr : pAsmName->GetSimpleName()); ^ In file included from src/inc/sstring.h:1082:0, from src/inc/ex.h:19, from src/inc/stgpool.h:28, from src/inc/../md/inc/metamodel.h:18, from src/inc/../md/inc/metamodelro.h:19, from src/inc/metadata.h:17, from src/binder/../vm/util.hpp:19, from src/binder/../vm/common.h:110, from src/binder/assembly.cpp:14: src/inc/sstring.inl:73:8: note: candidate: SString::SString(void*, COUNT_T) inline SString::SString(void *buffer, COUNT_T size) ^ src/inc/sstring.inl:73:8: note: candidate expects 2 arguments, 1 provided src/inc/sstring.inl:436:8: note: candidate: SString::SString(SString::tagLiteral, const WCHAR*, COUNT_T) inline SString::SString(tagLiteral dummytag, const WCHAR *literal, COUNT_T count) ^ src/inc/sstring.inl:436:8: note: candidate expects 3 arguments, 1 provided src/inc/sstring.inl:418:8: note: candidate: SString::SString(SString::tagLiteral, const WCHAR*) inline SString::SString(tagLiteral dummytag, const WCHAR *literal) ^ src/inc/sstring.inl:418:8: note: candidate expects 2 arguments, 1 provided src/inc/sstring.inl:401:8: note: candidate: SString::SString(SString::tagUTF8Literal, const UTF8*) inline SString::SString(tagUTF8Literal dummytag, const UTF8 *literal) ^ src/inc/sstring.inl:401:8: note: candidate expects 2 arguments, 1 provided src/inc/sstring.inl:382:8: note: candidate: SString::SString(SString::tagLiteral, const CHAR*) inline SString::SString(tagLiteral dummytag, const ASCII *literal) * Reorder DLLEXPORT and STDAPI GNUC wants extern "C" <attribute> format. * Abstract __FUNCSIG__ * Abstract __debugbreak() * Move common compiler options out of clang and add Wno-unused-value * Add paranthesis around || and && src/gc/gc.cpp:9084:38: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] (!chosen_power2) && (i < free_space_count)); * Set Wno-delete-non-virtual-dtor for CXX files only * Don't warn on unterminated endif labels * Suppress unused functions * Use 0x syntax rather than h syntax on GNU asm files * Correct constructor call directly src/ToolBox/superpmi/superpmi-shared/logging.cpp:301:27: required from here src/inc/clr_std/string:58:9: error: cannot call constructor ‘std::basic_string<char>::basic_string’ directly this->basic_string::basic_string(_Ptr, c_len(_Ptr)); * Suppress NULL used in arithmetic warnings
2019-02-18Use correct version for Microsoft.NETCore.Platforms (#22683)Jan Kotas1-1/+1
2019-02-15Delete references to System.Memory package that does not exist anymore (#22626)Jan Kotas1-3/+0
2019-02-13Use dependency flow for core-setup and corefx dependencies (#22544)Juan Hoyos3-38/+38
* Remove old use of signing package used to work around SPC signing now that arcade has bubbled up the version. * Move dependency update for CoreFX and Core-setup dependencies to BAR/Darc/Maestro++ flow * Update property references in tests. * Version bump for CoreFX and Core-Setup dependencies. * Update test Github_20958 to use revised System.Range constructor as surface area changed with #22331.
2019-02-12Update COM Activator class (#22317)Aaron Robinson5-3/+322
* Update COM Activator to use ALCs * Update tests to now supply an assembly name rather than an binary "path" since the COM activator is now using ALCs. * Add test for non-rooted assembly path. * Move the hostpolicy mock project to a Common area Move hostpolicy mock API to CoreCLR test library * Add test for COM server isolation * Move ComActivator class and logic to Internal namespace.
2019-01-23Don't redirect stdlib wchar functions to our test platform shims. (#22072)Jeremy Koritzinsky2-23/+6
* Don't redirect stdlib wchar functions to our test platform shims. * Fix bad find-replaces. * Remove unused overload and last wchar shadowing.
2019-01-19Update Newtonsoft.Json (#22060)Ben Adams1-1/+1
2019-01-17Unify xplatform.h and platformdefines.h (#21389)Jeremy Koritzinsky2-24/+154
* Move most of xplatform.h into platformdefines.h and clean up the interop CMake files. * Fix build-break off Windows. * Fix typo. * Fix another break off-Windows. * Fix signed/unsigned mismatch
2019-01-03Remove vc-runtime package dependency (#21643)Egor Chesakov1-28/+0
2018-12-17Add tests for marshalling a System.Drawing.Color. (#21569)Jeremy Koritzinsky1-0/+3
2018-12-14Update CoreClr, CoreFx, CoreSetup to preview-27213-02, preview.18613.4, ↵dotnet-maestro-bot1-0/+3
preview-27213-01, respectively (master) (#21503) * Update CoreClr, CoreFx, CoreSetup to preview-27213-02, preview.18613.4, preview-27213-01, respectively * Add System.Threading.AccessControl to CoreFX test deps
2018-12-01Enable COM interop for collectible classes (#20919)Jan Vorlicek1-0/+60
* Enable COM interop for collectible classes * Modify DispatchInfo to use LoaderAllocator handles The DispatchMemberInfo was using global handles to refer to the managed MemberInfo instances. That doesn't work with unloadability. This change modifies it to use handles allocated from LoaderAllocator. * Disable COM interop for WinRT types * Remove collectible check from IsTypeVisibleFromCom. That fixes three new COM interop tests * Add collectible check to GetComClassFactory when we check for unsupported interop with WinRT * Add COM unloadability tests Add two tests to test COM unloadability: * One for using native COM server from managed COM client * One for using managed COM objects from native client * Add unloading test for IUnknownTest * Disable NETClientPrimitivesInALC on Win ARM The NETClientPrimitives is disabled there too.
2018-11-29Add more advanced SafeArray tests (#21063)Jeremy Koritzinsky2-4/+16
* Port simple SafeArray tests over from .NET Framework's test suite. * Clean up native calling conventions. * Add basic field array -> field SAFEARRAY* tests. * Fix some hiding stdcall calling convention decorators. * PR Feedback. * Rewrite native part of SafeArray tests * Wrote the managed side of the tests. Non-passing ones are currently commented out. * Fix up tests and enable marshalling a string[] as a SAFEARRAY of LPSTR or LPWSTR. * Add blittable records test with a return parameter. * Add returning non-blittable record safearray test. * Fix which typedef we're using * Clean up * Fix/cleanup RecordNative * Replace "" with <> for platformdefines.h include. * Use macro for calling convention. * PR Feedback. * Remove residual "Helpers.h" include. * Fix remaining incorrect calling conventions. * One more calling convention fix.
2018-11-21Introduce Marshall.LoadLibrary API (#20871)Swaroop Sridhar1-3/+8
Implement Native LoadLibrary API This change commits the following changes: 1) Refactoring DllImport code to reuse LodLibrary by search for pInvoke and LoadLibrary cases 2) Implement the new Native Library API in System.Runtime.Interop.Marshall 3) Add tests for the new APIs
2018-11-19Update xunit version to match corefx (#21098)Jan Kotas1-2/+3
* Update xunit version to match corefx Fixes https://github.com/dotnet/corefx/issues/33587 * Disabled outdated test
2018-11-15Add PInvoke/SizeParamIndex tests (#19348)Zeng Jiang1-1/+1
* Add PInvoke/SizeParamIndex tests * Fix compile warnings * First pass cleaning up native code. * Get ParamSizeIndex tests working xplat (excluding the BSTR array tests) * Fix incorrect definition of ULONG off-windows. * Disable reverse-PInvoke throwing test off-Windows.
2018-11-15Add tests for ANSI BSTRs (#20985)Jeremy Koritzinsky1-1/+3
* Add tests for ANSI BSTRs * Fix signed/unsigned mismatch in comparisons. Add xplatform include * Use regular memcpy * Enable ANSI BSTR off-windows. * Also enable UnmanagedType.TBStr off-Windows since both BStr variants are available off-Windows. * Make sure the AnsiBSTR marshaller is hooked up off-Windows. * Remove a few more ifdefs I missed. * remove ifdefs around binder definitions and the C# stub helpers. * PR Feedback. * Add xplat ARRAYSIZE macro * Move xplat ARRAYSIZE to platformdefines.h
2018-11-15Add PInvoke/Array tests (#19266)Zeng Jiang2-2/+47
* Add PInvoke/Array tests * Fix compile warnings * Get tests passing on Windows again. * Change error_t type to work xplat. * Change error_t in types.h as well * Clean up build slightly. * PR feedback and native test code refactoring. * Clean up header. * Add a xplat implementation of _itoa_s for our tests. * CHAR -> char * Make calling convention cdecl to avoid stdcall mangling. * Make return test native code cdecl as well (missed it before). * Fix bug in platformdefines _itoa_s * Return early in TP_itoX_s when num == 0
2018-10-31Add PInvoke/Structures testsJiang Zeng (Pactera Technologies Inc)2-6/+6
Fix compile warnings Fix compile warnings Fix compile warnings Remove duplicate tests. Move ReversePinvoke tests under StructMarshalling. Clean up some compile errors. More string cleanup. More string fixes Clean up consts and typedefs. Fix typo. Change TP_slen return type to match xplatform.h Fix printf specifiers. Don't define wcslen in xplatform if it's been macro redefined (to platformdefines.h's TP_slen) Fix build breaks. Remove extension from DllImport so it will correctly resolve xplat. Fix printf specifiers again... Fix Windows x86 calling convention mismatch. Fix HRESULT size off-Windows
2018-10-25Add support for tests to detect Windows Nano at runtime.Aaron Robinson1-10/+163
2018-10-05Add BSTR xplat PInvoke testcase (#20231)Luqun Lou2-211/+423
2018-09-26Use platformdefines through lib instead of cpp (#19948)Luqun Lou1-0/+9
* Use platformdefines through lib instead of cpp * add a dummy export function * Remove dummy export * Compile as Static Library * revert platformdefines.cpp file * remove DLL_EXPORT
2018-09-25switch to netcoreapp2.0 (#20120)Sergey Andreenko1-1/+1
Allows to get rid of warning " CSC : warning CS1685: The predefined type 'MarshalByRefObject' is defined in multiple assemblies in the global alias;".
2018-09-13Move Assert class from Interop into the CoreCLRTestLibraryvitek-karas2-0/+814
Moving the Assert class to the common library so that it can be used by tests outside of the Interop tree.
2018-08-28Update BuildTools, CoreClr, CoreFx, CoreSetup, PgoData to preview1-03127-01, ↵dotnet-maestro-bot1-1/+2
preview1-26827-04, preview1-26827-04, preview1-26827-01, master-20180827-0150, respectively (master) (#19543) * Update BuildTools, CoreClr, CoreFx, CoreSetup, PgoData to preview1-03127-01, preview1-26827-04, preview1-26827-04, preview1-26827-01, master-20180827-0150, respectively * Undo buildtools update * Use older version of CoreFx.Private.TestUtilities * Disable outdated test * Disable failing test against #19537
2018-08-24Use runtest.py to run tests for all platforms (#19213)Jarret Shook1-10/+0
Change build-test.sh to always build the xunit wrappers. Before it would drop a token and check the existence of the token. Unify x64 linux/OSX/Windows excludes into one file, issues.targets. Includes different locations in the file which show where to put excludes. Remove all target specific aspects of issues.targets, all tests are excluded now via wildcard, this allows expanding to .cmd and .sh based on the built platform. Unify path separators to forward slash(/) in issues.targets to support both platforms Clean up issues.targets by removing long standing exclude tests, specifically tests that have been excluded due to missing features like rva_statics. Add DisableProjectBuild to tests which have been removed from issues.targets Conditionally add DisableProjectBuild to tests which have been marked as unsupported on unix. This is mostly a port of the unsupportedOnUnix.txt list. Instead of excluding the tests, unix will simply not build them. If tests are built on windows, they will be run but they will return pass, the test wrapper will check return instantly. All exclusions ported to issues.targets for linux targets. Expand runtest.py, this includes simple issues that made it past the original CR. In addition it adds more optional features to help with inner loop dev work such as: creating a repro folder under bin/repro/.. which sets up the env and calls the failing test. In addition a launch.json will now be created under bin/repro/.. which can be used to easily debug using vscode. More logging, such as printing failures, longest running tests ect. Initial excludes ported for arm64 windows Arm64 linux, armhf unix excludes and enables running runtest.sh for these targets. arm64 windows and arm32 windows excludes and enables running runtest.cmd on arm64 targets init-tools.sh changes to pull armhf and aarch64 dotnetcli init-tools.cmd changes to pull x86 packages for dotnetcli for arm64 windows runtest.cmd for almost all scenarios will call runtest.py runtest.sh for almsot all scenarios will call runtest.py Removes all logic for running tests using runtest.sh
2018-08-06[WIP] Update vc-runtime package to support ARM and ARM64 with current builds.Bruce Forstall1-4/+4
2018-07-26Reference in box HW intrinsics (#19137)Jacek Blaszczynski1-3/+0
* Update BuildTools, CoreClr, CoreFx, PgoData to preview1-03025-01, preview1-26726-01, preview1-26725-04, master-20180726-0111, respectively * Reference System.Runtime.Intrinsics in box package * Disable X509Certificates tests for CoreFX update
2018-07-25Sdk test projects (#19044)Chris Sienkiewicz3-0/+17
Change the associated targets and props files in the test directory to allow the test csproj's to be built as SDK style projects alongside traditional style projects. Remove CodeTaskFactory: - Allows the projects to be built using the core version of msbuild/dotnet build - Converted to using msbuild property expansion instead Add directory.build.{props,targets}: - Currently we just import the dirs.props and targets, but means SDK style projects don't need to explicitly include these files - We probably want to move all projects over to using these in the future, but this keeps the changes smaller for now Specific code for SDK projects: - There are a several changes required to build an SDK project. This change guards them behind conditionals so that only the new style projects see them. When we get to the point that there are only new projects, we can remove the guards (probably at the same time as ditching the dir.props) Reordered build targets: - Because SDK projects implicitly import the build targets, we can no longer re-define the build targets unconditionally knowing they will likely be overwritten. - Instead we move the overwritten targets to separate files, and include these conditionally based on properties. In this way there is always a build defined for SDK projects, which can then be overwritten to do nothing as needed.
2018-07-24Adding TestLibrary.Generator methods for unsigned typesTanner Gooding1-0/+74