From 43e6454f921ed39f59373f2b28364a7dfc7d8f86 Mon Sep 17 00:00:00 2001 From: Travis Geiselbrecht Date: Sat, 3 Feb 2007 21:55:45 +0000 Subject: [PATCH] Change the jam rules to build the test binaries as release by default, debug only if you specify TEST_DEBUG. The debug binaries don't seem to work right anyway. Hopefully this didn't mess anyone up. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20061 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/jam/TestsRules | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/jam/TestsRules b/build/jam/TestsRules index 507b7bf8a5..e40a930de5 100644 --- a/build/jam/TestsRules +++ b/build/jam/TestsRules @@ -10,8 +10,8 @@ rule UnitTestLib local sources = $(2) ; local libraries = $(3) ; - # unless NO_TEST_DEBUG is defined, we turn on debugging - if ! $(NO_TEST_DEBUG) { + # if TEST_DEBUG is defined, we turn on debugging + if $(TEST_DEBUG) { DEBUG on $(lib) [ FGristFiles $(sources:S=$(SUFOBJ)) ] ?= 1 ; } @@ -85,8 +85,8 @@ rule SimpleTest { # SimpleTest : : [ ] : [ ] ; - # unless NO_TEST_DEBUG is defined, we turn on debugging - if ! $(NO_TEST_DEBUG) { + # if TEST_DEBUG is defined, we turn on debugging + if $(TEST_DEBUG) { DEBUG on $(1) [ FGristFiles $(2:S=$(SUFOBJ)) ] ?= 1 ; }