mirror of
https://github.com/boostorg/wave.git
synced 2026-02-21 03:22:16 +00:00
71 lines
1.8 KiB
Plaintext
71 lines
1.8 KiB
Plaintext
# Boost.Wave: A Standard compliant C++ preprocessor library
|
|
#
|
|
# Boost Wave Library Test Jamfile
|
|
#
|
|
# http://www.boost.org/
|
|
#
|
|
# Copyright (c) 2001-2005 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)
|
|
|
|
subproject libs/wave/test/build ;
|
|
|
|
# bring in the rules for testing
|
|
import testing ;
|
|
|
|
# Make tests run by default.
|
|
DEPENDS all : test ;
|
|
|
|
#
|
|
# These are the sources to compile for the testwave application
|
|
#
|
|
SOURCES = testwave testwave_app
|
|
;
|
|
|
|
#
|
|
# This are the arguments for the testwave executable
|
|
#
|
|
TESTWAVE_ARGUMENTS = -d2 -S../testwave/testfiles ;
|
|
|
|
#
|
|
# These are the names of the different unit tests to run
|
|
#
|
|
TESTWAVE_FILES = test.cfg
|
|
;
|
|
|
|
#
|
|
# this template defines the options common to all wave tests:
|
|
#
|
|
template wave-test
|
|
:
|
|
<lib>../../build/boost_wave # sources
|
|
<lib>../../../program_options/build/boost_program_options
|
|
<lib>../../../filesystem/build/boost_filesystem
|
|
:
|
|
<include>$(BOOST_ROOT)
|
|
<sysinclude>$(BOOST_ROOT)
|
|
<vc-7_1><*><rtti>off # workaround for compiler bug
|
|
:
|
|
<runtime-link>static
|
|
<threading>single
|
|
release # build variants
|
|
;
|
|
|
|
#
|
|
# Wave test suite
|
|
#
|
|
test-suite wave
|
|
:
|
|
[
|
|
run
|
|
<template>wave-test
|
|
../testwave/$(SOURCES).cpp # sources
|
|
: $(TESTWAVE_ARGUMENTS)
|
|
@../testwave/testfiles/$(TESTWAVE_FILES) # arguments
|
|
: # input files
|
|
: # requirements
|
|
: testwave # name
|
|
]
|
|
;
|
|
|