Commit 1feb910c authored by Daniel Wortmann's avatar Daniel Wortmann

Fixed tests 22&29 to Fix #176

parent 73771b87
......@@ -7,6 +7,6 @@ jt::testrun("$executable",$workdir);
#now test output
$result=jt::test_grepexists("$workdir/out","it= 3 is completed");
$result+=jt::test_grepnumber("$workdir/out","distance of charge densities for it,"3: *([^ ]*)",9.964,0.001);
$result+=jt::test_grepnumber("$workdir/out","distance of charge densities for it","3: *([^ ]*)",9.964,0.001);
jt::stageresult($workdir,$result,"1");
......@@ -9,11 +9,10 @@ jt::testrun($executable,$workdir);
#now test output
$result=jt::test_fileexists("$workdir/out");
$result+=min(jt::test_fileexists("$workdir/cdn1"),jt::test_fileexists("$workdir/cdn.hdf"));
$result+=jt::test_grepexists("$workdir/out","total charge");
$result+=jt::test_grepnumber("$workdir/out","qfix","qfix= *([^ ]*)",1.0,0.00001);
$result=jt::test_grepexists("$workdir/out","it= 20 is completed");
$result+=jt::test_grepexists("$workdir/out","it= 20 is completed");
$result+=jt::test_grepnumber("$workdir/out","new fermi energy",".*: *([^ ]*)",0.326,0.005);
$result+=jt::test_grepnumber("$workdir/out","total energy=",".*= *([^ ]*)",-2545.607623611,0.005);
$result+=jt::test_grepnumber("$workdir/out","distance of charge densities for it= 20",": *([^ ]*)",0.0000,0.1);
......
Markdown is supported
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