1 | ### parsing pcp
|
---|
2 |
|
---|
3 | AT_SETUP([Parser - loading empty conf file])
|
---|
4 | AT_KEYWORDS([parser,pcp,emptyfile])
|
---|
5 | AT_CHECK([/bin/cp ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pcp/pre/empty.conf .], 0, [ignore], [ignore])
|
---|
6 | AT_CHECK([../../molecuilder -i empty.conf -o pcp], 0, [ignore], [ignore])
|
---|
7 | AT_CLEANUP
|
---|
8 |
|
---|
9 | AT_SETUP([Parser - loading conf file])
|
---|
10 | AT_KEYWORDS([parser,pcp])
|
---|
11 | AT_CHECK([../../molecuilder -i test.conf -o pcp -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pcp/pre/test.conf], 0, [ignore], [ignore])
|
---|
12 | AT_CHECK([file=test.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pcp/post/$file], 0, [ignore], [ignore])
|
---|
13 | AT_CLEANUP
|
---|
14 |
|
---|
15 | AT_SETUP([Parser - saving conf file])
|
---|
16 | AT_KEYWORDS([parser,pcp])
|
---|
17 | AT_CHECK([../../molecuilder -i test.conf -o pcp -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pcp/pre/test.conf --output store.conf], 0, [ignore], [ignore])
|
---|
18 | AT_CHECK([diff store.conf ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pcp/post/test.conf], 0, [ignore], [ignore])
|
---|
19 | AT_CLEANUP
|
---|
20 |
|
---|
21 | AT_SETUP([Parser - loading with multiple time steps])
|
---|
22 | AT_KEYWORDS([parser,pcp])
|
---|
23 | AT_CHECK([../../molecuilder -i testmulti.conf -o pcp -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pcp/pre/testmulti.conf], 0, [ignore], [ignore])
|
---|
24 | AT_CHECK([file=testmulti.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pcp/post/$file], 0, [ignore], [ignore])
|
---|
25 | AT_CLEANUP
|
---|