summaryrefslogtreecommitdiffstats
path: root/src/piklab-test/generators
diff options
context:
space:
mode:
Diffstat (limited to 'src/piklab-test/generators')
-rw-r--r--src/piklab-test/generators/Makefile.am31
-rw-r--r--src/piklab-test/generators/gputils_config_generator_check.cpp11
-rw-r--r--src/piklab-test/generators/gputils_config_generator_check.h20
-rw-r--r--src/piklab-test/generators/gputils_template_generator_check.cpp11
-rw-r--r--src/piklab-test/generators/gputils_template_generator_check.h20
-rw-r--r--src/piklab-test/generators/sdcc_config_generator_check.cpp11
-rw-r--r--src/piklab-test/generators/sdcc_config_generator_check.h20
7 files changed, 124 insertions, 0 deletions
diff --git a/src/piklab-test/generators/Makefile.am b/src/piklab-test/generators/Makefile.am
new file mode 100644
index 0000000..209e3e3
--- /dev/null
+++ b/src/piklab-test/generators/Makefile.am
@@ -0,0 +1,31 @@
+INCLUDES = -I$(top_srcdir)/src $(all_includes)
+METASOURCES = AUTO
+
+noinst_PROGRAMS = gputils_config_generator_check gputils_template_generator_check \
+ sdcc_config_generator_check
+
+OBJ = $(top_builddir)/src/piklab-test/base/libtest.la \
+ $(top_builddir)/src/common/cli/libcli.la \
+ $(top_builddir)/src/tools/sdcc/libsdcc.la $(top_builddir)/src/tools/gputils/libgputils.la \
+ $(top_builddir)/src/coff/base/libcoff.la \
+ $(top_builddir)/src/common/global/libglobal.la $(top_builddir)/src/devices/list/libdevicelistnoui.la \
+ $(top_builddir)/src/devices/pic/pic/libpic.la $(top_builddir)/src/devices/pic/base/libpicbase.la \
+ $(top_builddir)/src/devices/pic/xml_data/libpicxml.la \
+ $(top_builddir)/src/devices/mem24/mem24/libmem24.la $(top_builddir)/src/devices/mem24/base/libmem24base.la \
+ $(top_builddir)/src/devices/mem24/xml_data/libmem24xml.la \
+ $(top_builddir)/src/devices/base/libdevicebase.la $(top_builddir)/src/common/common/libcommon.la
+
+gputils_config_generator_check_DEPENDENCIES = $(OBJ)
+gputils_config_generator_check_LDADD = $(OBJ) $(LIB_KIO)
+gputils_config_generator_check_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+gputils_config_generator_check_SOURCES = gputils_config_generator_check.cpp
+
+gputils_template_generator_check_DEPENDENCIES = $(OBJ)
+gputils_template_generator_check_LDADD = $(OBJ) $(LIB_KIO)
+gputils_template_generator_check_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+gputils_template_generator_check_SOURCES = gputils_template_generator_check.cpp
+
+sdcc_config_generator_check_DEPENDENCIES = $(OBJ)
+sdcc_config_generator_check_LDADD = $(OBJ) $(LIB_KIO)
+sdcc_config_generator_check_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+sdcc_config_generator_check_SOURCES = sdcc_config_generator_check.cpp
diff --git a/src/piklab-test/generators/gputils_config_generator_check.cpp b/src/piklab-test/generators/gputils_config_generator_check.cpp
new file mode 100644
index 0000000..89b2e2e
--- /dev/null
+++ b/src/piklab-test/generators/gputils_config_generator_check.cpp
@@ -0,0 +1,11 @@
+/***************************************************************************
+ * Copyright (C) 2007 Nicolas Hadacek <hadacek@kde.org> *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ ***************************************************************************/
+#include "gputils_config_generator_check.h"
+
+TEST_MAIN(GPUtilsConfigGeneratorCheck)
diff --git a/src/piklab-test/generators/gputils_config_generator_check.h b/src/piklab-test/generators/gputils_config_generator_check.h
new file mode 100644
index 0000000..e330871
--- /dev/null
+++ b/src/piklab-test/generators/gputils_config_generator_check.h
@@ -0,0 +1,20 @@
+/***************************************************************************
+ * Copyright (C) 2007 Nicolas Hadacek <hadacek@kde.org> *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ ***************************************************************************/
+#ifndef GPUTILS_CONFIG_GENERATOR_CHECK_H
+#define GPUTILS_CONFIG_GENERATOR_CHECK_H
+
+#include "piklab-test/base/generator_check.h"
+
+class GPUtilsConfigGeneratorCheck : public ConfigGeneratorCheck
+{
+public:
+ GPUtilsConfigGeneratorCheck() : ConfigGeneratorCheck(new GPUtilsGeneratorCheckHelper) {}
+};
+
+#endif
diff --git a/src/piklab-test/generators/gputils_template_generator_check.cpp b/src/piklab-test/generators/gputils_template_generator_check.cpp
new file mode 100644
index 0000000..fe5de54
--- /dev/null
+++ b/src/piklab-test/generators/gputils_template_generator_check.cpp
@@ -0,0 +1,11 @@
+/***************************************************************************
+ * Copyright (C) 2007 Nicolas Hadacek <hadacek@kde.org> *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ ***************************************************************************/
+#include "gputils_template_generator_check.h"
+
+TEST_MAIN(GPUtilsTemplateGeneratorCheck)
diff --git a/src/piklab-test/generators/gputils_template_generator_check.h b/src/piklab-test/generators/gputils_template_generator_check.h
new file mode 100644
index 0000000..cc93eb8
--- /dev/null
+++ b/src/piklab-test/generators/gputils_template_generator_check.h
@@ -0,0 +1,20 @@
+/***************************************************************************
+ * Copyright (C) 2007 Nicolas Hadacek <hadacek@kde.org> *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ ***************************************************************************/
+#ifndef GPUTILS_TEMPLATE_GENERATOR_CHECK_H
+#define GPUTILS_TEMPLATE_GENERATOR_CHECK_H
+
+#include "piklab-test/base/generator_check.h"
+
+class GPUtilsTemplateGeneratorCheck : public TemplateGeneratorCheck
+{
+public:
+ GPUtilsTemplateGeneratorCheck() : TemplateGeneratorCheck(new GPUtilsGeneratorCheckHelper) {}
+};
+
+#endif
diff --git a/src/piklab-test/generators/sdcc_config_generator_check.cpp b/src/piklab-test/generators/sdcc_config_generator_check.cpp
new file mode 100644
index 0000000..cad2f07
--- /dev/null
+++ b/src/piklab-test/generators/sdcc_config_generator_check.cpp
@@ -0,0 +1,11 @@
+/***************************************************************************
+ * Copyright (C) 2007 Nicolas Hadacek <hadacek@kde.org> *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ ***************************************************************************/
+#include "sdcc_config_generator_check.h"
+
+TEST_MAIN(SDCCConfigGeneratorCheck)
diff --git a/src/piklab-test/generators/sdcc_config_generator_check.h b/src/piklab-test/generators/sdcc_config_generator_check.h
new file mode 100644
index 0000000..8438f0f
--- /dev/null
+++ b/src/piklab-test/generators/sdcc_config_generator_check.h
@@ -0,0 +1,20 @@
+/***************************************************************************
+ * Copyright (C) 2007 Nicolas Hadacek <hadacek@kde.org> *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ ***************************************************************************/
+#ifndef SDCC_CONFIG_GENERATOR_CHECK_H
+#define SDCC_CONFIG_GENERATOR_CHECK_H
+
+#include "piklab-test/base/generator_check.h"
+
+class SDCCConfigGeneratorCheck : public ConfigGeneratorCheck
+{
+public:
+ SDCCConfigGeneratorCheck() : ConfigGeneratorCheck(new SDCCGeneratorCheckHelper) {}
+};
+
+#endif