Skip to content

Commit

Permalink
improve: build and run script
Browse files Browse the repository at this point in the history
  • Loading branch information
dudantas committed Sep 27, 2024
1 parent 115299b commit 95b9165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/build_and_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ cd ..
if [ ! -d "build" ]; then
mkdir build
fi
cd build
cd build || exit
cmake -DCMAKE_BUILD_TYPE=Debug -DPACKAGE_TESTS=On .. ; make -j`nproc`

Check warning on line 10 in tests/build_and_run.sh

View workflow job for this annotation

GitHub Actions / shellcheck

[shellcheck] tests/build_and_run.sh#L10 <ShellCheck.SC2046>

Quote this to prevent word splitting.
Raw output
./tests/build_and_run.sh:10:63: warning: Quote this to prevent word splitting. (ShellCheck.SC2046)

Check notice on line 10 in tests/build_and_run.sh

View workflow job for this annotation

GitHub Actions / shellcheck

[shellcheck] tests/build_and_run.sh#L10 <ShellCheck.SC2006>

Use $(...) notation instead of legacy backticks `...`.
Raw output
./tests/build_and_run.sh:10:63: info: Use $(...) notation instead of legacy backticks `...`. (ShellCheck.SC2006)
./tests/unit/canary_ut --reporter compact --success
cd ..
cd tests
cd tests || exit
docker-compose down --rmi all -v --remove-orphans

0 comments on commit 95b9165

Please sign in to comment.