projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
show final solution in --no-download --fix-missing mode
[apt.git]
/
test
/
integration
/
run-tests
diff --git
a/test/integration/run-tests
b/test/integration/run-tests
index f2a2661397f0ca2cc70ca445933fe8d321cc3f57..78f24fbaf024e8f52784b80868fc8258f6e1ef75 100755
(executable)
--- a/
test/integration/run-tests
+++ b/
test/integration/run-tests
@@
-83,12
+83,13
@@
PASS=0
ALL=0
FAILED_TESTS=""
DIR="$(readlink -f "$(dirname "$0")")"
ALL=0
FAILED_TESTS=""
DIR="$(readlink -f "$(dirname "$0")")"
-TESTLIST="$(run-parts --list "$DIR" --regex '^test-.*$')"
+cd "$DIR"
+TESTLIST="$(find . -mindepth 1 -maxdepth 1 -regex '^\./test-[^/]*$' | sort)"
if [ -n "$APT_TEST_JOBS" ]; then
if [ "$MSGCOLOR" != 'NO' ]; then
export MSGCOLOR='ALWAYS'
fi
if [ -n "$APT_TEST_JOBS" ]; then
if [ "$MSGCOLOR" != 'NO' ]; then
export MSGCOLOR='ALWAYS'
fi
- exec parallel -j "$APT_TEST_JOBS" "
$0
" -- $(echo "$TESTLIST")
+ exec parallel -j "$APT_TEST_JOBS" "
./$(basename "$0")
" -- $(echo "$TESTLIST")
fi
TOTAL="$(echo "$TESTLIST" | wc -l)"
for testcase in $TESTLIST; do
fi
TOTAL="$(echo "$TESTLIST" | wc -l)"
for testcase in $TESTLIST; do