>>
"SIGOURE" == SIGOURE Benoit <sigoure.benoit(a)lrde.epita.fr> writes:
Index: tests/test-pp-pctl.sh.in
--- tests/test-pp-pctl.sh.in (revision 58)
+++ tests/test-pp-pctl.sh.in (working copy)
@@ -1,6 +1,6 @@
#!/bin/sh
##
-## test-pp-xrm.sh for xrm in /home/tsuna/work/xrm/trunk/tests
+## test-pp-pctl.sh for xrm in /home/tsuna/work/xrm/trunk/tests
##
## Made by SIGOURE Benoit
## Mail <sigoure.benoit(a)lrde.epita.fr>
@@ -11,7 +11,7 @@
test_cnt=0
test_pass=0
-target_dir='output-pp-xrm'
+target_dir='output-pp-pctl'
rm -f failed_tests.$$
test ! -d $target_dir && { mkdir
$target_dir \
@@ -21,7 +21,7 @@
outdir="`pwd`"
cd ..
-for file in `find "@srcdir@" -name
'*.pm' -o -name '*.nm' -o -name '*.sm' -o -name '*.xpm' |
sort`; do
+for file in `find "@srcdir@" -name '*.pctl' -o -name '*.csl'
-o -name '*.xpctl' -o -name '*.xcsl' | sort`; do
basefile="`basename $file`"
bfile="`echo \"$basefile\" | sed 's/\.x\?pm$//'`"
Too much code duplication. Use functions! for God sakes...
Yeah it's on the TODO list. I just haven't had time... actually I must write
a *real* test suite. Not just patch the current one.
--
SIGOURE Benoit aka Tsuna
_____
/EPITA\ Promo 2008.CSI Rock & tRoll