-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compare all 64-bits of return values with expected (#143)
Instead of considering only the 32 LSB when comparing the expected return values with the actual return values, consider all 64 bits. Fixes #142 Signed-off-by: Will Hawkins <[email protected]>
- Loading branch information
Showing
9 changed files
with
235 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/usr/bin/bash | ||
# Copyright (c) Microsoft Corporation | ||
# SPDX-License-Identifier: MIT | ||
|
||
git clone https://github.com/libbpf/libbpf.git | ||
if [ $? -ne 0 ]; then | ||
echo "Could not clone the libbpf repository." | ||
exit 1 | ||
fi | ||
|
||
# Jump in to the src directory to do the actual build. | ||
cd libbpf/src | ||
|
||
make | ||
if [ $? -ne 0 ]; then | ||
echo "Could not build libbpf source." | ||
exit 1 | ||
fi | ||
|
||
# Now that the build was successful, install the library (shared | ||
# object and header files) in a spot where FindLibBpf.cmake can | ||
# find it when it is being built. | ||
sudo PREFIX=/usr LIBDIR=/usr/lib/x86_64-linux-gnu/ make install | ||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ jobs: | |
ubuntu_release: | ||
uses: ./.github/workflows/Build.yml | ||
with: | ||
platform: ubuntu-22.04 | ||
platform: ubuntu-latest | ||
configuration: Release | ||
enable_sanitizers: false | ||
enable_coverage: false | ||
|
@@ -69,39 +69,39 @@ jobs: | |
ubuntu_debug: | ||
uses: ./.github/workflows/Build.yml | ||
with: | ||
platform: ubuntu-22.04 | ||
platform: ubuntu-latest | ||
configuration: Debug | ||
enable_sanitizers: false | ||
enable_coverage: false | ||
|
||
ubuntu_release_sanitizers: | ||
uses: ./.github/workflows/Build.yml | ||
with: | ||
platform: ubuntu-22.04 | ||
platform: ubuntu-latest | ||
configuration: Release | ||
enable_sanitizers: true | ||
enable_coverage: false | ||
|
||
ubuntu_debug_sanitizers: | ||
uses: ./.github/workflows/Build.yml | ||
with: | ||
platform: ubuntu-22.04 | ||
platform: ubuntu-latest | ||
configuration: Debug | ||
enable_sanitizers: true | ||
enable_coverage: false | ||
|
||
ubuntu_release_coverage: | ||
uses: ./.github/workflows/Build.yml | ||
with: | ||
platform: ubuntu-22.04 | ||
platform: ubuntu-latest | ||
configuration: Release | ||
enable_sanitizers: false | ||
enable_coverage: true | ||
|
||
ubuntu_debug_coverage: | ||
uses: ./.github/workflows/Build.yml | ||
with: | ||
platform: ubuntu-22.04 | ||
platform: ubuntu-latest | ||
configuration: Debug | ||
enable_sanitizers: false | ||
enable_coverage: true | ||
|
@@ -122,7 +122,7 @@ jobs: | |
needs: | ||
- ubuntu_release_coverage | ||
- ubuntu_debug_coverage | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Coveralls Finished | ||
uses: coverallsapp/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.