summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-14 20:49:41 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-14 20:49:41 +0300
commit8e059e43c479b9cae258bd7c5a976b2f36776b2f (patch)
tree6ee9392c2ea07087cd0d98ca6da3d8b958dc5e87
parent5df517b2f4fc1a58853250c65cbd12ae5dec8c52 (diff)
downloaddeheader-8e059e43c479b9cae258bd7c5a976b2f36776b2f.tar.gz
deheader-8e059e43c479b9cae258bd7c5a976b2f36776b2f.tar.bz2
deheader-8e059e43c479b9cae258bd7c5a976b2f36776b2f.tar.xz
deheader-8e059e43c479b9cae258bd7c5a976b2f36776b2f.zip
Add test15 into ci tests.
-rw-r--r--.gitlab-ci.yml9
-rw-r--r--tools/ci/samples/test15.cpp12
-rw-r--r--tools/ci/samples/test15.h6
3 files changed, 27 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d62666f..21c226a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -191,6 +191,15 @@ test14_cpp:
tags:
- docker
+test15_cpp:
+ stage: build
+ script:
+ - ./tools/ci/jobs/deheader.sh "g++-5" "" test15.cpp
+ - ./tools/ci/jobs/deheadererror.sh "<string>"
+ image: debian:unstable
+ tags:
+ - docker
+
# reports
success:
diff --git a/tools/ci/samples/test15.cpp b/tools/ci/samples/test15.cpp
new file mode 100644
index 0000000..5282534
--- /dev/null
+++ b/tools/ci/samples/test15.cpp
@@ -0,0 +1,12 @@
+#include "test15.h"
+
+#ifdef QQQ
+#include <string>
+#else
+#include <string>
+#endif
+
+int function1()
+{
+ return 0;
+}
diff --git a/tools/ci/samples/test15.h b/tools/ci/samples/test15.h
new file mode 100644
index 0000000..fd3d077
--- /dev/null
+++ b/tools/ci/samples/test15.h
@@ -0,0 +1,6 @@
+#ifndef TEST15
+#define TEST15
+
+int function1();
+
+#endif // TEST15 \ No newline at end of file