CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   applications/test (http://www.cfd-online.com/Forums/openfoam-bugs/70283-applications-test.html)

egp November 19, 2009 07:12

applications/test
 
Some of the tests in $WM_PROJECT_DIR/applications/test do not compile. They include the following:

CompactListList
DimensionedField
FixedList (compiles with 1.6, but not 1.5-dev)
LduMatrix (doesn't exist with 1.6)
ODETest
readCHEMKINIII (compiles with 1.6, but not 1.5-dev)
slicedFieldTest
volField

olesen November 20, 2009 04:04

Quote:

Originally Posted by egp (Post 236887)
Some of the tests in $WM_PROJECT_DIR/applications/test do not compile. They include the following:

CompactListList
DimensionedField
FixedList (compiles with 1.6, but not 1.5-dev)
LduMatrix (doesn't exist with 1.6)
ODETest
readCHEMKINIII (compiles with 1.6, but not 1.5-dev)
slicedFieldTest
volField

Why worry about this? They aren't unit tests.
AFAIK they are used test out concepts, behaviour, etc. They probably aren't needed much later, but are useful to keep about for testing out new features.

henry November 20, 2009 06:40

Now fixed in OpenFOAM-1.6.x.

H

egp November 27, 2009 14:36

@henry: thank you.

@oleson: why distribute something that doesn't work? My approach would be to fix it, as Henry did, or to scrub it from the distro.

Eric

mbeaudoin November 27, 2009 15:27

Hello Eric,

> FixedList (compiles with 1.6, but not 1.5-dev)
> readCHEMKINIII (compiles with 1.6, but not 1.5-dev)

They both compile now with 1.5-dev. Just update your local svn working copy.

I am not sure the test application readCHEMKINIII runs properly (not an expert here), but at least it compiles.

Quote:

Originally Posted by egp (Post 237981)
@henry: thank you.

@oleson: why distribute something that doesn't work? My approach would be to fix it, as Henry did, or to scrub it from the distro.

Eric

You are exactly right Eric. I don't think we have enough of those tests apps; so we should at least take care of the ones we have.

Best regards,

Martin


All times are GMT -4. The time now is 02:13.