Post by vlad3r on Aug 22, 2012 6:14:31 GMT -5
Hello,
I have tried to run the framework, with the sample1. I am getting the following output:
$ ./testape -o gcc calc.c sample1.c testape.a
TestApe instrumentation tool, release r880-Dec-03-2011-windows.
Unit testing for embedded software - testape.com
_____________
------ OOO ----
++
,,, ++
()**
(_)**
** +
*+ + .
++ ()
oo () oo
oo
Testape: Executing 'env COLLECT_NO_DEMANGLE=1 gcc calc.c sample1.c testape.a -lc
2>testape_prelink_result'
Analyzing ...
Generating default mocks -> add subtract multiply divide
Generating hooks -> None
Testape: Executing 'gcc -c testape.c >testape.log 2>testape.err'
Testape: Executing 'gcc calc.c sample1.c testape.a'
Access is denied.
It creates the file "testape_prelink_result", and the content of this file is:
/tmp/ccF42004.o:calc.c:(.text+0x85): undefined reference to `_add'
/tmp/ccF42004.o:calc.c:(.text+0x9c): undefined reference to `_subtract'
/tmp/ccF42004.o:calc.c:(.text+0xb0): undefined reference to `_multiply'
/tmp/ccF42004.o:calc.c:(.text+0xc4): undefined reference to `_divide'
testape.a(testape_main.o): In function `main_worker':
/cygdrive/c/Users/User/Desktop/TestApe/sw/framework/testape_main.c:461: undefined reference to `_testape_build_info'
/cygdrive/c/Users/User/Desktop/TestApe/sw/framework/testape_main.c:462: undefined reference to `_testape_error_handler'
/cygdrive/c/Users/User/Desktop/TestApe/sw/framework/testape_main.c:463: undefined reference to `_testape_validate_fp_accuracy'
collect2: ld returned 1 exit status
Please can you help me with this?
Best regards
I have tried to run the framework, with the sample1. I am getting the following output:
$ ./testape -o gcc calc.c sample1.c testape.a
TestApe instrumentation tool, release r880-Dec-03-2011-windows.
Unit testing for embedded software - testape.com
_____________
------ OOO ----
++
,,, ++
()**
(_)**
** +
*+ + .
++ ()
oo () oo
oo
Testape: Executing 'env COLLECT_NO_DEMANGLE=1 gcc calc.c sample1.c testape.a -lc
2>testape_prelink_result'
Analyzing ...
Generating default mocks -> add subtract multiply divide
Generating hooks -> None
Testape: Executing 'gcc -c testape.c >testape.log 2>testape.err'
Testape: Executing 'gcc calc.c sample1.c testape.a'
Access is denied.
It creates the file "testape_prelink_result", and the content of this file is:
/tmp/ccF42004.o:calc.c:(.text+0x85): undefined reference to `_add'
/tmp/ccF42004.o:calc.c:(.text+0x9c): undefined reference to `_subtract'
/tmp/ccF42004.o:calc.c:(.text+0xb0): undefined reference to `_multiply'
/tmp/ccF42004.o:calc.c:(.text+0xc4): undefined reference to `_divide'
testape.a(testape_main.o): In function `main_worker':
/cygdrive/c/Users/User/Desktop/TestApe/sw/framework/testape_main.c:461: undefined reference to `_testape_build_info'
/cygdrive/c/Users/User/Desktop/TestApe/sw/framework/testape_main.c:462: undefined reference to `_testape_error_handler'
/cygdrive/c/Users/User/Desktop/TestApe/sw/framework/testape_main.c:463: undefined reference to `_testape_validate_fp_accuracy'
collect2: ld returned 1 exit status
Please can you help me with this?
Best regards