Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2007-10-05 19:25:13


Author: hkaiser
Date: 2007-10-05 19:25:09 EDT (Fri, 05 Oct 2007)
New Revision: 39719
URL: http://svn.boost.org/trac/boost/changeset/39719

Log:
Wave: Fixed missing test case in regression status pages.
Added:
   trunk/libs/wave/test/testwave/testwave_app_dll.cpp (contents, props changed)
   trunk/libs/wave/test/testwave/testwave_dll.cpp (contents, props changed)
Text files modified:
   trunk/libs/wave/test/build/Jamfile.v2 | 34 ++++++++++++++++++++++------------
   1 files changed, 22 insertions(+), 12 deletions(-)

Modified: trunk/libs/wave/test/build/Jamfile.v2
==============================================================================
--- trunk/libs/wave/test/build/Jamfile.v2 (original)
+++ trunk/libs/wave/test/build/Jamfile.v2 2007-10-05 19:25:09 EDT (Fri, 05 Oct 2007)
@@ -12,10 +12,17 @@
 #
 # These are the sources to compile for the testwave application
 #
-SOURCES = testwave testwave_app
+SOURCES_STATIC = testwave testwave_app
     ;
     
-path-constant TESTWAVE_DIR : ../testwave/testfiles ;
+SOURCES_DYNAMIC = testwave_dll testwave_app_dll
+ ;
+
+SOURCES = $(SOURCE_STATIC) $(SOURCES_DYNAMIC)
+ ;
+
+path-constant TESTWAVE_DIR : ../testwave/testfiles
+ ;
 
 #
 # This are the arguments for the testwave executable
@@ -33,12 +40,6 @@
     ;
 
 project wave/test
- : requirements
- <threading>single
- <variant>debug
- <define>BOOST_LIB_DIAGNOSTIC=1
- <define>BOOST_ALL_NO_LIB=1
- <link>shared:<define>BOOST_ALL_DYN_LINK=1
     ;
 
 for local source in $(SOURCES)
@@ -57,7 +58,7 @@
         [
             run
             # sources
- ../testwave/$(SOURCES).cpp
+ ../testwave/$(SOURCES_DYNAMIC).cpp
                 /boost/wave//boost_wave
                 /boost/program_options//boost_program_options
                 /boost/filesystem//boost_filesystem
@@ -71,7 +72,12 @@
             # input files
             :
             # requirements
- :
+ <threading>single
+ <variant>debug
+ <define>BOOST_LIB_DIAGNOSTIC=1
+ <define>BOOST_ALL_NO_LIB=1
+ <link>shared:<define>BOOST_ALL_DYN_LINK=1
+ :
             # name
                 testwave_dll
         ]
@@ -79,7 +85,7 @@
         [
             run
             # sources
- ../testwave/$(SOURCES).cpp
+ ../testwave/$(SOURCES_STATIC).cpp
                 /boost/wave//boost_wave/<link>static
                 /boost/program_options//boost_program_options/<link>static
                 /boost/filesystem//boost_filesystem/<link>static
@@ -93,7 +99,11 @@
             # input files
             :
             # requirements
- <link>static # Linking to DLL tested by testwave_dll
+ <threading>single
+ <variant>debug
+ <define>BOOST_LIB_DIAGNOSTIC=1
+ <define>BOOST_ALL_NO_LIB=1
+ <link>static # Linking to DLL tested by testwave_dll
             :
             # name
                 testwave

Added: trunk/libs/wave/test/testwave/testwave_app_dll.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/wave/test/testwave/testwave_app_dll.cpp 2007-10-05 19:25:09 EDT (Fri, 05 Oct 2007)
@@ -0,0 +1,13 @@
+/*=============================================================================
+ Boost.Wave: A Standard compliant C++ preprocessor library
+ http://www.boost.org/
+
+ Copyright (c) 2001-2007 Hartmut Kaiser. Distributed under the Boost
+ Software License, Version 1.0. (See accompanying file
+ LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+=============================================================================*/
+
+// This file is necessary only because Boost.Build V2 isn't able to handle
+// several testcases using the same sorce files.
+
+#include "testwave_app.cpp"

Added: trunk/libs/wave/test/testwave/testwave_dll.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/wave/test/testwave/testwave_dll.cpp 2007-10-05 19:25:09 EDT (Fri, 05 Oct 2007)
@@ -0,0 +1,13 @@
+/*=============================================================================
+ Boost.Wave: A Standard compliant C++ preprocessor library
+ http://www.boost.org/
+
+ Copyright (c) 2001-2007 Hartmut Kaiser. Distributed under the Boost
+ Software License, Version 1.0. (See accompanying file
+ LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+=============================================================================*/
+
+// This file is necessary only because Boost.Build V2 isn't able to handle
+// several testcases using the same sorce files.
+
+#include "testwave.cpp"


Boost-Commit 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