diff options
Diffstat (limited to '')
-rw-r--r-- | build.conf | 10 | ||||
-rw-r--r-- | src/tests/clistress/main.cpp (renamed from src/test/clistress/main.cpp) | 0 | ||||
-rw-r--r-- | src/tests/connect/main.cpp (renamed from src/test/connect/main.cpp) | 0 | ||||
-rw-r--r-- | src/tests/exception/exception.cpp (renamed from src/test/exception/exception.cpp) | 0 | ||||
-rw-r--r-- | src/tests/hash/main.cpp (renamed from src/test/hash/main.cpp) | 0 | ||||
-rw-r--r-- | src/tests/hashtest/hashtest.cpp (renamed from src/test/hashtest/hashtest.cpp) | 0 | ||||
-rw-r--r-- | src/tests/httpsrv/httpconnectionmonitor.cpp (renamed from src/test/httpsrv/httpconnectionmonitor.cpp) | 0 | ||||
-rw-r--r-- | src/tests/httpsrv/httpconnectionmonitor.h (renamed from src/test/httpsrv/httpconnectionmonitor.h) | 0 | ||||
-rw-r--r-- | src/tests/httpsrv/main.cpp (renamed from src/test/httpsrv/main.cpp) | 0 | ||||
-rw-r--r-- | src/tests/log/log.cpp (renamed from src/test/log/log.cpp) | 0 | ||||
-rw-r--r-- | src/tests/md5test/md5test.cpp (renamed from src/test/md5test/md5test.cpp) | 0 | ||||
-rw-r--r-- | src/tests/param/param.cpp (renamed from src/test/param/param.cpp) | 0 | ||||
-rw-r--r-- | src/tests/param/param.h (renamed from src/test/param/param.h) | 0 | ||||
-rw-r--r-- | src/tests/plugin/main.cpp (renamed from src/test/plugin/main.cpp) | 0 | ||||
-rw-r--r-- | src/tests/plugin/plugin.cpp (renamed from src/test/plugin/plugin.cpp) | 0 | ||||
-rw-r--r-- | src/tests/plugin/plugin.h (renamed from src/test/plugin/plugin.h) | 0 | ||||
-rw-r--r-- | src/tests/serialize/serialize.cpp (renamed from src/test/serialize/serialize.cpp) | 0 | ||||
-rw-r--r-- | src/tests/serializetext/serializetext.cpp (renamed from src/test/serializetext/serializetext.cpp) | 0 | ||||
-rw-r--r-- | src/tests/srvstress/main.cpp (renamed from src/test/srvstress/main.cpp) | 0 | ||||
-rw-r--r-- | src/tests/strhash/main.cpp (renamed from src/test/strhash/main.cpp) | 0 | ||||
-rw-r--r-- | src/tests/teltest/main.cpp (renamed from src/test/teltest/main.cpp) | 0 | ||||
-rw-r--r-- | src/tests/teltest/telnetmonitor.cpp (renamed from src/test/teltest/telnetmonitor.cpp) | 0 | ||||
-rw-r--r-- | src/tests/teltest/telnetmonitor.h (renamed from src/test/teltest/telnetmonitor.h) | 0 | ||||
-rw-r--r-- | src/tests/xmlreadtest/xmlreadtest.cpp (renamed from src/test/xmlreadtest/xmlreadtest.cpp) | 0 | ||||
-rw-r--r-- | src/tests/xmlrepltest/xmlrepltest.cpp (renamed from src/test/xmlrepltest/xmlrepltest.cpp) | 0 | ||||
-rw-r--r-- | src/tests/xmlwritetest.cpp (renamed from src/test/xmlwritetest/xmlwritetest.cpp) | 0 |
26 files changed, 9 insertions, 1 deletions
@@ -13,7 +13,7 @@ set "CXXFLAGS" += "-ggdb" | |||
13 | set "CXXFLAGS" += "-Isrc -fPIC", | 13 | set "CXXFLAGS" += "-Isrc -fPIC", |
14 | input filesIn("src") filter regexp("^.*\\.cpp$") | 14 | input filesIn("src") filter regexp("^.*\\.cpp$") |
15 | 15 | ||
16 | directoriesIn("src/test","tests/"): | 16 | directoriesIn("src/tests","tests/"): |
17 | rule "exe", | 17 | rule "exe", |
18 | target file, | 18 | target file, |
19 | requires "libbu++.a", | 19 | requires "libbu++.a", |
@@ -21,6 +21,14 @@ directoriesIn("src/test","tests/"): | |||
21 | set "LDFLAGS" += "-L. -lbu++", | 21 | set "LDFLAGS" += "-L. -lbu++", |
22 | input filesIn("{fulldir}") filter regexp("^.*\\.cpp$") | 22 | input filesIn("{fulldir}") filter regexp("^.*\\.cpp$") |
23 | 23 | ||
24 | filesIn("src/tests") filter regexp("^src/tests/(.*)\\.cpp$", "tests/{re:1}"): | ||
25 | rule "exe", | ||
26 | target file, | ||
27 | requires "libbu++.a", | ||
28 | set "CXXFLAGS" += "-Isrc", | ||
29 | set "LDFLAGS" += "-L. -lbu++", | ||
30 | input "src/{target}.cpp" | ||
31 | |||
24 | "tests/plugin": set "LDFLAGS" += "-ldl" | 32 | "tests/plugin": set "LDFLAGS" += "-ldl" |
25 | 33 | ||
26 | rule "exe": | 34 | rule "exe": |
diff --git a/src/test/clistress/main.cpp b/src/tests/clistress/main.cpp index 6b0ac66..6b0ac66 100644 --- a/src/test/clistress/main.cpp +++ b/src/tests/clistress/main.cpp | |||
diff --git a/src/test/connect/main.cpp b/src/tests/connect/main.cpp index a9fca64..a9fca64 100644 --- a/src/test/connect/main.cpp +++ b/src/tests/connect/main.cpp | |||
diff --git a/src/test/exception/exception.cpp b/src/tests/exception/exception.cpp index 6417692..6417692 100644 --- a/src/test/exception/exception.cpp +++ b/src/tests/exception/exception.cpp | |||
diff --git a/src/test/hash/main.cpp b/src/tests/hash/main.cpp index d0f5fa6..d0f5fa6 100644 --- a/src/test/hash/main.cpp +++ b/src/tests/hash/main.cpp | |||
diff --git a/src/test/hashtest/hashtest.cpp b/src/tests/hashtest/hashtest.cpp index f31a3f8..f31a3f8 100644 --- a/src/test/hashtest/hashtest.cpp +++ b/src/tests/hashtest/hashtest.cpp | |||
diff --git a/src/test/httpsrv/httpconnectionmonitor.cpp b/src/tests/httpsrv/httpconnectionmonitor.cpp index ee1eab3..ee1eab3 100644 --- a/src/test/httpsrv/httpconnectionmonitor.cpp +++ b/src/tests/httpsrv/httpconnectionmonitor.cpp | |||
diff --git a/src/test/httpsrv/httpconnectionmonitor.h b/src/tests/httpsrv/httpconnectionmonitor.h index 30c0afd..30c0afd 100644 --- a/src/test/httpsrv/httpconnectionmonitor.h +++ b/src/tests/httpsrv/httpconnectionmonitor.h | |||
diff --git a/src/test/httpsrv/main.cpp b/src/tests/httpsrv/main.cpp index 2f1563c..2f1563c 100644 --- a/src/test/httpsrv/main.cpp +++ b/src/tests/httpsrv/main.cpp | |||
diff --git a/src/test/log/log.cpp b/src/tests/log/log.cpp index d7cfa0b..d7cfa0b 100644 --- a/src/test/log/log.cpp +++ b/src/tests/log/log.cpp | |||
diff --git a/src/test/md5test/md5test.cpp b/src/tests/md5test/md5test.cpp index 6f832df..6f832df 100644 --- a/src/test/md5test/md5test.cpp +++ b/src/tests/md5test/md5test.cpp | |||
diff --git a/src/test/param/param.cpp b/src/tests/param/param.cpp index a4d2824..a4d2824 100644 --- a/src/test/param/param.cpp +++ b/src/tests/param/param.cpp | |||
diff --git a/src/test/param/param.h b/src/tests/param/param.h index 2756b69..2756b69 100644 --- a/src/test/param/param.h +++ b/src/tests/param/param.h | |||
diff --git a/src/test/plugin/main.cpp b/src/tests/plugin/main.cpp index 51c8390..51c8390 100644 --- a/src/test/plugin/main.cpp +++ b/src/tests/plugin/main.cpp | |||
diff --git a/src/test/plugin/plugin.cpp b/src/tests/plugin/plugin.cpp index ea558fd..ea558fd 100644 --- a/src/test/plugin/plugin.cpp +++ b/src/tests/plugin/plugin.cpp | |||
diff --git a/src/test/plugin/plugin.h b/src/tests/plugin/plugin.h index f726867..f726867 100644 --- a/src/test/plugin/plugin.h +++ b/src/tests/plugin/plugin.h | |||
diff --git a/src/test/serialize/serialize.cpp b/src/tests/serialize/serialize.cpp index e233704..e233704 100644 --- a/src/test/serialize/serialize.cpp +++ b/src/tests/serialize/serialize.cpp | |||
diff --git a/src/test/serializetext/serializetext.cpp b/src/tests/serializetext/serializetext.cpp index f6be7d3..f6be7d3 100644 --- a/src/test/serializetext/serializetext.cpp +++ b/src/tests/serializetext/serializetext.cpp | |||
diff --git a/src/test/srvstress/main.cpp b/src/tests/srvstress/main.cpp index 7fe7657..7fe7657 100644 --- a/src/test/srvstress/main.cpp +++ b/src/tests/srvstress/main.cpp | |||
diff --git a/src/test/strhash/main.cpp b/src/tests/strhash/main.cpp index 790c5b6..790c5b6 100644 --- a/src/test/strhash/main.cpp +++ b/src/tests/strhash/main.cpp | |||
diff --git a/src/test/teltest/main.cpp b/src/tests/teltest/main.cpp index 5d3ec26..5d3ec26 100644 --- a/src/test/teltest/main.cpp +++ b/src/tests/teltest/main.cpp | |||
diff --git a/src/test/teltest/telnetmonitor.cpp b/src/tests/teltest/telnetmonitor.cpp index 32c2924..32c2924 100644 --- a/src/test/teltest/telnetmonitor.cpp +++ b/src/tests/teltest/telnetmonitor.cpp | |||
diff --git a/src/test/teltest/telnetmonitor.h b/src/tests/teltest/telnetmonitor.h index ba5761e..ba5761e 100644 --- a/src/test/teltest/telnetmonitor.h +++ b/src/tests/teltest/telnetmonitor.h | |||
diff --git a/src/test/xmlreadtest/xmlreadtest.cpp b/src/tests/xmlreadtest/xmlreadtest.cpp index 98d8a9e..98d8a9e 100644 --- a/src/test/xmlreadtest/xmlreadtest.cpp +++ b/src/tests/xmlreadtest/xmlreadtest.cpp | |||
diff --git a/src/test/xmlrepltest/xmlrepltest.cpp b/src/tests/xmlrepltest/xmlrepltest.cpp index 1fe9ec2..1fe9ec2 100644 --- a/src/test/xmlrepltest/xmlrepltest.cpp +++ b/src/tests/xmlrepltest/xmlrepltest.cpp | |||
diff --git a/src/test/xmlwritetest/xmlwritetest.cpp b/src/tests/xmlwritetest.cpp index 54c7a80..54c7a80 100644 --- a/src/test/xmlwritetest/xmlwritetest.cpp +++ b/src/tests/xmlwritetest.cpp | |||