amplab / snap

Scalable Nucleotide Alignment Program -- a fast and accurate read aligner for high-throughput sequencing data
https://www.microsoft.com/en-us/research/project/snap/
Apache License 2.0
287 stars 66 forks source link

Test failure on ppc64 and sparc64 #112

Open tillea opened 6 years ago

tillea commented 6 years ago

Hi, in issue #111 I was told that snap is only for 64 bit architectures. So I will restrict the Debian packaging to 64 bit architectures only. However, when checking the build logs of ppc64 and sparc64 in both cases there is a failure in the test suite:

For ppc64:

./unit_tests
ProbabilityDistanceTest:
- basic probabilities: [OK]
- indels: [OK]

LandauVishkinTest:
- equal strings: [OK]
- prefixes: [FAILED]
    lv.computeEditDistance("abcde", 5, "abcd", 4, 2) was 1, expected 0
    (tests/LandauVishkinTest.cpp:16)
- non-equal strings: [FAILED]
    lv.computeEditDistance("abcde", 5, "abcdX", 5, 2) was 2, expected 1
    (tests/LandauVishkinTest.cpp:22)
- overly distant strings: [FAILED]
    lv.computeEditDistance("abcde", 5, "XXXXX", 5, 2) was 2, expected -1
    (tests/LandauVishkinTest.cpp:31)
- CIGAR strings: [FAILED]
    cigarBuf was "", expected "5="
    (tests/LandauVishkinTest.cpp:45)

EventTest:
- many waiters: [OK]
- single waiters: [OK]

5 / 9 tests passed.

For sparc64:

./unit_tests
ProbabilityDistanceTest:
- basic probabilities: [OK]
- indels: [OK]

LandauVishkinTest:
- equal strings: [OK]
- prefixes: [FAILED]
    lv.computeEditDistance("abcde", 5, "abcd", 4, 2) was 1, expected 0
    (tests/LandauVishkinTest.cpp:16)

Any idea what might be wrong here?

Kind regards, Andreas.