Skip to content

Commit

Permalink
Merge pull request #8 from jswaro/bugfix/ld_library_path
Browse files Browse the repository at this point in the history
contrib/cray: Fix LD library path for tests
  • Loading branch information
jswaro committed Jun 12, 2018
2 parents e98c599 + 38d5cd5 commit c6eb0db
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions contrib/cray/Jenkinsfile.verbs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ pipeline {
}
}
stage('Test: Phase 1') {
environment {
LD_LIBRARY_PATH = "$TMP_INSTALL_PATH/lib:$LD_LIBRARY_PATH"
}
failFast true
parallel {
stage('Unit tests') {
Expand All @@ -56,9 +59,6 @@ pipeline {
}
}
stage('Smoke tests') {
environment {
LD_LIBRARY_PATH = "$TMP_INSTALL_PATH/lib:$LD_LIBRARY_PATH"
}
steps {
echo 'checking for the presence of the verbs provider'
script {
Expand All @@ -72,9 +72,6 @@ pipeline {
}
}
stage('Fabtests') {
environment {
LD_LIBRARY_PATH = "$TMP_INSTALL_PATH/lib:$LD_LIBRARY_PATH"
}
steps {
// ignore the return code for fabtests until we can establish a fingerprint
timeout (time: 20, unit: 'MINUTES') {
Expand Down Expand Up @@ -106,6 +103,9 @@ pipeline {
}
}
stage("Test: Phase 2") {
environment {
LD_LIBRARY_PATH = "$TMP_INSTALL_PATH/lib:$LD_LIBRARY_PATH"
}
failFast true
parallel {
stage("System tests") {
Expand All @@ -118,6 +118,9 @@ pipeline {
MPIR_CVAR_OFI_USE_PROVIDER = 'verbs'
}
steps {
echo "checking ldd"
launch "ldd $OMB_BUILD_PATH/pt2pt/osu_latency", 1, 1

echo "checking potential hosts"
launch "hostname", 4, 1

Expand Down

0 comments on commit c6eb0db

Please sign in to comment.