
https://svn.lrde.epita.fr/svn/xrm/trunk Index: ChangeLog from SIGOURE Benoit <sigoure.benoit@lrde.epita.fr> Fix test suit. This revision will be tagged as XRM 1.0. * tests/test-pp-prism.sh.in, * tests/test-pp-xpctl.sh.in, * tests/test-parse-pctl.sh.in, * tests/test-xrm-front.sh.in, * tests/test-parse-xrm.sh.in, * tests/test-pp-pctl.sh.in, * tests/test-parse-prism.sh.in, * tests/test-parse-xpctl.sh.in, * tests/test-pp-xrm.sh.in: Use '@srcdir@' instead of "@srcdir@". * TODO: Bring up to date. TODO | 3 --- tests/test-parse-pctl.sh.in | 2 +- tests/test-parse-prism.sh.in | 2 +- tests/test-parse-xpctl.sh.in | 2 +- tests/test-parse-xrm.sh.in | 2 +- tests/test-pp-pctl.sh.in | 2 +- tests/test-pp-prism.sh.in | 2 +- tests/test-pp-xpctl.sh.in | 2 +- tests/test-pp-xrm.sh.in | 2 +- tests/test-xrm-front.sh.in | 2 +- 10 files changed, 9 insertions(+), 12 deletions(-) Index: tests/test-pp-prism.sh.in --- tests/test-pp-prism.sh.in (revision 71) +++ tests/test-pp-prism.sh.in (working copy) @@ -11,7 +11,7 @@ test_cnt=0 test_pass=0 -srcdir="@srcdir@" +srcdir='@srcdir@' target_dir='output-pp-prism' rm -f failed_tests.$$ Index: tests/test-pp-xpctl.sh.in --- tests/test-pp-xpctl.sh.in (revision 71) +++ tests/test-pp-xpctl.sh.in (working copy) @@ -11,7 +11,7 @@ test_cnt=0 test_pass=0 -srcdir="@srcdir@" +srcdir='@srcdir@' target_dir='output-pp-xpctl' rm -f failed_tests.$$ Index: tests/test-parse-pctl.sh.in --- tests/test-parse-pctl.sh.in (revision 71) +++ tests/test-parse-pctl.sh.in (working copy) @@ -11,7 +11,7 @@ test_cnt=0 test_pass=0 -srcdir="@srcdir@" +srcdir='@srcdir@' rm -f failed_tests.$$ for file in `find "$srcdir" -name '*.pctl' -o -name '*.csl' | sort`; do Index: tests/test-xrm-front.sh.in --- tests/test-xrm-front.sh.in (revision 71) +++ tests/test-xrm-front.sh.in (working copy) @@ -11,7 +11,7 @@ test_cnt=0 test_pass=0 -srcdir="@srcdir@" +srcdir='@srcdir@' target_dir='output-xrm-front' rm -f failed_tests.$$ Index: tests/test-parse-xrm.sh.in --- tests/test-parse-xrm.sh.in (revision 71) +++ tests/test-parse-xrm.sh.in (working copy) @@ -11,7 +11,7 @@ test_cnt=0 test_pass=0 -srcdir="@srcdir@" +srcdir='@srcdir@' rm -f failed_tests.$$ for file in `find "$srcdir" -name '*.pm' -o -name '*.nm' -o -name '*.sm' -o -name '*.xpm' | sort`; do Index: tests/test-pp-pctl.sh.in --- tests/test-pp-pctl.sh.in (revision 71) +++ tests/test-pp-pctl.sh.in (working copy) @@ -11,7 +11,7 @@ test_cnt=0 test_pass=0 -srcdir="@srcdir@" +srcdir='@srcdir@' target_dir='output-pp-pctl' rm -f failed_tests.$$ Index: tests/test-parse-prism.sh.in --- tests/test-parse-prism.sh.in (revision 71) +++ tests/test-parse-prism.sh.in (working copy) @@ -11,7 +11,7 @@ test_cnt=0 test_pass=0 -srcdir="@srcdir@" +srcdir='@srcdir@' rm -f failed_tests.$$ for file in `find "$srcdir" -name '*.pm' -o -name '*.nm' -o -name '*.sm' | sort`; do Index: tests/test-parse-xpctl.sh.in --- tests/test-parse-xpctl.sh.in (revision 71) +++ tests/test-parse-xpctl.sh.in (working copy) @@ -11,7 +11,7 @@ test_cnt=0 test_pass=0 -srcdir="@srcdir@" +srcdir='@srcdir@' rm -f failed_tests.$$ for file in `find "$srcdir" -name '*.pctl' -o -name '*.csl' -o -name '*.xpctl' -o -name '*.xcsl' | sort`; do Index: tests/test-pp-xrm.sh.in --- tests/test-pp-xrm.sh.in (revision 71) +++ tests/test-pp-xrm.sh.in (working copy) @@ -11,7 +11,7 @@ test_cnt=0 test_pass=0 -srcdir="@srcdir@" +srcdir='@srcdir@' target_dir='output-pp-xrm' rm -f failed_tests.$$ Index: TODO --- TODO (revision 71) +++ TODO (working copy) @@ -50,9 +50,6 @@ * Add a sanity check after xrm-front has finished to generate everything in order to ensure that each module/var decl has a unique name. - * Transform PRISM's If into a MetaIf if the condition has meta-vars (do - this before the check-meta-vars pass) - * Add partial evaluation for Expressions which contain meta-vars. eg: x != 0 & array[x-1]=0 // prevent array[-1]