Skip to content

Commit

Permalink
Merge pull request #219 from ko80/ci-cd-run-unit-tests
Browse files Browse the repository at this point in the history
Modify build script to run unit tests
  • Loading branch information
ko80 authored Oct 7, 2024
2 parents 7394340 + 7f8ac2f commit 2783f71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ cmake --build "${SCRIPT_DIR}/out" -j
# Install
run_as_root_user cmake --install "${SCRIPT_DIR}/out"
run_as_root_user ln -s /usr/lib64/libbpf.so.1 /usr/lib/x86_64-linux-gnu/libbpf.so.1 2>/dev/null || true

# Run unit tests
LD_LIBRARY_PATH="${PREFIX_DIR}/usr/local/lib:/usr/local/lib" "${SCRIPT_DIR}/out/bin/mcm_unit_tests"

0 comments on commit 2783f71

Please sign in to comment.