diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-08-16 19:09:07 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-08-16 22:13:31 (GMT) |
commit | eec0a68b1a23feba9e54cbc47df62042208f91a1 (patch) | |
tree | 5e9232baea5585c1ef6f00ce0e08601e1443861c /QA | |
parent | 3f489e625589d6523b082e534f9ab71f1d9c3cbd (diff) | |
download | swift-contrib-eec0a68b1a23feba9e54cbc47df62042208f91a1.zip swift-contrib-eec0a68b1a23feba9e54cbc47df62042208f91a1.tar.bz2 |
Enable XML parser tests again.
Diffstat (limited to 'QA')
-rw-r--r-- | QA/UnitTest/SConscript | 4 |
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, "") : |