![]() |
Blitz Support : |
From: Julian Cummings (cummings_at_[hidden])
Date: 2005-06-16 14:02:41
Hi David,
_____
From: blitz-support-bounces_at_[hidden]
[mailto:blitz-support-bounces_at_[hidden]] On Behalf Of David L Goldsmith
Sent: Tuesday, June 14, 2005 11:38 AM
To: blitz-support_at_[hidden]
Subject: [Blitz-support] How to use the testsuite w/ the .NET package
Hi! I built blitz0.8 in Visual Studio .NET 2003 apparently w/ no problem (I
think I saw one warning flash across the screen as it was building). I
assume running the testsuite would help substantiate this success - my
questions are:
A) How to do this (does the furnished .NET sln file automatically run all
the testsuite apps as part of the build process? Would the IDE have
signaled me if there were some runtime problem w/ the testsuite? I ran some
of the testsuite executables at a command prompt and noted that some (but
not all) generate output; then I looked at the html build logs of some of
these apps that produced output, but didn't see their output in the build
logs.)?
The solution file only builds the testsuite codes. There does not seem to
be a nice way to get the IDE to also run the testsuite codes. It expects
there to be one "primary" project that is built first and run first. If you
mark all of the testsuite codes as primary projects, then when you click on
Run, the IDE tries to run all of the testsuite codes simultaneously rather
than sequentially and chaos ensues. I guess what is needed is some simple
script that would run each testsuite code in succession. For now, you must
run them manually at the command prompt as you did.
B) Which testsuite apps are supposed to produce output (not all of the apps
whose source code appears to contain the << operator appear to produce
output) and what should that output be (e.g., running ABA1 produces
psiElem = 3
[ -0.121991 -0.0991188 -0.16475 ]
psi_max = -0.0991188
Is this correct? What about the others?)?
To no avail, I looked for answers in the doc, as well as by searching the
oonumerics.org site. IMHO, this is info that should be in the doc.
Yes, we should probably produce output files for the testsuite codes that
produce output and include it in the distribution. Most of the testsuite
codes simply perform some assertions, so if the code does not abort,
everything is OK.
-- Julian C.
Dr. Julian C. Cummings Office: PB-111
Caltech/CACR, MC 158-79 Phone: 626-395-2543
1200 E. California Blvd. Fax: 626-584-5917
Pasadena, CA 91125
Thanks!
David Goldsmith
-- HMRD/ORR/NOS/NOAA <http://response.restoration.noaa.gov/intro/orr.html#hmrd>