From 9c26eeadf7c72b00f642eef8713c4eea86ae8594 Mon Sep 17 00:00:00 2001 From: Hovsep Mkrtchyan Date: Thu, 19 May 2016 18:47:27 -0700 Subject: [PATCH] Added AcceptanceTestPath to the exception message. --- .../CSharp/CSharp.Tests/Utilities/ServiceController.cs | 4 ++-- gulpfile.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Utilities/ServiceController.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Utilities/ServiceController.cs index 88536dc0baf05..a35f84fd66e7b 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Utilities/ServiceController.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Utilities/ServiceController.cs @@ -169,8 +169,8 @@ public void StartServiceProcess() else { throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, - "Failed to start {0} {1} .", - npmPath, NpmArgument)); + "Failed to start {0} {1} '{2}'.", + npmPath, NpmArgument, AcceptanceTestsPath)); } } } diff --git a/gulpfile.js b/gulpfile.js index 2c436eea03aed..356feb9a6f668 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -564,7 +564,7 @@ var xunitNetCoreXproj = [ var defaultShellOptions = { verbosity: 3, env: { - AUTOREST_TEST_SERVER_PATH: path.resolve('AutoRest/TestServer') + AUTOREST_TEST_SERVER_PATH: path.resolve('./AutoRest/TestServer') } }; @@ -657,6 +657,7 @@ gulp.task('test', function(cb){ runSequence( 'test:xunit', 'test:clientruntime', + 'test:nugetPackages', 'test:node', 'test:node:azure', 'test:ruby', @@ -665,7 +666,6 @@ gulp.task('test', function(cb){ 'test:java:azure', 'test:python', 'test:python:azure', - 'test:nugetPackages', cb); } else { runSequence(