Re: nunit-console-x86 exit codes

"Charlie Poole" <[email protected]> Fri, 18 Jul 2008 16:50:13 -0700
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <00ce01c8e931$086ed650$6401a8c0@ferrari>
Correct. Here's the full list from the source:
 
INVALID_ARG = -1
FILE_NOT_FOUND = -2
FIXTURE_NOT_FOUND=-3
UNEXPECTED_ERROR=-100
 
Note that an UNEXPECTED_ERROR means an unhandled exception
that arose while running your tests. This can usually only happen if you 
are creating threads and one of them throws an exception.
 
Charlie


  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Wade Barnes
Sent: Friday, July 18, 2008 4:35 PM
To: [email protected]; [email protected]
Subject: Re: [Nunit-users] nunit-console-x86 exit codes



Hi Scott,

 

The error code -100 indicates there where unhandled exceptions encountered
during the unit tests.

 

I don't recall running across any other negative error codes; could be
wrong.

 

Wade

 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: July 17, 2008 6:04 AM
To: [email protected]
Subject: [Nunit-users] nunit-console-x86 exit codes

 

Hi

 

When running a test suite that generates one test failure I get the output:
"nunit-console-x86.exe" exited with code -100

 

----

 

After some research it is my understanding that:

 

exit code 0 == success

 

exit code >0 == test failures (with the return code being equal to the
number of tests that failed)

 

The problem is that I cannot find a listing of what the negative exit codes
relate to. Admittedly I just need the message for exit code -100 but it
would be good to get the complete listing.

 

Thanks,

-Scott

 


____________________________________________________________________
DISCLAIMER

This message and any attachments contain privileged and confidential
information intended for the use of the addressee named above. If you are
not the intended recipient of this message, you are hereby notified that any
use, dissemination, distribution or reproduction of this message is
prohibited. Please note that we cannot guarantee that this message or any
attachment is virus free or that it has not been intercepted and amended.
The views of the author may not necessarily reflect those of Realtime Worlds
Ltd.



Realtime Worlds Ltd is registered in Scotland, number 225628. Registered
Office: 152 West Marketgait, Dundee, DD1 1NJ.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Nunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-users