From b5b35dab33a937a9badb55e0fed0e2a7ef720574 Mon Sep 17 00:00:00 2001
From: con <qtc-committer@nokia.com>
Date: Tue, 1 Sep 2009 16:17:01 +0200
Subject: [PATCH] Move aggregation auto tests to test directory.

---
 src/libs/aggregation/test/test.pro                 | 12 ------------
 tests/auto/aggregation/aggregation.pro             | 14 ++++++++++++++
 .../auto/aggregation}/tst_aggregate.cpp            |  0
 tests/auto/auto.pro                                |  3 ++-
 4 files changed, 16 insertions(+), 13 deletions(-)
 delete mode 100644 src/libs/aggregation/test/test.pro
 create mode 100644 tests/auto/aggregation/aggregation.pro
 rename {src/libs/aggregation/test => tests/auto/aggregation}/tst_aggregate.cpp (100%)

diff --git a/src/libs/aggregation/test/test.pro b/src/libs/aggregation/test/test.pro
deleted file mode 100644
index 6143ca98050..00000000000
--- a/src/libs/aggregation/test/test.pro
+++ /dev/null
@@ -1,12 +0,0 @@
-CONFIG += qtestlib
-TEMPLATE = app
-CONFIG -= app_bundle
-DEFINES += AGGREGATION_LIBRARY
-
-INCLUDEPATH += ../
-# Input
-SOURCES += tst_aggregate.cpp \
-    ../aggregate.cpp
-HEADERS += ../aggregate.h \
-    ../aggregation_global.h
-
diff --git a/tests/auto/aggregation/aggregation.pro b/tests/auto/aggregation/aggregation.pro
new file mode 100644
index 00000000000..c35c696239e
--- /dev/null
+++ b/tests/auto/aggregation/aggregation.pro
@@ -0,0 +1,14 @@
+CONFIG += qtestlib
+TEMPLATE = app
+CONFIG -= app_bundle
+DEFINES += AGGREGATION_LIBRARY
+
+AGGREGATION_PATH = ../../../src/libs/aggregation
+
+INCLUDEPATH += $$AGGREGATION_PATH
+# Input
+SOURCES += tst_aggregate.cpp \
+    $$AGGREGATION_PATH/aggregate.cpp
+HEADERS += $$AGGREGATION_PATH/aggregate.h \
+    $$AGGREGATION_PATH/aggregation_global.h
+
diff --git a/src/libs/aggregation/test/tst_aggregate.cpp b/tests/auto/aggregation/tst_aggregate.cpp
similarity index 100%
rename from src/libs/aggregation/test/tst_aggregate.cpp
rename to tests/auto/aggregation/tst_aggregate.cpp
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 14a1c73eaf5..826e842ef9c 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -5,4 +5,5 @@ SUBDIRS += \
     debugger \
     extensionsystem \
     fakevim \
-    profilereader
+#    profilereader \
+    aggregation
-- 
GitLab