UnitTestResults - coin-or-foundation/tlc GitHub Wiki
Results of Unit Testing with Code from January 17, 2006
Linux w/ gcc 4
-
Coin
- Passes all unit tests
-
Cgl
- Passes all unit tests
- No output, except a message indicating passage
-
Clp
- Non-standard unitTest build and call
- Unit test depends on files not checked out (Kipp Comment: Ted, I guess you are referring to the extra MPS files that must be downloaded?)
- Passes all unit tests
-
Cbc
- Non-standard unitTest build and call (same as Clp)
- No output at end indicating successful passage
- Not a very lengthy test
-
Osi
- Passes unit test (depends on Clp?)
- Question: what should Osi unit test depend on?
Kipp Comment: In unitTest there is the link command
$(CXX) $(CXXFLAGS) -o $@ $(TESTOBJ) $(LDFLAGS) $(SYSLD) -lm
and $(LDFLAGS) depends upon
a bunch of code such as:
ifneq ($(filter COIN_libOsiGlpk,$(CoinLibsDefined)),) IncDir += ${OsiGlpkIncDir} ${GlpkIncDir} LibDir += ${OsiGlpkLibDir} ${GlpkLibDir} LibName += ${OsiGlpkLibName} ${GlpkLibName} Define += ${OsiGlpkDefine} ${GlpkDefine} COIN_USE_GLPK TESTSRC += OsiGlpkSolverInterfaceTest.cpp endif
and if, for example, you uncomment the Glpk lib in Makefile.location, then the unitTest will depend on this library. Is this correct?
-
Smi
- Library builds, but unit test only builds if you uncomment uncomment the line
# CoinLibsDefined += COIN_libSmi
in Makefile.location
- The unit test assumes it is being called from the Test directory (unlike other projects) and also depends on files that are not checked out with the project.
Kipp Comment: Bottom line -- I was able to get a successful unitTest on everything for my Feb 3 download.
Ted Comment: OK, I am also able to do this with a February 6 checkout now.