Skip to content

Commit

Permalink
Maybe get the filename thing right this time
Browse files Browse the repository at this point in the history
Follow up from #84
  • Loading branch information
msullivan committed Apr 25, 2024
1 parent 3ce4858 commit 74e715e
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions integration/macos/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,17 @@ fi

export PATH="${workdir}/bin/:${PATH}"

# ${PKG_TEST_FILES} is specificaly used outside the quote so that it
# can contain a glob.
test_dir="${workdir}/data/tests"
if [ -n "${PKG_TEST_FILES}" ]; then
# ${PKG_TEST_FILES} is specificaly used outside the quote so that it
# can contain a glob.
file_arg=$(realpath $(cd "$test_dir" && echo $PKG_TEST_FILES))
else
file_arg="$test_dir"
fi

"${workdir}/bin/python3" \
-m edb.tools --no-devmode test \
"${workdir}/data/tests/"${PKG_TEST_FILES} \
"${file_arg}" \
-e cqa_ -e tools_ \
--verbose ${dash_j}

0 comments on commit 74e715e

Please sign in to comment.