commit | 72ac219a4d95cb0245edb53b7762969cad344f02 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Thu Jan 03 19:33:43 2013 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Thu Jan 03 19:35:37 2013 -0800 |
tree | 22ad18ce6300ed604a37e7038db97ac304413370 | |
parent | a28734bf9d05f72ac8d81100f72ae40f4763b480 [diff] [blame] |
Correction with tests
diff --git a/wscript b/wscript index c1231b1..736c5d1 100644 --- a/wscript +++ b/wscript
@@ -49,7 +49,7 @@ conf.env.append_value('CXXFLAGS', ['-O3', '-g']) if conf.options._test: - conf.define('_TEST', 1) + conf.env.TEST = 1 conf.load('protoc') conf.load('ice_cxx') @@ -73,7 +73,7 @@ ) # Unit tests - if bld.get_define("_TEST"): + if bld.env['TEST']: unittests = bld.program ( target="unit-tests", source = bld.path.ant_glob(['test/**/*.cc']),