Ticket #42 (closed defect: fixed)

Opened 11 months ago

Last modified 11 months ago

Unit test fails

Reported by: michelpons Owned by: jasper
Priority: major Milestone: Maintenance of Phase II
Component: Building distribution Version: 1.2.0.0
Keywords: Cc:

Description

Using commit 139: unit test fails:
Starting test execution, please wait...

A total of 1 test files matched the specified pattern.

X COBIALoadTest [506ms]
Error Message:

Assert failed. COBIA load failure

Stack Trace:

at CobiaTest::BasicTests::COBIALoadTest() in C:\Users\CTO\Documents\colan_cobia\COBIA\UnitTests?\BasicTest?.cpp:line 24

CapeArrayRealImplTest? [< 1ms]
CapeArrayRealAdapterTest? [< 1ms]
CobiaArrayRealTest? [< 1ms]
CapeArrayIntegerImplTest? [< 1ms]
CapeArrayIntegerAdapterTest? [< 1ms]
CobiaArrayIntegerTest? [< 1ms]
CapeArrayByteImplTest? [< 1ms]
CapeArrayByteAdapterTest? [< 1ms]
CobiaArrayByteTest? [< 1ms]
CapeArrayBooleanImplTest? [< 1ms]
CapeArrayBooleanAdapterTest? [< 1ms]
CobiaArrayBooleanTest? [< 1ms]
CapeArrayEnumerationImplTest? [< 1ms]
CapeArrayEnumerationAdapterTest? [< 1ms]
CobiaArrayEnumerationTest? [< 1ms]
CapeStringImplTest? [< 1ms]
CapeStringAdapterTest? [< 1ms]
CobiaStringTest? [< 1ms]
CapeArrayStringImplTest? [< 1ms]
CapeArrayStringAdapterTest? [< 1ms]
CobiaArrayStringTest? [< 1ms]
CapeValueImplTest? [< 1ms]
CobiaValueTest? [< 1ms]
CapeArrayValueImplTest? [< 1ms]
CobiaArrayValueTest? [< 1ms]
√ UUID [< 1ms]
DataFolders? [< 1ms]
√ parserTest [< 1ms]
RegistryTest? [< 1ms]
√ PMCRegistrarTest [< 1ms]

Test Run Failed.
Total tests: 31

Passed: 30
Failed: 1

Total time: 2.3257 Seconds

Traceback (most recent call last):

File "C:\Users\CTO\Documents\colan_cobia\makedistribution.py", line 333, in <module>

raise RuntimeError?('Win32 unit tests failed')

RuntimeError?: Win32 unit tests failed

C:\Users\CTO\Documents\colan_cobia>

Change History

comment:1 in reply to: ↑ description Changed 11 months ago by anonymous

Looks like COBIA is not registered. I can change the script to automatically register the version that was just built - this is required for the unit tests to pass. Proceed as such? This of course will interfere with any other COBIA registration.

comment:2 Changed 11 months ago by michelpons

Need to figure out what is the right sequence there. Build is made on a separate machine where several builds may be performed over time. Should the script start by unregistering any COBIA registration and proceed from there?

comment:3 Changed 11 months ago by jasper

  • Status changed from new to closed
  • Resolution set to fixed

Should be fixed with commit r140 - please validate.

comment:4 Changed 11 months ago by michelpons

  • Milestone set to Maintenance of Phase II
Note: See TracTickets for help on using tickets.