diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-10 10:45:33 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-10 10:45:33 +0000 |
commit | f7b5b476ba55ee45fefff22777f525cc81b4cae8 (patch) | |
tree | a33e5983ab6c8b0e35c1055cb7503ec4fac90041 /src/datacache | |
parent | 0ac9a4984e1e551293ea8ea00f3c8ea2c5460d91 (diff) | |
download | gnunet-f7b5b476ba55ee45fefff22777f525cc81b4cae8.tar.gz gnunet-f7b5b476ba55ee45fefff22777f525cc81b4cae8.zip |
adding configure code for --enable-benchmarks, --enable-expensive-tests, some clean up
Diffstat (limited to 'src/datacache')
-rw-r--r-- | src/datacache/Makefile.am | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/src/datacache/Makefile.am b/src/datacache/Makefile.am index 5e3919820..921d88e5f 100644 --- a/src/datacache/Makefile.am +++ b/src/datacache/Makefile.am | |||
@@ -81,24 +81,36 @@ libgnunet_plugin_datacache_template_la_LDFLAGS = \ | |||
81 | 81 | ||
82 | 82 | ||
83 | if HAVE_SQLITE | 83 | if HAVE_SQLITE |
84 | if HAVE_BENCHMARKS | ||
85 | SQLITE_BENCHMARKS = \ | ||
86 | perf_datacache_postgres | ||
87 | endif | ||
84 | SQLITE_TESTS = \ | 88 | SQLITE_TESTS = \ |
85 | test_datacache_sqlite \ | 89 | test_datacache_sqlite \ |
86 | test_datacache_quota_sqlite \ | 90 | test_datacache_quota_sqlite \ |
87 | perf_datacache_sqlite | 91 | $(SQLITE_BENCHMARKS) |
88 | endif | 92 | endif |
89 | 93 | ||
90 | if HAVE_MYSQL | 94 | if HAVE_MYSQL |
95 | if HAVE_BENCHMARKS | ||
96 | MYSQL_BENCHMARKS = \ | ||
97 | perf_datacache_postgres | ||
98 | endif | ||
91 | MYSQL_TESTS = \ | 99 | MYSQL_TESTS = \ |
92 | test_datacache_mysql \ | 100 | test_datacache_mysql \ |
93 | test_datacache_quota_mysql \ | 101 | test_datacache_quota_mysql \ |
94 | perf_datacache_mysql | 102 | $(MYSQL_BENCHMARKS) |
95 | endif | 103 | endif |
96 | 104 | ||
97 | if HAVE_POSTGRES | 105 | if HAVE_POSTGRES |
106 | if HAVE_BENCHMARKS | ||
107 | POSTGRES_BENCHMARKS = \ | ||
108 | perf_datacache_postgres | ||
109 | endif | ||
98 | POSTGRES_TESTS = \ | 110 | POSTGRES_TESTS = \ |
99 | test_datacache_postgres \ | 111 | test_datacache_postgres \ |
100 | test_datacache_quota_postgres \ | 112 | test_datacache_quota_postgres \ |
101 | perf_datacache_postgres | 113 | $(POSTGRES_BENCHMARKS) |
102 | endif | 114 | endif |
103 | 115 | ||
104 | check_PROGRAMS = \ | 116 | check_PROGRAMS = \ |
@@ -106,7 +118,7 @@ check_PROGRAMS = \ | |||
106 | $(MYSQL_TESTS) \ | 118 | $(MYSQL_TESTS) \ |
107 | $(POSTGRES_TESTS) | 119 | $(POSTGRES_TESTS) |
108 | 120 | ||
109 | if !DISABLE_TEST_RUN | 121 | if ENABLE_TEST_RUN |
110 | TESTS = $(check_PROGRAMS) | 122 | TESTS = $(check_PROGRAMS) |
111 | endif | 123 | endif |
112 | 124 | ||