Bug 349028 - 4 tests of ECM 5.11.0 fail
Summary: 4 tests of ECM 5.11.0 fail
Status: RESOLVED FIXED
Alias: None
Product: extra-cmake-modules
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Exherbo Linux
: NOR normal
Target Milestone: ---
Assignee: Alex Merry
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-11 14:53 UTC by Heiko Becker
Modified: 2020-10-10 18:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Full output of failing tests (15.40 KB, text/plain)
2015-06-11 14:54 UTC, Heiko Becker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Becker 2015-06-11 14:53:36 UTC
The following tests FAILED:
         15 - ecm_add_tests-single_tests (Failed)
         16 - ecm_add_tests_did_run-single_tests (Failed)
         17 - ecm_add_tests-multi_tests (Failed)
         18 - ecm_add_tests_did_run-multi_tests (Failed)

I'll attach the full output of those tests. 16 and 18 only seem to fail because 15 and 17 didn't succeed.

15 and 17 fail due to ar and ranlib being prefixed with the build architecture. Normally we pass CMAKE_AR and CMAKE_RANLIB to cmake builds but that doesn't get picked up when called from the add_check macro (as well as env variables, it seems).

What I don't know is how to fix this in way that would make it configureable or doesn't break with "normal" ar and ranlib.


Reproducible: Always

Steps to Reproduce:
1.cmake ... -DCMAKE_AR:PATH=x86_64-pc-linux-gnu-ar -DCMAKE_RANLIB:PATH=x86_64-pc-linux-gnu-ranlib ... -DBUILD_TESTING:BOOL=TRUE
2. make
3. make ARGS="--verbose" test
Comment 1 Heiko Becker 2015-06-11 14:54:07 UTC
Created attachment 93121 [details]
Full output of failing tests
Comment 2 Christophe Marin 2017-11-05 17:29:00 UTC
Is this report still valid with recent ECM versions ?
Comment 3 Heiko Becker 2020-10-10 18:57:23 UTC
(In reply to Christophe Giboudeaux from comment #2)
> Is this report still valid with recent ECM versions ?

Apparently no.