summaryrefslogtreecommitdiffstats
path: root/src/libcommuni/tests/tests.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcommuni/tests/tests.pro')
-rw-r--r--src/libcommuni/tests/tests.pro18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/libcommuni/tests/tests.pro b/src/libcommuni/tests/tests.pro
new file mode 100644
index 0000000..bbe5635
--- /dev/null
+++ b/src/libcommuni/tests/tests.pro
@@ -0,0 +1,18 @@
+######################################################################
+# Communi
+######################################################################
+
+TEMPLATE = subdirs
+SUBDIRS += auto
+!no_benchmarks:SUBDIRS += benchmarks
+
+mac {
+ # TODO: install_name_tool?
+ check.commands += cd auto &&
+ check.commands += DYLD_FRAMEWORK_PATH=$$OUT_PWD/../lib $(MAKE) check
+ !no_benchmarks {
+ check.commands += && cd ../benchmarks &&
+ check.commands += DYLD_FRAMEWORK_PATH=$$OUT_PWD/../lib $(MAKE) check
+ }
+ QMAKE_EXTRA_TARGETS += check
+}