aboutsummaryrefslogtreecommitdiff
path: root/tis-ci
diff options
context:
space:
mode:
authorJakub Zwolakowski <jakub.zwolakowski@trust-in-soft.com>2020-06-04 15:37:49 +0200
committerJakub Zwolakowski <jakub.zwolakowski@trust-in-soft.com>2020-10-01 10:35:38 +0200
commit6a728d2c970d3d2ac6bca907e627058b1977d816 (patch)
treedf079b2b4c050444ea4fe0b28cda5d8c6c0ce8a1 /tis-ci
parent5fb39f04e478f69349b27de4854b52587908fba8 (diff)
downloadoniguruma-6a728d2c970d3d2ac6bca907e627058b1977d816.zip
oniguruma-6a728d2c970d3d2ac6bca907e627058b1977d816.tar.gz
oniguruma-6a728d2c970d3d2ac6bca907e627058b1977d816.tar.bz2
Initial TIS-CI configuration.
Diffstat (limited to 'tis-ci')
-rw-r--r--tis-ci/config.h109
-rw-r--r--tis-ci/stub.c3
-rw-r--r--tis-ci/test_back.config23
-rw-r--r--tis-ci/test_regset.config19
-rw-r--r--tis-ci/test_syntax.config25
-rw-r--r--tis-ci/test_utf8.config24
-rw-r--r--tis-ci/testc.config24
-rw-r--r--tis-ci/testu.config23
8 files changed, 250 insertions, 0 deletions
diff --git a/tis-ci/config.h b/tis-ci/config.h
new file mode 100644
index 0000000..9400605
--- /dev/null
+++ b/tis-ci/config.h
@@ -0,0 +1,109 @@
+/* src/config.h. Generated from config.h.in by configure. */
+/* src/config.h.in. Generated from configure.ac by autoheader. */
+
+/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
+ systems. This function is required for `alloca.c' support on those systems.
+ */
+/* #undef CRAY_STACKSEG_END */
+
+/* Define to 1 if using `alloca.c'. */
+/* #undef C_ALLOCA */
+
+/* Define to 1 if you have `alloca', as a function or macro. */
+#define HAVE_ALLOCA 1
+
+/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
+ */
+#define HAVE_ALLOCA_H 1
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/times.h> header file. */
+#define HAVE_SYS_TIMES_H 1
+
+/* Define to 1 if you have the <sys/time.h> header file. */
+#define HAVE_SYS_TIME_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define to the sub-directory where libtool stores uninstalled libraries. */
+#define LT_OBJDIR ".libs/"
+
+/* Name of package */
+#define PACKAGE "onig"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT ""
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "onig"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "onig 6.9.4"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "onig"
+
+/* Define to the home page for this package. */
+#define PACKAGE_URL ""
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "6.9.4"
+
+/* The size of `int', as computed by sizeof. */
+#define SIZEOF_INT 4
+
+/* The size of `long', as computed by sizeof. */
+#define SIZEOF_LONG 8
+
+/* The size of `long long', as computed by sizeof. */
+#define SIZEOF_LONG_LONG 8
+
+/* The size of `void*', as computed by sizeof. */
+#define SIZEOF_VOIDP 8
+
+/* If using the C implementation of alloca, define if you know the
+ direction of stack growth for your system; otherwise it will be
+ automatically deduced at runtime.
+ STACK_DIRECTION > 0 => grows toward higher addresses
+ STACK_DIRECTION < 0 => grows toward lower addresses
+ STACK_DIRECTION = 0 => direction of growth unknown */
+/* #undef STACK_DIRECTION */
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Define if enable CR+NL as line terminator */
+/* #undef USE_CRNL_AS_LINE_TERMINATOR */
+
+/* Version number of package */
+#define VERSION "6.9.4"
+
+/* Define to `unsigned int' if <sys/types.h> does not define. */
+/* #undef size_t */
diff --git a/tis-ci/stub.c b/tis-ci/stub.c
new file mode 100644
index 0000000..11f1570
--- /dev/null
+++ b/tis-ci/stub.c
@@ -0,0 +1,3 @@
+void srand(unsigned int seed) {
+ return;
+}
diff --git a/tis-ci/test_back.config b/tis-ci/test_back.config
new file mode 100644
index 0000000..a50ab33
--- /dev/null
+++ b/tis-ci/test_back.config
@@ -0,0 +1,23 @@
+{
+ "compilation_cmd": "-I ../tis-ci -I ../src -D alloca=__builtin_alloca",
+ "files": [
+ "../test/test_back.c",
+ "../src/unicode.c",
+ "../src/regcomp.c",
+ "../src/regenc.c",
+ "../src/utf16_be.c",
+ "../src/regparse.c",
+ "../src/st.c",
+ "../src/regexec.c",
+ "../src/unicode_unfold_key.c",
+ "../src/unicode_fold3_key.c",
+ "../src/unicode_fold2_key.c",
+ "../src/unicode_fold1_key.c",
+ "../src/utf8.c",
+ "../src/regversion.c"
+ ],
+ "machdep": "gcc_x86_64",
+ "main": "main",
+ "name": "test_back.c FULL",
+ "address-alignment": 65536 /* hexadecimal 0x10000 */
+}
diff --git a/tis-ci/test_regset.config b/tis-ci/test_regset.config
new file mode 100644
index 0000000..220f0f1
--- /dev/null
+++ b/tis-ci/test_regset.config
@@ -0,0 +1,19 @@
+{
+ "compilation_cmd": "-I ../tis-ci -I ../src -D alloca=__builtin_alloca",
+ "files": [
+ "../test/test_regset.c",
+ "../tis-ci/stub.c",
+ "../src/regcomp.c",
+ "../src/regenc.c",
+ "../src/utf8.c",
+ "../src/regexec.c",
+ "../src/ascii.c",
+ "../src/regparse.c",
+ "../src/st.c",
+ "../src/regversion.c"
+ ],
+ "machdep": "gcc_x86_64",
+ "main": "main",
+ "name": "test_regset.c FULL",
+ "address-alignment": 65536 /* hexadecimal 0x10000 */
+}
diff --git a/tis-ci/test_syntax.config b/tis-ci/test_syntax.config
new file mode 100644
index 0000000..46811fa
--- /dev/null
+++ b/tis-ci/test_syntax.config
@@ -0,0 +1,25 @@
+{
+ "compilation_cmd": "-I ../tis-ci -I ../src -D alloca=__builtin_alloca",
+ "files": [
+ "../test/test_syntax.c",
+ "../src/unicode.c",
+ "../src/regcomp.c",
+ "../src/regenc.c",
+ "../src/utf16_be.c",
+ "../src/regparse.c",
+ "../src/st.c",
+ "../src/regexec.c",
+ "../src/unicode_unfold_key.c",
+ "../src/unicode_fold3_key.c",
+ "../src/unicode_fold2_key.c",
+ "../src/unicode_fold1_key.c",
+ "../src/utf8.c",
+ "../src/regsyntax.c",
+ "../src/ascii.c",
+ "../src/regversion.c"
+ ],
+ "machdep": "gcc_x86_64",
+ "main": "main",
+ "name": "test_syntax.c FULL",
+ "address-alignment": 65536 /* hexadecimal 0x10000 */
+}
diff --git a/tis-ci/test_utf8.config b/tis-ci/test_utf8.config
new file mode 100644
index 0000000..dafe7ea
--- /dev/null
+++ b/tis-ci/test_utf8.config
@@ -0,0 +1,24 @@
+{
+ "compilation_cmd": "-I ../tis-ci -I ../src -D alloca=__builtin_alloca",
+ "files": [
+ "../test/test_utf8.c",
+ "../tis-ci/stub.c",
+ "../src/regcomp.c",
+ "../src/regenc.c",
+ "../src/utf8.c",
+ "../src/regexec.c",
+ "../src/ascii.c",
+ "../src/regparse.c",
+ "../src/st.c",
+ "../src/unicode.c",
+ "../src/unicode_unfold_key.c",
+ "../src/unicode_fold3_key.c",
+ "../src/unicode_fold2_key.c",
+ "../src/unicode_fold1_key.c",
+ "../src/regversion.c"
+ ],
+ "machdep": "gcc_x86_64",
+ "main": "main",
+ "name": "test_utf8.c FULL",
+ "address-alignment": 65536 /* hexadecimal 0x10000 */
+}
diff --git a/tis-ci/testc.config b/tis-ci/testc.config
new file mode 100644
index 0000000..5942db2
--- /dev/null
+++ b/tis-ci/testc.config
@@ -0,0 +1,24 @@
+{
+ "compilation_cmd": "-I ../tis-ci -I ../src -D alloca=__builtin_alloca",
+ "files": [
+ "../test/testc.c",
+ "../src/unicode.c",
+ "../src/regcomp.c",
+ "../src/regenc.c",
+ "../src/utf16_be.c",
+ "../src/regparse.c",
+ "../src/st.c",
+ "../src/regexec.c",
+ "../src/unicode_unfold_key.c",
+ "../src/unicode_fold3_key.c",
+ "../src/unicode_fold2_key.c",
+ "../src/unicode_fold1_key.c",
+ "../src/euc_jp.c",
+ "../src/ascii.c",
+ "../src/regversion.c"
+ ],
+ "machdep": "gcc_x86_64",
+ "main": "main",
+ "name": "testc.c FULL",
+ "address-alignment": 65536 /* hexadecimal 0x10000 */
+}
diff --git a/tis-ci/testu.config b/tis-ci/testu.config
new file mode 100644
index 0000000..da1f845
--- /dev/null
+++ b/tis-ci/testu.config
@@ -0,0 +1,23 @@
+{
+ "compilation_cmd": "-I ../tis-ci -I ../src -D alloca=__builtin_alloca",
+ "files": [
+ "../test/testu.c",
+ "../src/unicode.c",
+ "../src/regcomp.c",
+ "../src/regenc.c",
+ "../src/utf16_be.c",
+ "../src/regparse.c",
+ "../src/st.c",
+ "../src/regexec.c",
+ "../src/unicode_unfold_key.c",
+ "../src/unicode_fold3_key.c",
+ "../src/unicode_fold2_key.c",
+ "../src/unicode_fold1_key.c",
+ "../src/utf8.c",
+ "../src/regversion.c"
+ ],
+ "machdep": "gcc_x86_64",
+ "main": "main",
+ "name": "testu.c FULL",
+ "address-alignment": 65536 /* hexadecimal 0x10000 */
+}