From ec4d53ec9790eeb38d7b0314e6ec2aac54ac7c8b Mon Sep 17 00:00:00 2001 From: Steven Watanabe Date: Wed, 7 Dec 2011 16:52:58 +0000 Subject: [PATCH] Remove tests from Boost.Build V1. [SVN r75850] --- test/Jamrules | 4 - test/empty.jam | 5 - test/startup_v1.py | 81 ---------- test/test_all.py | 2 +- test/unit-tests.jam | 262 -------------------------------- test/v1-testing/a.cpp | 5 - test/v1-testing/b.cpp | 5 - test/v1-testing/boost-build.jam | 6 - test/v1-testing/c.cpp | 16 -- test/v1-testing/jamfile.jam | 26 ---- test/v1_testing.py | 88 ----------- test/v1_testing/Jamrules | 0 test/v1_testing/boost-build.jam | 6 - test/v1_testing/foo.cpp | 22 --- test/v1_testing/jamfile.jam | 23 --- test/v1_testing/jamroot.jam | 5 - test/v1_testing/lib-err.cpp | 7 - test/v1_testing/lib.cpp | 6 - 18 files changed, 1 insertion(+), 568 deletions(-) delete mode 100644 test/Jamrules delete mode 100644 test/empty.jam delete mode 100644 test/startup_v1.py delete mode 100644 test/unit-tests.jam delete mode 100644 test/v1-testing/a.cpp delete mode 100644 test/v1-testing/b.cpp delete mode 100644 test/v1-testing/boost-build.jam delete mode 100644 test/v1-testing/c.cpp delete mode 100644 test/v1-testing/jamfile.jam delete mode 100644 test/v1_testing.py delete mode 100644 test/v1_testing/Jamrules delete mode 100644 test/v1_testing/boost-build.jam delete mode 100644 test/v1_testing/foo.cpp delete mode 100644 test/v1_testing/jamfile.jam delete mode 100644 test/v1_testing/jamroot.jam delete mode 100644 test/v1_testing/lib-err.cpp delete mode 100644 test/v1_testing/lib.cpp diff --git a/test/Jamrules b/test/Jamrules deleted file mode 100644 index ff29a26bb..000000000 --- a/test/Jamrules +++ /dev/null @@ -1,4 +0,0 @@ -# This simple Jamrules file is used for the Boost.Build test project. - -# The testing framework itself gets no boost-Jambase -BOOST_JAMBASE = empty.jam ; diff --git a/test/empty.jam b/test/empty.jam deleted file mode 100644 index c6220580c..000000000 --- a/test/empty.jam +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright 2001 Dave Abrahams -# Distributed under the Boost Software License, Version 1.0. -# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) - -# This file is empty; it just suppresses warnings diff --git a/test/startup_v1.py b/test/startup_v1.py deleted file mode 100644 index 14a286a70..000000000 --- a/test/startup_v1.py +++ /dev/null @@ -1,81 +0,0 @@ -#!/usr/bin/python - -# Copyright 2002 Dave Abrahams -# Copyright 2003, 2004, 2005 Vladimir Prus -# Distributed under the Boost Software License, Version 1.0. -# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) - -import BoostBuild -import os -import re - -def expect_substring(actual, expected): - return actual.find(expected) != -1 - -def match_re(actual, expected): - return re.match(expected, actual, re.DOTALL) != None - -# Test the v1 startup behavior. -t = BoostBuild.Tester(executable='bjam', match=match_re, boost_build_path='', - pass_toolset=0) - -t.set_tree('startup') - -#if os.name == 'nt': -# t.run_build_system( -# status=1, stdout="You didn't set BOOST_ROOT", match = expect_substring) - -t.run_build_system(extra_args='-sBOOST_ROOT=.', status=1, - stdout=r'''Unable to load Boost\.Build: could not find ''' + - r'''"boost-build\.jam".''') - -os.chdir('no-bootstrap1') - -t.run_build_system(extra_args='-sBOOST_ROOT=.', status=1, - stdout=r'''Unable to load Boost\.Build: could not find build system\.''' - + r'''.*attempted to load the build system by invoking''' - + r'''.*'boost-build ;'.*''' - + r'''but we were unable to find "bootstrap\.jam"''') - -# Descend to a subdirectory which /doesn't/ contain a boost-build.jam -# file, and try again to test the crawl-up behavior. -os.chdir('subdir') - -t.run_build_system(extra_args='-sBOOST_ROOT=.', status=1, - stdout=r'''Unable to load Boost\.Build: could not find build system\.''' - + r'''.*attempted to load the build system by invoking''' - + r'''.*'boost-build ;'.*''' - + r'''but we were unable to find "bootstrap\.jam"''') - -os.chdir('../../no-bootstrap2') - -t.run_build_system(extra_args='-sBOOST_ROOT=.', status=1, - stdout=r'''Unable to load Boost\.Build: could not find build system\.''' - + r'''.*attempted to load the build system by invoking''' - + r'''.*'boost-build \. ;'.*''' - + r'''but we were unable to find "bootstrap\.jam"''') - -os.chdir('../no-bootstrap3') - -t.run_build_system(extra_args='-sBOOST_ROOT=.', status=1, - stdout=r'''Unable to load Boost.Build -.*boost-build.jam" was found.* -However, it failed to call the "boost-build" rule''') - -# test bootstrapping based on BOOST_BUILD_PATH -os.chdir('../bootstrap-env') -t.run_build_system(extra_args='-sBOOST_ROOT=../boost-root ' + - '-sBOOST_BUILD_PATH=../boost-root/build', - stdout='build system bootstrapped') - -# test bootstrapping based on an explicit path in boost-build.jam -os.chdir('../bootstrap-explicit') -t.run_build_system(extra_args='-sBOOST_ROOT=../boost-root', - stdout='build system bootstrapped') - -# test bootstrapping based on BOOST_ROOT -os.chdir('../bootstrap-implicit') -t.run_build_system(extra_args='-sBOOST_ROOT=../boost-root', - stdout='build system bootstrapped') - -t.cleanup() diff --git a/test/test_all.py b/test/test_all.py index 9c3dd235f..181bbe3ea 100644 --- a/test/test_all.py +++ b/test/test_all.py @@ -118,7 +118,7 @@ def reorder_tests(tests, first_test): return tests -critical_tests = ["unit_tests", "module_actions", "startup_v1", "startup_v2"] +critical_tests = ["unit_tests", "module_actions", "startup_v2"] critical_tests += ["core_d12", "core_typecheck", "core_delete_module", "core_language", "core_arguments", "core_varnames", "core_import_module"] diff --git a/test/unit-tests.jam b/test/unit-tests.jam deleted file mode 100644 index 212f4c388..000000000 --- a/test/unit-tests.jam +++ /dev/null @@ -1,262 +0,0 @@ -# Copyright 2001 Dave Abrahams -# Distributed under the Boost Software License, Version 1.0. -# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) - -# assert_equal a : b -# -# exits with an assertion failure if a != b -rule assert_equal -{ - if $(<) != $(>) - { - EXIT "assertion failure: [" $(<) "] != [" $(>) "]" ; - } -} - -rule assert_equal_sets -{ - if ! [ equal-sets $(<) : $(>) ] - { - EXIT "assertion failure: [" $(<) "] !=(set) [" $(>) "]" ; - } -} - -# FAppendSuffix -assert_equal [ FAppendSuffix yacc lex foo.bat : ] : yacc lex foo.bat ; -assert_equal [ FAppendSuffix yacc lex foo.bat : .exe ] : yacc.exe lex.exe foo.bat ; -assert_equal [ FAppendSuffix yacc lex foo.bat : .dll .lib ] : yacc.dll yacc.lib lex.dll lex.lib foo.bat foo.lib ; - -# sort -assert_equal [ sort 7 3 5 6 2 4 ] : 2 3 4 5 6 7 ; - -# min -assert_equal [ min 7 3 5 6 2 4 ] : 2 ; - -# difference -assert_equal [ difference 0 1 2 3 4 5 6 7 8 9 : 2 3 5 7 ] : 0 1 4 6 8 9 ; - -# replace -assert_equal [ replace 1 3 5 7 7 9 2 5 4 3 1 : 7 x ] : 1 3 5 x x 9 2 5 4 3 1 ; - -# select-ungristed -assert_equal [ select-ungristed b c e f ] : c f ; - -# split-qualified-property -assert_equal [ split-qualified-property value ] - : <*> <*> value ; - -assert_equal [ split-qualified-property value ] - : <*> value ; - -assert_equal [ split-qualified-property value ] - : value ; - -# unique -assert_equal [ unique 0 1 2 3 1 7 6 6 4 5 ] : 0 1 2 3 7 6 4 5 ; - -# get-properties -assert_equal [ get-properties : bar baz fight niss ] - : bar baz fight ; - -# get-values -assert_equal [ get-values : bar baz fight niss ] : bar baz ; - -# normalize-properties -assert_equal [ normalize-properties b e i ] : - <*><*>b <*>e i ; - -# intersection -assert_equal [ intersection 1 2 2 3 3 4 5 6 7 : 5 1 3 7 3 9 11 ] : 1 3 3 5 7 ; - -# is-subset -assert_equal [ is-subset a b c : c a b d ] : true ; -assert_equal [ is-subset a b z : c a b d ] : ; - -# split-path -assert_equal [ split-path b/c/e ] : b c e ; -assert_equal [ split-path // ] : ; -assert_equal [ split-path ] : ; -assert_equal [ split-path x ] : x ; -assert_equal [ split-path $(DOT) ] : $(DOT) ; -assert_equal [ split-path a/b.c/d.e/f ] : a b.c d.e f ; -if $(NT) -{ - assert_equal [ split-path x:\\y\\z\\w ] : x: y z w ; - assert_equal [ split-path x:\\y\\z ] : x: y z ; - assert_equal [ split-path x:\\y ] : x: y ; - assert_equal [ split-path x:\\ ] : x: ; - assert_equal [ split-path x: ] : x: ; -} - -# distribute-feature -assert_equal [ distribute-feature value1 ] : value1 ; -assert_equal [ distribute-feature value1/value2 ] : value1 value2 ; -assert_equal [ distribute-feature value1/value2/value3 ] : value1 value2 value3 ; - -# segregate-free-properties -{ - local gFREE_FEATURES = ; - local x = b c e ; - local y = b c c f ; - local free = [ segregate-free-properties x y ] ; - assert_equal $(free) : b c f ; - assert_equal $(x) : c e ; - assert_equal $(y) : c ; -} - -# set-insert -{ - local gTEST_SET = 1 2 3 ; - set-insert gTEST_SET : 2 ; - assert_equal $(gTEST_SET) : 1 2 3 ; - set-insert gTEST_SET : 0 ; - assert_equal $(gTEST_SET) : 1 2 3 0 ; -} - -# equal-sets -assert_equal [ equal-sets 1 2 3 : 3 2 2 1 ] : true ; -assert_equal [ equal-sets 1 2 3 3 : 3 2 2 1 ] : true ; -assert_equal [ equal-sets 1 2 3 3 4 : 3 2 2 1 ] : ; - -# segregate-overrides -{ - local base = b d f ; - local overrides = b c e g ; - segregate-overrides overrides : base ; - assert_equal $(overrides) : c e g ; - assert_equal $(base) : b f ; -} - -# select-properties -{ - local TOOLS = gcc msvc ; - - local gRELEVANT_FEATURES(msvc) = ; - local gRELEVANT_FEATURES(gcc) = ; - local gFREE_FEATURES = ; - - local gBASE_PROPERTIES(msvc,debug) = on off off debug single ; - local gBASE_PROPERTIES(gcc,debug) = on off off off false ; - local gBASE_PROPERTIES(msvc,release) = off NDEBUG full speed release single ; - local gBASE_PROPERTIES(gcc,release) = off NDEBUG full speed off false ; - - local TEST_PROPERTIES = off FOO <*>on - DEBUG bar - <*>on - <*>baz - speed - <*>off - <*>off - ; - - assert_equal_sets [ select-properties gcc debug my-target : $(TEST_PROPERTIES) ] - : FOO DEBUG on off ; - - assert_equal_sets [ select-properties gcc release my-target : $(TEST_PROPERTIES) ] - : FOO on ; - - assert_equal_sets [ select-properties msvc debug my-target : $(TEST_PROPERTIES) ] - : FOO DEBUG off off ; - - assert_equal_sets [ select-properties msvc release my-target : $(TEST_PROPERTIES) ] - : FOO on speed ; -} - - -# ungrist-properties -feature TEST_FEATURE1 : a b ; -feature TEST_FEATURE2 : c d ; -assert_equal [ ungrist-properties a c ] - : TEST_FEATURE1-a TEST_FEATURE2-c ; - - -# fixup-path-properties -{ - local RELATIVE_SUBDIR = foobar ; - local gPATH_FEATURES = ; - assert_equal [ fixup-path-properties b .. d ] - : foobar$(SLASH).. b d ; -} -# multiply-property-sets -assert_equal [ multiply-property-sets 1 2/3 4/5 ] - : 2/1/4 2/1/5 3/1/4 3/1/5 ; - -# make-path-property-sets -{ - local gUNGRISTED() = a ; - local gUNGRISTED() = c ; - local gUNGRISTED() = e ; - local gUNGRISTED() = g ; - local gUNGRISTED() = i ; - assert_equal [ make-path-property-sets foo$(SLASH)bar : b d : f$(SLASH)h j ] - : foo$(SLASH)bar$(SLASH)e-f$(SLASH)g-h$(SLASH)b$(SLASH)d$(SLASH)f$(SLASH)h foo$(SLASH)bar$(SLASH)i-j$(SLASH)b$(SLASH)d$(SLASH)j ; - assert_equal [ make-path-property-sets foo$(SLASH)bar : b d : ] - : foo$(SLASH)bar$(SLASH)b$(SLASH)d ; -} - - -# split-path-at-grist -assert_equal - [ split-path-at-grist b$(SLASH)c$(SLASH)e$(SLASH)g$(SLASH)h$(SLASH)i ] - : b$(SLASH)c e g$(SLASH)h$(SLASH)i ; -assert_equal - [ split-path-at-grist b$(SLASH)c$(SLASH)e$(SLASH)g$(SLASH)h$(SLASH)i ] - : b$(SLASH)c e g$(SLASH)h$(SLASH)i ; -if $(NT) -{ - assert_equal - [ split-path-at-grist b\\c\\e:\\f\\g\\i ] - : b\\c e:\\f\\g i ; -} -# directory-of -assert_equal [ directory-of a$(SLASH)b c d$(SLASH)e$(SLASH)f ] : a . d$(SLASH)e ; - -# top-relative-tokens -{ - local SUBDIR_TOKENS = a b c ; - assert_equal [ top-relative-tokens ..$(SLASH)d$(SLASH)e ] : a b d e ; -} - -# flags -{ - local gBUILD_PROPERTIES = b d f ; - local FLAGS1 FLAGS2 FLAGS3 ; - flags toolset FLAGS1 b/d b/f y / : foobar ; - assert_equal $(FLAGS1) : foobar b d f ; - flags toolset FLAGS2 : foobar ; - assert_equal $(FLAGS2) : b ; - flags toolset FLAGS1 b/d b/f : foobar ; - assert_equal $(FLAGS1) : foobar b d f foobar ; -} - -# get-BUILD -{ - local DEFAULT_BUILD = a ; - local BUILD = b ; - assert_equal [ get-BUILD c e ] : b ; - BUILD = ; - assert_equal [ get-BUILD c e ] : c e ; - assert_equal [ get-BUILD ] : a ; - assert_equal [ get-BUILD e ] : e a ; - BUILD = g ; - assert_equal [ get-BUILD c e ] : g a ; -} - -# strip-initial -assert_equal [ strip-initial a b c : a b c d e f g ] : d e f g ; -assert_equal [ strip-initial a b c : a b d e f g ] : a b d e f g ; -assert_equal [ strip-initial a b c : b d e f g ] : b d e f g ; -assert_equal [ strip-initial a b c : ] : ; - -# simplify-path-tokens -{ - local $(gTOP)_TOKENS = .. .. .. ; - local gINVOCATION_SUBDIR_TOKENS = d e ; - assert_equal [ simplify-path-tokens a b . c .. .. d e ] : a d e ; - assert_equal [ simplify-path-tokens a b .. .. .. d e ] : .. d e ; - assert_equal [ simplify-path-tokens .. .. d e : xxx ] : .. .. d e ; - assert_equal [ simplify-path-tokens a b .. .. : xxx ] : xxx ; - $(gTOP)_TOKENS = .. .. ; - assert_equal [ simplify-path-tokens .. .. d e : xxx ] : xxx ; - assert_equal [ simplify-path-tokens .. .. d e f g : xxx ] : f g ; -} diff --git a/test/v1-testing/a.cpp b/test/v1-testing/a.cpp deleted file mode 100644 index 8da76c54e..000000000 --- a/test/v1-testing/a.cpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright David Abrahams 2003-2004. 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) - -void foo() {} diff --git a/test/v1-testing/b.cpp b/test/v1-testing/b.cpp deleted file mode 100644 index 26e752aa5..000000000 --- a/test/v1-testing/b.cpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright David Abrahams 2002. -// 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) -#error this does not compile. diff --git a/test/v1-testing/boost-build.jam b/test/v1-testing/boost-build.jam deleted file mode 100644 index d9e748ec2..000000000 --- a/test/v1-testing/boost-build.jam +++ /dev/null @@ -1,6 +0,0 @@ -# Copyright 2002 Dave Abrahams -# Distributed under the Boost Software License, Version 1.0. -# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) - -TOOLS = gcc ; -boost-build ../.. ; diff --git a/test/v1-testing/c.cpp b/test/v1-testing/c.cpp deleted file mode 100644 index 42f5d9c58..000000000 --- a/test/v1-testing/c.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright David Abrahams 2002. -// 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) -#include - -#ifndef RESULTCODE -# define RESULTCODE 0 -#endif - -int main() -{ - std::cout << "returning result: " << RESULTCODE << std::endl; - return RESULTCODE; -} - diff --git a/test/v1-testing/jamfile.jam b/test/v1-testing/jamfile.jam deleted file mode 100644 index 011940f8a..000000000 --- a/test/v1-testing/jamfile.jam +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2002, 2003 Dave Abrahams -# Distributed under the Boost Software License, Version 1.0. -# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) - -import testing ; - -# A number of tests which should succeed -compile a.cpp ; -compile-fail b.cpp ; -link-fail a.cpp : : link-no ; -link c.cpp : : link-yes ; -run c.cpp : : : : run-yes ; -run-fail c.cpp : : : RESULTCODE=1 : run-no ; - -# some tests which should fail - -compile-fail a.cpp : : fail-compile-no ; -compile b.cpp : : fail-compile-yes ; -link a.cpp : : fail-link-yes ; -link-fail c.cpp : : fail-link-no ; -run-fail c.cpp : : : : fail-run-no ; -run c.cpp : : : RESULTCODE=1 : fail-run-yes ; - -# Make sure we still fail if a dependency of an expected-failure test -# fails. -link-fail b.cpp : : fail-link-no-dependency ; diff --git a/test/v1_testing.py b/test/v1_testing.py deleted file mode 100644 index 524775fac..000000000 --- a/test/v1_testing.py +++ /dev/null @@ -1,88 +0,0 @@ -#!/usr/bin/python - -# Copyright 2002 Dave Abrahams -# Copyright 2004 Vladimir Prus -# Distributed under the Boost Software License, Version 1.0. -# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) - -import BoostBuild -import os -from string import strip -import re -import time - -def match_re(actual,expected): - return re.match(expected,actual,re.DOTALL) != None - -t = BoostBuild.Tester(match = match_re, boost_build_path = os.path.join(os.getcwd(), "..")) -t.set_tree('v1_testing') - -os.environ['TOOLS'] = 'gcc' -os.environ['NOARSCAN'] = '1' - -# 1) No existing bin directories. Both build and test ran fine. As -# expected, the residue files were a bit different: There was no -# path_test.success, and path_test.test contained the word "passed" -# instead of the path to the .cpp file. I've haven't looked yet to -# see if the lack of the path is a problem for reporting, but -# hopefully the information is trivially available somewhere else. -t.run_build_system(arguments = 'test', status = 0) -t.expect_addition( - ['bin/compile.test/gcc/debug/runtime-link-dynamic/compile.test' - , 'bin/nocompile.test/gcc/debug/runtime-link-dynamic/nocompile.test' - , 'bin/link.test/gcc/debug/runtime-link-dynamic/link.test' - , 'bin/nolink.test/gcc/debug/runtime-link-dynamic/nolink.test' - , 'bin/run.test/gcc/debug/runtime-link-dynamic/run.test']) - - -# 2) Missing source file for the library build. path_test.test was -# deleted, so the reporting programs would know that failure -# occurred. The stdout messages also indicated what had -# happened. Excellent! -t.rename('lib.cpp', 'lib.cpp.bak') -t.run_build_system(arguments = 'test', status = 1) -t.expect_removal( - ['bin/link.test/gcc/debug/runtime-link-dynamic/link.test' - , 'bin/nolink.test/gcc/debug/runtime-link-dynamic/nolink.test' - , 'bin/run.test/gcc/debug/runtime-link-dynamic/run.test']) - -# 3) Missing file restored. Worked fine; path_test.test was recreated, -# no other files were touched. -t.rename('lib.cpp.bak', 'lib.cpp') -t.run_build_system(arguments = 'test', status = 0) -t.expect_addition( - [ 'bin/link.test/gcc/debug/runtime-link-dynamic/link.test' - , 'bin/nolink.test/gcc/debug/runtime-link-dynamic/nolink.test' - , 'bin/run.test/gcc/debug/runtime-link-dynamic/run.test']) - # I didn't add a test for 'no other files were touched', because - # it's a little complicated. There is an expect_nothing_more() - # function, but we actually need to spell out a lot more than - # what we currently have to do that. - -# 4) Introduced error into one of the library files, causing a library build -# compile to fail. path_test.test was deleted, so the reporting programs -# would know that failure occurred. Excellent! This is the case that has -# caused regression testing to report the wrong results in the past, so it -# was good news to see it working correctly now. We probably should figure -# out some other test cases just to be sure it is working for full coverage. -t.rename('lib.cpp', 'lib.cpp.bak') -t.rename('lib-err.cpp', 'lib.cpp') -t.touch('lib.cpp') -t.run_build_system(arguments = 'test', status=1) -t.expect_removal( - ['bin/link.test/gcc/debug/runtime-link-dynamic/link.test' - , 'bin/nolink.test/gcc/debug/runtime-link-dynamic/nolink.test' - , 'bin/run.test/gcc/debug/runtime-link-dynamic/run.test']) - -# 5) Fixed the error in the library file. The library build then worked, and -# path_test.exe was relinked, without first recompiling path_test.obj. Test was -# rerun. Exactly the right behavior! -t.rename('lib.cpp.bak', 'lib.cpp') -t.run_build_system(arguments = 'test', status = 0) -t.expect_addition( - [ 'bin/link.test/gcc/debug/runtime-link-dynamic/link.test' - , 'bin/nolink.test/gcc/debug/runtime-link-dynamic/nolink.test' - , 'bin/run.test/gcc/debug/runtime-link-dynamic/run.test']) - -t.cleanup() -print 'testing complete' diff --git a/test/v1_testing/Jamrules b/test/v1_testing/Jamrules deleted file mode 100644 index e69de29bb..000000000 diff --git a/test/v1_testing/boost-build.jam b/test/v1_testing/boost-build.jam deleted file mode 100644 index d9e748ec2..000000000 --- a/test/v1_testing/boost-build.jam +++ /dev/null @@ -1,6 +0,0 @@ -# Copyright 2002 Dave Abrahams -# Distributed under the Boost Software License, Version 1.0. -# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) - -TOOLS = gcc ; -boost-build ../.. ; diff --git a/test/v1_testing/foo.cpp b/test/v1_testing/foo.cpp deleted file mode 100644 index 6741a5943..000000000 --- a/test/v1_testing/foo.cpp +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright David Abrahams 2002. -// 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) - -#if NOCOMPILE -1 = 1; -#endif - -void lib(); - -void f() -{ - lib(); -} - -#ifndef NOLINK -int main() -{ -} -#endif - diff --git a/test/v1_testing/jamfile.jam b/test/v1_testing/jamfile.jam deleted file mode 100644 index 2e0bedac7..000000000 --- a/test/v1_testing/jamfile.jam +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 2002, 2003 Dave Abrahams -# Distributed under the Boost Software License, Version 1.0. -# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) - -TOOLS = $(TOOLS[1]) ; -project-root ; - -# bring in rules for testing -import testing ; - -lib mylib : lib.cpp ; - -compile foo.cpp : : compile ; -compile-fail foo.cpp : NOCOMPILE : nocompile ; - -link foo.cpp mylib : : link ; -link-fail foo.cpp mylib : NOLINK : nolink ; - -run foo.cpp mylib - : # args - : # input-files - : RUN - : run ; diff --git a/test/v1_testing/jamroot.jam b/test/v1_testing/jamroot.jam deleted file mode 100644 index fe6942458..000000000 --- a/test/v1_testing/jamroot.jam +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright 2002 Dave Abrahams -# Distributed under the Boost Software License, Version 1.0. -# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) - -# just label the project root diff --git a/test/v1_testing/lib-err.cpp b/test/v1_testing/lib-err.cpp deleted file mode 100644 index 060fd73e5..000000000 --- a/test/v1_testing/lib-err.cpp +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright David Abrahams 2002. -// 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) - -3 = 4; -void lib() {} diff --git a/test/v1_testing/lib.cpp b/test/v1_testing/lib.cpp deleted file mode 100644 index 1472b96ad..000000000 --- a/test/v1_testing/lib.cpp +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright David Abrahams 2002. -// 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) - -void lib() {}