Skip to content

Commit 4b94037

Browse files
committed
requests: Fix unix test runner path resolution.
Signed-off-by: Pablo Ventura <pablogventura@gmail.com>
1 parent e6beaa9 commit 4b94037

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python-ecosys/requests/run-unix-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Run requests package tests on MicroPython unix port (mock + live).
33
set -euo pipefail
44

5-
MICROPYTHON="${MICROPYTHON:-../../../micropython/ports/unix/build-standard/micropython}"
65
ROOT="$(cd "$(dirname "$0")" && pwd)"
6+
MICROPYTHON="${MICROPYTHON:-$ROOT/../../../micropython/ports/unix/build-standard/micropython}"
77

88
if [[ ! -x "$MICROPYTHON" ]]; then
99
echo "Build unix port first:" >&2

0 commit comments

Comments
 (0)