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
This commit is contained in:
@@ -10,8 +10,8 @@ rule UnitTestLib
|
|||||||
local sources = $(2) ;
|
local sources = $(2) ;
|
||||||
local libraries = $(3) ;
|
local libraries = $(3) ;
|
||||||
|
|
||||||
# unless NO_TEST_DEBUG is defined, we turn on debugging
|
# if TEST_DEBUG is defined, we turn on debugging
|
||||||
if ! $(NO_TEST_DEBUG) {
|
if $(TEST_DEBUG) {
|
||||||
DEBUG on $(lib) [ FGristFiles $(sources:S=$(SUFOBJ)) ] ?= 1 ;
|
DEBUG on $(lib) [ FGristFiles $(sources:S=$(SUFOBJ)) ] ?= 1 ;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -85,8 +85,8 @@ rule SimpleTest
|
|||||||
{
|
{
|
||||||
# SimpleTest <target> : <sources> : [ <libraries> ] : [ <resources> ] ;
|
# SimpleTest <target> : <sources> : [ <libraries> ] : [ <resources> ] ;
|
||||||
|
|
||||||
# unless NO_TEST_DEBUG is defined, we turn on debugging
|
# if TEST_DEBUG is defined, we turn on debugging
|
||||||
if ! $(NO_TEST_DEBUG) {
|
if $(TEST_DEBUG) {
|
||||||
DEBUG on $(1) [ FGristFiles $(2:S=$(SUFOBJ)) ] ?= 1 ;
|
DEBUG on $(1) [ FGristFiles $(2:S=$(SUFOBJ)) ] ?= 1 ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user