Skip to content

Commit

Permalink
Move helper scripts for running the upstream test suite in a tests/ s…
Browse files Browse the repository at this point in the history
…ubdirectory
  • Loading branch information
oSoMoN committed Feb 15, 2024
1 parent a526208 commit 3a83bbf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
- run: cargo build --release
# do not fail, the report is merely informative (at least until all tests pass reliably)
- run: ./run-upstream-testsuite.sh release || true
- run: ./tests/run-upstream-testsuite.sh release || true
env:
TERM: xterm
- uses: actions/upload-artifact@v4
with:
name: test-results.json
path: test-results.json
- run: ./print-test-results.sh
path: tests/test-results.json
- run: ./tests/print-test-results.sh tests/test-results.json

coverage:
name: Code Coverage
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ profile="release"
[[ -n $1 ]] && profile="$1"

# Verify that the diffutils binary was built for the requested profile
binary="$scriptpath/target/$profile/diffutils"
binary="$scriptpath/../target/$profile/diffutils"
if [[ ! -x "$binary" ]]
then
echo "Missing build for profile $profile"
Expand Down

0 comments on commit 3a83bbf

Please sign in to comment.