summaryrefslogtreecommitdiff
path: root/tests/manual
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2013-02-12 17:24:35 +0100
committerChristian Kandeler <christian.kandeler@digia.com>2013-02-12 17:43:12 +0100
commite7b16cd0d0a921402745ac629c23d0ab5027e47e (patch)
tree329a3e03b428252a0acd71bc7b22f9da47fac89a /tests/manual
parentcf01c711fed887dacac05f9c3aa4c6b70436b3f5 (diff)
downloadqbs-e7b16cd0d0a921402745ac629c23d0ab5027e47e.tar.gz
remove tests/manual/patternfiles
This test is out of date and the wildcard functionality is covered in the autotests. Change-Id: Icabaf96a625ee5cf744c1e9f825da53c1c535a0b Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/patternfiles/patternfiles.qbs25
-rw-r--r--tests/manual/patternfiles/src/foo.cpp9
-rw-r--r--tests/manual/patternfiles/src/foo.h7
-rw-r--r--tests/manual/patternfiles/src/main.cpp21
4 files changed, 0 insertions, 62 deletions
diff --git a/tests/manual/patternfiles/patternfiles.qbs b/tests/manual/patternfiles/patternfiles.qbs
deleted file mode 100644
index 590b88482..000000000
--- a/tests/manual/patternfiles/patternfiles.qbs
+++ /dev/null
@@ -1,25 +0,0 @@
-import qbs.base 1.0
-
-Application {
- type: 'application'
- name: 'HelloWorld'
-
- Depends { name: 'cpp' }
-
- cpp.defines: ['SOMETHING']
-
- //files: '../patternfiles/././.*\\..\\patternfiles/*s*r*c*\\foo.*'
-
- Group {
- files: 'src/foo.*'
- excludeFiles: 'src/foo.2.cpp'
- recursive: true
- }
-
- Group {
- cpp.defines: outer.concat(['HAVE_MAIN_CPP', cpp.debugInformation ? '_DEBUG' : '_RELEASE'])
- prefix: "src/"
- files: 'main.*'
- }
-}
-
diff --git a/tests/manual/patternfiles/src/foo.cpp b/tests/manual/patternfiles/src/foo.cpp
deleted file mode 100644
index 126abcdbd..000000000
--- a/tests/manual/patternfiles/src/foo.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef SOMETHING
-# error missing define SOMETHING
-#endif
-
-int someUsefulFunction()
-{
- return 156;
-}
-
diff --git a/tests/manual/patternfiles/src/foo.h b/tests/manual/patternfiles/src/foo.h
deleted file mode 100644
index 1e4fd7b94..000000000
--- a/tests/manual/patternfiles/src/foo.h
+++ /dev/null
@@ -1,7 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-int someUsefulFunction();
-
-#endif
-
diff --git a/tests/manual/patternfiles/src/main.cpp b/tests/manual/patternfiles/src/main.cpp
deleted file mode 100644
index 6334c608b..000000000
--- a/tests/manual/patternfiles/src/main.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-#include "foo.h"
-#include <stdio.h>
-
-#ifndef HAVE_MAIN_CPP
-# error missing define HAVE_MAIN_CPP
-#endif
-
-#ifndef SOMETHING
-# error missing define SOMETHING
-#endif
-
-int main()
-{
- someUsefulFunction();
-#ifdef _DEBUG
- puts("Hello World! (debug version)");
-#else
- puts("Hello World! (release version)");
-#endif
-}
-