tests/run.sh: allow to pass full file name
This is easier with shell completion.
This commit is contained in:
parent
8e97ae51c3
commit
8f8094b57e
10
tests/run.sh
10
tests/run.sh
|
@ -199,9 +199,13 @@ for f in $tests; do
|
||||||
start_awesome
|
start_awesome
|
||||||
|
|
||||||
if [ ! -r "$f" ]; then
|
if [ ! -r "$f" ]; then
|
||||||
echo "===> ERROR $f is not readable! <==="
|
if [ -r "${f#tests/}" ]; then
|
||||||
((errors++))
|
f=${f#tests/}
|
||||||
continue
|
else
|
||||||
|
echo "===> ERROR $f is not readable! <==="
|
||||||
|
((errors++))
|
||||||
|
continue
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Send the test file to awesome.
|
# Send the test file to awesome.
|
||||||
|
|
Loading…
Reference in New Issue