tests: Only enable CONFIG_TEST if we are building tests
Signed-off-by: Anna Schumaker <schumaker.anna@gmail.com>
This commit is contained in:
parent
c263e0e524
commit
972eb3c2aa
|
@ -1,7 +1,11 @@
|
|||
#!/usr/bin/python
|
||||
|
||||
import sys
|
||||
Import("env")
|
||||
|
||||
env.Append( CCFLAGS = [ "-DCONFIG_TEST" ] )
|
||||
if sys.argv.count("tests") > 0:
|
||||
env.Append( CCFLAGS = [ "-DCONFIG_TEST" ] )
|
||||
|
||||
src = SConscript("src/Sconscript")
|
||||
|
||||
tests = [ "version", "file" ]
|
||||
|
|
Loading…
Reference in New Issue