alex_razv[CodePlex]
Hi,
I want to integrate chutzpah with my build system but I got an exception bellow when try to run application from nant. Do you have any idea why it happens
[exec] Chutzpah console test runner (64-bit .NET 4.0.30319.237)
[exec] Copyright (C) 2011 Matthew Manela (http://matthewmanela.com).
[exec] chutzpah.dll: Version 2.0.0.136
[exec] Tests complete: 1
[exec] Tests complete: 2
[exec] Tests complete: 3
[exec] Tests complete: 4
[exec] System.AggregateException: One or more errors occurred. ---gt System.IO.IOException: The handle is invalid.
[exec] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
[exec] at System.Console.GetBufferInfo(Boolean throwOnNoConsole, Booleanamp succeeded)
[exec] at Chutzpah.RunnerCallbacks.StandardConsoleRunnerCallback.ClearCounter()
[exec] at Chutzpah.RunnerCallbacks.StandardConsoleRunnerCallback.ExceptionThrown(Exception exception, String fileName)
[exec] at Chutzpah.Callbacks.ParallelRunnerCallbackAdapter.ExceptionThrown(Exception exception, String fileName)
[exec] at Chutzpah.TestRunner.ltgtc__DisplayClass2.ltProcessTestPathsgtb__1(String testFile)
[exec] at System.Threading.Tasks.Parallel.ltgtc__DisplayClass322.ltPartitionerForEachWorkergtb__30() [exec] at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) [exec] at System.Threading.Tasks.Task.ltgtc__DisplayClass7.ltExecuteSelfReplicatinggtb__6(Object ) [exec] --- End of inner exception stack trace --- [exec] at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) [exec] at System.Threading.Tasks.Task.Wait() [exec] at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner
1 source, ParallelOptions parallelOptions, Action1 simpleBody , Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally) [exec] at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable
1 source, ParallelOptions parallelOptions, Action1 body, Action
2 bodyWi
thState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally) [exec] at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable
1 source, ParallelOptions parallelOptions, Action1 body) [exec] at Chutzpah.TestRunner.ProcessTestPaths(IEnumerable
1 testPaths, TestOptions options, TestRunnerMode testRunnerMode, ITestMethodRunnerCallback callbac
k)
[exec] at Chutzpah.TestRunner.RunTests(IEnumerable1 testPaths, TestOptions options, ITestMethodRunnerCallback callback) [exec] at Chutzpah.Program.RunTests(CommandLine commandLine) [exec] at Chutzpah.Program.Main(String[] args) [exec] ---gt (Inner Exception #0) System.IO.IOException: The handle is invalid. [exec] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) [exec] at System.Console.GetBufferInfo(Boolean throwOnNoConsole, Booleanamp succeeded) [exec] at Chutzpah.RunnerCallbacks.StandardConsoleRunnerCallback.ClearCounter() [exec] at Chutzpah.RunnerCallbacks.StandardConsoleRunnerCallback.ExceptionThrown(Exception exception, String fileName) [exec] at Chutzpah.Callbacks.ParallelRunnerCallbackAdapter.ExceptionThrown(Exception exception, String fileName) [exec] at Chutzpah.TestRunner.ltgtc__DisplayClass2.ltProcessTestPathsgtb__1(String testFile) [exec] at System.Threading.Tasks.Parallel.ltgtc__DisplayClass32
2.ltPartitionerForEachWorkergtb__30()
[exec] at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
[exec] at System.Threading.Tasks.Task.ltgtc__DisplayClass7.ltExecuteSelfReplicatinggtb__6(Object )lt---
BUILD FAILED