Menu

#55 CUnit-2.1-2 on Solaris; missing files in tests and examples?

v1.0_(example)
closed
None
1
2014-12-23
2012-12-12
Anonymous
No

On Solaris, did an untar followed by a "./configure --enable-examples --enable-test" followed by a (GNU) make:

CUnit-2.1-2/% gmake
Making all in Sources
gmake[1]: Entering directory `/<deleted>/CUnit-2.1-2/CUnit/Sources'
Making all in Framework
gmake[2]: Entering directory `/<deleted>/CUnit-2.1-2/CUnit/Sources/Framework'
gcc -DHAVE_CONFIG_H -I. -I../../..     -DRELEASE=@RELEASE@ -Wall -W -pedantic -Wshadow -ansi -I/<deleted>/CUnit-2.1-2/CUnit/Headers -I../Test -DCUNIT_BUILD_TESTS -DCUNIT_DO_NOT_DEFINE_UNLESS_BUILDING_TESTS -DMEMTRACE -o CUError_test.o -c CUError.c
CUError.c:182:24: error: test_cunit.h: No such file or directory
CUError.c: In function 'test_cunit_CUError':
CUError.c:189: warning: implicit declaration of function 'test_cunit_start_tests'
CUError.c:193: warning: implicit declaration of function 'TEST'
CUError.c:228: warning: implicit declaration of function 'test_cunit_end_tests'
gmake[2]: *** [CUError_test.o] Error 1
gmake[2]: Leaving directory `/<deleted>/CUnit-2.1-2/CUnit/Sources/Framework'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/<deleted>/CUnit-2.1-2/CUnit/Sources'
gmake: *** [all-recursive] Error 1

or in the Examples:

CUnit-2.1-2/Examples % gmake
Making all in .
gmake[1]: Entering directory `/<deleted>/CUnit-2.1-2/Examples'
gcc -DHAVE_CONFIG_H -I. -I..     -DRELEASE=@RELEASE@ -Wall -W -pedantic -Wshadow -ansi -I/<deleted>/CUnit-2.1-2/CUnit/Headers -MT ExampleTests.o -MD -MP -MF .deps/ExampleTests.Tpo -c -o ExampleTests.o ExampleTests.c
ExampleTests.c:27:26: error: ExampleTests.h: No such file or directory
gmake[1]: *** [ExampleTests.o] Error 1
gmake[1]: Leaving directory `/<deleted>/CUnit-2.1-2/Examples'
gmake: *** [all-recursive] Error 1

What's wrong?

Discussion

  • Anonymous

    Anonymous - 2012-12-12

    Got the examples to work by downloading the missing file from the website.
    The downloadable .gz doesn't seem to be complete/tested :-(

    "gmake check" doesn't seem to do anything (?).

     
  • Anil Kumar

    Anil Kumar - 2014-04-24
    • status: open --> closed
    • assigned_to: Anil Kumar
     
  • Anil Kumar

    Anil Kumar - 2014-04-24

    This should be fixed in 2.1-3 download

     

Anonymous
Anonymous

Add attachments
Cancel