Skip to content

Commit c50f6ab

Browse files
author
Daniel Noland
committed
Minor cleanup prior to AWS attempt
1 parent 07a5c7a commit c50f6ab

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
target/
21
**/*.rs.bk
2+
.idea/
33
Cargo.lock
4+
target/
5+
vgcore*

.travis.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@ sudo: true
44
group: edge
55
script:
66
- sudo apt-get install --yes linux-modules-extra-"$(uname --kernel-release)"
7-
- cargo install cargo-valgrind
87
- ./scripts/ci.sh
98
- cargo build --verbose
10-
- for t in ./target/debug/deps/integration-*; do sudo valgrind --tool=memcheck --leak-check=full --show-leak-kinds=all --track-origins=yes "${t}" can_send_rdma_loopback_traffic_on_test_device; done
11-
# - cargo test --verbose -- --test-threads=1 || true
12-
# - cargo valgrind test --verbose --test integration -- --test-threads=1 || true
9+
- cargo test --verbose -- --test-threads=1
1310
addons:
1411
apt:
1512
packages:
@@ -25,7 +22,6 @@ addons:
2522
- libnl-route-3-dev
2623
- libudev-dev
2724
- ninja-build
28-
- valgrind
2925
env:
3026
- RUST_BACKTRACE=1
3127
rust:

scripts/ci.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33

44
set -euxETo pipefail
55

6-
# Define the name of the SoftRoCE device we would like to create for integration testing.
7-
declare -r RXE_INTERFACE_NAME="rust_ibverbs"
8-
96
# We need to install linux-modules-extra for our current kernel or else we don't have access to the rdma_rxe module in
107
# CI.
118
sudo apt-get install --yes linux-modules-extra-"$(uname --kernel-release)"

scripts/make-rdma-loopback.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
set -euxETo pipefail
55

66
# Configuration
7-
declare -r RXE_INTERFACE_NAME="${1}"
7+
8+
# Define the name of the SoftRoCE device we would like to create for integration testing.
9+
declare -r RXE_INTERFACE_NAME="rust_ibverbs"
810

911
# Print an error message
1012
log() {

0 commit comments

Comments
 (0)