summaryrefslogtreecommitdiffstats
blob: 14e2de05328d8597118a837cc03b83eea77119b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"])
	myenv.MergeFlags(myenv["PLATFORM_FLAGS"])
	
	tester = myenv.Program("TLSTest", [
			"CertificateTest.cpp",
		])
	myenv.Test(tester, "system")