summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/IDN/SConscript')
-rw-r--r--Swiften/IDN/SConscript8
1 files changed, 5 insertions, 3 deletions
diff --git a/Swiften/IDN/SConscript b/Swiften/IDN/SConscript
index 1011563..4f540cd 100644
--- a/Swiften/IDN/SConscript
+++ b/Swiften/IDN/SConscript
@@ -16,8 +16,10 @@ objects += myenv.SwiftenObject(["PlatformIDNConverter.cpp"])
swiften_env.Append(SWIFTEN_OBJECTS = [objects])
-#env.Append(UNITTEST_OBJECTS = myenv.SwiftenObject([
-# File("UnitTest/IDNATest.cpp"),
-#])
+test_env = myenv.Clone()
+test_env.UseFlags(swiften_env["CPPUNIT_FLAGS"])
+env.Append(UNITTEST_OBJECTS = test_env.SwiftenObject([
+ File("UnitTest/IDNConverterTest.cpp"),
+]))