mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/js2py: open the if statement, use double brackets
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
@@ -36,9 +36,11 @@ python_test() {
|
||||
pushd ./tests >/dev/null || die
|
||||
|
||||
# Tests require "node_failed.txt" file where the logs are kept
|
||||
[ -f ./node_failed.txt ] && rm ./node_failed.txt
|
||||
touch ./node_failed.txt || die
|
||||
if [[ -f ./node_failed.txt ]]; then
|
||||
rm ./node_failed.txt || die
|
||||
fi
|
||||
|
||||
touch ./node_failed.txt || die
|
||||
"${EPYTHON}" ./run.py || die "tests failed with ${EPYTHON}"
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
Reference in New Issue
Block a user