Unit tests fail because of duplicate names
Using custom build of boost 1.66.0 with a version of feature/Womersley with master merged the unit tests fail due to duplicate names. I need to check on a clean build of master.
ctest --rerun-failed -VV
UpdateCTestConfiguration from :/home/sansomk/build/nektar/build/DartConfiguration.tcl
UpdateCTestConfiguration from :/home/sansomk/build/nektar/build/DartConfiguration.tcl
Test project /home/sansomk/build/nektar/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 349
Start 349: UnitTests
349: Test command: /home/sansomk/build/nektar/build/library/UnitTests/UnitTests "--detect_memory_leaks=0"
349: Test timeout computed to be: 10000000
349: terminate called after throwing an instance of 'boost::unit_test::framework::setup_error'
349: what(): test unit with name 'TestElementAccess' registered multiple times
1/2 Test #349: UnitTests ........................***Exception: Child aborted 0.17 sec
test 351
Start 351: LinearAlgebraUnitTests
351: Test command: /home/sansomk/build/nektar/build/library/UnitTests/LibUtilities/LinearAlgebra/LinearAlgebraUnitTests "--detect_memory_leaks=0"
351: Test timeout computed to be: 10000000
351: terminate called after throwing an instance of 'boost::unit_test::framework::setup_error'
351: what(): test unit with name 'TestAdvance' registered multiple times
2/2 Test #351: LinearAlgebraUnitTests ...........***Exception: Child aborted 0.17 sec
0% tests passed, 2 tests failed out of 2
Total Test time (real) = 0.38 sec
The following tests FAILED:
349 - UnitTests (Child aborted)
351 - LinearAlgebraUnitTests (Child aborted)
Errors while running CTest
`
I went through and changed each of the duplicate names and was able to get the tests to run.
this fixed the UnitTests but the LinearAlgebraUnitTests passes but doesn't pass.
ctest --rerun-failed -VV UpdateCTestConfiguration from :/home/sansomk/build/nektar/build/DartConfiguration.tcl UpdateCTestConfiguration from :/home/sansomk/build/nektar/build/DartConfiguration.tcl Test project /home/sansomk/build/nektar/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 351 Start 351: LinearAlgebraUnitTests
351: Test command: /home/sansomk/build/nektar/build/library/UnitTests/LibUtilities/LinearAlgebra/LinearAlgebraUnitTests "--detect_memory_leaks=0" 351: Test timeout computed to be: 10000000 351: Running 100 test cases... 351: 351: Fatal : Level 0 assertion violation 351: Can't assign values into zeroed elements of a special array. 351: 351: Fatal : Level 0 assertion violation 351: Can't assign values into zeroed elements of a special array. 351: 351: Fatal : Level 0 assertion violation 351: Can't assign values into zeroed elements of a special array. 351: 351: Fatal : Level 0 assertion violation 351: Can't assign values into zeroed elements of a special array. 351: 351: *** No errors detected 351: 1/1 Test #351: LinearAlgebraUnitTests ........... Passed 0.03 sec
100% tests passed, 0 tests failed out of 1
Total Test time (real) = 0.07 sec