summaryrefslogtreecommitdiff
path: root/tests/src/CLRTest.Execute.Bash.targets
AgeCommit message (Collapse)AuthorFilesLines
2018-08-24Use runtest.py to run tests for all platforms (#19213)Jarret Shook1-5/+8
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-17Enable Tiered Compilation by default (#19525)Koundinya Veluri1-3/+9
Enable Tiered Compilation by default 1) Changes the default state of the tiered compilation feature check to be ON BY DEFAULT 2) Removed comments about the source about this being a work in progress. Although it will surely continue to evolve and improve, remaining issues would be better tracked in our issue tracking system with the same default presumption as other runtime features - assume it works unless noted otherwise. 3) Adjusts a number of tests and automated scripts that made assumptions that the default setting of this feature is off. 4) Stop accepting the deprecated env var COMPLUS_EXPERIMENTAL_TieredCompilation. I'm not aware it has any remaining usage but if so we're going to find out. 5) Adjust config names for JitBench
2018-04-03Increase crst level for ReadyToRunInfo's map lock (#17376)Koundinya Veluri1-1/+2
Fixes regex-redux-1 failure seen in https://github.com/dotnet/coreclr/issues/15309 - HashMap lookups and insertions occur under a level 0 lock and may enter cooperative GC mode inside the lock. A GC that is triggered may delete some dynamic code, which takes another level 0 lock. It does not look like it's possible for a deadlock as a result. - Fixed by increasing the crst level for the lock used in ReadyToRunInfo
2018-03-28Removing 'EXPERIMENTAL' from tiered compilation env var (#17283)Noah Falk1-2/+2
Things have progressed far enough that its time to use a friendlier name. The feature still still has performance aspects that need to be investigated and improved, but I don't want to scare people off simply because it isn't as fast as it could be. This also updates to use a newer CoreFX version for JitBench since that appeared to be broken, and updated some comments and usage of the tieredcompilation variable.
2017-08-15Make unit tests run clean with tiered compilationnoahfalk1-3/+3
A handful of tests are optimization sensitive and needed to be disabled because tiered jitting doesn't optimize right away. There was also a shutdown timing issue where the tiered jitting background compilation thread would continue calling into the JIT after the JIT was shutdown. This manifested as an error writing to the jit log after the stream had been closed.
2017-06-15Fix timing issues in some baseservices testswtgodbe1-1/+7
2017-06-15Revert "Add the arm64 unix CI"Jarret Shook1-14/+2
2017-06-12Add the arm64 unix CIjashook1-2/+14
This will enable unix arm64 testing in CI. Currently there are no default tirggers; however, anyone will be able to request the jobs.
2017-05-29Make linux test build workedRoman Artemev1-6/+2
2017-05-22Revert "Fixed tests build on Linux"Russ Keldorph1-3/+6
2017-05-19Test build fixes for LinuxRoman Artemev1-6/+3
2017-05-16Disable opt-sensitive tests under tailcall stress and balance pushd. (#11658)Pat Gavlin1-2/+2
Just what it says on the tin.
2017-04-26Refactor ildasm round trip logicSven Boemer1-44/+5
This change factors the Ildasm round trip logic so that it should not require a separate test build. The ildasmroundtrip flag is no longer passed to build-test.cmd; instead the wrapper scripts are always generated with a check for an environment variable that can be set from runtests. Also remove separate test build for ilrt in the ci scripts
2017-04-04Fix invocation of ILLink in linux testingSwaroop Sridhar1-1/+1
Fix the input to illink -a argument to not include the extension. The current command line caused silent wrong code gneration because of https://github.com/mono/linker/issues/56
2017-03-29Fix some bugs in Linux ILLINK testing.Swaroop Sridhar1-8/+11
Fix a few problems in the <test>.sh generation for running CoreCLR tests on Linux via ILLINK
2017-03-28Add support for CoreCLR testing via ILLINK on LinuxSwaroop Sridhar1-26/+120
Made changes to the test infrastructure to 1) Generate <test>.sh with commands to invoke ILLINK and run the output 2) Add runtest.sh --link=<path-to-illink> to invoke the ILLINK testing
2017-03-21Merge pull request #10254 from sdmaclea/PR-FIX-SCRIPT-ERRORAditya Mandaleeka1-2/+2
Fix script ERRORLEVEL typo
2017-03-20Fix another per code reviewSteve MacLean, Qualcomm Datacenter Technologies, Inc1-1/+1
2017-03-17Delete unused ReferenceLocalMscorlib property from test proj files (#10250)Jan Kotas1-2/+0
Deleted a few other irrelevant properties as well while I was on it. Fixes #7711
2017-03-17Fix script ERRORLEVEL typoSteve MacLean, Qualcomm Datacenter Technologies, Inc1-1/+1
2017-02-14Return exit code 0 for long-running/GCSimulator tests in Helixwtgodbe1-4/+8
2017-02-10[Unix] Skipped tests should report exit code 2 (#9510)Steve MacLean1-3/+3
2017-02-06Change /bin/bash to usr/bin/env bashWilliam Godbe1-1/+1
2017-02-03Add #!\bin\bash to beginning of shell test scriptswtgodbe1-0/+1
2016-11-21Enable jit disasm in test scriptsSven Boemer1-1/+2
This change adds a section to the generated bash/cmd scripts for each test that will run jit-dasm on the test dll when runtests is invoked with the jitdasm flag. Also begin updating netci.groovy to support jit-diff scenario. Other minor fixes: - Add corefxlab feed for System.CommandLine test dependency Without this, restoring the test dependencies retrieved an obsolete package of the same name from nuget.org. - Skip jit-diff job generation for arm This fixes an assert that was checking that we are in the default scenario on arm. - Fix an assert in netci.groovy - Add branch that skips non-checked configurations for jitdiff scenario. - Fix some dasm failures and a typo in dasm job name - Some jit-dasm runs were failing because the dependencies in the current directory wasn't included in the arguments. - Escape argument to jit-dasm - increase timeout for jit-diff job - Put PR job under a trigger, and some temporary changes for testing - Make PR trigger look for comment - Update Newtonsoft.Json version for compatibility with cijobs - Update cijobs version for retrieving job by commit - Temporarily run only one test - Archive raw dasm output instead of zip - Remove pr-specific logic, enable framework dasm - Remove windows System.Private.CoreLib.ni.dll from test overlay The new test runtime dependencies were placing System.Private.CoreLib.ni.dll in the core_root directory, which resulted in the native image for windows being placed in the coreoverlay directory. We already had similar logic handling this case for mscorlib.ni.dll. This change also fixes the framework dasm output directory to match the test dasm output directory, and fixes some typos in the generated .sh files for running dasm on linux. - Add dasm archiving on non-windows jobs - Use core_root in bash scripts
2016-11-17Exclude tests that timeout with HeapVerifyMichelle McDaniel1-0/+8
2016-06-10Remove need for longgc and gcsimulator tests to have their own buildSean Gillespie1-11/+1
2016-05-27Second attempt to properly modify environment for stress test modesRuss Keldorph1-2/+4
My amateurish bash skills are showing. I forgot that you have to source a script to modify the environment, though, to be fair, this line was already here when I got here. :)
2016-05-26Fxing the case of COMPlus_GCStressRama Krishnan Raghupathy1-4/+0
Removing Build dependency for GC Stress
2016-05-17Guard Crossgen Test Runtime logic with RunCrossGen EnvRama Krishnan Raghupathy1-38/+23
Adds Semaphores to prevent race conditions
2016-05-13Removing Redundant Projects that are BuildOnly :Rama krishnan Raghupathy1-31/+30
RunOnly Projects should refer to only BuildAndRun projects BuildOnly projects are to be used only for Non-Execution cases and custom execution drivers
2016-05-03Merge pull request #4721 from swgillespie/gcsimulatorSean Gillespie1-0/+11
Add a "GCSimulator" CI run
2016-05-03GCSimulator test runSean Gillespie1-0/+11
2016-04-28Embrace bash message with " (#4633)Jonghyun Park1-1/+1
This commit tries to fix #4631.
2016-04-22Add a "playlists" flag to runtests.sh that will run a list of testsSean Gillespie1-5/+0
2016-04-11Create Long-running GC test job for the CISean Gillespie1-0/+5
2016-04-04Fix to add error checks for crossgen compilationGaurav Khanna1-5/+18
2016-03-16Enable tests to run under a specified GCStress modeGaurav Khanna1-5/+7
2016-03-12Add test mode exclusionsRuss Keldorph1-0/+17
Add the ability to exclude individual tests that are incompatible with certain test modes. If a test is incompatible with or too slow under GCStress, add <GCStressIncompatible>true</GCStressIncompatible> as a property to the test's project file. If a test requires optimization or is sensitive to precise optimization patterns, use <JitOptimizationSensitive>true</JitOptimizationSensitive>
2016-02-02Enable ready to run tests on UnixJan Vorlicek1-3/+13
This change enables running ready to run tests on Unix.
2016-01-01Enable ilasm round trip test for xPlatformsKyungwoo Lee1-10/+54
1. Enable CLRTest.Execute.Bash.targets similar to CLRTest.Execute.Batch.targets. 2. _IlasmSwitches uses '-' instead of '/' 3. Disable optimization on the prebuilt asmparse.c due to https://github.com/dotnet/coreclr/issues/2305
2015-11-24Merge pull request #2132 from AndyAyersMS/FixLinuxTestScriptAditya Mandaleeka1-3/+3
Fix generated test script to properly check for debugger
2015-11-21Fix generated test script to properly check for debuggerAndy Ayers1-3/+3
Also tried fixing the generated help to show that you need `=`. This should be conditional based on `HasParam` but since there is only one switch it works for now.
2015-11-20Replace double quotes around test arguments with single quotes.Aditya Mandaleeka1-1/+1
2015-11-02Fixing PR1-RunOnly Linux TestsBryan Arant1-17/+75
2015-10-15Changes to Test InfrastructureKoundinya Veluri1-6/+5
The following changes are being submitted in order to prepare for a large collection of tests to be ported from the internal legacy test tree. - Adds "build kinds" to the test tree. - Adds some documentation for the test tree - Adds a Test Priority feature (see documentation Documentation/project-docs/tests.md for more information. - Dropped the cs_template.csproj types and converted to individual CSProject files.
2015-09-29Improve CoreCLR test runner outside WindowsKoundinya Veluri1-24/+2
CoreCLR tests will need to be built on Windows and copied over to a non-Windows machine. Then, coreclr/tests/runtest.sh along with some switches can be used to run the tests. Changes: - Run tests in parallel by default (use --sequential to force sequential mode) - Update Windows test build to produce the Windows core overlay that includes test dependencies that are not built - Add a number of switches (see coreclr/tests/runtest.sh for details) to provide locations of: - The Windows test build - The CoreCLR native test build - Either: - This: - The core layout (including all of the below) - Or: - The CoreCLR build - mscorlib.dll - The CoreFX build - The CoreFX native build - Using information from above, build or use the core layout, and copy native test binaries to the respective test directories - Add --testDir to specify an inclusive list of test directories to run - Add text files to exclude tests: - coreclr/tests/testsUnsupportedOutsideWindows.txt - Tests that are not supported outside Windows - coreclr/tests/testsFailingOutsideWindows.txt - Tests that are known to fail outside Windows and are temporarily disabled while they are investigated - Add --runFailingTestsOnly to run only the tests listed in coreclr/tests/testsFailingOutsideWindows.txt to verify known failures - Produce xUnit-style output for the CI, output goes into <Windows test build folder>/coreclrtests.xml
2015-09-15Handle pre- and post-commands gracefully in bash execution scripts.Aditya Mandaleeka1-6/+34
Existing tests can specify pre- or post-commands that are injected into the execution scripts. However, today these are all using Windows syntax so they break the bash scripts. We will handle that by skipping any tests that are using pre- or post-commands unless they specify the bash-specific equivalent. The scripts will continue to run and just exit with an exit code that indicates a skip, so that the skipped tests are tracked and not just hidden. Also, this change moves the global pre-command that was being added for running __TestEnv into the bash/batch targets rather than in the dir.props file that is used for all platforms.
2015-09-15Enable bash run scripts to handle tests with multiple arguments.Aditya Mandaleeka1-1/+1
2015-09-15Enable coreclr tests to run on Unix with corerun.Aditya Mandaleeka1-4/+8