Commit Graph

23 Commits

Author SHA1 Message Date
Doug Bunting d679c85aa3 Always restore w/ Core CLR and build w/ CLR or Mono
- #290
- remove workaround for aspnet/dnx#2566; not needed if building with CLR or Mono
- install Core CLR DNX in `build.sh`
  - must be applied in all repos using Travis before this PR goes in
- add `Dnu()` and `Dnx()` macros
  - remove `K()` macro from `_k-test.shade`; use `Dnx()` instead
- incorporate per-repo changes not yet applied to Universe templates
  - use newer `NuGet.exe`
  - Universe itself does not need the Korebuild package or `dnvm`

Changes partially revert 618a73b e.g. always start build with CLR or Mono DNX

nits:
- reduced DNX switches and `dnvm` calls in `build.cmd`
- base NuGet skip decision on _both_ KoreBuild and Sake's installation status
- make `Quiet` variable work more reliably; small changes often led to compilation problems
  - requires a small change in DNX repo at the same time
- remove some trailing whitespace and tabs
- add a bit more description to `_k.shade`
2015-10-12 10:02:18 -07:00
Doug Bunting 618a73b399 Support building with Core CLR (on Linux)
- hits all of the checkboxes in #272

Specify test runtime explicitly and support testing w/ DNX Core on Linux
- turn on DNX Core on Linux testing with `--test-dnxcore` target
  - or `KOREBUILD_TEST_DNXCORE` environment variable

Work around aspnet/dnx#2566
- builds fail with DNX Core on Linux otherwise

Do not attempt to install nodejs if not on Windows

Use user's `default` DNVM when `%SKIP_DNX_INSTALL%` defined on Windows
- enables builds with DNX Core
- should be the default for new repos; older repos can opt in

Use consistent case for all `--quiet` environment variables
  - also name these variables consistently; start w/ `KOREBUILD_`
- environment variables are case-sensitive on Linux and mixed case was annoying
- also get rid of leading space in these environment variable values

Check `IsLinux` and not `IsMono`
- `IsMono` is always `true` on Linux since Sake always runs in Mono there
  - but `IsLinux` is the right question

nits:
- remove tabs from a few files
- remove compilation warnings in local `makefile.shade`
2015-10-05 23:02:50 -07:00
Pranav K 1b6d027fc1 Using Json parsing code from DNX
Fixes #141
2015-09-01 15:44:44 -07:00
mikary e3bccdb3b1 Support single threaded running of specific test projects through environment 2015-05-12 14:37:47 -07:00
Pranav K d457b54a36 Avoid running tests for different target frameworks in parallel.
This lets us run more things in parallel which involve shared resources.
2015-04-30 11:28:04 -07:00
Pranav K 4882269842 Adding support for running build in parallel. 2015-04-30 08:28:42 -07:00
N. Taylor Mullen bd14c064e9 Fix DNX naming issue for 'k test'.
- This re-enables CoreCLR testing when running build.cmd.
2015-03-18 13:35:59 -07:00
Troy Dai e46896b7cd Futher renaming work
1. SKIP_KVM_INSTALL => SKIP_DNX_INSTALL
2. Update k test
2015-03-07 16:08:24 -08:00
Troy Dai 197ef48120 Rename k => dnx and update kvm to dnvm 2015-03-07 15:10:32 -08:00
Brice Lambson 7c2d4593de Clean up the framework detection logic in _k-test.shade 2015-02-23 09:27:53 -08:00
Wei Wang 6c55b360d0 Rename dotnetsdk to kvm 2015-01-28 16:31:17 -08:00
Suhas Joshi 19de5f1be1 Fix for test hang issue 2015-01-27 10:06:14 -08:00
Pranav K 361f083117 Updating build scripts to use dotnetsdk instead of kvm 2015-01-20 00:29:57 -08:00
David Fowler d8eb06c0f0 Updated kvm to the latest
- Added -runtime switch
2014-09-05 01:10:26 -07:00
Brice Lambson 293c761eaf Run tests targeting aspnet* frameworks 2014-08-29 10:12:28 -07:00
David Fowler c27ba5f00f Made some tweaks to k test
- Change to look in frameworks instead of configurations when
  running tests
- Assume net45 if nothing specified
2014-07-13 22:24:47 -07:00
Brice Lambson efd257a7be Run tests on both k10 and net45 2014-06-25 09:46:41 -07:00
Brice Lambson 9774d4531f Revert "Run tests on both net45 and k10 (Fix #42)"
This reverts commit c2a22b57b0.
2014-06-09 15:46:27 -07:00
Brice Lambson c2a22b57b0 Run tests on both net45 and k10 (Fix #42) 2014-06-09 14:18:41 -07:00
Louis DeJardin 60267a3a22 Temporarily disabling k10 xunit runs 2014-05-02 17:14:17 -07:00
AndriySvyryd 6cb896dc0f asf 2014-05-01 12:42:21 -07:00
AndriySvyryd 85a9af832e Run tests for all configured platforms 2014-04-30 12:10:06 -07:00
Brice Lambson 9d6b227226 Run tests during build 2014-03-07 17:26:11 -08:00