test.run2 576 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#juDFT Testscript
#The following arguments are passed: executable, working directory

jt::copyfile("files/projgen_inp",$workdir);
jt::copyfile("files/wann_inp-1.xml","$workdir/inp.xml");

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

#now test output
$result=jt::test_grepexists("$workdir/proj","           8           8");
$result+=jt::test_grepexists("$workdir/proj","  1 -3  1  0");
$result+=jt::test_grepexists("$workdir/proj","  2 -3  4  0");
$result+=jt::test_grepexists("$workdir/proj","     0.000000  0.000000  0.000000  0.000000 1.00");

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