summaryrefslogtreecommitdiff
path: root/SConscript
diff options
context:
space:
mode:
authorPaul Querna <pquerna@apache.org>2009-03-25 10:56:44 +0000
committerPaul Querna <pquerna@apache.org>2009-03-25 10:56:44 +0000
commit6716a32ad6bbf487f4262854efbca0d397433e63 (patch)
tree00e4b7bdf8738afc40244e3b6ab770da1e33e230 /SConscript
parent5642b0b0d1b8d1089f864c1ba2c9f9c05d190670 (diff)
downloadapr-6716a32ad6bbf487f4262854efbca0d397433e63.tar.gz
SCons:
- build testall - stub out ldap build vars. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@758212 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'SConscript')
-rw-r--r--SConscript23
1 files changed, 22 insertions, 1 deletions
diff --git a/SConscript b/SConscript
index 0518feccf..e90c0d627 100644
--- a/SConscript
+++ b/SConscript
@@ -6,7 +6,28 @@ files = env.core_lib_files()
(major, minor, patch) = env.APRVersion()
libapr = env.SharedLibrary('apr-%d' % (major), files)
+tests = Split("""
+ abts.c testutil.c
+ testtime.c teststr.c testvsn.c testipsub.c testshm.c
+ testmmap.c testud.c testtable.c testsleep.c testpools.c
+ testfmt.c testfile.c testdir.c testfileinfo.c testrand.c
+ testdso.c testoc.c testdup.c testsockets.c testproc.c
+ testpoll.c testlock.c testsockopt.c testpipe.c
+ testthread.c testhash.c testargs.c testnames.c testuser.c
+ testpath.c testenv.c testprocmutex.c testfnmatch.c
+ testatomic.c testflock.c testsock.c testglobalmutex.c
+ teststrnatcmp.c testfilecopy.c testtemp.c testlfs.c
+ testcond.c testuri.c testmemcache.c testdate.c
+ testxlate.c testdbd.c testrmm.c testldap.c testmd4.c
+ teststrmatch.c testpass.c testcrypto.c testqueue.c
+ testbuckets.c testxml.c testdbm.c testuuid.c testmd5.c
+ testreslist.c
+""")
-targets = [libapr]
+tenv = env.Clone()
+tenv.AppendUnique(LIBS = libapr)
+testall = tenv.Program('testall', source = ["test/"+t for t in tests])
+
+targets = [libapr, testall]
Return("targets") \ No newline at end of file