HI Richard The tests should run. Following the link to the Jenkins log in the email, the failure per the log seems to be in test_primitivetypes.cpp line 313 which is a simple test that sets up a string array in the CAS, retrieves these and compares to the original values. le Are you able to run the tests in a local build environment ?
Bhavani On Sat, Jan 7, 2017 at 5:11 PM, Richard Eckart de Castilho <[email protected]> wrote: > Thanks for the tips. > > We now have a Jenkins job for the C++ SDK. > > https://builds.apache.org/view/S-Z/view/UIMA/job/UIMA-CPP-SDK/8/console > > Unfortunately, it doesn't pass the unit tests. > > The script that I created is a bit... well... it downloads ICU, APR, > and XERCES-C from their respective sources and builds them as part of the > UIMACPP build because we cannot expect the libraries to be present on > the build nodes. It would be good idea to validate the MD5 sums of > the sources before building them, but that is not done yet. Also, > the build currently does not include Active-MQ support. > > Is it a known problem that the tests fail? > > -- Richard > > > On 06.01.2017, at 16:29, Roberto Carlos Toledano Gómez <[email protected]> > wrote: > > > > Well, this culd be some steps: > > > > 1- Create multi-cinfiguration job, for build with combinations of > > SO/compiler, for meet requirements like Ubuntu Linux Xenial 64 bits, GCC > > 4.8, Clang, etc. For this you need aggregate some slave jenkins nodes > with > > the requirements you need. > > > > 2- After preliminary setup like git repository or suvbersion, for > download > > the code, in Build step select bash script and write the instructions for > > build, for example: > > > >> ./configure --enable-static=yes --enable-shared=yes --prefix=/usr > > --with-activemq=/usr/ --with-icu=/usr --with-apr=/usr > > --with-jdk=/usr/lib/jvm/java-8-openjdk-amd64/include/ > > > >> make > > > >> make test > > > > For build in Windows we create another job , that would be a freestyle > job > > and in the Build step, we select a bat script. But we are exploring MSYS > > for use the same multi-configuration job with new Windown slave node. > > > > 2017-01-05 16:44 GMT-05:00 Richard Eckart de Castilho <[email protected]>: > > > >> On 05.01.2017, at 16:04, Roberto Carlos Toledano Gómez < > [email protected]> > >> wrote: > >>> > >>> Yes, I have some experience in jenkins jobs with c++ projects. I use > bash > >>> scripts for that.How can I help you/us. > >> > >> How would you set up a Jenkins job to build the UIMA-C project? > >> > >> I suppose one would start from a freestyle job? But even there, > choosing a > >> JDK seems mandatory... > >> > >> -- Richard > >
