Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Avimitin <dev@avimit.in>
  • Loading branch information
Avimitin committed Jan 14, 2025
1 parent c1e6d08 commit 9986ce0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/mmio-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
run: |
set -o pipefail
set -o errexit
PATH="$(nix build '.#gawk.out' --print-out-paths --no-link)/bin:$PATH"
passWith() {
local msg="$1"; shift
echo
Expand All @@ -47,12 +48,10 @@ jobs:
exit 1
}
nix develop -c t1-helper run -v \
--config ${{ matrix.config }} --ip ${{ matrix.ip }} --emu vcs-emu \
emurt-test.simple
nix build '.#t1.${{matrix.config}}.${{matrix.ip}}.run.emurt-test.simple.vcs-emu' --impure
# Test 1: Test mmio-event.jsonl file exists
mmioResultFile="$(realpath ./t1-sim-result/result/mmio-event.jsonl)"
mmioResultFile="$(realpath ./result/mmio-event.jsonl)"
if [[ ! -r "$mmioResultFile" ]]; then
failWith "mmio-event.jsonl not found"
fi
Expand Down

0 comments on commit 9986ce0

Please sign in to comment.