From 92533c59d2ee2ed24122ee3c86d9956e17b96d25 Mon Sep 17 00:00:00 2001 From: Victor Milovanov Date: Sat, 22 Feb 2020 00:09:04 -0800 Subject: [PATCH 1/2] update test dependencies to the latest stable versions --- src/embed_tests/Python.EmbeddingTest.15.csproj | 13 ++++++++----- src/embed_tests/Python.EmbeddingTest.csproj | 10 ++++++++-- src/embed_tests/packages.config | 4 ++-- src/perf_tests/Python.PerformanceTests.csproj | 9 ++++++--- 4 files changed, 24 insertions(+), 12 deletions(-) diff --git a/src/embed_tests/Python.EmbeddingTest.15.csproj b/src/embed_tests/Python.EmbeddingTest.15.csproj index 4f6b2de46..126bc5b63 100644 --- a/src/embed_tests/Python.EmbeddingTest.15.csproj +++ b/src/embed_tests/Python.EmbeddingTest.15.csproj @@ -77,13 +77,16 @@ - - - - + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + - + diff --git a/src/embed_tests/Python.EmbeddingTest.csproj b/src/embed_tests/Python.EmbeddingTest.csproj index faa55fa27..ffdbcbabe 100644 --- a/src/embed_tests/Python.EmbeddingTest.csproj +++ b/src/embed_tests/Python.EmbeddingTest.csproj @@ -70,8 +70,8 @@ - - ..\..\packages\NUnit.3.7.1\lib\net40\nunit.framework.dll + + ..\..\packages\NUnit.3.12.0\lib\net40\nunit.framework.dll @@ -126,4 +126,10 @@ + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + diff --git a/src/embed_tests/packages.config b/src/embed_tests/packages.config index 8c175f441..7a3fb37c4 100644 --- a/src/embed_tests/packages.config +++ b/src/embed_tests/packages.config @@ -1,5 +1,5 @@ - - + + diff --git a/src/perf_tests/Python.PerformanceTests.csproj b/src/perf_tests/Python.PerformanceTests.csproj index 1231cef69..25af89db0 100644 --- a/src/perf_tests/Python.PerformanceTests.csproj +++ b/src/perf_tests/Python.PerformanceTests.csproj @@ -11,14 +11,17 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + compile From 28e179e489ea5b79d56c927df7cdbf69408928b2 Mon Sep 17 00:00:00 2001 From: Victor Milovanov Date: Sun, 23 Feb 2020 12:11:35 -0800 Subject: [PATCH 2/2] print C# embed test names as they run in CI --- .travis.yml | 2 +- ci/appveyor_run_tests.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c69ccbc5d..d728d9a2d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,7 +44,7 @@ install: script: - python -m pytest - - $RUN_TESTS src/embed_tests/bin/$EMBED_TESTS_PATH/Python.EmbeddingTest.dll + - $RUN_TESTS src/embed_tests/bin/$EMBED_TESTS_PATH/Python.EmbeddingTest.dll --labels=All # does not work on Linux, because NuGet package for 2.3 is Windows only # - "if [[ $TRAVIS_PYTHON_VERSION == '3.5' && $PERF_TESTS_PATH != '' ]]; then mono $NUNIT_PATH src/perf_tests/bin/$PERF_TESTS_PATH/Python.PerformanceTests.dll; fi" diff --git a/ci/appveyor_run_tests.ps1 b/ci/appveyor_run_tests.ps1 index cb1c68eed..bd90943d5 100644 --- a/ci/appveyor_run_tests.ps1 +++ b/ci/appveyor_run_tests.ps1 @@ -55,7 +55,7 @@ if ($PYTHON_STATUS -ne 0) { # Run Embedded tests with C# coverage Write-Host ("Starting embedded tests") -ForegroundColor "Green" .$OPENCOVER -register:user -searchdirs:"$RUNTIME_DIR" -output:cs.coverage ` - -target:"$CS_RUNNER" -targetargs:"$CS_TESTS" ` + -target:"$CS_RUNNER" -targetargs:"$CS_TESTS --labels=All" ` -filter:"+[*]Python.Runtime*" ` -returntargetcode $CS_STATUS = $LastExitCode