Open domichel opened 5 days ago
The cli console output:
$ ./build_and_run_all_cli_tests
Available tests: TestCentipedeEndpoints TestCorrelation TestCrc32 TestExport TestExportAlign TestFitting TestFormats TestGraphCoords TestGridLineLimiter TestGuidelines TestMatrix TestProjectedPoint TestSegmentFill TestSpline TestSplineDrawer TestTransformation TestValidators TestZoomTransition
Selected tests: TestCentipedeEndpoints TestCorrelation TestCrc32 TestExport TestExportAlign TestFitting TestFormats TestGraphCoords TestGridLineLimiter TestGuidelines TestMatrix TestProjectedPoint TestSegmentFill TestSpline TestSplineDrawer TestTransformation TestValidators TestZoomTransition
Afterwards, check build_and_run_all_cli_tests.log to verify success
Rebuilding...
Project MESSAGE: Build type: release
Project MESSAGE: JPEG2000 support: no
Project MESSAGE: PDF support: no
Project MESSAGE: networking build: no
********* Start testing of TestCentipedeEndpoints *********
PASS : TestCentipedeEndpoints::initTestCase()
PASS : TestCentipedeEndpoints::testCartesianXPosition()
PASS : TestCentipedeEndpoints::testCartesianYPosition()
PASS : TestCentipedeEndpoints::testPolarRPosition()
PASS : TestCentipedeEndpoints::testPolarTPosition()
PASS : TestCentipedeEndpoints::cleanupTestCase()
Totals: 6 passed, 0 failed, 0 skipped, 0 blacklisted, 1ms
********* Finished testing of TestCentipedeEndpoints *********
Project MESSAGE: Build type: release
Project MESSAGE: JPEG2000 support: no
Project MESSAGE: PDF support: no
Project MESSAGE: networking build: no
********* Start testing of TestCorrelation *********
PASS : TestCorrelation::initTestCase()
PASS : TestCorrelation::testShiftSinusoidNonPowerOf2()
PASS : TestCorrelation::testShiftSinusoidPowerOf2()
PASS : TestCorrelation::testShiftThreeTrianglesNonPowerOf2()
PASS : TestCorrelation::testShiftThreeTrianglesPowerOf2()
PASS : TestCorrelation::cleanupTestCase()
Totals: 6 passed, 0 failed, 0 skipped, 0 blacklisted, 157ms
********* Finished testing of TestCorrelation *********
Project MESSAGE: Build type: release
Project MESSAGE: JPEG2000 support: no
Project MESSAGE: PDF support: no
Project MESSAGE: networking build: no
********* Start testing of TestCrc32 *********
PASS : TestCrc32::initTestCase()
PASS : TestCrc32::testFileBinary()
PASS : TestCrc32::testFileText()
PASS : TestCrc32::testMemory()
PASS : TestCrc32::cleanupTestCase()
Totals: 5 passed, 0 failed, 0 skipped, 0 blacklisted, 1ms
********* Finished testing of TestCrc32 *********
Project MESSAGE: Build type: release
Project MESSAGE: JPEG2000 support: no
Project MESSAGE: PDF support: no
Project MESSAGE: networking build: no
********* Start testing of TestExport *********
PASS : TestExport::initTestCase()
FAIL! : TestExport::testCommasInFunctionsForCommasSwitzerland() 'outputGot == outputExpectedIfCommaSeparator || outputGot == outputExpectedIfPeriodSeparator' returned FALSE. ()
Loc: [Test/TestExport.cpp(269)]
FAIL! : TestExport::testCommasInFunctionsForCommasUnitedStates() 'outputGot == outputExpected' returned FALSE. ()
Loc: [Test/TestExport.cpp(294)]
FAIL! : TestExport::testCommasInFunctionsForTabsSwitzerland() 'outputGot == outputExpectedIfCommaSeparator || outputGot == outputExpectedIfPeriodSeparator' returned FALSE. ()
Loc: [Test/TestExport.cpp(328)]
FAIL! : TestExport::testCommasInFunctionsForTabsUnitedStates() 'outputGot == outputExpected' returned FALSE. ()
Loc: [Test/TestExport.cpp(353)]
PASS : TestExport::testCommasInRelationsForCommasSwitzerland()
PASS : TestExport::testCommasInRelationsForCommasUnitedStates()
PASS : TestExport::testCommasInRelationsForTabsSwitzerland()
PASS : TestExport::testCommasInRelationsForTabsUnitedStates()
PASS : TestExport::testExportOnlyNonRegressionLowerCase()
PASS : TestExport::testExportOnlyNonRegressionUpperCase()
PASS : TestExport::testExportOnlyRegressionLowerCase()
PASS : TestExport::testExportOnlyRegressionUpperCase()
PASS : TestExport::testLogExtrapolationFunctionsAll()
PASS : TestExport::cleanupTestCase()
Totals: 11 passed, 4 failed, 0 skipped, 0 blacklisted, 151ms
********* Finished testing of TestExport *********
Project MESSAGE: Build type: release
Project MESSAGE: JPEG2000 support: no
Project MESSAGE: PDF support: no
Project MESSAGE: networking build: no
********* Start testing of TestExportAlign *********
PASS : TestExportAlign::initTestCase()
PASS : TestExportAlign::testLinearDigits1()
PASS : TestExportAlign::testLinearDigits2()
PASS : TestExportAlign::testLinearDigits3()
PASS : TestExportAlign::testLinearHighDynamicRangeNegNeg()
PASS : TestExportAlign::testLinearHighDynamicRangeNegPos()
PASS : TestExportAlign::testLinearHighDynamicRangePosPos()
PASS : TestExportAlign::testLinearLowDynamicRangeNegNeg()
PASS : TestExportAlign::testLinearLowDynamicRangeNegPos()
PASS : TestExportAlign::testLinearLowDynamicRangePosPos()
PASS : TestExportAlign::testLinearRelativelySmallRangeNeg()
PASS : TestExportAlign::testLinearRelativelySmallRangePos()
PASS : TestExportAlign::testLogDigits1()
PASS : TestExportAlign::testLogDigits2()
PASS : TestExportAlign::testLogDigits3()
PASS : TestExportAlign::testLogHighDynamicRangeNegNeg()
PASS : TestExportAlign::testLogHighDynamicRangeNegPos()
PASS : TestExportAlign::testLogHighDynamicRangePosPos()
PASS : TestExportAlign::testLogLowDynamicRangeNegNeg()
PASS : TestExportAlign::testLogLowDynamicRangeNegPos()
PASS : TestExportAlign::testLogLowDynamicRangePosPos()
PASS : TestExportAlign::testLogRelativelySmallRangeNeg()
PASS : TestExportAlign::testLogRelativelySmallRangePos()
PASS : TestExportAlign::cleanupTestCase()
Totals: 24 passed, 0 failed, 0 skipped, 0 blacklisted, 1ms
********* Finished testing of TestExportAlign *********
Project MESSAGE: Build type: release
Project MESSAGE: JPEG2000 support: no
Project MESSAGE: PDF support: no
Project MESSAGE: networking build: no
********* Start testing of TestFitting *********
PASS : TestFitting::initTestCase()
PASS : TestFitting::testFunctionExactFit01()
PASS : TestFitting::testFunctionExactFit12()
PASS : TestFitting::testFunctionExactFit23()
PASS : TestFitting::testFunctionExactFit34()
PASS : TestFitting::testFunctionOverfit11()
PASS : TestFitting::testFunctionOverfit22()
PASS : TestFitting::testFunctionOverfit33()
PASS : TestFitting::testFunctionOverfit44()
PASS : TestFitting::testFunctionUnderfit02()
PASS : TestFitting::testFunctionUnderfit13()
PASS : TestFitting::testFunctionUnderfit24()
PASS : TestFitting::testFunctionUnderfit35()
PASS : TestFitting::testNonFunction()
PASS : TestFitting::testOrderReduced3()
PASS : TestFitting::testOrderReduced4()
PASS : TestFitting::testOrderReduced5()
PASS : TestFitting::testOrderReduced6()
PASS : TestFitting::testSignificantDigits3()
PASS : TestFitting::testSignificantDigits4()
PASS : TestFitting::testSignificantDigits5()
PASS : TestFitting::testSignificantDigits6()
PASS : TestFitting::cleanupTestCase()
Totals: 23 passed, 0 failed, 0 skipped, 0 blacklisted, 150ms
********* Finished testing of TestFitting *********
Project MESSAGE: Build type: release
Project MESSAGE: JPEG2000 support: no
Project MESSAGE: PDF support: no
Project MESSAGE: networking build: no
********* Start testing of TestFormats *********
PASS : TestFormats::initTestCase()
PASS : TestFormats::testDateTimeMdy()
PASS : TestFormats::testDateTimeMdy0()
PASS : TestFormats::testDateTimeMdy01()
PASS : TestFormats::testDateTimeMdy01Slash()
PASS : TestFormats::testDateTimeMdy01Slash0()
PASS : TestFormats::testDateTimeMdy01Slash02()
PASS : TestFormats::testDateTimeMdy01Slash02Slash()
PASS : TestFormats::testDateTimeMdy01Slash02Slash2()
PASS : TestFormats::testDateTimeMdy01Slash02Slash20()
PASS : TestFormats::testDateTimeMdy01Slash02Slash202()
PASS : TestFormats::testDateTimeMdy01Slash02Slash2020()
PASS : TestFormats::testDateTimeMdy01Slash02Slash2020Space()
PASS : TestFormats::testDateTimeMdy01Slash02Slash2020Space0()
PASS : TestFormats::testDateTimeMdy01Slash02Slash2020Space01()
PASS : TestFormats::testDateTimeMdy01Slash02Slash2020Space01Colon()
PASS : TestFormats::testDateTimeMdy01Slash02Slash2020Space01Colon0()
PASS : TestFormats::testDateTimeMdy01Slash02Slash2020Space01Colon02()
PASS : TestFormats::testDateTimeMdy01Slash02Slash2020Space01Colon02Colon()
PASS : TestFormats::testDateTimeMdy01Slash02Slash2020Space01Colon02Colon0()
PASS : TestFormats::testDateTimeMdy01Slash02Slash2020Space01Colon02Colon03()
PASS : TestFormats::testDateTimeMdy01Slash02Slash2020Space01Colon02Colon03Space()
PASS : TestFormats::testDateTimeMdy01Slash02Slash2020Space01Colon02Colon03SpaceA()
PASS : TestFormats::testDateTimeMdy01Slash02Slash2020Space01Colon02Colon03SpaceAM()
PASS : TestFormats::testDateTimeYmd()
PASS : TestFormats::testDateTimeYmd2()
PASS : TestFormats::testDateTimeYmd20()
PASS : TestFormats::testDateTimeYmd202()
PASS : TestFormats::testDateTimeYmd2020()
PASS : TestFormats::testDateTimeYmd2020Slash()
PASS : TestFormats::testDateTimeYmd2020Slash0()
PASS : TestFormats::testDateTimeYmd2020Slash01()
PASS : TestFormats::testDateTimeYmd2020Slash01Slash()
PASS : TestFormats::testDateTimeYmd2020Slash01Slash0()
PASS : TestFormats::testDateTimeYmd2020Slash01Slash02()
PASS : TestFormats::testDateTimeYmd2020Slash01Slash02Space()
PASS : TestFormats::testDateTimeYmd2020Slash01Slash02Space0()
PASS : TestFormats::testDateTimeYmd2020Slash01Slash02Space01()
PASS : TestFormats::testDateTimeYmd2020Slash01Slash02Space01Colon()
PASS : TestFormats::testDateTimeYmd2020Slash01Slash02Space01Colon0()
PASS : TestFormats::testDateTimeYmd2020Slash01Slash02Space01Colon02()
PASS : TestFormats::testDateTimeYmd2020Slash01Slash02Space01Colon02Colon()
PASS : TestFormats::testDateTimeYmd2020Slash01Slash02Space01Colon02Colon0()
PASS : TestFormats::testDateTimeYmd2020Slash01Slash02Space01Colon02Colon03()
PASS : TestFormats::testDateTimeYmd2020Slash01Slash02Space01Colon02Colon03Space()
PASS : TestFormats::testDateTimeYmd2020Slash01Slash02Space01Colon02Colon03SpaceA()
PASS : TestFormats::testDateTimeYmd2020Slash01Slash02Space01Colon02Colon03SpaceAM()
PASS : TestFormats::testDegreesMinutesSeconds()
PASS : TestFormats::testDegreesMinutesSeconds180()
PASS : TestFormats::testDegreesMinutesSeconds180Space()
PASS : TestFormats::testDegreesMinutesSeconds180Space10()
PASS : TestFormats::testDegreesMinutesSeconds180Space10Space()
PASS : TestFormats::testDegreesMinutesSeconds180Space10Space20()
PASS : TestFormats::cleanupTestCase()
Totals: 54 passed, 0 failed, 0 skipped, 0 blacklisted, 343ms
********* Finished testing of TestFormats *********
Project MESSAGE: Build type: release
Project MESSAGE: JPEG2000 support: no
Project MESSAGE: PDF support: no
Project MESSAGE: networking build: no
********* Start testing of TestGraphCoords *********
PASS : TestGraphCoords::initTestCase()
PASS : TestGraphCoords::testAnyColumnsRepeatNo()
PASS : TestGraphCoords::testAnyColumnsRepeatYes()
PASS : TestGraphCoords::testThreeCollinearPointsNo()
PASS : TestGraphCoords::testThreeCollinearPointsYes()
PASS : TestGraphCoords::cleanupTestCase()
Totals: 6 passed, 0 failed, 0 skipped, 0 blacklisted, 147ms
********* Finished testing of TestGraphCoords *********
Project MESSAGE: Build type: release
Project MESSAGE: JPEG2000 support: no
Project MESSAGE: PDF support: no
Project MESSAGE: networking build: no
********* Start testing of TestGridLineLimiter *********
PASS : TestGridLineLimiter::initTestCase()
PASS : TestGridLineLimiter::testBadStepLinearX()
PASS : TestGridLineLimiter::testBadStepLinearY()
PASS : TestGridLineLimiter::testBadStepLogX()
PASS : TestGridLineLimiter::testBadStepLogY()
PASS : TestGridLineLimiter::testTransitionLinearToLogX()
PASS : TestGridLineLimiter::testTransitionLinearToLogY()
PASS : TestGridLineLimiter::cleanupTestCase()
Totals: 8 passed, 0 failed, 0 skipped, 0 blacklisted, 151ms
********* Finished testing of TestGridLineLimiter *********
Project MESSAGE: Build type: release
Project MESSAGE: JPEG2000 support: no
Project MESSAGE: PDF support: no
Project MESSAGE: networking build: no
********* Start testing of TestGuidelines *********
PASS : TestGuidelines::initTestCase()
PASS : TestGuidelines::test00StartupWithoutTransformationReport()
PASS : TestGuidelines::test01AfterAddingTransformationReport()
PASS : TestGuidelines::test02AfterRemovingTransformationReport()
PASS : TestGuidelines::cleanupTestCase()
Totals: 5 passed, 0 failed, 0 skipped, 0 blacklisted, 5470ms
********* Finished testing of TestGuidelines *********
Project MESSAGE: Build type: release
Project MESSAGE: JPEG2000 support: no
Project MESSAGE: PDF support: no
Project MESSAGE: networking build: no
********* Start testing of TestMatrix *********
PASS : TestMatrix::initTestCase()
PASS : TestMatrix::testDeterminant()
PASS : TestMatrix::testInverse()
PASS : TestMatrix::testInverse2()
PASS : TestMatrix::testMultiplyNonSquareMatrix()
PASS : TestMatrix::testMultiplyNonSquareMatrixAndVector()
PASS : TestMatrix::testMultiplySquareMatrix()
PASS : TestMatrix::testMultiplySquareMatrixAndVector()
PASS : TestMatrix::testTranspose()
PASS : TestMatrix::cleanupTestCase()
Totals: 10 passed, 0 failed, 0 skipped, 0 blacklisted, 147ms
********* Finished testing of TestMatrix *********
Project MESSAGE: Build type: release
Project MESSAGE: JPEG2000 support: no
Project MESSAGE: PDF support: no
Project MESSAGE: networking build: no
********* Start testing of TestProjectedPoint *********
PASS : TestProjectedPoint::initTestCase()
PASS : TestProjectedPoint::testProjectedPoints()
PASS : TestProjectedPoint::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 147ms
********* Finished testing of TestProjectedPoint *********
Project MESSAGE: Build type: release
Project MESSAGE: JPEG2000 support: no
Project MESSAGE: PDF support: no
Project MESSAGE: networking build: no
********* Start testing of TestSegmentFill *********
PASS : TestSegmentFill::initTestCase()
PASS : TestSegmentFill::testFindSegments()
PASS : TestSegmentFill::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 164ms
********* Finished testing of TestSegmentFill *********
Project MESSAGE: Build type: release
Project MESSAGE: JPEG2000 support: no
Project MESSAGE: PDF support: no
Project MESSAGE: networking build: no
********* Start testing of TestSpline *********
PASS : TestSpline::initTestCase()
PASS : TestSpline::testCoefficientsFromOrdinals()
PASS : TestSpline::testSharpTransition()
PASS : TestSpline::testSplinesAsControlPoints()
PASS : TestSpline::cleanupTestCase()
Totals: 5 passed, 0 failed, 0 skipped, 0 blacklisted, 146ms
********* Finished testing of TestSpline *********
Project MESSAGE: Build type: release
Project MESSAGE: JPEG2000 support: no
Project MESSAGE: PDF support: no
Project MESSAGE: networking build: no
********* Start testing of TestSplineDrawer *********
PASS : TestSplineDrawer::initTestCase()
PASS : TestSplineDrawer::testMultiValuedLeadingOverlap()
PASS : TestSplineDrawer::testMultiValuedTrailingOverlap()
PASS : TestSplineDrawer::cleanupTestCase()
Totals: 4 passed, 0 failed, 0 skipped, 0 blacklisted, 148ms
********* Finished testing of TestSplineDrawer *********
Project MESSAGE: Build type: release
Project MESSAGE: JPEG2000 support: no
Project MESSAGE: PDF support: no
Project MESSAGE: networking build: no
********* Start testing of TestTransformation *********
PASS : TestTransformation::initTestCase()
PASS : TestTransformation::testCartesianLinearLinear()
PASS : TestTransformation::testCartesianLinearLog()
PASS : TestTransformation::testCartesianLogLinear()
PASS : TestTransformation::testCartesianLogLog()
PASS : TestTransformation::testPolarLinear()
PASS : TestTransformation::testPolarLogOffset1()
PASS : TestTransformation::testPolarLogOffset10()
PASS : TestTransformation::cleanupTestCase()
Totals: 9 passed, 0 failed, 0 skipped, 0 blacklisted, 149ms
********* Finished testing of TestTransformation *********
Project MESSAGE: Build type: release
Project MESSAGE: JPEG2000 support: no
Project MESSAGE: PDF support: no
Project MESSAGE: networking build: no
********* Start testing of TestValidators *********
PASS : TestValidators::initTestCase()
PASS : TestValidators::testDateTimeDate()
PASS : TestValidators::testDateTimeDateTime()
PASS : TestValidators::testDateTimeDateTimePm()
PASS : TestValidators::testDateTimeTime()
PASS : TestValidators::testDegreesMinutesSecondsDegrees()
PASS : TestValidators::testDegreesMinutesSecondsDegreesMinutes()
PASS : TestValidators::testDegreesMinutesSecondsDegreesMinutesSeconds()
PASS : TestValidators::testNumberInteger()
FAIL! : TestValidators::testNumberReal() 'stateNumber ("1.1", QValidator::Acceptable)' returned FALSE. ()
Loc: [Test/TestValidators.cpp(136)]
PASS : TestValidators::testNumberRealBad()
PASS : TestValidators::cleanupTestCase()
Totals: 11 passed, 1 failed, 0 skipped, 0 blacklisted, 154ms
********* Finished testing of TestValidators *********
Project MESSAGE: Build type: release
Project MESSAGE: JPEG2000 support: no
Project MESSAGE: PDF support: no
Project MESSAGE: networking build: no
********* Start testing of TestZoomTransition *********
PASS : TestZoomTransition::initTestCase()
PASS : TestZoomTransition::testInAtClosestEnum()
PASS : TestZoomTransition::testInBeforeClosestFromEnum()
PASS : TestZoomTransition::testInBeforeClosestFromFill()
PASS : TestZoomTransition::testOutAtFarthestEnum()
PASS : TestZoomTransition::testOutBeforeFarthestFromEnum()
PASS : TestZoomTransition::testOutBeforeFarthestFromFill()
PASS : TestZoomTransition::cleanupTestCase()
Totals: 8 passed, 0 failed, 0 skipped, 0 blacklisted, 148ms
********* Finished testing of TestZoomTransition *********
For the gui tests, I made a file with the output: build_and_run_all_gui_tests.log
As the gentoo package only show a window with 2 empty tabs with the Help->Help menu, I compiled engauge from the git and it run fine.
When running the test, I get a few failures. The cli log file: