From 52ca3e7cf21bd78f2b8d4bcc3b8e09d5ad77b812 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Wed, 19 Jun 2002 01:26:11 +0000 Subject: [PATCH] fixed RUN_ALL_TESTS [SVN r14172] --- testing.jam | 10 +++++----- v1/testing.jam | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/testing.jam b/testing.jam index 89473331d..d4fc5759b 100755 --- a/testing.jam +++ b/testing.jam @@ -249,6 +249,11 @@ rule build-test ( test-file-generator test-file + : sources + : requirements * ) # Generate the test file $(test-file-generator) $(test-file) : $(dependency) ; + + if $(RUN_ALL_TESTS) + { + ALWAYS $(test-file) ; + } } ### Rules for testing whether a file compiles ### @@ -297,11 +302,6 @@ rule run-test ( target : sources + : requirements * ) INPUT_FILES on $(target) = $(gRUN_TEST_INPUT_FILES) ; ARGS on $(target) = $(gRUN_TEST_ARGS) ; capture-run-output $(target) : $(executable) ; - - if $(RUN_ALL_TESTS) - { - ALWAYS $(target) ; - } } # The rule is just used for argument checking diff --git a/v1/testing.jam b/v1/testing.jam index 89473331d..d4fc5759b 100755 --- a/v1/testing.jam +++ b/v1/testing.jam @@ -249,6 +249,11 @@ rule build-test ( test-file-generator test-file + : sources + : requirements * ) # Generate the test file $(test-file-generator) $(test-file) : $(dependency) ; + + if $(RUN_ALL_TESTS) + { + ALWAYS $(test-file) ; + } } ### Rules for testing whether a file compiles ### @@ -297,11 +302,6 @@ rule run-test ( target : sources + : requirements * ) INPUT_FILES on $(target) = $(gRUN_TEST_INPUT_FILES) ; ARGS on $(target) = $(gRUN_TEST_ARGS) ; capture-run-output $(target) : $(executable) ; - - if $(RUN_ALL_TESTS) - { - ALWAYS $(target) ; - } } # The rule is just used for argument checking