Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Algorithms test fail on some brands #48

Open
peterpt opened this issue Feb 17, 2019 · 4 comments
Open

Algorithms test fail on some brands #48

peterpt opened this issue Feb 17, 2019 · 4 comments

Comments

@peterpt
Copy link

peterpt commented Feb 17, 2019

After compiling the test code to see if everything went fine ahead i got some algorithms test failures .

According to gcc everything went fine :
https://pastebin.com/2KN9niNK

However , on the tests i got this :

********* Start testing of AlgorithmsTest *********
Config: Using QtTest library 5.11.3, Qt 5.11.3 (i386-little_endian-ilp32 shared (dynamic) release build; by GCC 8.2.0)
PASS : AlgorithmsTest::initTestCase()
PASS : AlgorithmsTest::test()
PASS : AlgorithmsTest::testAliceItaly()
PASS : AlgorithmsTest::testAliceItaly2()
PASS : AlgorithmsTest::testAliceItaly3()
PASS : AlgorithmsTest::testAliceItaly4()
PASS : AlgorithmsTest::testAliceGermany()
PASS : AlgorithmsTest::testArcadyan()
PASS : AlgorithmsTest::testArcadyan2()
PASS : AlgorithmsTest::testInterCable()
FAIL! : AlgorithmsTest::testArnetPirelli() Compared values are not the same
Actual (results.at(0)) : "7qp5eq4ekr"
Expected (QString("hcckr5ch38")): "hcckr5ch38"
Loc: [AlgorithmsTest.cpp(169)]
FAIL! : AlgorithmsTest::testArnetPirelli2() Compared values are not the same
Actual (results.at(0)) : "7qp5eq4e"
Expected (QString("ds7prly5")): "ds7prly5"
Loc: [AlgorithmsTest.cpp(182)]
PASS : AlgorithmsTest::testBelkin()
FAIL! : AlgorithmsTest::testBelkin2() Caught unhandled exception
Loc: [qtestcase.cpp(1847)]
Totals: 11 passed, 3 failed, 0 skipped, 0 blacklisted, 122ms
********* Finished testing of AlgorithmsTest *********
terminate called after throwing an instance of 'int'
Aborted

@RealEnder
Copy link
Collaborator

Sorry for the late reply, on 64bit LE system everything passes OK. Will try to hunt this down on i386 build.

@peterpt
Copy link
Author

peterpt commented Mar 11, 2019

this is an amd 64bit linux .

@RealEnder
Copy link
Collaborator

Yes, but with 32bit QT5, see Config line:
Config: Using QtTest library 5.11.3, Qt 5.11.3 (i386-little_endian-ilp32 shared (dynamic) release build; by GCC 8.2.0)
Try to use 64bit for now, eg mine reads:
Config: Using QtTest library 5.11.1, Qt 5.11.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 8.2.0)

@peterpt
Copy link
Author

peterpt commented Mar 12, 2019

ok , i will do the tests here .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants