Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-12-13Merged with dotnet/release/2.2.Martin Baulig
2017-10-20initial Freebsd support. (#24467)Tomas Weinfurt
* add FreeBSD * move pragma clang diagnostic pop few lines down to avoild build error on FreeBSD with clang 3.9 * improve detection of in_pktinfo * correct detection of in_pktinfo * set __HostDistroRid properly to avoid warning on FreeBSD * roll-back freebsd change - rejected in #23986 * add support for OSGroup so this can be done consistently with managed code * support also -release to be consistent with top level build.sh. simple "release" arg still works * add -lpthread to get posix threads * initial implementation of System.Diagnostics.Process. more work to come * few FreeBSD fixes for run-test.sh * add VerifyFreeBSDDebugName test * fix up System.Diagnostics.Process to provide at least functionality needed by tests * add GetPathToOpenFile() * adress most feedback from review. refactor sysctl() to system/native. fix extra debug can commented code. handle free better. update calculation for process start. * minor clenup to avoid unnecesary diff and one more place to use PlatformDetection.IsFreeBSD * address review comments. mode and merge with OSX is still to do. * fix typo * fix mode for chmod(). It needs to be 644 and 744 in ocral mode. * address remaining comments from review * more style cleanup. Use -OS instead of -OSGroup to do cross-platform build * roll back -release and -debug option. this will be handled as separate change * remove unsued SystemNative_SysctlByName * remove one more place where sysctlByName sneaked in
2017-09-28Enable --arch option in run-test.sh (#24300)Hyung-Kyu Choi
There is a help message for --arch option, but there is no code for the option. Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
2017-09-13Remove netstandard fallback logicHyung-Kyu Choi
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
2017-09-11Update run-test.sh to follow up recent changeHyung-Kyu Choi
Because layout of CoreFX test has been changed, run-test.sh should be updated too. Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
2017-02-28Fix run-test.sh to pass test-dir listHyeongseok Oh
Can test selected directory using list file or argument
2017-02-16Fix run-test.sh (#16170)Hyeongseok Oh
* Fix run-test.sh This makes run-test.sh work in x64/linux. Remove useless argument and add --runtime argument to pass runtime directory Not works in cross compile yet (ex. build in x64 & run in arm) * Fix run-test.sh remove chmod and check RunTests.sh existing
2017-02-05Trim references to mscorlib.dll from CoreCLR packageJan Kotas
2017-01-06Merge branch master into dev/engJose Perez Rodriguez
2017-01-04Fix casing for native binaries (#14822)chcosta
* Fix casing for native binaries * Convert native bin dir to 'native' from 'Native'
2016-12-15Avoid unintended test runs and errorsSung-Jae Lee
* Skip test runs where doesn`t have test cases for certain target, so generate errors with exit code 127.
2016-11-01run-test.sh: change default value of testRelPathHyeongseok Oh
2016-10-24Change '--testTFM' option to '--testRelPath' and default value in run-test.shHyeongseok Oh
2016-10-07Add '--testTFM' option and set default to netcoreapp1.1 in run-test.shHyeongseok Oh
2016-08-13Add options for running selected testsSung-Jae Lee
* add `--test-dir <path>` : specify a test directory path * add `--test-dir-file <path>` : specify a file that contains test directory list
2016-08-01Add `--sequential` option to `run-test.sh` (#9863)Sung-Jae Lee
for running unit-tests one by one.
2016-06-07Handle a ctrl-c interrupt on test runnerJiyoung Yun
If a ctrl-c interrupt occurs, the test runner will stop and return the total number of failed. Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
2016-05-25Back out change made in 0eb598b in favor of a different solution.Joel Hendrix
After some discussion we have decided to back out the change made in commit 0eb598b and disable the offending tests with multiple target groups. A long-term fix will be submitted later.
2016-05-25Update tests to use NETCoreApp1.0 monikerEric St. John
Requires https://github.com/dotnet/buildtools/pull/751 This makes all the tests resolve using NETCoreApp1.0 instead of DNXCore50. I've removed the netstandard1.6 import since that is no longer needed. I've also removed the workarounds from tests that were targeting netcoreapp1.0 on their own. For restore compat I've added an DNXCore50 import to every test project. These can be removed once test-runtime packages are updated to target NETCoreApp1.0. I've updated all the test scripts which were assuming DNXCore50 as well as docs which referred to this path.
2016-05-24Move tests that don't specify a target group their own directory.Joel Hendrix
Today when a test that specifies a target group is built it will place the output for that target group in a subdirectory of the build with an empty target group; this leads to a race condition in the build when ArchiveTests is set to true. Instead, place each test build in its own directory; and in cases where TargetGroup is empty use netstandard as the subdirectory name. Update the test runner scripts with the new default directory. Pick up latest build tools for some fixes for the official build.
2016-05-05Use hard linking instead of copyingMatt Ellis
Fixes #8029
2016-05-05Update run-tests.[sh|cmd] for universal runnersMatt Ellis
The build now generates a script that actually finishes layout out the tests and invokes CoreRun, so we need to invoke that instead of calling it ourselves.
2016-04-20Fix shell assignment to IgnoreForCIKamil Rytarowski
This form: "A =bcd" has no effect. There mustn't be whitespace between a variable and =.
2016-04-19Update netci and run-test to use the IgnoreForCI trait in JenkinsIan Hays
pdates the netci.groovy and runtest.sh files to pass -notrait Category=IgnoreForCI to build.cmd and run-test.sh in Jenkins so that we can disable tests from running when they're being run in Jenkins.
2016-04-14Fix CI jobs to also work for release/1.0.0-rc2Matt Ellis
The PR job definitions are shared between release/1.0.0-rc2 and master However, in release/1.0.0-rc2, the way you invoke run-test.sh differs from master because we don't have the .builds changes there and hence the test layouts are different. Update the job definitions to use the release/1.0.0-rc2 way of invoking run-test.sh and then update the comment in run-test.sh that explains why we strip some stuff from the test paths in some cases.
2016-04-05Remove UnsupportedPlaforms from run-test.shMatt Ellis
Since #6572 was merged, we only build test projects for the platforms they test. This means the UnsupportedPlatforms metadata is no longer needed (instead using the .builds file to control when the project is built is the right thing to do). Leverage this in run-test.sh, we now simply loop over all the tests in the relevent folders under bin/tests, depending on the platform in question.
2016-04-05Trim trailing whitespaceMatt Ellis
2016-03-31Adding builds files for the test projectsJonathan Miller
2016-03-19Make CI outerloop runs to test both innerloop and outerloop tests.Lakshmi Priya Sekar
2016-03-02Separate linux outerloop OSes that can't build into new outerloop job.Lakshmi Priya Sekar
2016-02-28Remove additional attribution of maxProcessesKamil Rytarowski
It's leftover from #6491
2016-02-28Introduce new test target OS: NetBSDKamil Rytarowski
2016-02-24Ensure LANG is set when running tests on Unixstephentoub
Various tests depend on CurrentCulture, and when run in the service in CI, LANG is defaulting to empty which then causes the locale to default to "POSIX", which causes problems for some of the expectations in various tests. This ensures that LANG is set.
2016-02-20Enable Environment.FailFast stderr output in run-test.shStephen Toub
coreclr will print out the Environment.FailFast message to stderr, but only when the PAL_OUTPUTDEBUGSTRING environment variable is set. I'm setting it in run-test.sh so that fail fasts in CI and other test runs will show something in the log.
2016-02-10Enable Server GC for Ubuntu Debug CI builds on PRsWilliam Godbe
2015-12-30Change Configuration to ConfigurationGroup in our build and test scriptsWes Haggard
2015-12-09Add "error:" prefix to error messages from run-test.shStephen Toub
Without these, it can be difficult to spot the cause of an error in an output log.
2015-11-08Disable running Benchmarks as part of unit tests on Unixstephentoub
https://github.com/dotnet/buildtools/pull/332 disabled running benchmarks as part of unit tests, but only on Windows. They're still running on Linux and OS X, and are causing builds to timeout, e.g. the Process tests are currently taking over 5 minutes: ``` 11:03:02 System.Diagnostics.Process.Tests Total: 77, Errors: 0, Failed: 0, Skipped: 0, Time: 318.916s ```
2015-10-07Mark corerun as executableMatt Ellis
2015-10-07Remove CoreFX copying step in run-test.shMatt Ellis
Now that we can properly restore cross platform binaries when building out the test library, we no longer need the the step where we copy over the Linux product build to the overlay. There was some other overlay related stuff that we could remove as well (e.g. the need for picking up the test host from a seperate place). We continue to copy the runtime itself and the native corefx bits. In time we should remove the copy of the runtime and mscorlib.dll (but for now we continue to use it to speed up the rate at which we can implement features in CoreCLR and test them in CoreFX, since if we we used the runtime that came down from NuGet it would always be at least a day old). I have also changed the defaults of run-test.sh to ease folks doing local development (e.g. it defaults to $OS for the version of the test binaries instead of always using Windows versions). In addition, I updated build.sh to set TestNugetRuntimeId to ubuntu.14.04-x64 or osx.10.10 if you are building on "Linux" or "Darwin". Obviously this is not complete because we don't actually try to figure out your distro and version but it better than just deploying windows stuff when building the test runtimes and run-test.sh will replace all the native bits which is the major thing that changes anyway.
2015-10-06Write a message when an xUnit invocation failsMatt Ellis
Previously finding out which xunit projects failed was difficult because unlike Windows we didn't write a message when xUnit returned with a non zero exit code. In cases where tests failed, it was somewhat easy to search the logs for xUnits "a test failed" messages but if the runtime crashed, things were much harder. Update run-test.sh to write an error message in the same style as what we do on windows as part of the xUnit invocation from MSBuild. While I was in the area, I reduced some noise in the log by pushing the output of a grep for supported platforms to /dev/null. We print a message anyway when we detect a project is unsupported, so the output of grep is not interesting.
2015-10-01Don't copy WP8 aseemblies to test overlayMatt Ellis
Before we moved to using packer to slim down our test drop, we had Jenkins exclude the System.Threading.Tasks.Dataflow.WP8 assemblies when uploading build artifacts. This meant that the OSX and Linux jobs would never copy them down and hence they could not be picked up by run-test.sh (and overwrite the correct version of System.Threading.Tasks.Dataflow when building the test overlay). With packer, we now archive everything, so depending on the order in which find discovered files, we may have copied over the WP8 version, which does not have ETW support. For now, update run-test.sh to exclude this folder when copying stuff over. The correct long term fix is to just do what we do on Windows (have the build produce the correct test layouts and get out of this run-test.sh test overlay game). Fixes #3520
2015-09-18Test: Fixes for FreeBSD in run-test script.P. Jass
2015-09-16Add exclusion for ToolRuntime directory in the linux test scriptWes Haggard
2015-09-11Merge pull request #3170 from Sridhar-MS/coreclr-code-coverageMatt Mitchell
Add options to run-test.sh to generate code coverage reports for coreclr
2015-09-11Add options to run-test.sh to generate code coverage reports for coreclrSridhar Periyasamy
Changes in run-test.sh to download the unix code-coverage report generator tools from myget package 'unix-code-coverage-tools.1.0.0.nupkg' and use them to generate html style graphic code-coverage reports for coreclr.
2015-09-10Change to find syntax instead of globstarMatt Mitchell
OSX doesn't have bash version 4, so globstar doesn't work. Use find -regex instead.
2015-08-07Remove mscorlib.ni.dll before running testsMatt Ellis
The test layout folder that is created when we run tests includes an mscorlib native image. This native image is specific to windows (since we use the windows version of the runtime when building a test layout, even when building a test layout for Linux or OSX) and the runtime will not boot if it is present. When we run tests from CI, we instruct Jenkins to not copy native images, but if you are running tests by hand you need to either make sure you don't copy native images over or remove them before running tests. With more folks wanting to use run-test.sh by hand, we should just make run-test.sh responsible for cleaning up these native images. Fixes #2605
2015-08-04Merge pull request #2617 from mmitche/use-built-live-bitsMatt Mitchell
Remove run-test native binaries workaround
2015-08-04Remove run-test native binaries workaroundMatt Mitchell
Becuase of a lack of a native binaries build leg, we were building the native corefx binaries during run-test. Now that we have those legs in CI, we can remove the workaround.