Boost logo

Boost-Build :

From: Jürgen Hunold (hunold+lists.Boost_at_[hidden])
Date: 2003-12-09 15:46:29


Hi !

I wanted to evaluate the Boost.Test Environment and found some glitches
in the V2 setup.
The patches attached solve several issues (at least for me ;-)
1. libs/test/build/Jamfile.v2
Prefix all libraries with "boost_" prefix as in V1 and expected in
Boost.Signals, Boost.Thread but not im Boost.Regex.

2. libs/signals/test/Jamfile.v2
Removes copy and pasted code and uses <requirements> to express
dependency on boost_signals, the test framework and static linking.
The patch looks ugly, but the resulting Jamfiles is clean ;-)

I'm working on the other libs, but have problems accesssing anon cvs for
cvs diff command. I know why I'm testing svn, sigh.

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold ! Institut für Verkehrswesen, Eisenbahnbau
* voice: ++49 511 762-2529 ! und -betrieb, Universität Hannover
* fax : ++49 511 762-3001 ! Appelstrasse 9a, D-30167 Hannover
* hunold_at_[hidden] ! www.ive.uni-hannover.de
 --Boundary-00=_lSj1/vo3u2ijGvX Content-Type: text/x-diff;
charset="us-ascii";
name="Jamfile.v2.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="Jamfile.v2.diff"
Index: libs/test/build/Jamfile.v2
===================================================================
RCS file: /cvsroot/boost/boost/libs/test/build/Jamfile.v2,v
retrieving revision 1.2
diff -u -r1.2 Jamfile.v2
--- libs/test/build/Jamfile.v2	2 Jul 2003 09:12:13 -0000	1.2
+++ libs/test/build/Jamfile.v2	9 Dec 2003 20:18:14 -0000
@@ -32,16 +32,16 @@
supplied_log_formatters
;
-lib prg_exec_monitor : $(PRG_EXEC_MON_SOURCES).cpp
+lib boost_prg_exec_monitor : $(PRG_EXEC_MON_SOURCES).cpp
# : <threading>single/multi <runtime-link>static/dynamic
;
-lib test_exec_monitor : $(TEST_EXEC_MON_SOURCES).cpp
+lib boost_test_exec_monitor : $(TEST_EXEC_MON_SOURCES).cpp
# : <sysinclude>$(BOOST_ROOT) <borland><*><cxxflags>-w-8080
# : <threading>single/multi <runtime-link>static/dynamic
;
-lib unit_test_framework : $(UTF_SOURCES).cpp
+lib boost_unit_test_framework : $(UTF_SOURCES).cpp
# : <sysinclude>$(BOOST_ROOT) <borland><*><cxxflags>-w-8080
# : <threading>single/multi <runtime-link>static/dynamic
;
 --Boundary-00=_lSj1/vo3u2ijGvX Content-Type: text/x-diff;
charset="us-ascii";
name="Jamfile.v2.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="Jamfile.v2.diff"
Index: libs/signals/test/Jamfile.v2
===================================================================
RCS file: /cvsroot/boost/boost/libs/signals/test/Jamfile.v2,v
retrieving revision 1.2
diff -u -r1.2 Jamfile.v2
--- libs/signals/test/Jamfile.v2	1 Oct 2003 04:34:38 -0000	1.2
+++ libs/signals/test/Jamfile.v2	9 Dec 2003 20:19:39 -0000
@@ -11,22 +11,27 @@
import testing ;
project
- : source-location $(BOOST_ROOT) ;
-
+ : source-location .
+ : requirements
+ <hardcode-dll-paths>true
+ <library>../../test/build//boost_test_exec_monitor
+ <library>../build//boost_signals
+ <define>BOOST_SIGNALS_STATIC_LINK
+ ;
{
test-suite signals
: 
- [ run libs/signals/test/dead_slot_test.cpp ../../../libs/test/build//boost_test_exec_monitor ../../../libs/signals/build//boost_signals : : : <define>BOOST_SIGNALS_STATIC_LINK : ]
+ [ run dead_slot_test.cpp ]
- [ run libs/signals/test/deletion_test.cpp ../../../libs/test/build//boost_test_exec_monitor ../../../libs/signals/build//boost_signals : : : <define>BOOST_SIGNALS_STATIC_LINK : ]
+ [ run deletion_test.cpp ]
- [ run libs/signals/test/ordering_test.cpp ../../../libs/test/build//boost_test_exec_monitor ../../../libs/signals/build//boost_signals : : : <define>BOOST_SIGNALS_STATIC_LINK : ]
+ [ run ordering_test.cpp ]
- [ run libs/signals/test/signal_n_test.cpp ../../../libs/test/build//boost_test_exec_monitor ../../../libs/signals/build//boost_signals : : : <define>BOOST_SIGNALS_STATIC_LINK : ]
+ [ run signal_n_test.cpp ]
- [ run libs/signals/test/signal_test.cpp ../../../libs/test/build//boost_test_exec_monitor ../../../libs/signals/build//boost_signals : : : <define>BOOST_SIGNALS_STATIC_LINK : ]
+ [ run signal_test.cpp ]
- [ run libs/signals/test/trackable_test.cpp ../../../libs/test/build//boost_test_exec_monitor ../../../libs/signals/build//boost_signals : : : <define>BOOST_SIGNALS_STATIC_LINK : ]
+ [ run trackable_test.cpp ]
;
}
 --Boundary-00=_lSj1/vo3u2ijGvX-- 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk