summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMathias Hasselmann <mathias.hasselmann@gmx.de>2007-06-26 14:24:13 +0000
committerMathias Hasselmann <hasselmm@src.gnome.org>2007-06-26 14:24:13 +0000
commitdac4d352114937b463c4f7d3627389de66d54241 (patch)
tree98db089f918dd0dec94655a256eb3253a86b9738 /tests
parentcbde735c9777d1f3530f67510ea670f3a8d5aa2d (diff)
downloadgtk+-dac4d352114937b463c4f7d3627389de66d54241.tar.gz
Create test for finding C++ keywords in public header files (#449016).
2007-06-26 Mathias Hasselmann <mathias.hasselmann@gmx.de> * ChangeLog, configure.in, tests/Makefile.am, tests/autotestkeywords.cc: Create test for finding C++ keywords in public header files (#449016). svn path=/trunk/; revision=18243
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am7
-rw-r--r--tests/autotestkeywords.cc2
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 582b83f75f..6080704e67 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -26,8 +26,13 @@ endif
TESTS = floatingtest buildertest
+if HAVE_CXX
+TESTS += autotestkeywords
+endif
+
noinst_PROGRAMS = \
autotestfilechooser \
+ autotestkeywords \
floatingtest \
buildertest \
simple \
@@ -90,6 +95,8 @@ noinst_PROGRAMS = \
testtooltips \
testvolumebutton
+autotestkeywords_SOURCES = autotestkeywords.cc
+
autotestfilechooser_DEPENDENCIES = $(TEST_DEPS)
simple_DEPENDENCIES = $(TEST_DEPS)
floatingtest_DEPENDENCIES = $(TEST_DEPS)
diff --git a/tests/autotestkeywords.cc b/tests/autotestkeywords.cc
new file mode 100644
index 0000000000..c6bac9d613
--- /dev/null
+++ b/tests/autotestkeywords.cc
@@ -0,0 +1,2 @@
+#include <gtk/gtk.h>
+int main() { return 0; }