Commit efa3e6b2 authored by Thomas Fetzer's avatar Thomas Fetzer
Browse files


the result file which is to be compared will now be deleted at the
beginning of the test to make sure that the latest results file is
fixed typos in fuzzycompare

reviewed by gruenich

git-svn-id: svn:// 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent a1d585b0
......@@ -13,7 +13,7 @@ def isFuzzyEqualNode(node1, node2, absolute, relative):
print 'The name of the node differs in ', node1.tagName, ' and ', node2.tagName
return False
if sorted(node1.attributes.items()) != sorted(node2.attributes.items()):
print 'Attributs differ in node ', node1.tagName
print 'Attributes differ in node ', node1.tagName
return False
if len(node1.childNodes) != len(node2.childNodes):
print 'Number of children differs in node ', node1.tagName
......@@ -46,7 +46,7 @@ def isFuzzyEqualText(text1, text2, absolute, relative):
return False
return True
# main programm
# main program
# handle arguments and print help message
parser = argparse.ArgumentParser(description='Fuzzy compare of two VTK\
(Visualization Toolkit) files. The files are accepted if for every\
......@@ -18,6 +18,7 @@ REFERENCE_RESULT="$2"
# make sure we have at least 3 parameters
if test "$#" -lt 4; then
......@@ -16,5 +16,6 @@ add_dumux_test(test_2cnistokes2p2cni_2pm test_2cnistokes2p2cni test_2cnistokes2p
echo "test_2cnistokes2p2cni_pm"
-ParameterFile ${CMAKE_CURRENT_SOURCE_DIR}/test_2cnistokes2p2cni_reference.input
\ No newline at end of file
......@@ -16,5 +16,6 @@ add_dumux_test(test_2cstokes2p2c_2pm test_2cstokes2p2c
echo "test_2cstokes2p2c_pm"
-ParameterFile ${CMAKE_CURRENT_SOURCE_DIR}/test_2cstokes2p2c_reference.input
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment