Skip to content

Commit

Permalink
quick hack to mark conformance failures as PAPI-only
Browse files Browse the repository at this point in the history
  • Loading branch information
mcovarr committed Jan 16, 2018
1 parent 793134d commit b5eda83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ env:
- BUILD_TYPE=centaurLocal
- BUILD_TYPE=centaurTes
- BUILD_TYPE=centaurCwlConformanceLocal
# - BUILD_TYPE=centaurCwlConformancePAPI
- BUILD_TYPE=centaurCwlConformancePAPI
script:
- sudo apt-get install procps
- pip install 'requests[security]'
Expand Down
2 changes: 1 addition & 1 deletion src/bin/travis/resources/conformance_expected_failures.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
83
84
85
#86
#86 PAPIFAIL
87
88
89
Expand Down
2 changes: 1 addition & 1 deletion src/bin/travis/testCentaurCwlConformancePAPI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ TEST_PASSING=0

set +e
# Only run tests that are expected to succeed as PAPI CWL conformance is not quick.
for TEST_NUMBER in $(perl -ne '/#(\d+)/ && print "$1 "' "${CONFORMANCE_EXPECTED_FAILURES}"); do
for TEST_NUMBER in $(perl -ne '/#(\d+)/ && !/PAPIFAIL/ && print "$1 "' "${CONFORMANCE_EXPECTED_FAILURES}"); do
# Check if test is supposed to fail
grep -q '^'"${TEST_NUMBER}"'$' "${CONFORMANCE_EXPECTED_FAILURES}"
TEST_IN_EXPECTED_FAILED=$?
Expand Down

0 comments on commit b5eda83

Please sign in to comment.