[cgma-dev] r5768 - cgm/trunk/test

Iulian Grindeanu iulian at mcs.anl.gov
Mon Oct 8 10:03:11 CDT 2012


Hi Jane, 
I had to change configure.ac too, and some other Makefile.am. I did not get a message for committing, but you can check online what I did. 

http://trac.mcs.anl.gov/projects/ITAPS/changeset/5769 
http://trac.mcs.anl.gov/projects/ITAPS/changeset/5770 

Thanks, 
Iulian 

----- Original Message -----

| Thanks, Iulian. I see that you updated test/Makefile.am to add
| $(CGM_EXT_LIBS). Seems it solved the problems!


| Have a nice day!


| Jane



| On Mon, Oct 8, 2012 at 7:16 AM, Iulian Grindeanu < iulian at mcs.anl.gov
| > wrote:




| | I forgot to commit a file, TestConfig.h.in in the new place, so it
| | didn't work :(

| | It should work tonight

| | Iulian







| | | Hi Jane,

| | | I think I fixed it, you should double-check on Monday. I restarted
| | | the
| | | buildbot, so we will know if I fixed it or not :)


| | | Best Regards,

| | | Iulian






| | | | I don't get it, I am planning to remove the whole geom/testing,
| | | | and
| | | | move its contents to cgm/test. I am not using cmake either, but
| | | | thought I should keep the *txt file for later reference. Maybe I
| | | | should change Makefile.am in the parent directory to not look to
| | | | build
| | | | test in geom/testing. I'll look into it Monday.


| | | | Jane



| | | | On Sat, Oct 6, 2012 at 7:59 AM, Iulian Grindeanu <
| | | | iulian at mcs.anl.gov
| | | | > wrote:




| | | | | Hi Jane,

| | | | | The buildbot failed last night, because of these and above
| | | | | changes.
| | | | | (autoreconf -fi failed, I tried on a new working folder)

| | | | | Buildbot uses autotools, not cmake. So it needs Makefile.am
| | | | | and
| | | | | TestConfig.h.in , in geom/testing, to generate Makefile and
| | | | | TestConfig.h.

| | | | | I will disable the buildbot for the weekend, unless you can
| | | | | fix
| | | | | it.


| | | | | Thanks,

| | | | | Iulian


| | | | | From: janehu at mcs.anl.gov

| | | | | To: cgma-dev at mcs.anl.gov

| | | | | Sent: Friday, October 5, 2012 10:58:11 AM

| | | | | Subject: [cgma-dev] r5768 - cgm/trunk/test




| | | | | Author: janehu

| | | | | Date: 2012-10-05 10:58:11 -0500 (Fri, 05 Oct 2012)

| | | | | New Revision: 5768


| | | | | Added:

| | | | | cgm/trunk/test/AngleCalc.cpp

| | | | | cgm/trunk/test/CreateGeometry.cpp

| | | | | cgm/trunk/test/GraphicsData.cpp

| | | | | cgm/trunk/test/TestUtilities.cpp

| | | | | cgm/trunk/test/TestUtilities.hpp

| | | | | Modified:

| | | | | cgm/trunk/test/Makefile.am

| | | | | Log:

| | | | | Moves geom/testing checks to here,they are basically similiar
| | | | | check-ups for geometry. Corresponding CMakeLists.txt file is
| | | | | not
| | | | | moved
| | | | | here. Self study to see if I there's a way to auto-generate
| | | | | CMakeLists.txt from Makefile.am, passed make check in this
| | | | | directory.


| | | | | Added: cgm/trunk/test/AngleCalc.cpp

| | | | | ===================================================================

| | | | | --- cgm/trunk/test/AngleCalc.cpp (rev 0)

| | | | | +++ cgm/trunk/test/AngleCalc.cpp 2012-10-05 15:58:11 UTC (rev
| | | | | 5768)

| | | | | @@ -0,0 +1,121 @@

| | | | | +/**

| | | | | + * \file AngleCalc.cpp

| | | | | + *

| | | | | + * \brief AngleCalc, another simple C++ driver for CGM

| | | | | + *

| | | | | + * This program acts as a simple driver for CGM. It reads in
| | | | | a
| | | | | geometry,

| | | | | + * and performs varies checks for bodies, surfaces, curves
| | | | | and
| | | | | vertices.

| | | | | + */

| | | | | +

| | | | | +#undef NDEBUG

| | | | | +#include <cassert>

| | | | | +

| | | | | +#include "stdio.h"

| | | | | +

| | | | | +#include "GeometryQueryTool.hpp"

| | | | | +#include "GeometryModifyTool.hpp"

| | | | | +#include "RefEdge.hpp"

| | | | | +#include "RefVertex.hpp"

| | | | | +#include "CoEdge.hpp"

| | | | | +#include "RefFace.hpp"

| | | | | +#include "CubitDefines.h"

| | | | | +#include "CubitBox.hpp"

| | | | | +#include "InitCGMA.hpp"

| | | | | +#include "TestUtilities.hpp"

| | | | | +

| | | | | +#ifndef SRCDIR

| | | | | +# define SRCDIR .

| | | | | +#endif

| | | | | +

| | | | | +#ifdef TEST_ACIS

| | | | | +# define ENGINE "ACIS"

| | | | | +#elif defined (TEST_OCC)

| | | | | +# define ENGINE "OCC"

| | | | | +#else

| | | | | +# error "Which engine to test?"

| | | | | +#endif

| | | | | +

| | | | | +#define STRINGIFY_(X) #X

| | | | | +#define STRINGIFY(X) STRINGIFY_(X)

| | | | | +#define SRCPATH STRINGIFY(SRCDIR) "/"

| | | | | +

| | | | | +// forward declare some functions used and defined later

| | | | | +int AngleCalc();

| | | | | +

| | | | | +// macro for printing a separator line

| | | | | +#define PRINT_SEPARATOR
| | | | | PRINT_INFO("=======================================\n");











-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20121008/8be9bf09/attachment.html>


More information about the cgma-dev mailing list