Your test processes should of course include a test phase where only
production software is being tested. Driver verifier, checked builds of
anything, etc. are not appropriate for this level of testing.
I tend to leave DV on with default settings for all developer run unit
testing and integration testing. It catches stupid code change induced
errors early. You do have to remember to turn it off when it is
inappropriate to be running though.
Also it is a good idea to get prefast integrated into your build process
and to spend the time to get a baseline clean prefast build. Once again,
by having this tool run automatically it will pick up new code change
errors before they become embedded in the code.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of MM
Sent: Monday, October 16, 2006 7:28 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Driver Verifier always on during development ?
one possibility for you to consider is to create duplicate projects.
keep a master one that always has
verifier running on it, and the duplicate is the one where you conduct
code test.
“also your customers are running without it” - you better hope your
custermers don’t run with it; your
suppose too so they don’t have too. If THEY have too, watch out, they
ain’t going to be happy…
m.
Daniel Terhell wrote:
Driver Verifier is an indispensable tool for finding all kinds of
problems
but I am getting more reluctant always put it on all the time
throughout the
development stage because I found it can be my enemy as well.
It may be good practice for certain kinds of drivers, but if you wish
to
test the logic and functionality of your driver it may become very
unhandy
if small pool allocations fail and
all kinds of things that normally go right suddenly go wrong so you may
never get into the situation in which you are able to test the logic
and
functionality of your driver because the rare case code paths you are
focusing on are never being reached. In the case you are testing a
recursive
function for instance, because all kinds of simple things go wrong the
function is not called as often running under Verifier as without so
you may
never reach the situation in which you run out of stack space. I just
realized this, wasting a lot of hours completely forgetting that
Verifier
was still on. Drivers behave completely different under Verifier, also
your
customers are running without it. My opinion is that one should not put
it
on blindly and also never forget that it is on.
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer