Skip to content

Commit

Permalink
doc; error checking
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed Dec 26, 2024
1 parent 5b53f30 commit 4e7f37d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions test/docker/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Manually build the image

```bash
docker build --tag odr_core_test test/docker
```
10 changes: 8 additions & 2 deletions test/docker/compare_output_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@ REF="test/data/reference-output/"
OBS="cmake-build-relwithdebinfo/test/output/"
DRIVER="firefox"

# manually build the image
#docker build --tag odr_core_test test/docker
if [ ! -d "$REF" ]; then
echo "Reference output directory does not exist: $REF"
exit 1
fi
if [ ! -d "$OBS" ]; then
echo "Observed output directory does not exist: $OBS"
exit 1
fi

docker run -ti \
-v $(pwd):/repo \
Expand Down

0 comments on commit 4e7f37d

Please sign in to comment.