From 5f22118ff5f17f21b1728faf622077a839520fec Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Sun, 11 Jan 2009 12:25:44 +0100 Subject: [PATCH 1/2] trying to make two threading related tests more robust... (TODO the real solution would be to actively sync on termination) --- tests/lib/subsystem-runner-test.cpp | 8 ++++---- tests/lib/thread-wrapper-test.cpp | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/lib/subsystem-runner-test.cpp b/tests/lib/subsystem-runner-test.cpp index cca17b0a8..06cf5ccfd 100644 --- a/tests/lib/subsystem-runner-test.cpp +++ b/tests/lib/subsystem-runner-test.cpp @@ -171,10 +171,10 @@ namespace lumiera { { Lock guard (this); isUp_ = false; - - INFO (test, "thread %s terminates.", cStr(*this)); - termination ("true"==runSpec? 0 : &problemReport); - } } + } + INFO (test, "thread %s terminates.", cStr(*this)); + termination ("true"==runSpec? 0 : &problemReport); + } bool diff --git a/tests/lib/thread-wrapper-test.cpp b/tests/lib/thread-wrapper-test.cpp index 52ec2bb14..e7eb0c5ab 100644 --- a/tests/lib/thread-wrapper-test.cpp +++ b/tests/lib/thread-wrapper-test.cpp @@ -98,6 +98,8 @@ namespace lib { sum = checksum = 0; TestThread instances[NUM_THREADS] SIDEEFFECT; + sleep (1); /////////////////TODO better method of waiting for the threads to terminate..... + ASSERT (0 < sum); ASSERT (sum==checksum); } From c4dd8e465db56312bfb178adfeed20cef3467aa5 Mon Sep 17 00:00:00 2001 From: Christian Thaeter Date: Mon, 12 Jan 2009 15:16:40 +0100 Subject: [PATCH 2/2] better INSTALL document --- INSTALL | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 94 insertions(+), 1 deletion(-) diff --git a/INSTALL b/INSTALL index 7983166ec..3ecc05196 100644 --- a/INSTALL +++ b/INSTALL @@ -1,6 +1,99 @@ Running / Installing Lumiera Prototype ====================================== -** to be written ** +From: +http://www.pipapo.org/pipawiki/Lumiera/NewbiesTutorials + + +Newbies Tutorials + +This page contains some tutorials for beginners that want to help to the +developers of Lumiera. + +Trying the Lumiera GUI from Joel + +You need to have: + + * libboost + * libtool + * git + * libgavl + * nobug(see below) + +For Ubuntu Hardy also: + + * libglade2-dev + * libgdl-1-dev + * libgtkmm-2.4-dev + * libxv-dev + +also check http://gnuradio.org/trac/wiki/UbuntuInstall#InstallationOptions to +see that all your installations options are met. + +Installing nobug from git + +Create a temp directory where you can have the sourcecode of the libraries you +will use as well as lumieras branches you want to try. Example ~/temp. cd to +that directory and run: + +git clone git://git.pipapo.org/nobug + +This will create a directory called nobug with sourcecode in your current +directory. + +cd nobug +autoreconf -i +mkdir build +cd build +../configure +make +make install + +Getting the Lumiera source code + +In the temp directory + +git clone git://git.lumiera.org/LUMIERA +cd LUMIERA +autoreconf -fi +mkdir build +cd build +../configure +make + +maybe run the testsuite by + +make check + +This will take some time. After it has finished: + +./lumigui + +[NewbiesTut] + +Contibuting + +Nothing is easier, follow the basic instructions at http://www.kernel.org/pub/ +software/scm/git/docs/gittutorial.html, notably the + +$ git config --global user.name "Your Name Comes Here" +$ git config --global user.email you@yourdomain.example.com + +parts. + +Then you are ready to go, you can edit and commit the lumiera code locally in +your cloned repository. Please do small commits which fix/improve only one +single thing and use meaningful commit messages. Check that you didn't broke +anything + + * by running 'make check'. + +Finally you can push your changes to the lumiera server to the 'mob' +repository: + +$ git push git://git.lumiera.org/lumiera/mob master:refs/heads/YOURNAME + +This creates a new branch 'YOURNAME' on the mob repository. Then you notify the +other devs on the mailinglist and they may merge your code into the mainline.