19 Oct 2012, 14:55
Generic-user-small

C. W. (3 posts)

Hi there,

i made it compile and work on my target TMS570. I also made it to let write out a xml file from the TMS570, but only if there is no failure during tests. If i try

LONGS_EQUAL(1, 0);

the system crashes during the line function(data);

int PlatformSpecificSetJmp(void (function) (void data), void* data) { if (0 == setjmp(test_exit_jmp_buf[jmp_buf_index])) { jmp_buf_index++; function(data); jmp_buf_index–; return 1; } return 0; }

The jump was called from here:

void Utest::run() { try { if (PlatformSpecificSetJmp(helperDoTestSetup, this)) { PlatformSpecificSetJmp(helperDoTestBody, this); <== } }

Have you any guess what might be the problem?

Thanks in advance.

C.W.

  You must be logged in to comment