summaryrefslogtreecommitdiffstats
path: root/QA
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-08-16 19:09:07 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-08-16 22:13:31 (GMT)
commiteec0a68b1a23feba9e54cbc47df62042208f91a1 (patch)
tree5e9232baea5585c1ef6f00ce0e08601e1443861c /QA
parent3f489e625589d6523b082e534f9ab71f1d9c3cbd (diff)
downloadswift-contrib-eec0a68b1a23feba9e54cbc47df62042208f91a1.zip
swift-contrib-eec0a68b1a23feba9e54cbc47df62042208f91a1.tar.bz2
Enable XML parser tests again.
Diffstat (limited to 'QA')
-rw-r--r--QA/UnitTest/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/QA/UnitTest/SConscript b/QA/UnitTest/SConscript
index 095ef68..4e82443 100644
--- a/QA/UnitTest/SConscript
+++ b/QA/UnitTest/SConscript
@@ -14,6 +14,10 @@ if "check" in COMMAND_LINE_TARGETS or env.GetOption("clean") :
myenv.MergeFlags(env.get("LIBXML_FLAGS", ""))
myenv.MergeFlags(env.get("EXPAT_FLAGS", ""))
myenv.MergeFlags(env["ZLIB_FLAGS"])
+ if env.get("HAVE_LIBXML") :
+ myenv.Append(CPPDEFINES = ["HAVE_LIBXML"])
+ if env.get("HAVE_EXPAT") :
+ myenv.Append(CPPDEFINES = ["HAVE_EXPAT"])
checker = myenv.Program("checker", ["checker.cpp"] + env["UNITTEST_SOURCES"])
for i in ["HOME", "USERPROFILE", "APPDATA"]:
if os.environ.get(i, "") :