Allow using system dependencies
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lib2geom |
Invalid
|
Undecided
|
Unassigned |
Bug Description
On NixOS, running the tests fails with the following:
> UpdateCTestConf
> UpdateCTestConf
> Test project /build/
> Constructing a list of tests
> Done constructing a list of tests
> Updating test list for fixtures
> Added 0 tests to meet fixture requirements
> Checking test dependency graph...
> Checking test dependency graph end
> test 1
> Start 1: affine-test
>
> 1: Test command: /build/
> 1: Test timeout computed to be: 10000000
> 1: /build/
> 1/20 Test #1: affine-test .......
> test 2
> Start 2: angle-test
>
> 2: Test command: /build/
> 2: Test timeout computed to be: 10000000
> 2: /build/
> 2/20 Test #2: angle-test .......
> test 3
> Start 3: bezier-test
>
> 3: Test command: /build/
> 3: Test timeout computed to be: 10000000
> 3: /build/
> 3/20 Test #3: bezier-test .......
> test 4
> Start 4: choose-test
>
> 4: Test command: /build/
> 4: Test timeout computed to be: 10000000
> 4: /build/
> 4/20 Test #4: choose-test .......
> test 5
> Start 5: circle-test
>
> 5: Test command: /build/
> 5: Test timeout computed to be: 10000000
> 5: /build/
> 5/20 Test #5: circle-test .......
> test 6
> Start 6: convex-hull-test
>
> 6: Test command: /build/
> 6: Test timeout computed to be: 10000000
> 6: /build/
> 6/20 Test #6: convex-hull-test .......
> test 7
> Start 7: coord-test
>
> 7: Test command: /build/
> 7: Test timeout computed to be: 10000000
> 7: /build/
> 7/20 Test #7: coord-test .......
> test 8
> Start 8: ellipse-test
>
> 8: Test command: /build/
> 8: Test timeout computed to be: 10000000
> 8: /build/
> 8/20 Test #8: ellipse-test .......
> test 9
> Start 9: elliptical-arc-test
>
> 9: Test command: /build/
> 9: Test timeout computed to be: 10000000
> 9: /build/
> 9/20 Test #9: elliptical-arc-test .......
> test 10
> Start 10: intersection-
>
> 10: Test command: /build/
> 10: Test timeout computed to be: 10000000
> 10: /build/
> 10/20 Test #10: intersection-
> test 11
> Start 11: line-test
>
> 11: Test command: /build/
> 11: Test timeout computed to be: 10000000
> 11: /build/
> 11/20 Test #11: line-test .......
> test 12
> Start 12: nl-vector-test
>
> 12: Test command: /build/
> 12: Test timeout computed to be: 10000000
> 12: /build/
> 12/20 Test #12: nl-vector-test .......
> test 13
> Start 13: path-test
>
> 13: Test command: /build/
> 13: Test timeout computed to be: 10000000
> 13: /build/
> 13/20 Test #13: path-test .......
> test 14
> Start 14: point-test
>
> 14: Test command: /build/
> 14: Test timeout computed to be: 10000000
> 14: /build/
> 14/20 Test #14: point-test .......
> test 15
> Start 15: polynomial-test
>
> 15: Test command: /build/
> 15: Test timeout computed to be: 10000000
> 15: /build/
> 15/20 Test #15: polynomial-test .......
> test 16
> Start 16: rect-test
>
> 16: Test command: /build/
> 16: Test timeout computed to be: 10000000
> 16: /build/
> 16/20 Test #16: rect-test .......
> test 17
> Start 17: sbasis-test
>
> 17: Test command: /build/
> 17: Test timeout computed to be: 10000000
> 17: /build/
> 17/20 Test #17: sbasis-test .......
> test 18
> Start 18: sbasis-text-test
>
> 18: Test command: /build/
> 18: Test timeout computed to be: 10000000
> 18: /build/
> 18/20 Test #18: sbasis-text-test .......
> test 19
> Start 19: root-find-test
>
> 19: Test command: /build/
> 19: Test timeout computed to be: 10000000
> 19: /build/
> 19/20 Test #19: root-find-test .......
> test 20
> Start 20: implicitization
>
> 20: Test command: /build/
> 20: Test timeout computed to be: 10000000
> 20: /build/
> 20/20 Test #20: implicitization
>
> 0% tests passed, 20 tests failed out of 20
>
> Total Test time (real) = 0.04 sec
>
> The following tests FAILED:
> 1 - affine-test (Failed)
> 2 - angle-test (Failed)
> 3 - bezier-test (Failed)
> 4 - choose-test (Failed)
> 5 - circle-test (Failed)
> 6 - convex-hull-test (Failed)
> 7 - coord-test (Failed)
> 8 - ellipse-test (Failed)
> 9 - elliptical-arc-test (Failed)
> 10 - intersection-
> 11 - line-test (Failed)
> 12 - nl-vector-test (Failed)
> 13 - path-test (Failed)
> 14 - point-test (Failed)
> 15 - polynomial-test (Failed)
> 16 - rect-test (Failed)
> 17 - sbasis-test (Failed)
> 18 - sbasis-text-test (Failed)
> 19 - root-find-test (Failed)
> 20 - implicitization
> Errors while running CTest
Apparently, it tries to use vendored gtest instead of the system one and it fails.
Closing in favor of https:/ /gitlab. com/inkscape/ lib2geom/ issues/ 4