summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2013-09-26 07:47:59 +0000
committerXuefer <xuefer@gmail.com>2013-09-26 07:47:59 +0000
commit58624130fa8ce7bc88b7a38e3cd82693808bc1af (patch)
treec978e02954e2cb3a46203b5bcd985c19017a91a2 /devel
parent498f03e25b1aa19e9bc4622d55c3eb2c1fab90cb (diff)
downloadxcache-58624130fa8ce7bc88b7a38e3cd82693808bc1af.tar.gz
xcache-58624130fa8ce7bc88b7a38e3cd82693808bc1af.zip
devel: fix sort, retest only last results
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1403 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'devel')
-rwxr-xr-xdevel/run7
1 files changed, 4 insertions, 3 deletions
diff --git a/devel/run b/devel/run
index f9bf354..d0d3954 100755
--- a/devel/run
+++ b/devel/run
@@ -74,7 +74,7 @@ updatedeps() { # {{{1
hiecho required ../trunk-php5-debug-zts not found
return 1
fi
- find . -iname \*.c | sort | while read -r sourceFile; do
+ find . -iname \*.c | LANG=C sort | while read -r sourceFile; do
sourceFile=${sourceFile#./}
{
case "$sourceFile" in
@@ -118,7 +118,7 @@ updatedeps() { # {{{1
hiecho "$dependency not found" >&2
fi
esac
- done | sort | uniq
+ done | LANG=C sort | uniq
} | xargs
done > Makefile.frag.deps
}
@@ -259,7 +259,8 @@ run() {
;;
retest)
shift
- $MAKE $MAKEOPTS xcachetest "$@" TESTS="`grep '^/.*\.phpt$' php_test_results_*.txt | uniq | xargs`"
+ lastResult=$(ls php_test_results_*.txt | LANG=C sort | tail -n1)
+ $MAKE $MAKEOPTS xcachetest "$@" TESTS="$(grep '^/.*\.phpt$' $lastResult | uniq | xargs)"
return
;;
test)