From eaaf49496edaf331aed5e67f1aa694ca3808cf46 Mon Sep 17 00:00:00 2001 From: Ashwin Bharambe Date: Mon, 18 Aug 2025 09:44:58 -0700 Subject: [PATCH] allow running from any directory --- scripts/integration-tests.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/integration-tests.sh b/scripts/integration-tests.sh index cebcdc8e7..e9a5283e1 100755 --- a/scripts/integration-tests.sh +++ b/scripts/integration-tests.sh @@ -133,6 +133,10 @@ else EXTRA_PARAMS="" fi +THIS_DIR=$(dirname "$0") +ROOT_DIR="$THIS_DIR/.." +cd $ROOT_DIR + # Set recording directory if [[ "$RUN_VISION_TESTS" == "true" ]]; then export LLAMA_STACK_TEST_RECORDING_DIR="tests/integration/recordings/vision"