Skip to content

Commit d77c47c

Browse files
ahayzen-kdabLeonMatthesKDAB
authored andcommitted
update_expected: ensure cwd is the cxx-qt-gen folder
Otherwise all cargo projects in the cwd are built when this isn't required to update the expected.
1 parent 7c878da commit d77c47c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/cxx-qt-gen/update_expected.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@ set -ex
1010

1111
SCRIPT=$(realpath "$0")
1212
SCRIPT_DIR=$(dirname "$SCRIPT")
13+
14+
cd "${SCRIPT_DIR}"
1315
CXXQT_UPDATE_EXPECTED="${SCRIPT_DIR}" cargo test tests::generates
1416

0 commit comments

Comments
 (0)