Tests witl WILL_FAIL == TRUE

34 views
Skip to first unread message

Pavel Solin

unread,
Feb 24, 2011, 12:58:54 PM2/24/11
to hermes2d, hermes1d
Hi,
does someone know why the following tests are doomed to always fail?
All of them are in Hermes1D.
Pavel

pavel@verca:~/repos/hermes(master)$ git grep WILL_FAIL
hermes1d/tests/examples/homogeneous_line/CMakeLists.txt:set_tests_properties(example-homogeneous_line
PROPERTIES WILL_FAIL TRUE)
hermes1d/tests/examples/neutronics/CMakeLists.txt:set_tests_properties(example-neutronics
PROPERTIES WILL_FAIL TRUE)
hermes1d/tests/examples/system_car_model/CMakeLists.txt:set_tests_properties(example-system_car_model
PROPERTIES WILL_FAIL TRUE)
hermes1d/tests/examples/system_exp/CMakeLists.txt:set_tests_properties(example-system_exp
PROPERTIES WILL_FAIL TRUE)
hermes1d/tests/examples/system_neutronics_eigenvalue/CMakeLists.txt:set_tests_properties(example-system_neutronics_eigenvalue
PROPERTIES WILL_FAIL TRUE)
hermes1d/tests/examples/system_neutronics_fixedsrc/CMakeLists.txt:set_tests_properties(example-system_neutronics_fixedsrc
PROPERTIES WILL_FAIL TRUE)
hermes1d/tests/examples/system_neutronics_fixedsrc2/CMakeLists.txt:set_tests_properties(example-system_neutronics_fixedsrc2
PROPERTIES WILL_FAIL TRUE)


--
Pavel Solin
University of Nevada, Reno
Home page: http://hpfem.org/~pavel
FEMTEC 2011: http://hpfem.org/events/femtec-2011/
Hermes: http://hpfem.org/
FEMhub: http://femhub.org/

Lukas Korous

unread,
Feb 24, 2011, 1:50:43 PM2/24/11
to herm...@googlegroups.com, Pavel Solin, hermes2d
It was in Ondrej's commit:

https://github.com/hpfem/hermes/commit/ab15e6a9b306395d8f9b3c88861d22890c55e1e3

But I do not remember why he did that.
Lukas

Pavel Solin

unread,
Feb 24, 2011, 3:24:21 PM2/24/11
to herm...@googlegroups.com, Lukas Korous, hermes2d
OK, I commented those lines out. There is one more thing - does
someone know what the PROPERTIES COST is good for?

system_pendulum/CMakeLists.txt:set_tests_properties(example-system_pendulum
PROPERTIES COST -22.10)
system_sin/CMakeLists.txt:set_tests_properties(example-system_sin
PROPERTIES COST -0.00224)

Pavel

Milan Hanuš

unread,
Feb 24, 2011, 3:46:26 PM2/24/11
to herm...@googlegroups.com, herm...@googlegroups.com, Lukas Korous
What the CMake's documentation (
http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_test:COST) says:

"COST: Set this to a floating point value. Tests in a test set will be
run in descending order of cost.
This property describes the cost of a test. You can explicitly set this
value; tests with higher COST values will run first."

It would make sense to me e.g. if example-system_pendulum depended on
some output file from example-system_sin, but
I think this is not the case. Also what I have no clue about is where
the actual COST values come from.

Milan

Pavel Solin napsal(a):

Reply all
Reply to author
Forward
0 new messages