summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/QA/TLSTest/SConscript')
-rw-r--r--Swiften/QA/TLSTest/SConscript20
1 files changed, 20 insertions, 0 deletions
diff --git a/Swiften/QA/TLSTest/SConscript b/Swiften/QA/TLSTest/SConscript
new file mode 100644
index 0000000..034336e
--- /dev/null
+++ b/Swiften/QA/TLSTest/SConscript
@@ -0,0 +1,20 @@
+import os
+
+Import("env")
+
+if env["TEST"] :
+ myenv = env.Clone()
+ myenv.MergeFlags(myenv["CHECKER_FLAGS"])
+ myenv.MergeFlags(myenv["SWIFTOOLS_FLAGS"])
+ myenv.MergeFlags(myenv["SWIFTEN_FLAGS"])
+ myenv.MergeFlags(myenv["CPPUNIT_FLAGS"])
+ myenv.MergeFlags(myenv["BOOST_FLAGS"])
+ myenv.MergeFlags(myenv["LIBIDN_FLAGS"])
+ if myenv.get("HAVE_OPENSSL") :
+ myenv.MergeFlags(myenv["OPENSSL_FLAGS"])
+ myenv.Append(CPPDEFINES = ["HAVE_OPENSSL"])
+
+ tester = myenv.Program("TLSTest", [
+ "CertificateTest.cpp",
+ ])
+ myenv.Test(tester, "system")