test.run1 467 Bytes
Newer Older
Daniel Wortmann's avatar
Daniel Wortmann committed
1 2 3 4 5 6 7 8 9
#juDFT Testscript

jt::copyfile("files/inp",$workdir);
jt::copyfile("files/kpts",$workdir);

jt::testrun($executable,$workdir);

#now test output
$result=jt::test_fileexists("$workdir/out");
10
$result+=min(jt::test_fileexists("$workdir/cdn1"),jt::test_fileexists("$workdir/cdn.hdf"));
Daniel Wortmann's avatar
Daniel Wortmann committed
11 12 13 14 15
$result+=jt::test_grepexists("$workdir/out","total charge");
$result+=jt::test_grepnumber("$workdir/out","qfix","qfix= *([^ ]*)",1.0,0.00001);

jt::stageresult($workdir,$result,"1");