1 | ### define box setting
|
---|
2 |
|
---|
3 | AT_SETUP([Domain - defining simulation domain])
|
---|
4 | AT_KEYWORDS([domain change-box])
|
---|
5 |
|
---|
6 | AT_CHECK([../../molecuilder -i test.conf -o pcp -B "10, 0, 10, 0, 0, 10"], 0, [stdout], [stderr])
|
---|
7 | AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore])
|
---|
8 | AT_CHECK([fgrep "BoxLength" test.conf], 0, [ignore], [ignore])
|
---|
9 | AT_CHECK([diff test.conf ${abs_top_srcdir}/tests/regression/Domain/ChangeBox/post/test.conf], 0, [stdout], [stderr])
|
---|
10 |
|
---|
11 | AT_CLEANUP
|
---|
12 |
|
---|
13 |
|
---|
14 | AT_SETUP([Domain - defining simulation domain])
|
---|
15 | AT_XFAIL_IF([/bin/true])
|
---|
16 | AT_KEYWORDS([domain change-box undo])
|
---|
17 |
|
---|
18 | AT_CHECK([../../molecuilder -i test.conf -o pcp -B "10, 0, 10, 0, 0, 10" --undo], 0, [stdout], [stderr])
|
---|
19 | AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore])
|
---|
20 | AT_CHECK([fgrep "BoxLength" test.conf], 0, [ignore], [ignore])
|
---|
21 | AT_CHECK([diff test.conf ${abs_top_srcdir}/tests/regression/Domain/ChangeBox/post/test-undo.conf], 0, [stdout], [stderr])
|
---|
22 |
|
---|
23 | AT_CLEANUP
|
---|
24 |
|
---|
25 |
|
---|
26 | AT_SETUP([Domain - defining simulation domain])
|
---|
27 | AT_XFAIL_IF([/bin/true])
|
---|
28 | AT_KEYWORDS([domain change-box redo])
|
---|
29 |
|
---|
30 | AT_CHECK([../../molecuilder -i test.conf -o pcp -B "10, 0, 10, 0, 0, 10" --undo --redo], 0, [stdout], [stderr])
|
---|
31 | AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore])
|
---|
32 | AT_CHECK([fgrep "BoxLength" test.conf], 0, [ignore], [ignore])
|
---|
33 | AT_CHECK([diff test.conf ${abs_top_srcdir}/tests/regression/Domain/ChangeBox/post/test.conf], 0, [stdout], [stderr])
|
---|
34 |
|
---|
35 | AT_CLEANUP
|
---|