test.run1 423 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#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");
$result+=jt::test_fileexists("$workdir/cdn1");
$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");